html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin: 0;
    padding: 0;
}

:root {
    --rcv-primary: #f59e0b;
    --rcv-primary-2: #b45309;
    --rcv-bg: #f8fafc;
    --rcv-bg-2: #eef3f8;
    --rcv-text: #0f172a;
    --rcv-muted: #64748b;
    --rcv-border: #e2e8f0;
    --rcv-card: #ffffff;
    --rcv-shadow: 0 20px 60px rgba(15, 23, 42, 0.10);
    --rcv-shadow-soft: 0 14px 40px rgba(15, 23, 42, 0.06);

    --rcv-font-body: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --rcv-font-display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;

    --rcv-text-xs: 0.875rem;
    --rcv-text-sm: 0.95rem;
    --rcv-text-md: 1rem;
    --rcv-text-lg: 1.125rem;

    --rcv-lh-tight: 1.15;
    --rcv-lh-body: 1.65;

    --rcv-ls-display: -0.02em;
}

/* =========================
   PUBLIC SITE (LANDING)

/* =========================
   MOBILE WEB APP VIEWPORT (LANDING REDESIGN)
   ========================= */

body.app-layout-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f1f5f9; /* Clean slate light neutral background on desktop */
    display: flex;
    flex-direction: column;
}

/* Responsive Content Wrapper */
.app-device-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.app-screen-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.app-main-content {
    flex: 1;
    width: 100%;
    background-color: #f1f5f9;
    position: relative;
}

.app-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding-bottom: 120px; /* Space for the floating footer */
}

@media (max-width: 1024px) {
    .app-container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 480px) {
    .app-container {
        padding-left: 0;
        padding-right: 0;
    }
}

/* App Header - Responsive layout */
.app-header {
    background: #1D3557; /* Dark slate navy */
    color: #ffffff;
    padding: 20px 20px 24px 20px;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
    box-shadow: 0 10px 30px rgba(29, 53, 87, 0.15);
    position: relative;
    text-align: center;
    z-index: 10;
}

@media (min-width: 768px) {
    .app-header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 24px 40px;
        border-radius: 0 0 24px 24px;
        text-align: left;
    }
}

/* Profile / Login Button on top-left */
.app-profile-btn {
    position: absolute;
    top: 40px;
    left: 20px;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #ffffff !important;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.app-profile-btn:hover {
    background: rgba(255, 255, 255, 0.22);
}

.app-profile-btn::after {
    display: none !important; /* Hide bootstrap default dropdown caret */
}

/* Profile Dropdown Menu */
.app-profile-menu {
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    padding: 8px !important;
    min-width: 200px;
    background: #ffffff;
    margin-top: 6px !important;
    z-index: 20000;
}

.app-profile-menu-header {
    padding: 8px 12px;
}

.app-profile-username {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    color: #1D3557;
}

.app-profile-item {
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #475569 !important;
    padding: 10px 12px !important;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.app-profile-item:hover {
    background-color: rgba(230, 57, 70, 0.05) !important;
    color: #E63946 !important;
}

.app-profile-item i {
    font-size: 1rem;
    width: 18px;
}

/* Share Button on top-right */
.app-share-btn {
    position: absolute;
    top: 40px;
    right: 20px;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.app-share-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: scale(1.1);
}

@media (min-width: 768px) {
    .app-profile-dropdown, .app-profile-btn {
        position: absolute;
        top: 50%;
        left: auto;
        right: 90px;
        transform: translateY(-50%);
    }
    .app-share-btn {
        position: absolute;
        top: 50%;
        right: 40px;
        transform: translateY(-50%);
    }
    .app-profile-btn:hover, .app-share-btn:hover {
        transform: translateY(-50%) scale(1.1);
    }
}

.app-school-meta {
    margin-top: -5px;
    margin-bottom: 22px;
}

.app-meta-tag {
    background: #E63946; /* Coral Red */
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 14px;
    border-radius: 99px;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(230, 57, 70, 0.3);
}

@media (min-width: 768px) {
    .app-school-meta {
        margin-bottom: 0;
        margin-left: 24px;
        order: 2;
    }
}

.app-header-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
}

@media (min-width: 768px) {
    .app-header-brand {
        flex-direction: row;
        text-align: left;
        margin-top: 0;
        order: 1;
    }
}

.app-logo-img {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .app-logo-img {
        width: 64px;
        height: 64px;
    }
}

.app-header-text {
    margin-top: 4px;
}

.app-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.app-subtitle {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 4px 0 0 0;
    font-weight: 500;
}

/* Sections & Grid Layouts */
.app-menu-wrapper {
    padding: 24px 20px;
}

@media (min-width: 768px) {
    .app-menu-wrapper {
        padding: 32px 0;
    }
}

.app-menu-section {
    margin-bottom: 28px;
    background: transparent;
    padding: 0;
}

@media (min-width: 768px) {
    .app-menu-section {
        background: #ffffff;
        padding: 30px;
        border-radius: 24px;
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
        border: 1px solid rgba(15, 23, 42, 0.06);
        margin-bottom: 32px;
    }
}

.app-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.app-section-line {
    flex: 1;
    height: 2px;
    background: rgba(29, 53, 87, 0.08);
}

.app-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: #1D3557;
    margin: 0;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.app-section-desc {
    font-size: 0.86rem;
    color: #475569;
    margin: 0 0 16px 0;
    line-height: 1.45;
}

/* Exam Buttons */
.app-exam-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (min-width: 768px) {
    .app-exam-grid {
        gap: 20px;
    }
}

.app-exam-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px 14px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.1s ease;
    cursor: pointer;
    position: relative;
    top: 0;
}

.app-exam-btn-car {
    background: #E63946;
    color: #ffffff !important;
    border: 2px solid #C92A3A;
    border-bottom: 6px solid #C92A3A;
}

.app-exam-btn-moto {
    background: #2A9D8F;
    color: #ffffff !important;
    border: 2px solid #1E7D72;
    border-bottom: 6px solid #1E7D72;
}

.app-exam-btn:active {
    top: 4px;
    border-bottom-width: 2px;
}

.app-exam-icon {
    font-size: 2.2rem;
    margin-bottom: 6px;
    display: block;
}

.app-exam-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
}

/* Services List buttons - Responsive Grid */
.app-services-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 768px) {
    .app-services-menu {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (min-width: 992px) {
    .app-services-menu {
        grid-template-columns: repeat(3, 1fr);
    }
}

.app-menu-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 16px 18px;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.1s ease;
    text-align: left;
    position: relative;
    top: 0;
    background: #ffffff;
    color: #1D3557;
    border: 2px solid #E2E8F0;
    border-bottom: 5px solid #CBD5E1;
}

@media (min-width: 768px) {
    .app-menu-btn {
        background: #f8fafc;
    }
}

.app-menu-btn:active {
    top: 3px;
    border-bottom-width: 2px;
}

.app-menu-btn-icon {
    width: 38px;
    height: 38px;
    background: rgba(230, 57, 70, 0.08);
    color: #E63946;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-right: 14px;
    flex-shrink: 0;
}

.app-menu-btn-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    flex-grow: 1;
    padding-right: 10px;
    line-height: 1.25;
}

