/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #7189ff;
    --dark-blue: #394053;
    --gray: #808080;
    --light-blue: #a0ddff;
    --rich-black: #091D20;
    --white: #FFFFFF;
    --success: #4CAF50;
}

body {
    font-family: 'Noto Sans', sans-serif;
    background-color: var(--rich-black);
    color: var(--white);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
}

/* Header styles */
header {
    text-align: center;
    margin-bottom: 1.5rem;
}

h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.highlight-text {
    color: var(--light-blue);
}

.security-message {
    color: var(--gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.security-message i {
    color: var(--primary);
}

/* Upload section styles */
.upload-section {
    margin-bottom: 2rem;
    margin-top: -0.5rem;
}

.upload-area {
    border: 2px dashed var(--primary);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    background-color: rgba(113, 137, 255, 0.1);
    transition: all 0.3s ease;
    max-width: 600px;
    margin: 0 auto;
}

.upload-area:hover {
    background-color: rgba(113, 137, 255, 0.2);
}

.upload-area .upload-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.upload-area .upload-actions i {
    font-size: 2rem;
    color: var(--white);
}

.upload-area .upload-actions p {
    font-size: 1.1rem;
    color: var(--white);
}

.upload-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
}

.upload-button i {
    font-size: 0.9rem;
}

.upload-button:hover {
    background-color: #5a6fd1;
}

.file-types {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.paste-hint {
    color: var(--light-blue);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Result section styles */
.result-section {
    background-color: var(--dark-blue);
    border-radius: 10px;
    padding: 2rem;
}

.text-container {
    margin-bottom: 1.5rem;
    position: relative;
}

.text-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.text-header h2 {
    color: var(--light-blue);
}

/* Processing indicator styles */
.processing-indicator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(9, 29, 32, 0.9);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 5px;
}

.processing-content {
    text-align: center;
}

.processing-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 1.5rem;
    border: 3px solid rgba(113, 137, 255, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.processing-content p {
    color: var(--white);
    font-size: 1rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#userData {
    width: 100%;
    min-height: 200px;
    padding: 1rem;
    background-color: var(--rich-black);
    border: 1px solid var(--gray);
    border-radius: 5px;
    color: var(--white);
    font-family: inherit;
    resize: vertical;
}

.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.copy-button, .download-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.copy-button:hover, .download-button:hover {
    background-color: #5a6fd1;
}

.copy-button.success {
    background-color: var(--success);
}

/* Footer styles */
footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.disclaimer {
    color: var(--gray);
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.footer-logo img {
    height: 30px;
    transition: transform 0.3s ease;
}

.footer-logo:hover img {
    transform: scale(1.1);
}

.copyright {
    color: var(--white);
    font-size: 0.9rem;
}

.donate-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.donate-button:hover {
    background-color: #5a6fd1;
}

.github-link {
    color: var(--white);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.github-link:hover {
    color: var(--primary);
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .upload-area {
        padding: 1.5rem;
        max-width: 100%;
    }

    .upload-area .upload-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .upload-area .upload-actions i {
        font-size: 1.8rem;
    }

    .footer-content {
        flex-wrap: wrap;
        gap: 1rem;
    }
} 