/* ==========================================
   Base Layout & Background
   ========================================== */
.pa-full-page-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background-color: var(--antologa-white);
}

.pa-background-img-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    z-index: 0;
}

.pa-background-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

/* Scroll Container */
.pa-scroll-container {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(40, 40, 40, 0.2) rgba(255, 255, 255, 0.1);
}

/* Grid & Vertical Centering */
.antologa-grid.pa-center-vertical {
    min-height: 100%;
    padding: 2rem;
    width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
}

/* ==========================================
   Card / White Frame
   ========================================== */
.pa-white-frame {
    background-color: rgba(248, 248, 248, 0.35) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 1rem !important;
    padding: 3rem 2.5rem !important;
    width: 75%;
    box-shadow: 0 10px 40px rgba(7, 130, 130, 0.15) !important;
    border: 1px solid rgba(248, 248, 248, 0.3) !important;
    margin: auto;
}

/* ==========================================
   Header & Logo
   ========================================== */
.pa-logo-container {
    text-align: center;
    width: 100%;
    margin-bottom: 0.5rem;
}

.pa-form-logo {
    width: 12rem !important;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}

.pa-tagline {
    font-family: var(--font-heading) !important;
    font-size: clamp(0.55rem, 1.5vw, 0.65rem) !important;
    font-weight: 400 !important;
    letter-spacing: 0.175rem;
    text-transform: uppercase;
    color: var(--text-dark) !important;
    margin-bottom: 2rem !important;
}

/* ==========================================
   Body Sections
   ========================================== */
.pa-body-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pa-body-center {
    align-items: center;
    text-align: center;
}

/* ==========================================
   Section Typography
   ========================================== */
.pa-section-title {
    font-family: var(--font-heading) !important;
    font-size: clamp(1.5rem, 4vw, 2rem) !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    margin-bottom: 0.25rem !important;
}

.pa-section-subtitle {
    font-family: var(--font-body) !important;
    font-size: clamp(0.875rem, 2vw, 1rem) !important;
    color: var(--text-body) !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.6;
}

    .pa-section-subtitle strong {
        color: var(--text-primary);
        font-weight: 700;
    }

/* ==========================================
   Status Icon
   ========================================== */
.pa-icon-circle {
    width: 6.4rem;
    height: 6.4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.pa-icon-circle--mustard {
    background: rgba(225, 169, 81, 0.14);
}

.pa-step-icon {
    font-size: 3.2rem !important;
}

.pa-step-icon--mustard {
    color: var(--antologa-contrast) !important;
}

/* ==========================================
   Back to Login Link
   ========================================== */
.pa-back-link-container {
    text-align: center;
    margin-top: 1rem;
    width: 100%;
}

.pa-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--antologa-primary) !important;
    text-decoration: none;
    font-family: var(--font-body) !important;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    font-weight: 600;
    transition: color 0.3s ease;
}

    .pa-back-link:hover {
        text-decoration: underline;
        color: var(--antologa-contrast) !important;
    }

.pa-back-icon {
    font-size: 1.1rem !important;
}

/* ==========================================
   Footer
   ========================================== */
.pa-footer {
    width: 100%;
    margin-top: 2rem;
    border-top: 1px solid rgba(40, 40, 40, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: center;
}

/* ==========================================
   Scrollbar Webkit Overrides
   ========================================== */
.pa-scroll-container::-webkit-scrollbar {
    width: 8px;
}

.pa-scroll-container::-webkit-scrollbar-track {
    background: rgba(248, 248, 248, 0.1);
}

.pa-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(40, 40, 40, 0.2);
    border-radius: 4px;
}

    .pa-scroll-container::-webkit-scrollbar-thumb:hover {
        background: var(--antologa-primary);
    }

/* ==========================================
   Responsive Breakpoints
   ========================================== */
@media (max-width: 1279px) {
    .antologa-grid.pa-center-vertical {
        padding: 1.5rem;
    }

    .pa-white-frame {
        padding: 2.5rem 2rem !important;
        max-width: 100%;
    }
}

@media (max-width: 900px) {
    .antologa-grid.pa-center-vertical {
        padding: 1rem;
    }

    .pa-white-frame {
        padding: 2rem 1.5rem !important;
    }

    .pa-form-logo {
        width: 11rem !important;
    }
}

@media (max-width: 600px) {
    .antologa-grid.pa-center-vertical {
        padding: 1rem 0.75rem;
    }

    .pa-white-frame {
        padding: 1.75rem 1.25rem !important;
    }

    .pa-form-logo {
        width: 10rem !important;
    }

    .pa-tagline {
        font-size: 0.55rem !important;
        letter-spacing: 0.125rem;
        margin-bottom: 1.25rem !important;
    }

    .pa-footer {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }
}