.app-menu-btn-arrow {
    color: #94A3B8;
    font-size: 0.8rem;
}

.app-menu-btn-dark {
    background: #1D3557;
    color: #ffffff;
    border: 2px solid #162a46;
    border-bottom: 5px solid #0f1c30;
}
.app-menu-btn-dark .app-menu-btn-icon {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}
.app-menu-btn-dark .app-menu-btn-arrow {
    color: rgba(255, 255, 255, 0.6);
}

.app-menu-btn-outline {
    background: #ffffff;
    color: #2A9D8F;
    border: 2px solid #2A9D8F;
    border-bottom: 5px solid #1E7D72;
}
.app-menu-btn-outline .app-menu-btn-icon {
    background: rgba(42, 157, 143, 0.08);
    color: #2A9D8F;
}
.app-menu-btn-outline .app-menu-btn-arrow {
    color: #2A9D8F;
}

@media (min-width: 768px) {
    .app-menu-btn-outline {
        background: #ffffff;
    }
}

/* Modals & Overlays - Responsive Popup */
.app-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.app-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.app-popup-card {
    width: 100%;
    max-height: 85%;
    background: #ffffff;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-overlay.show .app-popup-card {
    transform: translateY(0);
}

@media (min-width: 768px) {
    .app-overlay {
        align-items: center;
        justify-content: center;
    }
    
    .app-popup-card {
        width: 650px;
        border-radius: 24px !important;
        transform: scale(0.9);
        opacity: 0;
        transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    }
    
    .app-overlay.show .app-popup-card {
        transform: scale(1);
        opacity: 1;
    }
}

.app-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #F1F5F9;
}

.app-popup-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #1D3557;
    margin: 0;
}

.app-popup-close {
    background: #F1F5F9;
    border: none;
    color: #64748B;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.app-popup-close:hover {
    background: #E2E8F0;
    color: #0f172a;
}

.app-popup-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    scrollbar-width: thin;
}

.app-popup-body::-webkit-scrollbar {
    width: 4px;
}
.app-popup-body::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.08);
    border-radius: 4px;
}

.app-popup-desc {
    font-size: 0.88rem;
    color: #64748B;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

/* Packages Grid inside Modal */
.app-packages-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

@media (min-width: 768px) {
    .app-packages-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

.app-package-card-btn {
    display: block;
    width: 100%;
    text-align: left;
    background: #ffffff;
    border: 2px solid #E2E8F0;
    border-bottom: 5px solid #CBD5E1;
    border-radius: 20px;
    padding: 16px 20px;
    position: relative;
    cursor: pointer;
    transition: all 0.1s ease;
}

.app-package-card-btn:active {
    transform: translateY(3px);
    border-bottom-width: 2px;
}

.app-package-status {
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 12px;
    border-radius: 99px;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.app-package-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.98rem;
    color: #1D3557;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.app-package-meta {
    font-size: 0.82rem;
    color: #64748B;
    margin: 0;
    line-height: 1.4;
}

.app-package-featured {
    background: #FFFDF5;
    border-color: #F4A261;
    border-bottom-color: #E78C44;
}

/* Grid Rental Options - Responsive Grid */
.app-grid-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (min-width: 768px) {
    .app-grid-options {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

.app-grid-btn {
    background: #ffffff;
    border: 2px solid #E2E8F0;
    border-bottom: 5px solid #CBD5E1;
    border-radius: 16px;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.1s ease;
}

.app-grid-btn:active {
    transform: translateY(3px);
    border-bottom-width: 2px;
}

.app-grid-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: #E63946;
    margin: 0;
}

.app-grid-subtitle {
    font-size: 0.76rem;
    color: #64748B;
    font-weight: 600;
    margin-top: 4px;
}

/* Chip Grid for services - Responsive columns */
.app-chip-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (min-width: 768px) {
    .app-chip-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

.app-chip-btn {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid #E2E8F0;
    border-bottom: 5px solid #CBD5E1;
    border-radius: 14px;
    padding: 12px 16px;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: all 0.1s ease;
}

.app-chip-btn:active {
    transform: translateY(3px);
    border-bottom-width: 2px;
}

.app-chip-icon {
    color: #2A9D8F;
    font-size: 1.05rem;
    margin-right: 12px;
    display: flex;
    align-items: center;
}

.app-chip-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.86rem;
    color: #1D3557;
}

/* History overlay - Responsive columns */
.app-history-content {
    display: flex;
    flex-direction: column;
}

.app-block-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #1D3557;
    margin: 0 0 10px 0;
    position: relative;
    padding-left: 12px;
}

.app-block-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: #E63946;
    border-radius: 99px;
}

.app-block-text {
    font-size: 0.86rem;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.app-history-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .app-history-steps {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

.app-history-step-card {
    background: #F8FAF4;
    border-left: 4px solid #2A9D8F;
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 4px 12px rgba(42, 157, 143, 0.04);
}

.app-history-step-card h5 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    color: #1D3557;
    margin: 0 0 4px 0;
}

.app-history-step-card p {
    font-size: 0.8rem;
    color: #475569;
    margin: 0;
    line-height: 1.45;
}

/* Testimonials modal - Responsive */
.app-featured-testimonial {
    background: #FFFDF9;
    border: 1px solid rgba(244, 162, 97, 0.15);
    border-radius: 20px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 24px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.02);
}

@media (min-width: 768px) {
    .app-featured-testimonial {
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: 24px;
        padding: 24px;
    }
}

.app-feat-test-img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #F4A261;
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(244, 162, 97, 0.2);
}

@media (min-width: 768px) {
    .app-feat-test-img {
        margin-bottom: 0;
        width: 110px;
        height: 110px;
        flex-shrink: 0;
    }
}

.app-feat-test-quote {
    color: #1D3557;
}

.app-feat-test-quote i {
    font-size: 1.4rem;
    color: rgba(244, 162, 97, 0.2);
    margin-bottom: 6px;
    display: block;
}

@media (min-width: 768px) {
    .app-feat-test-quote i {
        display: inline-block;
        margin-bottom: 0;
        margin-right: 6px;
    }
}

.app-feat-test-quote p {
    font-size: 0.88rem;
    font-style: italic;
    line-height: 1.55;
    margin: 0 0 12px 0;
    font-weight: 500;
}

@media (min-width: 768px) {
    .app-feat-test-quote p {
        margin-bottom: 8px;
    }
}

