@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #1a202c;
    /* Fallback */
}

/* Animations */
.fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.fade-out {
    animation: fadeOut 0.4s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* Loader */
.loader {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 2px solid #ffffff;
    width: 18px;
    height: 18px;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Document Card Style */
.document-card {
    background: #fdfbf7;
    /* Off-white / Beige tint */
    border: 1px solid #e2e8f0;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        0 20px 25px -5px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Top Label "Confidential" */
.confidential-label {
    background-color: #e53e3e;
    /* Red stamp color */
    color: white;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 2px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Bonus Code Box */
.bonus-code-box {
    background-color: #edf2f7;
    border: 1px dashed #cbd5e0;
    color: #4a5568;
    font-family: monospace;
    letter-spacing: 0.05em;
}

/* Inputs */
.input-field {
    background: transparent;
    border: none;
    border-bottom: 2px solid #e2e8f0;
    border-radius: 0;
    padding: 0.75rem 0;
    transition: border-color 0.2s;
}

.input-field:focus {
    outline: none;
    border-bottom-color: #2c5282;
    /* Navy Blue */
    box-shadow: none;
}

.input-field::placeholder {
    color: #a0aec0;
}

/* Button */
.submit-btn {
    background-color: #2c5282;
    /* Navy Blue */
    transition: all 0.2s;
}

.submit-btn:hover {
    background-color: #1a365d;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.submit-btn:disabled {
    background-color: #718096;
    cursor: not-allowed;
    transform: none;
}