@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Cormorant+Garamond:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: #FAFAF8;
    color: #282828;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ======================== HERO ======================== */
.hero {
    width: 100%;
    padding: 3.5rem 2rem 2rem;
    text-align: center;
}

.logo {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 700;
    font-size: 2.6rem;
    color: #20184D;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    font-variant: small-caps;
}

.logo .lettrine {
    font-size: 3.6rem;
    line-height: 1;
    vertical-align: baseline;
    color: #FCA311;
    letter-spacing: 0.02em;
}

.tagline {
    margin-top: 0.5rem;
    font-size: 1rem;
    color: #99A1A6;
    letter-spacing: 0.01em;
}

/* ======================== STEPS ======================== */
.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding: 0.5rem 2rem 1.5rem;
    max-width: 640px;
    width: 100%;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
}

.step-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #20184D;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.6rem;
}

.step-icon svg {
    width: 20px;
    height: 20px;
    stroke: #FCA311;
}

.step-label {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #20184D;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.step-desc {
    font-size: 0.72rem;
    color: #99A1A6;
    margin-top: 0.15rem;
}

.step-arrow {
    display: flex;
    align-items: center;
    padding-top: 0.7rem;
}

.step-arrow svg {
    width: 20px;
    height: 20px;
    stroke: #99A1A6;
}

/* ======================== CARD ======================== */
.card {
    max-width: 560px;
    width: 100%;
    background: #fff;
    border-radius: 16px;
    padding: 2rem 2rem 1.75rem;
    box-shadow: 0 4px 24px rgba(32, 24, 77, 0.06), 0 1px 4px rgba(0, 0, 0, 0.03);
}

.tip {
    font-size: 0.78rem;
    color: #19294D;
    text-align: center;
    font-style: italic;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

/* ======================== DROPZONE ======================== */
.dropzone {
    border: 2px dashed #C8C8D0;
    border-radius: 12px;
    padding: 2.25rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    background: #FAFAF8;
}

.dropzone:hover,
.dropzone.drag-over {
    border-color: #FCA311;
    background: #FFFCF5;
    box-shadow: 0 0 0 4px rgba(252, 163, 17, 0.08);
}

.drop-icon {
    width: 40px;
    height: 40px;
    color: #20184D;
    margin-bottom: 0.75rem;
    transition: color 0.25s ease;
}

.dropzone:hover .drop-icon,
.dropzone.drag-over .drop-icon {
    color: #FCA311;
}

.drop-text {
    font-size: 0.95rem;
    color: #282828;
    font-weight: 600;
}

.drop-or {
    font-size: 0.8rem;
    color: #99A1A6;
    margin: 0.4rem 0;
}

.browse-btn {
    display: inline-block;
    padding: 0.45rem 1.5rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    background: #20184D;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
    text-decoration: none;
}

.browse-btn:hover {
    background: #FCA311;
}

.hint {
    font-size: 0.72rem;
    color: #99A1A6;
    margin-top: 0.75rem;
}

/* ======================== STATUS ======================== */
.status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding: 0.85rem 1rem;
    background: #EEF1F6;
    border-radius: 8px;
}

.status p {
    color: #19294D;
    font-weight: 600;
    font-size: 0.85rem;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2.5px solid #C8C8D0;
    border-top-color: #FCA311;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ======================== MESSAGES ======================== */
.msg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    text-align: center;
}

.msg-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.msg-error {
    background: #FFF5F5;
    border: 1px solid #E53E3E;
    color: #C53030;
}

.msg-success {
    background: #F0FFF4;
    border: 1px solid #38A169;
    color: #276749;
}

.hidden {
    display: none !important;
}

/* ======================== DISCLAIMER ======================== */
.disclaimer {
    max-width: 560px;
    width: 100%;
    margin-top: 1.25rem;
    padding: 0.85rem 1.25rem;
    text-align: center;
}

.disclaimer p {
    font-size: 0.7rem;
    line-height: 1.6;
    color: #99A1A6;
}

.confraternite-box {
    background: linear-gradient(135deg, #f8f7fc 0%, #f0eff8 100%);
    border: 1px solid #e0ddf0;
    border-left: 3px solid #20184D;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.confraternite-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #20184D;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.confraternite-icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
    max-width: 18px;
    max-height: 18px;
    color: #FCA311;
    flex-shrink: 0;
}

.confraternite-box p {
    font-size: 0.72rem;
    line-height: 1.65;
    color: #555;
}

.drive-link-wrapper {
    text-align: center;
}

.drive-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.7rem;
    padding: 0.45rem 1rem;
    background: #20184D;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.2s;
}

.drive-link:hover {
    background: #FCA311;
    color: #20184D;
}

.drive-link-icon {
    width: 14px;
    height: 14px;
    min-width: 14px;
    max-width: 14px;
    max-height: 14px;
}

/* ======================== FOOTER ======================== */
.page-footer {
    width: 100%;
    text-align: center;
    padding: 1.5rem 2rem 2rem;
    margin-top: auto;
}

.page-footer p {
    font-size: 0.72rem;
    color: #99A1A6;
}

.page-footer a {
    color: #FCA311;
    text-decoration: none;
    font-weight: 600;
}

.page-footer a:hover {
    text-decoration: underline;
}

/* ======================== RESPONSIVE ======================== */
@media (max-width: 600px) {
    .hero {
        padding: 2.5rem 1.5rem 1.5rem;
    }

    .logo {
        font-size: 2rem;
    }

    .logo .lettrine {
        font-size: 2.8rem;
    }

    .steps {
        padding: 0.5rem 1rem 1rem;
    }

    .step-label {
        font-size: 0.8rem;
    }

    .step-desc {
        font-size: 0.65rem;
    }

    .card {
        margin: 0 1rem;
        padding: 1.5rem;
    }
}