.app-feat-test-meta {
    font-size: 0.78rem;
    font-weight: 700;
    color: #F4A261;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.app-mini-testimonials-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 768px) {
    .app-mini-testimonials-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

.app-mini-test-card {
    background: #ffffff;
    border: 2px solid #E2E8F0;
    border-bottom: 5px solid #CBD5E1;
    border-radius: 16px;
    padding: 14px 16px;
}

.app-mini-test-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.app-mini-test-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.app-mini-test-meta {
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
}

.app-mini-test-quote {
    font-size: 0.8rem;
    color: #64748B;
    line-height: 1.45;
    margin: 0;
    font-style: italic;
}

/* Sliding detail drawer - Responsive Width */
.app-full-detail-page {
    position: fixed;
    inset: 0;
    background: #ffffff;
    z-index: 10500;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-full-detail-page.show {
    transform: translateX(0);
}

@media (min-width: 768px) {
    .app-full-detail-page {
        left: auto;
        width: 480px;
        border-left: 1px solid rgba(15, 23, 42, 0.08);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.12);
    }
}

.app-detail-header {
    padding: 16px 20px;
    border-bottom: 1px solid #F1F5F9;
    background: #ffffff;
}

.app-detail-back {
    background: none;
    border: none;
    color: #1D3557;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.app-detail-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.app-detail-body {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.app-detail-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #1D3557;
    margin: 0 0 14px 0;
}

.app-detail-text {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.6;
    white-space: pre-line;
    margin-bottom: 24px;
}

.app-detail-cta-btn {
    margin-top: auto;
    background: #25D366; /* WhatsApp Green */
    color: #ffffff !important;
    border: none;
    border-radius: 99px;
    padding: 16px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.2s ease;
    text-decoration: none;
}

.app-detail-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

/* Floating Footer bar */
.app-footer {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(29, 53, 87, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: 99px;
    display: flex;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 9500;
}

.app-social-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 1.05rem;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.app-social-circle:hover {
    transform: translateY(-3px) scale(1.1);
}

.app-facebook-color {
    background: #1877F2;
}

.app-instagram-color {
    background: #E1306C;
}

.app-tiktok-color {
    background: #000000;
}

.app-whatsapp-color {
    background: #25D366;
}


}

@keyframes examToastIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.exam-full-topbar {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 22px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 30;
    padding-top: 14px;
    padding-bottom: 12px;
    background: rgba(248, 250, 252, 0.75);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.exam-full-brand {
    color: #111827;
    font-weight: 900;
    letter-spacing: -0.01em;
    font-size: 1.05rem;
    line-height: 1.1;
}

.exam-full-title {
    margin-top: 6px;
    color: #111827;
    font-weight: 900;
    letter-spacing: -0.02em;
    font-size: 1.35rem;
    line-height: 1.15;
    position: relative;
    padding-bottom: 6px;
}

.exam-full-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--rcv-primary), var(--rcv-primary-2));
}

.exam-full-sub {
    margin-top: 8px;
    color: #6b7280;
    font-weight: 700;
}

.exam-full-meta {
    color: #111827;
    font-weight: 700;
    text-align: right;
}

.exam-full-progress {
    margin-top: 10px;
    min-width: 260px;
}

.exam-full-body {
    max-width: 1200px;
    margin: 16px auto 0 auto;
    padding: 0 18px;
}

.exam-full-form {
    display: grid;
    gap: 14px;
}

.exam-batch {
    display: grid;
    gap: 14px;
}

.exam-batch-single {
    grid-template-columns: 1fr;
}

.exam-qcard {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 24, 39, 0.10);
    box-shadow: 0 18px 55px rgba(17, 24, 39, 0.08);
    padding: 18px;
    position: relative;
    overflow: hidden;
}

.exam-qcard::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: radial-gradient(760px 260px at 16% 14%, rgba(245, 158, 11, 0.14), transparent 60%);
    pointer-events: none;
}

.exam-qhead,
.exam-qtext,
.exam-options-batch {
    position: relative;
    z-index: 1;
}

.exam-qhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.exam-qnum {
    display: inline-flex;
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(17, 24, 39, 0.92);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 900;
    font-size: 0.9rem;
}

.exam-qtag {
    display: inline-flex;
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.22);
    color: #111827;
    font-weight: 900;
    font-size: 0.9rem;
}

.exam-qtext {
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #111827;
    font-size: 1.12rem;
    line-height: 1.35;
    margin: 0 0 12px 0;
}

.exam-options-batch .exam-option {
    grid-template-columns: 18px 1fr;
}

.exam-options-batch .exam-option-ui {
    display: none;
}

.exam-options-batch .exam-option-text {
    font-weight: 600;
}

.exam-full-footer {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 24, 39, 0.10);
    box-shadow: 0 18px 55px rgba(17, 24, 39, 0.08);
    padding: 16px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.exam-full-hint {
    color: #4b5563;
    font-weight: 600;
}

.exam-full-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .exam-full-meta {
        text-align: left;
    }

    .exam-full-progress {
        min-width: 220px;
        width: 100%;
    }
}

/* Exam review (readonly, green/red) */
.exam-score-table {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 8px;
    margin-bottom: 14px;
}

.exam-score-item {
    border-radius: 18px;
    padding: 14px 10px;
    border: 1px solid rgba(17, 24, 39, 0.10);
    background: rgba(255, 255, 255, 0.92);
    text-align: center;
    box-shadow: 0 18px 55px rgba(17, 24, 39, 0.06);
}

.exam-score-num {
    font-weight: 900;
    font-size: 1.5rem;
    line-height: 1.1;
    color: #111827;
}

.exam-score-label {
    margin-top: 4px;
    color: #6b7280;
    font-weight: 800;
    font-size: 0.92rem;
}

.exam-score-ok {
    border-color: rgba(16, 185, 129, 0.25);
    background: linear-gradient(0deg, rgba(16, 185, 129, 0.08), rgba(16, 185, 129, 0.08)), rgba(255, 255, 255, 0.92);
}

.exam-score-bad {
    border-color: rgba(239, 68, 68, 0.25);
    background: linear-gradient(0deg, rgba(239, 68, 68, 0.08), rgba(239, 68, 68, 0.08)), rgba(255, 255, 255, 0.92);
}

.exam-review-list {
    display: grid;
    gap: 12px;
}

.exam-review-card {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 24, 39, 0.10);
    box-shadow: 0 18px 55px rgba(17, 24, 39, 0.08);
    padding: 16px;
}

.exam-review-card.is-ok {
    border-color: rgba(16, 185, 129, 0.30);
    box-shadow: 0 18px 55px rgba(16, 185, 129, 0.10);
}

.exam-review-card.is-bad {
    border-color: rgba(239, 68, 68, 0.30);
    box-shadow: 0 18px 55px rgba(239, 68, 68, 0.10);
}

.exam-review-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.exam-review-num {
    display: inline-flex;
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(17, 24, 39, 0.92);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 900;
    font-size: 0.9rem;
}

.exam-review-pill {
    display: inline-flex;
    padding: 8px 10px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 0.9rem;
    color: #111827;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.22);
}

.exam-review-card.is-ok .exam-review-pill {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.25);
}

.exam-review-card.is-bad .exam-review-pill {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.25);
}

.exam-review-q {
    font-weight: 900;
    letter-spacing: -0.01em;
    color: #111827;
    margin-bottom: 10px;
    line-height: 1.4;
}

.exam-review-ans {
    display: grid;
    gap: 6px;
}

.exam-review-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 10px;
    align-items: start;
}

.exam-review-label {
    color: #6b7280;
    font-weight: 800;
}

.exam-review-val {
    color: #111827;
    font-weight: 700;
}

@media (max-width: 992px) {
    .exam-score-table {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .exam-review-row {
        grid-template-columns: 1fr;
    }
}

.landing-contact-card {
    background: white;
    border-radius: 24px;
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    flex-wrap: wrap;
}

.landing-contact-title {
    font-weight: 700;
    color: #111827;
    font-size: 1.2rem;
}

.landing-contact-text {
    color: #4b5563;
}

.landing-contact-details {
    margin-top: 10px;
    color: #374151;
    display: grid;
    gap: 6px;
}

/* Contacto (real) */
.landing-contact-wrap {
    margin-top: 10px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 24, 39, 0.10);
    box-shadow: 0 18px 55px rgba(17, 24, 39, 0.10);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 320ms ease, transform 320ms ease;
}

.contacto-anim.is-inview .landing-contact-wrap {
    opacity: 1;
    transform: translateY(0);
}

.landing-contact-wrap::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: radial-gradient(860px 260px at 14% 12%, rgba(245, 158, 11, 0.16), transparent 62%);
    pointer-events: none;
}

.landing-contact-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
    padding: 18px;
}

.landing-contact-panel {
    padding: 10px 10px;
}

.landing-contact-panel .landing-contact-title {
    position: relative;
    z-index: 1;
    margin-top: 2px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #111827;
    font-size: 1.6rem;
}

.landing-contact-panel .landing-contact-text {
    position: relative;
    z-index: 1;
    margin-top: 8px;
    color: #4b5563;
    line-height: 1.75;
}

.landing-contact-actions {
    position: relative;
    z-index: 1;
    margin-top: 14px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.landing-contact-inline {
    position: relative;
    z-index: 1;
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding-top: 14px;
    border-top: 1px solid rgba(17, 24, 39, 0.10);
}

.landing-contact-inline-item {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.landing-contact-inline-k {
    color: #6b7280;
    font-weight: 800;
    font-size: 0.92rem;
}

.landing-contact-inline-v {
    color: #111827;
    font-weight: 900;
    text-decoration: none;
}

a.landing-contact-inline-v:hover {
    text-decoration: underline;
    text-decoration-color: rgba(245, 158, 11, 0.7);
    text-underline-offset: 5px;
}

.landing-contact-inline-sep {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.75);
    box-shadow: 0 10px 26px rgba(245, 158, 11, 0.22);
}

.landing-map-card {
    padding: 14px;
}

.landing-map {
    padding: 10px 10px;
}

.landing-map-frame {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.10);
    background: #111827;
    aspect-ratio: 4 / 3;
}

.landing-map-frame {
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.landing-contact-wrap:hover .landing-map-frame {
    transform: translateY(2px);
    border-color: rgba(245, 158, 11, 0.22);
    box-shadow: 0 22px 65px rgba(17, 24, 39, 0.12);
}

.landing-map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.landing-map-note {
    margin-top: 10px;
    color: #6b7280;
    font-weight: 500;
    text-align: center;
}

@media (max-width: 991.98px) {
    .landing-contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Testimonials */
.landing-test-head {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 28px auto;
    position: relative;
}

.landing-test-head::before {
    content: "";
    display: block;
    width: 96px;
    height: 1px;
    margin: 0 auto 14px auto;
    background: linear-gradient(90deg, rgba(245,158,11,0), rgba(245,158,11,0.85), rgba(15,23,42,0.20), rgba(245,158,11,0));
    border-radius: 999px;
}

.landing-test-sub {
    margin: 14px auto 0 auto;
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.8;
}

.landing-test-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    align-items: start;
}

.landing-test-card {
    grid-column: span 3;
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.10);
    box-shadow: 0 16px 44px rgba(17, 24, 39, 0.10);
    transform: translateY(8px);
    opacity: 0;
    transition: opacity 260ms ease, transform 260ms ease, box-shadow 280ms ease;
    height: auto;
    align-self: start;
}

.landing-test-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 60px rgba(17, 24, 39, 0.14);
}

.landing-test-card-featured {
    grid-column: span 6;
    border-color: rgba(245, 158, 11, 0.35);
    box-shadow: 0 18px 55px rgba(245, 158, 11, 0.16);
}

.landing-test-card-featured .landing-test-quote{
    font-size: 1.15rem;
}

.landing-test-photo {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #111827;
}

.landing-test-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
}

.landing-test-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.00) 0%, rgba(17, 24, 39, 0.55) 100%);
}

.landing-test-chip {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 1;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.92);
    color: #111827;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 14px 34px rgba(245, 158, 11, 0.18);
}

.landing-test-body {
    padding: 16px 16px 18px 16px;
}

.landing-test-quote {
    font-weight: 600;
    color: #111827;
    font-size: 1.05rem;
    line-height: 1.45;
}

.landing-test-meta {
    margin-top: 8px;
    color: #4b5563;
    font-size: 0.95rem;
}

.landing-test-cta {
    margin-top: 22px;
    padding: 18px 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 24, 39, 0.10);
    box-shadow: 0 18px 55px rgba(17, 24, 39, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.landing-test-cta-title {
    font-weight: 700;
    color: #111827;
}

.landing-test-cta-text {
    color: #4b5563;
}

.landing-test-grid.is-inview .landing-test-card {
    opacity: 1;
    transform: translateY(0);
    animation: testIn 520ms ease both;
}

.landing-test-grid.is-inview .landing-test-card:nth-child(1) { animation-delay: 0ms; }
.landing-test-grid.is-inview .landing-test-card:nth-child(2) { animation-delay: 90ms; }
.landing-test-grid.is-inview .landing-test-card:nth-child(3) { animation-delay: 180ms; }
.landing-test-grid.is-inview .landing-test-card:nth-child(4) { animation-delay: 270ms; }
.landing-test-grid.is-inview .landing-test-card:nth-child(5) { animation-delay: 360ms; }

@keyframes testIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991.98px) {
    .landing-test-card { grid-column: span 6; }
    .landing-test-card-featured { grid-column: span 12; }
}

/* Testimonials 1 + carousel */
.landing-test-featured{
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 300ms ease, transform 300ms ease;
}

.landing-test-featured.is-inview{
    opacity: 1;
    transform: translateY(0);
}

.landing-test-hero-card{
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.10);
    box-shadow: 0 18px 50px rgba(17, 24, 39, 0.10);
}

.landing-test-hero-photo{
    position: relative;
    aspect-ratio: 16 / 7;
    background: #111827;
}

.landing-test-hero-photo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.landing-test-hero-body{
    padding: 18px 18px 20px 18px;
}

.landing-test-hero-quote{
    font-weight: 650;
    color: #111827;
    font-size: 1.2rem;
    line-height: 1.45;
}

.landing-test-carousel-wrap{
    margin-top: 14px;
}

.landing-test-carousel-controls{
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 10px;
}

.landing-test-nav{
    border: 1px solid rgba(245, 158, 11, 0.35);
    background: rgba(245, 158, 11, 0.12);
    color: #111827;
    border-radius: 999px;
    padding: 7px 14px;
    font-weight: 600;
    font-size: 0.92rem;
    transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.landing-test-nav:hover{
    background: rgba(245, 158, 11, 0.22);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.18);
}

.landing-test-carousel{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 1fr);
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 4px;
}

.landing-test-carousel::-webkit-scrollbar{
    height: 8px;
}

.landing-test-carousel::-webkit-scrollbar-thumb{
    background: rgba(17, 24, 39, 0.18);
    border-radius: 999px;
}

.landing-test-mini{
    scroll-snap-align: start;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(17, 24, 39, 0.10);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    height: 100%;
}

.landing-test-mini-photo{
    aspect-ratio: 16 / 9;
    background: #111827;
}

.landing-test-mini-photo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.landing-test-mini-body{
    padding: 12px 14px 14px 14px;
    display: flex;
    flex-direction: column;
    min-height: 132px;
}

.landing-test-mini-quote{
    font-weight: 600;
    color: #111827;
    line-height: 1.4;
}

.landing-test-mini-meta{
    margin-top: 6px;
    color: #6b7280;
    font-size: 0.92rem;
    font-weight: 600;
}

@media (max-width: 991.98px){
    .landing-test-hero-photo{ aspect-ratio: 16 / 9; }
}

@media (max-width: 575.98px){
    .landing-test-carousel{ grid-auto-columns: 100%; }
    .landing-test-carousel-controls{ justify-content: space-between; }
    .landing-test-hero-quote{ font-size: 1.05rem; }
}

@media (max-width: 575.98px) {
    .landing-test-card { grid-column: span 12; }
}

@media (prefers-reduced-motion: reduce) {
    .landing-test-grid.is-inview .landing-test-card { animation: none !important; }
    .landing-services.is-inview .landing-service-row { animation: none !important; }
    .landing-services-panel,
    .landing-access-card,
    .landing-access-num { transition: none !important; animation: none !important; }
}

.landing-footer {
    background: rgba(255, 255, 255, 0.92);
    color: #4b5563;
    padding: 22px 0;
}

.landing-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.landing-footer-note {
    opacity: 0.75;
}

@media (prefers-reduced-motion: reduce) {
    .landing-experience-badge,
    .landing-hero h1,
    .landing-hero-subtitle {
        animation: none !important;
    }

    .landing-about-panel .landing-about-kicker,
    .landing-about-panel .landing-about-title,
    .landing-about-panel .landing-about-lead,
    .landing-feature,
    .landing-about-cta,
    .landing-about-media {
        animation: none !important;
    }

    .landing-photo-card {
        animation: none !important;
    }

    .landing-header {
        transition: none;
    }

    .nosotros-anim {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 991.98px) {
    .landing-about-content {
        grid-template-columns: 1fr;
    }

    .landing-hero h1 {
        font-size: 3.4rem;
    }

    .landing-about-grid {
        grid-template-columns: 1fr;
    }

    .landing-photo-card {
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 575.98px) {
    .landing-container-fluid {
        padding-left: 14px;
        padding-right: 14px;
    }

    .landing-hero h1 {
        font-size: 2.4rem;
    }

    .landing-hero-subtitle {
        font-size: 1.25rem;
    }

    .landing-experience-badge {
        font-size: 1rem;
        padding: 0.75rem 1.4rem;
    }

    .landing-links {
        flex-direction: column;
        gap: 0.9rem;
        padding: 1rem 0;
    }

    .landing-actions {
        justify-content: center;
        padding-bottom: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .landing-service-card { grid-column: span 12; }
}

@media (max-width: 991.98px) {
    .landing-container-fluid {
        padding-left: 16px;
        padding-right: 16px;
    }

    .landing-logo {
        font-size: 1.1rem;
        gap: 8px;
    }

    .landing-logo-img {
        width: 52px;
        height: 52px;
    }

    .landing-hamburger {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: rgba(17, 24, 39, 0.10);
        border: 1px solid rgba(17, 24, 39, 0.18) !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #111827;
    }

    .landing-hamburger:focus-visible {
        outline: 3px solid rgba(245, 158, 11, 0.85);
        outline-offset: 2px;
    }

    .landing-hamburger .navbar-toggler-icon {
        width: 1.1em;
        height: 1.1em;
        filter: none;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(17,24,39,0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .landing-links {
        justify-content: flex-start;
        gap: 1rem;
        padding: 0.6rem 0;
    }

    .landing-links .nav-link {
        font-weight: 600;
    }

    .landing-actions {
        margin-left: 0;
        justify-content: flex-start;
        padding-bottom: 0.6rem;
        width: 100%;
    }

    .landing-user {
        width: 100%;
    }

    .landing-user-toggle {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: rgba(17, 24, 39, 0.05);
        border: 1px solid rgba(17, 24, 39, 0.10);
    }

    .landing-user-menu {
        position: static !important;
        transform: none !important;
        inset: auto !important;
        float: none;
        width: 100%;
        margin-top: 8px;
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    }
}

/* =========================
   AUTH LAYOUT / LOGIN
   ========================= */
.auth-body {
    background: linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
    min-height: 100vh;
    color: #1f2937;
    font-family: var(--rcv-font-body);
}

.auth-back {
    position: fixed;
    top: 14px;
    right: 14px;
    left: auto;
    z-index: 1100;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(17, 24, 39, 0.10);
    box-shadow: 0 18px 55px rgba(17, 24, 39, 0.10);
    color: #111827;
    text-decoration: none;
    font-weight: 800;
    backdrop-filter: blur(10px);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

/* Avoid overlap with sticky exam topbar on scroll */
.auth-body .exam-full-topbar {
    padding-right: 220px;
    padding-top: 58px;
}

@media (max-width: 575.98px) {
    .auth-body .exam-full-topbar {
        padding-right: 86px;
        padding-top: 54px;
    }
}

.auth-back:hover {
    transform: translateY(2px);
    border-color: rgba(245, 158, 11, 0.22);
    box-shadow: 0 22px 65px rgba(17, 24, 39, 0.12);
}

.auth-back-ico {
    width: 26px;
    height: 26px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.26);
    line-height: 1;
}

@media (max-width: 575.98px) {
    .auth-back-text {
        display: none;
    }
}

.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 32px 0;
}

.auth-container {
    max-width: 1320px;
}

.auth-wrapper {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.10);
    min-height: 720px;
}

.auth-left-panel {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.10), rgba(180, 83, 9, 0.04)), #ffffff;
    padding: 70px 60px;
    display: flex;
    align-items: center;
    min-height: 720px;
    border-right: 1px solid #edf2f7;
}

.auth-brand-box {
    max-width: 520px;
}

.auth-badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background-color: rgba(245, 158, 11, 0.12);
    color: #111827;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 28px;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.auth-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin-bottom: 24px;
}

    .auth-title span {
        color: var(--rcv-primary);
    }

.auth-description {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 40px;
    max-width: 500px;
}

.auth-feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 18px;
}

    .auth-feature-item strong {
        display: block;
        color: #0f172a;
        margin-bottom: 4px;
        font-size: 0.98rem;
    }

    .auth-feature-item p {
        margin: 0;
        color: #64748b;
        font-size: 0.93rem;
        line-height: 1.5;
    }

.auth-feature-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--rcv-primary), var(--rcv-primary-2));
    color: #ffffff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.auth-right-panel {
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 720px;
    background: #f8fafc;
}

.auth-card {
    width: 100%;
    max-width: 520px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.auth-card-header {
    margin-bottom: 30px;
}

.auth-form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.auth-form-subtitle {
    color: #64748b;
    margin: 0;
    font-size: 0.98rem;
}

.auth-label {
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.auth-input {
    border-radius: 14px;
    min-height: 52px;
    border: 1px solid #cbd5e1;
    padding: 0.85rem 1rem;
    font-size: 0.98rem;
    color: #0f172a;
    background-color: #ffffff;
    box-shadow: none;
    transition: all 0.2s ease;
}

    .auth-input:focus {
        border-color: var(--rcv-primary);
        box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.18);
    }

.auth-btn-primary {
    min-height: 52px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(45deg, var(--rcv-primary) 0%, var(--rcv-primary-2) 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.98rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

    .auth-btn-primary:hover {
        color: #ffffff;
        opacity: 0.98;
        transform: translateY(-1px);
        box-shadow: 0 10px 24px rgba(245, 158, 11, 0.28);
    }

    .auth-btn-primary:focus {
        color: #ffffff;
        box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.22);
    }

    .auth-btn-primary:focus-visible {
        outline: 3px solid rgba(37, 99, 235, 0.85);
        outline-offset: 3px;
    }

.auth-link {
    color: #b45309;
    font-weight: 600;
    text-decoration: none;
}

    .auth-link:hover {
        color: #92400e;
        text-decoration: underline;
    }

.auth-options .form-check-label {
    color: #475569;
}

.auth-validation-summary:empty {
    display: none;
}

.auth-footer-note {
    margin-top: 18px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

@media (max-width: 991.98px) {
    .auth-wrapper {
        min-height: auto;
    }

    .auth-left-panel,
    .auth-right-panel {
        min-height: auto;
        padding: 40px 28px;
    }

    .auth-title {
        font-size: 2.4rem;
    }

    .auth-card {
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    .auth-section {
        padding: 16px 0;
    }

    .auth-left-panel,
    .auth-right-panel {
        padding: 24px 18px;
    }

    .auth-title {
        font-size: 2rem;
    }

    .auth-form-title {
        font-size: 1.6rem;
    }
}

/* =========================
   MAIN LAYOUT
   ========================= */
.main-app-body {
    min-height: 100vh;
    background: linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
    color: #1f2937;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
}

.main-header {
    padding: 0;
}

.main-navbar {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    padding: 0;
    min-height: 78px;
}

.main-navbar-inner {
    width: 100%;
    padding-left: 28px;
    padding-right: 28px;
    min-height: 78px;
}

.main-navbar-left {
    display: flex;
    align-items: center;
}

.main-brand {
    text-decoration: none;
    margin-right: 18px;
}

.main-brand-badge {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 999px;
    background-color: #eff6ff;
    color: #2563eb;
    font-weight: 800;
    font-size: 0.95rem;
    border: 1px solid #dbeafe;
    letter-spacing: 0.01em;
}

.main-nav-center {
    gap: 6px;
}

.main-nav-link {
    color: #334155 !important;
    font-weight: 600;
    padding: 10px 14px !important;
    border-radius: 12px;
    transition: all 0.2s ease;
}

    .main-nav-link:hover,
    .main-nav-link:focus {
        background: #f8fafc;
        color: #2563eb !important;
    }

.main-dropdown-menu {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

    .main-dropdown-menu .dropdown-item {
        border-radius: 10px;
        padding: 10px 12px;
        font-weight: 500;
        color: #334155;
    }

        .main-dropdown-menu .dropdown-item:hover {
            background: #eff6ff;
            color: #2563eb;
        }

.main-nav-right {
    gap: 10px;
}

.main-user-text {
    color: #334155 !important;
    font-weight: 600;
    padding-left: 10px;
    padding-right: 10px;
    white-space: nowrap;
}

.main-btn-primary,
.main-btn-outline,
.main-btn-danger {
    min-height: 44px;
    border-radius: 12px;
    font-weight: 700;
    padding: 10px 18px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.main-btn-primary {
    border: none;
    background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
    color: #fff;
}

    .main-btn-primary:hover {
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
    }

.main-btn-outline {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #0f172a;
}

    .main-btn-outline:hover {
        background: #f8fafc;
        color: #0f172a;
        border-color: #94a3b8;
    }

.main-btn-danger {
    border: none;
    background: #ef4444;
    color: #fff;
}

    .main-btn-danger:hover {
        color: #fff;
        background: #dc2626;
        transform: translateY(-1px);
    }

.main-page-shell {
    flex: 1;
    padding: 0;
}

.main-content {
    min-height: 70vh;
}

.main-footer {
    border-top: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.82);
    color: #64748b;
    padding: 18px 0;
    margin-top: auto;
    font-size: 0.95rem;
}

.main-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 28px;
    padding-right: 28px;
    gap: 12px;
}

.main-footer-note {
    color: #94a3b8;
}

/* =========================
   RESPONSIVE AJUSTES LAYOUT
   ========================= */

/* Tablets grandes y menores */
@media (max-width: 991.98px) {
    .main-navbar-inner {
        padding-left: 16px;
        padding-right: 16px;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .main-brand {
        margin-right: 0;
    }

    .main-nav-center,
    .main-nav-right {
        width: 100%;
        margin-top: 16px;
        gap: 8px;
    }

    .main-nav-center {
        align-items: flex-start;
    }

    .main-nav-right {
        align-items: stretch !important;
    }

        .main-nav-center .nav-item,
        .main-nav-right .nav-item {
            width: 100%;
        }

    .main-nav-link {
        display: block;
        width: 100%;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .main-user-text {
        display: block;
        width: 100%;
        padding: 10px 12px !important;
        text-align: left;
    }

    .main-btn-primary,
    .main-btn-outline,
    .main-btn-danger {
        width: 100%;
        justify-content: center;
    }

    .main-nav-right form {
        width: 100%;
    }

        .main-nav-right form .main-btn-danger {
            width: 100%;
        }

    .main-dropdown-menu {
        margin-top: 6px;
        border-radius: 14px;
    }

    .main-footer-inner {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 16px;
        padding-right: 16px;
        gap: 6px;
    }
}

/* Celulares */
@media (max-width: 575.98px) {
    .main-navbar {
        min-height: 72px;
    }

    .main-navbar-inner {
        padding-left: 12px;
        padding-right: 12px;
    }

    .main-brand-badge {
        font-size: 0.88rem;
        padding: 9px 14px;
    }

    .main-nav-link {
        font-size: 0.95rem;
    }

    .main-btn-primary,
    .main-btn-outline,
    .main-btn-danger {
        min-height: 42px;
        font-size: 0.92rem;
        padding: 10px 14px;
    }

    .main-footer {
        font-size: 0.88rem;
    }
}

/* =========================
   ADMIN (NEW UI)
   ========================= */
.admin-body {
    background: linear-gradient(180deg, var(--rcv-bg) 0%, var(--rcv-bg-2) 100%);
    min-height: 100vh;
    color: #1f2937;
    font-family: var(--rcv-font-body);
    font-size: 0.92rem;
    line-height: 1.55;
}

.admin-shell {
    min-height: 100vh;
    display: flex;
}

.admin-sidebar {
    width: 292px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-right: 1px solid var(--rcv-border);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
}

.admin-brand {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px;
    border-radius: 16px;
    color: inherit;
}

.admin-brand:hover {
    background: #f8fafc;
}

.admin-brand-badge {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 999px;
    background-color: #eff6ff;
    color: var(--rcv-primary);
    font-weight: 600;
    font-size: 0.92rem;
    border: 1px solid #dbeafe;
    letter-spacing: 0.01em;
}

.admin-brand-sub {
    color: var(--rcv-muted);
    font-weight: 600;
    font-size: 0.92rem;
}

.admin-nav {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 6px;
}

.admin-nav-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-nav-group-content {
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px dashed rgba(100, 116, 139, 0.35);
}

.admin-nav-title {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    padding: 0 8px 4px 8px;
}

.admin-nav-link {
    text-decoration: none;
    color: #334155;
    font-weight: 550;
    padding: 12px 12px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.18s ease;
}

.admin-nav-text {
    flex: 1;
}

.admin-nav-link:hover {
    background: #f8fafc;
    color: var(--rcv-primary);
}

.admin-nav-link.is-active {
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.14) 0%, rgba(180, 83, 9, 0.08) 100%);
    color: var(--rcv-primary);
    border: 1px solid rgba(245, 158, 11, 0.22);
}

.admin-help-btn {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 1px solid rgba(100, 116, 139, 0.45);
    color: #475569;
    background: #ffffff;
    font-weight: 700;
    font-size: 0.8rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: help;
    flex: 0 0 22px;
}

.admin-help-btn:hover {
    border-color: rgba(245, 158, 11, 0.75);
    color: #b45309;
    background: rgba(245, 158, 11, 0.12);
}

.admin-help-btn:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.85);
    outline-offset: 2px;
}

.admin-sidebar-footer {
    margin-top: auto;
    padding: 14px 10px 6px 10px;
    border-top: 1px solid var(--rcv-border);
}

.admin-sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 10px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid var(--rcv-border);
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.05);
}

.admin-user-name {
    font-weight: 600;
    color: var(--rcv-text);
    line-height: 1.1;
}

.admin-user-role {
    color: var(--rcv-muted);
    font-weight: 600;
    font-size: 0.88rem;
}

.admin-logout {
    margin-top: 10px;
}

.admin-sidebar-note {
    margin-top: 10px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.88rem;
}

.admin-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.admin-topbar {
    padding: 18px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--rcv-border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.admin-topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-topbar-badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background-color: #eff6ff;
    color: var(--rcv-primary);
    font-weight: 650;
    font-size: 0.9rem;
    border: 1px solid #dbeafe;
    margin-bottom: 6px;
}

.admin-topbar-title {
    font-size: 1.15rem;
    font-weight: 650;
    color: var(--rcv-text);
    letter-spacing: -0.01em;
}

.admin-topbar-sub {
    margin-top: 2px;
    color: var(--rcv-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.admin-hero {
    display: none;
}

.admin-content {
    padding: 26px;
}

.admin-hero {
    background: var(--rcv-card);
    border: 1px solid var(--rcv-border);
    border-radius: 26px;
    padding: 26px 26px;
    box-shadow: var(--rcv-shadow-soft);
}

.admin-hero-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--rcv-text);
    letter-spacing: -0.03em;
    margin: 0;
}

.admin-hero-subtitle {
    margin-top: 10px;
    color: var(--rcv-muted);
    line-height: 1.7;
    font-size: 0.98rem;
    margin-bottom: 0;
    max-width: 72ch;
}

.admin-card {
    background: var(--rcv-card);
    border: 1px solid var(--rcv-border);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.05);
}

.admin-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.admin-card-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 650;
    color: var(--rcv-text);
}

.admin-card-subtitle {
    margin-top: 6px;
    margin-bottom: 0;
    color: var(--rcv-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.admin-stat {
    padding: 18px 18px;
    border-radius: 22px;
    border: 1px solid var(--rcv-border);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.10), rgba(180, 83, 9, 0.04)), #ffffff;
}

.admin-stat-label {
    color: var(--rcv-muted);
    font-weight: 600;
    margin-bottom: 10px;
}

.admin-stat-value {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--rcv-primary);
    letter-spacing: -0.02em;
}

.admin-input {
    border-radius: 14px;
    min-height: 46px;
    border: 1px solid #cbd5e1;
    padding: 0.75rem 0.95rem;
    font-size: 0.98rem;
    color: var(--rcv-text);
    background-color: #ffffff;
    box-shadow: none;
    transition: all 0.2s ease;
}

.admin-input:focus {
    border-color: var(--rcv-primary);
    box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.18);
}

.admin-table {
    margin: 0;
}

.admin-table,
.admin-table .badge,
.admin-table td,
.admin-table th {
    font-size: 0.92rem;
}

.admin-table thead th {
    color: #475569;
    font-weight: 800;
    border-bottom: 1px solid var(--rcv-border);
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1;
}

.admin-table tbody td {
    vertical-align: middle;
}

.admin-modal {
    border-radius: 22px;
    border: 1px solid var(--rcv-border);
}

.admin-btn-primary,
.admin-btn-outline,
.admin-btn-danger {
    min-height: 44px;
    border-radius: 12px;
    font-weight: 800;
    padding: 10px 16px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.admin-btn-primary:focus-visible,
.admin-btn-outline:focus-visible,
.admin-btn-danger:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.85);
    outline-offset: 3px;
}

.admin-btn-primary {
    border: none;
    background: linear-gradient(90deg, var(--rcv-primary) 0%, var(--rcv-primary-2) 100%);
    color: #fff;
}

.admin-btn-primary:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.24);
}

.admin-btn-outline {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: var(--rcv-text);
}

.admin-btn-outline:hover {
    background: #f8fafc;
    color: var(--rcv-text);
    border-color: #94a3b8;
}

.admin-btn-danger {
    border: none;
    background: #ef4444;
    color: #fff;
}

.admin-btn-danger:hover {
    color: #fff;
    background: #dc2626;
    transform: translateY(-1px);
}

.admin-btn-danger-outline {
    border: 1px solid rgba(239, 68, 68, 0.35);
    background: rgba(239, 68, 68, 0.06);
    color: #b91c1c;
}

.admin-btn-danger-outline:hover {
    background: rgba(239, 68, 68, 0.10);
    border-color: rgba(239, 68, 68, 0.55);
    color: #991b1b;
    transform: translateY(-1px);
}

.admin-btn-sm {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.9rem;
    border-radius: 12px;
}

.admin-exams-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-exams-toolbar .admin-input {
    width: 320px;
}

.admin-row-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: nowrap;
}

.admin-row-actions .btn {
    white-space: nowrap;
}

.admin-row-actions form {
    margin: 0;
}

.admin-codes-toolbar {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-codes-toolbar .admin-btn-primary {
    white-space: nowrap;
    min-width: 150px;
}

.admin-codes-toolbar .admin-input {
    width: 320px;
}

.admin-ico {
    width: 18px;
    height: 18px;
    display: inline-block;
    flex: 0 0 18px;
    color: currentColor;
}

.admin-ico path,
.admin-ico line,
.admin-ico polyline,
.admin-ico rect,
.admin-ico circle {
    stroke: currentColor;
}

.admin-btn-outline .admin-ico,
.admin-btn-primary .admin-ico,
.admin-btn-danger .admin-ico {
    margin-right: 8px;
    vertical-align: -3px;
}

.admin-content .nav-tabs {
    border-bottom: 1px solid var(--rcv-border);
}

.admin-content .nav-tabs .nav-link {
    border: 0;
    color: #475569;
    font-weight: 650;
    padding: 10px 12px;
    border-radius: 12px 12px 0 0;
}

.admin-content .nav-tabs .nav-link:hover {
    color: var(--rcv-primary);
    background: rgba(248, 250, 252, 0.8);
}

.admin-content .nav-tabs .nav-link.active {
    color: var(--rcv-text);
    background: #ffffff;
    border: 1px solid var(--rcv-border);
    border-bottom-color: #ffffff;
}

.toast-container {
    z-index: 1200 !important;
}

.admin-toast {
    border-radius: 14px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.22);
    min-width: 320px;
    max-width: 460px;
    border: 0 !important;
    overflow: hidden;
}

.admin-toast .toast-body {
    font-weight: 600;
    letter-spacing: 0.1px;
    padding: 12px 14px;
}

.admin-toast .btn-close {
    opacity: 0.85;
}

.admin-toast .btn-close:hover {
    opacity: 1;
}

.admin-toast.showing,
.admin-toast.show {
    animation: adminToastIn 0.22s ease-out;
}

@keyframes adminToastIn {
    from { transform: translateY(-8px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.admin-toast {
    border-radius: 16px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.14);
}

#menuEditTabs .nav-link {
    border: 1px solid rgba(180, 83, 9, 0.18);
    background: rgba(245, 158, 11, 0.08);
    color: #92400e;
    font-weight: 700;
    border-radius: 10px;
    padding: 8px 14px;
}

#menuEditTabs .nav-link:hover {
    background: rgba(245, 158, 11, 0.16);
    color: #78350f;
}

#menuEditTabs .nav-link.active {
    background: linear-gradient(90deg, #f59e0b 0%, #b45309 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(180, 83, 9, 0.28);
}

@media (max-width: 991.98px) {
    .admin-sidebar {
        display: none;
    }

    .admin-content {
        padding: 18px;
    }

    .admin-hero-title {
        font-size: 1.35rem;
    }
}

@media (max-width: 767.98px) {
    /* Horizontal tab scroll on mobile */
    #adminTabNav {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
        border-bottom: 1px solid var(--rcv-border);
        gap: 4px;
    }

    #adminTabNav .nav-item {
        flex: 0 0 auto;
    }

    #adminTabNav .nav-link {
        white-space: nowrap;
    }

    .admin-card-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .admin-card-header > div:last-child {
        width: 100%;
    }

    .admin-card-header .input-group,
    .admin-card-header .admin-input {
        max-width: 100% !important;
        width: 100%;
    }

    /* Actions column responsive */
    .admin-table td {
        white-space: normal;
    }
}

@media (max-width: 575.98px) {
    .admin-exams-toolbar {
        width: 100%;
        justify-content: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .admin-exams-toolbar form,
    .admin-exams-toolbar .admin-btn-outline {
        width: 100%;
    }

    .admin-exams-toolbar .admin-input {
        width: 100% !important;
    }

    .admin-codes-toolbar {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .admin-codes-toolbar form,
    .admin-codes-toolbar .admin-btn-primary {
        width: 100%;
    }

    .admin-codes-toolbar .admin-input {
        width: 100% !important;
    }

    .admin-row-actions {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .admin-row-actions .btn {
        padding-left: 10px;
        padding-right: 10px;
        flex: 1 1 auto;
        text-align: center;
    }
}

.landing-promos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.landing-promo-card {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.landing-promo-card img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    display: block;
}