/* ==========================================================================
   CARNÊ DIGITAL CEM - CONSOLIDATED STYLESHEET (app.css)
   Pós-Graduação FIAP • 2026
   ========================================================================== */

:root {
    --cem-blue: #005DAA;
    --cem-blue-dark: #003F7A;
    --cem-blue-light: #EBF4FC;
    --cem-orange: #F37021;
    --cem-orange-dark: #D85A0E;
    --cem-orange-light: #FFF1E8;
    --cem-yellow: #FFB800;
    --fiap-pink: #ED145B;
    --fiap-dark: #121214;
    --bg-page: #F4F6F9;
    --bg-card: #FFFFFF;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --border-color: #E2E8F0;
    --success: #10B981;
    --success-light: #ECFDF5;
    --warning: #F59E0B;
    --warning-light: #FFFBEB;
    --danger: #EF4444;
    --danger-light: #FEF2F2;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 8px 20px rgba(243, 112, 33, 0.25);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #0d1527;
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}

/* Desktop Presentation Wrapper & Phone Mockup */
.stage-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 10px 16px;
}

.stage-presentation-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
}

.academic-top-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.academic-top-badge .fiap-tag {
    background: var(--fiap-pink);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* Mobile Shell Frame */
.mobile-viewport-shell {
    width: 100%;
    max-width: 430px;
    min-height: 844px;
    height: 92vh;
    max-height: 900px;
    background: var(--bg-page);
    border-radius: 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 0 10px #1E293B, 0 0 0 12px #334155;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    flex-shrink: 0;
    margin: 0 auto;
}

@media (max-width: 1023px) {
    .stage-presentation-wrap {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0;
        background-color: var(--bg-page);
    }
    .stage-container {
        padding: 0;
    }
    .academic-top-badge {
        display: none;
    }
    .mobile-viewport-shell {
        max-width: 100%;
        height: 100vh;
        min-height: 100vh;
        max-height: none;
        border-radius: 0;
        box-shadow: none;
    }
}

/* Mobile Status Bar Simulation */
.mobile-status-bar {
    height: 38px;
    background: var(--cem-blue);
    color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    font-size: 12px;
    font-weight: 600;
    user-select: none;
    z-index: 50;
    flex-shrink: 0;
}

.mobile-status-bar .notch {
    width: 110px;
    height: 18px;
    background: #111827;
    border-radius: 0 0 12px 12px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
}

/* Navigation Header */
.app-header {
    background: linear-gradient(135deg, var(--cem-blue) 0%, var(--cem-blue-dark) 100%);
    color: #FFFFFF;
    padding: 14px 20px 18px 20px;
    position: relative;
    z-index: 40;
    box-shadow: 0 4px 12px rgba(0, 93, 170, 0.25);
    flex-shrink: 0;
    border-bottom: 3px solid var(--cem-orange);
}

.app-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.brand-logo-badge {
    background: #FFFFFF;
    color: var(--cem-blue);
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 15px;
    padding: 4px 8px;
    border-radius: 6px;
    letter-spacing: -0.5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid rgba(243, 112, 33, 0.3);
}

.brand-title {
    color: #FFFFFF;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.brand-subtitle {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    display: block;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-icon-btn {
    background: rgba(255, 255, 255, 0.18);
    border: none;
    color: #FFFFFF;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    text-decoration: none;
}

.header-icon-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.header-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--cem-orange);
    border-radius: 50%;
    position: absolute;
    top: 7px;
    right: 7px;
    border: 2px solid var(--cem-blue);
}

/* User Quick Banner */
.user-greeting-banner {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user-greeting-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

.user-greeting-name {
    font-size: 15px;
    font-weight: 700;
    color: #FFFFFF;
}

.fiap-micro-tag {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Scrollable Main Content */
.app-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px 16px 85px 16px;
    -webkit-overflow-scrolling: touch;
}

.app-content::-webkit-scrollbar {
    width: 4px;
}
.app-content::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}

/* Bottom Navigation Bar */
.app-bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: #FFFFFF;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8px 8px 8px;
    z-index: 50;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.04);
}

.nav-tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 700;
    transition: all 0.2s ease;
    position: relative;
    padding: 6px 4px;
    border-radius: 12px;
}

.nav-tab-item i {
    font-size: 18px;
    transition: transform 0.2s;
}

.nav-tab-item.active {
    color: var(--cem-orange);
}

.nav-tab-item.active i {
    transform: translateY(-2px);
}

.nav-tab-item .nav-badge {
    position: absolute;
    top: 2px;
    right: 8px;
    background: var(--cem-orange);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 10px;
}

/* Central Highlighted Button (Meu Carnê) */
.nav-tab-center-highlight {
    flex: 1;
    position: relative;
    top: -12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 60;
}

.center-btn-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cem-orange) 0%, #D97706 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 6px 16px rgba(243, 112, 33, 0.4);
    border: 3px solid #FFFFFF;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
    position: relative;
}

.nav-tab-center-highlight:active .center-btn-circle,
.nav-tab-center-highlight:hover .center-btn-circle {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 20px rgba(243, 112, 33, 0.55);
}

.center-btn-label {
    font-size: 10px;
    font-weight: 800;
    margin-top: 3px;
    color: var(--cem-blue-dark);
    letter-spacing: -0.2px;
    white-space: nowrap;
}

.nav-tab-center-highlight.active .center-btn-label {
    color: var(--cem-orange-dark);
}

.nav-tab-center-highlight.active .center-btn-circle {
    background: linear-gradient(135deg, var(--cem-orange-dark) 0%, var(--cem-orange) 100%);
    box-shadow: 0 6px 18px rgba(217, 119, 6, 0.55);
}

.center-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #EF4444;
    color: #FFFFFF;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 10px;
    border: 2px solid #FFFFFF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Global Reusable Styles */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 16px;
    margin-bottom: 14px;
}

.card-interactive {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
}
.card-interactive:active {
    transform: scale(0.98);
}

.btn-cem {
    background: var(--cem-orange);
    color: #FFFFFF;
    border: none;
    border-radius: var(--radius-md);
    padding: 13px 18px;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
    width: 100%;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(243, 112, 33, 0.35);
}
.btn-cem:hover, .btn-cem:active {
    background: var(--cem-orange-dark);
    box-shadow: 0 6px 18px rgba(243, 112, 33, 0.45);
}

.btn-cem-secondary {
    background: #FFFFFF;
    color: var(--cem-blue);
    border: 1.5px solid var(--cem-blue);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
    width: 100%;
    transition: all 0.2s ease;
}

.btn-cem-secondary:hover {
    background: #F0F4FA;
}

/* Standard Page Header System */
.page-title-bar {
    margin-bottom: 16px;
}

.page-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--cem-blue-dark);
    letter-spacing: -0.5px;
    line-height: 1.25;
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 3px;
    line-height: 1.35;
}

.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-warning {
    background: #FEF3C7;
    color: #D97706;
}

.badge-danger {
    background: #FEE2E2;
    color: #DC2626;
}

.badge-success {
    background: #D1FAE5;
    color: #059669;
}

.badge-info {
    background: #DBEAFE;
    color: #1D4ED8;
}

/* Alerts & Toast */
.app-alert {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    animation: slideDown 0.3s ease;
}
.app-alert-success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}
.app-alert-info {
    background: #EFF6FF;
    color: #1E40AF;
    border: 1px solid #BFDBFE;
}
.app-alert-danger {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.fiap-footer-note {
    text-align: center;
    font-size: 10px;
    color: var(--text-light);
    margin-top: 20px;
    padding-bottom: 10px;
}

/* ==========================================================================
   AUTH & LOGIN VIEW STYLES
   ========================================================================== */

.login-container {
    padding: 12px 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100% - 20px);
}

.brand-hero {
    text-align: center;
    padding: 12px 0 18px 0;
}

.brand-hero-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cem-blue) 0%, var(--cem-blue-dark) 100%);
    color: #FFFFFF;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 26px;
    box-shadow: 0 12px 28px rgba(0, 93, 170, 0.4);
    margin-bottom: 12px;
    border: 2.5px solid var(--cem-orange);
}

.brand-hero-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--cem-blue-dark);
    letter-spacing: -0.5px;
}

.brand-hero-sub {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.4;
    padding: 0 10px;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-wrap i {
    position: absolute;
    left: 14px;
    color: var(--text-light);
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 13px 14px 13px 42px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-family: inherit;
    background: #FFFFFF;
    color: var(--text-main);
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--cem-orange);
    box-shadow: 0 0 0 4px rgba(243, 112, 33, 0.15);
}

.login-badge-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 16px;
    text-align: center;
}

/* Floating Aside Homologation Card (Right Side on Desktop) */
.floating-homolog-card {
    width: 100%;
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    padding: 24px 22px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
}

@media (min-width: 1024px) {
    .floating-homolog-card {
        position: absolute;
        left: calc(50% + 245px);
        top: 50%;
        transform: translateY(-50%);
        width: 390px;
        max-width: 430px;
        max-height: 92vh;
        overflow-y: auto;
        z-index: 60;
        animation: slideInAside 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    }

    .floating-homolog-card::-webkit-scrollbar {
        width: 6px;
    }
    .floating-homolog-card::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.2);
        border-radius: 4px;
    }
}

@media (min-width: 1400px) {
    .floating-homolog-card {
        left: calc(50% + 265px);
        width: 420px;
    }
}

@media (max-width: 1023px) {
    .floating-homolog-card {
        max-width: 430px;
        margin: 20px auto 30px auto;
        position: static;
        transform: none;
        max-height: none;
        overflow-y: visible;
    }
}

@keyframes slideInAside {
    from { opacity: 0; transform: translateY(-50%) translateX(25px); }
    to { opacity: 1; transform: translateY(-50%) translateX(0); }
}

.homolog-header-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(237, 20, 91, 0.25);
    border: 1px solid rgba(237, 20, 91, 0.6);
    color: #FF7096;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.homolog-card-title {
    font-size: 18px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.homolog-card-desc {
    font-size: 12px;
    color: #CBD5E1;
    line-height: 1.5;
    margin-bottom: 14px;
}

/* User Mission Highlight Card */
.mission-card-box {
    background: linear-gradient(135deg, rgba(243, 112, 33, 0.22) 0%, rgba(237, 20, 91, 0.18) 100%);
    border: 1.5px solid rgba(243, 112, 33, 0.55);
    border-radius: var(--radius-lg);
    padding: 14px 15px;
    margin-bottom: 14px;
    box-shadow: 0 8px 24px rgba(243, 112, 33, 0.15);
    position: relative;
    overflow: hidden;
}

.mission-card-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.mission-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.mission-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--cem-orange) 0%, #E65100 100%);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(243, 112, 33, 0.35);
}

.mission-main-text {
    font-size: 12.5px;
    color: #FFFFFF;
    line-height: 1.5;
    margin-bottom: 10px;
}

.mission-main-text strong {
    color: #FFD29D;
}

.mission-challenge-alert {
    background: rgba(0, 0, 0, 0.3);
    border-left: 3px solid var(--cem-orange);
    border-radius: 6px;
    padding: 8px 10px;
    margin-bottom: 10px;
    font-size: 11.5px;
    color: #FFE5D0;
    line-height: 1.45;
}

.mission-steps-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
}

.mission-step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    color: #E2E8F0;
    background: rgba(255, 255, 255, 0.07);
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mission-step-num {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    background: rgba(243, 112, 33, 0.3);
    border: 1px solid rgba(243, 112, 33, 0.7);
    color: #FFB082;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
}

.homolog-notice-box {
    background: rgba(243, 112, 33, 0.12);
    border: 1px solid rgba(243, 112, 33, 0.35);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    margin-bottom: 12px;
    font-size: 12px;
    color: #FFD8BE;
    line-height: 1.45;
}

.profile-card-box {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    margin-bottom: 10px;
    transition: all 0.2s;
}

.profile-card-box:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

.profile-header-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.profile-badge-name {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.credential-field {
    font-size: 11.5px;
    color: #E2E8F0;
    font-family: monospace;
    margin-bottom: 2px;
}

.credential-field strong {
    color: #FFB082;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.profile-card-desc {
    font-size: 10.5px;
    color: #94A3B8;
    line-height: 1.35;
    margin-top: 6px;
}

.btn-use-credential {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-use-credential:hover {
    background: var(--cem-orange);
    border-color: var(--cem-orange);
}

/* ==========================================================================
   DASHBOARD VIEW STYLES
   ========================================================================== */

.hero-installment-card {
    background: linear-gradient(135deg, #003F7A 0%, #002244 100%);
    color: #FFFFFF;
    border-radius: var(--radius-xl);
    padding: 20px;
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 63, 122, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-installment-card::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(243, 112, 33, 0.4) 0%, rgba(243, 112, 33, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.hero-tag {
    background: rgba(243, 112, 33, 0.25);
    border: 1px solid rgba(243, 112, 33, 0.6);
    color: #FFB082;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.hero-contract-title {
    font-size: 13px;
    color: #B4D3F0;
    margin-bottom: 2px;
}

.hero-product-name {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.3;
    margin-bottom: 12px;
}

.hero-amount-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-amount-label {
    font-size: 11px;
    color: #B4D3F0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-amount-val {
    font-size: 26px;
    font-weight: 800;
    color: #FFB082;
    font-family: 'Outfit', sans-serif;
}

.hero-due-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #E2E8F0;
    margin-bottom: 16px;
}

.hero-due-info i {
    color: var(--cem-yellow);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 18px 0 12px 0;
}

.section-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--cem-blue-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-link {
    font-size: 12px;
    font-weight: 700;
    color: var(--cem-orange);
    text-decoration: none;
}

.cem-promo-banner {
    background: linear-gradient(135deg, var(--cem-orange) 0%, var(--cem-blue) 100%);
    color: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    margin: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 6px 18px rgba(243, 112, 33, 0.25);
}

.cem-promo-text h4 {
    font-size: 14px;
    font-weight: 800;
}
.cem-promo-text p {
    font-size: 11px;
    opacity: 0.9;
}

/* ==========================================================================
   CHECKOUT & PAYMENTS VIEW STYLES
   ========================================================================== */

.checkout-summary-card {
    background: linear-gradient(135deg, #003F7A 0%, #002244 100%);
    color: #FFFFFF;
    border-radius: var(--radius-xl);
    padding: 18px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 25px rgba(0, 63, 122, 0.25);
}

.chk-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #B4D3F0;
    margin-bottom: 8px;
}

.chk-product-title {
    font-size: 15px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.chk-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.chk-price-val {
    font-size: 26px;
    font-weight: 800;
    color: #FFB082;
    font-family: 'Outfit', sans-serif;
}

.method-selector-wrap {
    display: flex;
    background: #E2E8F0;
    padding: 4px;
    border-radius: var(--radius-md);
    margin-bottom: 18px;
    gap: 6px;
}

.method-pill {
    flex: 1;
    padding: 12px 10px;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.method-pill.active {
    background: #FFFFFF;
    color: var(--cem-orange);
    box-shadow: var(--shadow-sm);
}

.pix-container {
    text-align: center;
    padding: 10px 0;
}

.pix-qr-frame {
    background: #FFFFFF;
    padding: 16px;
    border-radius: var(--radius-xl);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    border: 2px dashed #CBD5E1;
    margin-bottom: 16px;
    position: relative;
}

.pix-qr-frame svg {
    width: 190px !important;
    height: 190px !important;
    display: block;
    border-radius: 8px;
}

.pix-center-badge {
    position: absolute;
    width: 38px;
    height: 38px;
    background: #FFFFFF;
    border: 2px solid var(--cem-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.pix-center-badge i {
    color: #059669;
    font-size: 20px;
}

.pix-timer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FEF3C7;
    color: #92400E;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 14px;
}

.pix-copy-box {
    background: #F1F5F9;
    border: 1px solid #CBD5E1;
    border-radius: var(--radius-md);
    padding: 10px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.pix-code-text {
    font-size: 11px;
    color: var(--text-muted);
    font-family: monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

.btn-copy {
    background: var(--cem-blue);
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.credit-card-preview {
    background: linear-gradient(135deg, var(--cem-blue) 0%, var(--cem-blue-dark) 100%);
    color: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(0, 93, 170, 0.35);
    border: 1.5px solid var(--cem-orange);
    position: relative;
}

.cc-chip {
    width: 36px;
    height: 28px;
    background: linear-gradient(135deg, #FCD34D 0%, #D97706 100%);
    border-radius: 6px;
    margin-bottom: 16px;
}

.cc-number {
    font-family: 'Outfit', monospace;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 14px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.cc-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.cc-holder-name {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cc-valid-thru {
    font-size: 11px;
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* ==========================================================================
   CARNÊS & RENEGOTIATION VIEW STYLES
   ========================================================================== */

.tabs-nav {
    display: flex;
    background: #E2E8F0;
    padding: 4px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    gap: 4px;
}

.tab-btn {
    flex: 1;
    padding: 8px 10px;
    text-align: center;
    background: transparent;
    border: none;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.tab-btn.active {
    background: #FFFFFF;
    color: var(--cem-orange);
    box-shadow: var(--shadow-sm);
}

.contract-group-card {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    margin-bottom: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.contract-header {
    background: linear-gradient(135deg, #F8FAFC 0%, #EEF2F6 100%);
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.contract-number {
    font-size: 11px;
    font-weight: 700;
    color: var(--cem-blue);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.contract-name {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-main);
    margin-top: 2px;
}

.contract-progress-box {
    padding: 10px 16px 12px 16px;
    background: #F8FAFC;
    border-bottom: 1px solid var(--border-color);
}

.contract-progress-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    margin-bottom: 6px;
    color: var(--text-muted);
}

.progress-track {
    height: 8px;
    background: #E2E8F0;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--cem-blue) 0%, var(--cem-orange) 100%);
    border-radius: 6px;
    transition: width 0.5s ease;
}

.renegotiate-banner {
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
    border: 1.5px solid #FCD34D;
    border-radius: var(--radius-md);
    padding: 12px 14px;
    margin: 12px 12px 6px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.1);
}

.renegotiate-banner-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    color: #92400E;
}

.renegotiate-banner-text {
    font-size: 11px;
    color: #78350F;
    line-height: 1.4;
}

.btn-renegotiate-cta {
    background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
    color: #FFFFFF;
    border: none;
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(180, 83, 9, 0.25);
    transition: transform 0.15s;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    align-self: flex-start;
}

.btn-renegotiate-cta:active {
    transform: scale(0.97);
}

.btn-renegotiate-small {
    background: #FFFBEB;
    color: #B45309;
    border: 1px solid #FDE68A;
    border-radius: var(--radius-sm);
    padding: 6px 8px;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-right: 4px;
}

.installments-list {
    padding: 6px 12px;
}

.installment-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 6px;
    border-bottom: 1px solid #F1F5F9;
}

.installment-row:last-child {
    border-bottom: none;
}

.installment-num-badge {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    margin-right: 10px;
}

.num-pending { background: #FFF1E8; color: var(--cem-orange-dark); }
.num-overdue { background: #FEE2E2; color: #DC2626; border: 1px solid #FECACA; }
.num-paid { background: #ECFDF5; color: var(--success); }

.installment-details {
    flex: 1;
}

.inst-val {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
}

.inst-date {
    font-size: 11px;
    color: var(--text-muted);
}

.btn-pay-small {
    background: var(--cem-orange);
    color: #FFFFFF;
    border: none;
    border-radius: var(--radius-sm);
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(243, 112, 33, 0.3);
}

.btn-receipt-small {
    background: #F1F5F9;
    color: var(--cem-blue);
    border: 1px solid #CBD5E1;
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.renegotiate-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 20, 50, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
    align-items: flex-end;
    justify-content: center;
    border-radius: 40px;
    overflow: hidden;
}

.renegotiate-modal-backdrop.active {
    display: flex;
    animation: fadeIn 0.2s ease;
}

.renegotiate-modal-box {
    background: #FFFFFF;
    border-radius: 24px 24px 0 0;
    width: 100%;
    max-width: 100%;
    max-height: 85%;
    overflow-y: auto;
    padding: 20px 18px 24px 18px;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FEF3C7;
    color: #92400E;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.entry-percent-selector {
    display: flex;
    background: #E2E8F0;
    padding: 4px;
    border-radius: var(--radius-md);
    gap: 6px;
    margin-bottom: 12px;
}

.entry-pill {
    flex: 1;
    padding: 9px 6px;
    border: 1.5px solid transparent;
    border-radius: 8px;
    background: transparent;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.entry-pill.active {
    background: #FFFFFF;
    color: var(--cem-orange-dark);
    box-shadow: var(--shadow-sm);
    border-color: var(--cem-orange);
}

.modal-plan-box {
    background: #F8FAFC;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 14px;
    margin: 12px 0;
}

.plan-step-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.plan-step-item:last-child {
    margin-bottom: 0;
}

.step-number-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--cem-blue);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
}

.step-number-circle.step-orange {
    background: var(--cem-orange);
}

.future-installments-hint {
    background: #F8FAFC;
    border: 1px dashed #CBD5E1;
    border-radius: var(--radius-md);
    padding: 9px 12px;
    margin-top: 8px;
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   PAYMENT RECEIPT VIEW STYLES
   ========================================================================== */

.receipt-container {
    padding: 4px 0;
    text-align: center;
}

.success-icon-wrap {
    width: 76px;
    height: 76px;
    background: #ECFDF5;
    border: 3px solid #A7F3D0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--success);
    margin-bottom: 14px;
    animation: scalePop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scalePop {
    0% { transform: scale(0.3); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.receipt-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--cem-blue-dark);
    margin-bottom: 4px;
}

.receipt-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.paper-receipt {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    border: 1px dashed #CBD5E1;
    box-shadow: var(--shadow-md);
    padding: 20px;
    text-align: left;
    position: relative;
    margin-bottom: 20px;
}

.paper-receipt-header {
    text-align: center;
    border-bottom: 1px dashed #E2E8F0;
    padding-bottom: 14px;
    margin-bottom: 14px;
}

.receipt-amount-display {
    font-size: 28px;
    font-weight: 800;
    color: var(--cem-blue);
    font-family: 'Outfit', sans-serif;
    margin-top: 4px;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 10px;
    color: var(--text-main);
}

.receipt-row-label {
    color: var(--text-muted);
}

.receipt-row-val {
    font-weight: 700;
    text-align: right;
}

.receipt-auth-box {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    margin-top: 14px;
    text-align: center;
    font-size: 11px;
    font-family: monospace;
    color: var(--text-muted);
}

.survey-cta-card {
    background: linear-gradient(135deg, #FFF1E8 0%, #FFE0CC 100%);
    border: 1.5px solid var(--cem-orange);
    border-radius: var(--radius-xl);
    padding: 18px;
    margin-bottom: 18px;
    box-shadow: 0 6px 18px rgba(243, 112, 33, 0.2);
}

.survey-cta-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--cem-orange-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 6px;
}

.survey-cta-text {
    font-size: 12px;
    color: #7A2E05;
    margin-bottom: 14px;
}

.btn-survey-cta {
    background: var(--cem-orange);
    color: #FFFFFF;
    border: none;
    border-radius: var(--radius-md);
    padding: 13px 18px;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(243, 112, 33, 0.3);
    transition: transform 0.15s;
}

.btn-survey-cta:active {
    transform: scale(0.98);
}

/* ==========================================================================
   PRODUCTS & VITRINE VIEW STYLES
   ========================================================================== */

.cat-scroll-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 16px;
    -webkit-overflow-scrolling: touch;
}

.cat-scroll-nav::-webkit-scrollbar {
    display: none;
}

.cat-pill {
    white-space: nowrap;
    padding: 8px 14px;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s;
}

.cat-pill.active {
    background: var(--cem-blue);
    color: #FFFFFF;
    border-color: var(--cem-blue);
    box-shadow: 0 2px 6px rgba(0, 93, 170, 0.25);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.product-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    position: relative;
}

.product-card:active {
    transform: scale(0.98);
}

.product-img-wrap {
    height: 135px;
    background: #F8FAFC;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px;
}

.product-img-wrap img {
    max-height: 110px;
    max-width: 90%;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.04);
}

.product-badge-float {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--cem-orange);
    color: #FFFFFF;
    font-size: 9px;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 6px;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(243, 112, 33, 0.3);
    z-index: 2;
}

.btn-quick-favorite {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
    font-size: 13px;
    cursor: pointer;
    z-index: 5;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.btn-quick-favorite.active {
    color: var(--cem-orange);
    background: #FFF1E8;
    border-color: #FFE0CC;
}

.product-info {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-brand-tag {
    font-size: 10px;
    color: var(--cem-blue);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.product-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3;
    margin: 2px 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 32px;
}

.product-price-row {
    margin-bottom: 6px;
}

.product-orig-price {
    font-size: 10px;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-cash-price-highlight {
    font-size: 14px;
    font-weight: 800;
    color: var(--cem-blue-dark);
    font-family: 'Outfit', sans-serif;
}

.product-carne-box {
    background: var(--cem-orange-light);
    border: 1px solid rgba(243, 112, 33, 0.2);
    border-radius: 6px;
    padding: 6px 8px;
    margin-top: auto;
}

.product-carne-highlight {
    font-size: 12px;
    font-weight: 800;
    color: var(--cem-orange-dark);
    font-family: 'Outfit', sans-serif;
}

.product-cash-price {
    font-size: 10px;
    color: var(--text-muted);
}

.competitor-micro-badge {
    font-size: 9px;
    background: #EFF6FF;
    color: var(--cem-blue);
    border: 1px solid #BFDBFE;
    border-radius: 4px;
    padding: 2px 4px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-top: 4px;
    font-weight: 600;
}

/* Product Detail View */
.product-detail-hero {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    padding: 18px;
    margin-bottom: 14px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.detail-img-wrap {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    background: #F8FAFC;
    border-radius: var(--radius-lg);
    padding: 12px;
    position: relative;
}

.detail-img-wrap img {
    max-height: 180px;
    max-width: 90%;
    object-fit: contain;
}

.detail-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--cem-orange);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(243, 112, 33, 0.3);
    z-index: 2;
}

.btn-hero-favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    background: #FFFFFF;
    border: 1.5px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #94A3B8;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 5;
}

.btn-hero-favorite.active {
    color: var(--cem-orange);
    background: #FFF1E8;
    border-color: #FFE0CC;
}

.product-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.detail-category-sku {
    font-size: 11px;
    color: var(--cem-blue);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.detail-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #D97706;
}

.detail-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-main);
    text-align: left;
    line-height: 1.3;
    margin: 4px 0 10px 0;
}

.detail-price-container {
    background: #F8FAFC;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    margin-bottom: 12px;
}

.detail-cash-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--cem-blue-dark);
    font-family: 'Outfit', sans-serif;
}

.detail-orig-price {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.discount-tag {
    background: #DCFCE7;
    color: #15803D;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
}

.detail-section-card {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: var(--shadow-sm);
}

.section-header-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
    color: var(--cem-blue-dark);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: -0.2px;
}

.comparator-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    margin-top: 8px;
}

.comparator-table th {
    background: #F1F5F9;
    color: var(--text-muted);
    font-weight: 700;
    padding: 8px 10px;
    text-align: left;
    font-size: 11px;
    text-transform: uppercase;
    border-bottom: 1.5px solid var(--border-color);
}

.comparator-table td {
    padding: 10px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.comparator-row-cem {
    background: #EFF6FF;
    font-weight: 700;
}

.comparator-row-cem td {
    border-top: 2px solid var(--cem-blue);
    border-bottom: 2px solid var(--cem-blue);
}

.badge-best-deal {
    background: #10B981;
    color: #FFFFFF;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.monitor-alert-card {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border: 1.5px solid #BFDBFE;
    border-radius: var(--radius-xl);
    padding: 16px;
    margin-bottom: 14px;
}

.price-history-timeline {
    display: flex;
    justify-content: space-between;
    margin: 14px 0 6px 0;
    position: relative;
}

.price-history-timeline::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 15px;
    right: 15px;
    height: 2px;
    background: #93C5FD;
    z-index: 1;
}

.history-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.history-dot {
    width: 12px;
    height: 12px;
    background: #FFFFFF;
    border: 3px solid var(--cem-blue);
    border-radius: 50%;
    margin: 8px auto 6px auto;
}

.history-step.active .history-dot {
    background: var(--cem-orange);
    border-color: #FFFFFF;
    box-shadow: 0 0 0 3px var(--cem-orange);
}

.history-date {
    font-size: 9px;
    color: var(--text-muted);
    font-weight: 600;
}

.history-price {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-main);
}

.history-step.active .history-price {
    color: var(--cem-orange-dark);
}

.simulator-card {
    background: linear-gradient(135deg, var(--cem-orange-light) 0%, #FFF8F0 100%);
    border: 1.5px solid rgba(243, 112, 33, 0.25);
    border-radius: var(--radius-xl);
    padding: 16px;
    margin-bottom: 14px;
}

.sim-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    color: var(--cem-orange-dark);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.sim-main-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--cem-orange-dark);
    font-family: 'Outfit', sans-serif;
}

.sim-sub {
    font-size: 11px;
    color: var(--cem-blue-dark);
    margin-bottom: 12px;
}

.sim-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: 10px;
}

.sim-option-box {
    background: #FFFFFF;
    border: 1px solid rgba(243, 112, 33, 0.25);
    border-radius: var(--radius-sm);
    padding: 6px 4px;
    text-align: center;
}

.sim-opt-inst {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
}

.sim-opt-val {
    font-size: 11px;
    font-weight: 800;
    color: var(--cem-orange-dark);
}

.specs-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 12px;
}

.spec-key {
    color: var(--text-muted);
    font-weight: 600;
}

.spec-val {
    color: var(--text-main);
    font-weight: 700;
    text-align: right;
}

.dim-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 8px;
}

.dim-box {
    background: #F8FAFC;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
}

.dim-label {
    font-size: 10px;
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 700;
}

.dim-value {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-main);
    margin-top: 2px;
}

.btn-preset {
    background: #F1F5F9;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    padding: 6px 0;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.15s;
}

.btn-preset.active {
    background: var(--cem-blue);
    color: #FFFFFF;
    border-color: var(--cem-blue);
}

/* ==========================================================================
   WISHLIST & PRICE MONITOR VIEW STYLES
   ========================================================================== */

.monitor-card-item {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.monitor-card-item.target-reached {
    border-color: #86EFAC;
    background: linear-gradient(180deg, #F0FDF4 0%, #FFFFFF 100%);
}

.m-top-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.m-img-wrap {
    width: 80px;
    height: 80px;
    background: #F8FAFC;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
    padding: 6px;
}

.m-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.m-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.m-brand-sku {
    font-size: 10px;
    color: var(--cem-blue);
    font-weight: 800;
    text-transform: uppercase;
}

.m-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3;
    margin: 2px 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.m-price-box {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.m-current-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--cem-blue-dark);
    font-family: 'Outfit', sans-serif;
}

.m-initial-price {
    font-size: 11px;
    color: var(--text-light);
    text-decoration: line-through;
}

.m-discount-pill {
    background: #DCFCE7;
    color: #15803D;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
}

.m-target-row {
    background: #F8FAFC;
    border-radius: var(--radius-md);
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
}

.m-target-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

.m-target-val {
    font-size: 13px;
    font-weight: 800;
    color: var(--cem-blue-dark);
}

.m-actions {
    display: flex;
    gap: 8px;
}

.btn-remove-monitor {
    background: #FEE2E2;
    color: #DC2626;
    border: 1px solid #FECACA;
    border-radius: var(--radius-md);
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    text-decoration: none;
}

.empty-monitor-state {
    text-align: center;
    padding: 40px 16px;
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.empty-icon {
    width: 70px;
    height: 70px;
    background: #EFF6FF;
    border: 2px solid #BFDBFE;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--cem-blue);
    margin-bottom: 14px;
}

/* ==========================================================================
   NOTIFICATIONS VIEW STYLES
   ========================================================================== */

.notif-card {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    padding: 14px 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 12px;
    transition: all 0.2s ease;
    position: relative;
}

.notif-card.unread {
    border-left: 4px solid var(--cem-orange);
    background: linear-gradient(90deg, var(--cem-orange-light) 0%, #FFFFFF 15%);
}

.notif-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.icon-price_drop {
    background: #DCFCE7;
    color: #16A34A;
    border: 1px solid #BBF7D0;
}

.icon-carne_reminder {
    background: #EFF6FF;
    color: var(--cem-blue);
    border: 1px solid #BFDBFE;
}

.icon-overdue_alert {
    background: #FEE2E2;
    color: #DC2626;
    border: 1px solid #FECACA;
}

.notif-content {
    flex: 1;
}

.notif-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 3px;
}

.notif-msg {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 8px;
}

.notif-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    color: var(--text-light);
}

.simulate-box {
    background: #FFFBEB;
    border: 1.5px dashed #FCD34D;
    border-radius: var(--radius-xl);
    padding: 14px;
    margin-top: 18px;
    text-align: center;
}

/* ==========================================================================
   SURVEY & THANKS VIEW STYLES
   ========================================================================== */

.survey-header {
    text-align: center;
    margin-bottom: 20px;
}

.survey-badge {
    background: #FDF2F8;
    border: 1px solid #FBCFE8;
    color: var(--fiap-pink);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.survey-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--cem-blue-dark);
    margin-bottom: 4px;
}

.survey-sub {
    font-size: 13px;
    color: var(--text-muted);
}

.survey-card-question {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.q-number {
    font-size: 11px;
    font-weight: 800;
    color: var(--cem-orange);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.q-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
    line-height: 1.4;
}

.rating-grid {
    display: grid;
    gap: 4px;
    margin-bottom: 8px;
}

.rating-grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

.rating-grid-7 {
    grid-template-columns: repeat(7, 1fr);
}

.rating-grid-11 {
    grid-template-columns: repeat(11, 1fr);
}

.rating-btn {
    background: #F1F5F9;
    border: 1.5px solid #CBD5E1;
    border-radius: 8px;
    padding: 9px 0;
    font-size: 12px;
    font-weight: 800;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.15s;
    text-align: center;
}

.rating-btn:hover, .rating-btn.active {
    background: var(--cem-orange);
    color: #FFFFFF;
    border-color: var(--cem-orange);
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(243, 112, 33, 0.3);
}

.scale-labels {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--text-light);
    font-weight: 600;
}

.option-cards-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option-card-label {
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 600;
    transition: all 0.15s;
    background: #FFFFFF;
}

.option-card-label:hover {
    background: #F8FAFC;
}

.option-card-label.selected {
    border-color: var(--cem-blue);
    background: #EFF6FF;
}

.option-card-label input[type="radio"] {
    accent-color: var(--cem-blue);
}

.option-card-label.selected span {
    color: var(--cem-blue);
    font-weight: 800;
}

.survey-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 12.5px;
    font-family: inherit;
    resize: vertical;
    min-height: 70px;
    box-sizing: border-box;
}

.survey-textarea:focus {
    outline: none;
    border-color: var(--cem-blue);
    box-shadow: 0 0 0 3px rgba(0, 93, 170, 0.15);
}

/* Thanks Page */
.thanks-container {
    text-align: center;
    padding: 30px 10px;
}

.thanks-icon {
    width: 80px;
    height: 80px;
    background: #FDF2F8;
    border: 3px solid #FBCFE8;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    color: var(--fiap-pink);
    margin-bottom: 16px;
    animation: heartBeat 1.2s ease infinite;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.1); }
    28% { transform: scale(1); }
    42% { transform: scale(1.1); }
    70% { transform: scale(1); }
}

.thanks-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--cem-blue-dark);
    margin-bottom: 8px;
}

.thanks-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 24px;
}

.fiap-academic-card {
    background: #FFFFFF;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 18px;
    margin-bottom: 24px;
    text-align: left;
    box-shadow: var(--shadow-sm);
}

.fac-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    color: var(--fiap-pink);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.fac-text {
    font-size: 12px;
    color: var(--text-main);
    line-height: 1.4;
}

/* ==========================================================================
   SURVEY ANALYTICS DASHBOARD VIEW STYLES
   ========================================================================== */

.analytics-hero {
    background: linear-gradient(135deg, var(--cem-blue-dark) 0%, #001F3F 100%);
    color: #FFFFFF;
    border-radius: var(--radius-xl);
    padding: 20px;
    margin-bottom: 18px;
    box-shadow: 0 10px 25px rgba(0, 63, 122, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
}

.analytics-badge-fiap {
    background: var(--fiap-pink);
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

.analytics-title {
    font-size: 19px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 4px;
    letter-spacing: -0.3px;
}

.analytics-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}

.export-actions-bar {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.btn-export {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.2s;
    flex: 1;
    justify-content: center;
}

.btn-export:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.kpi-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 14px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.kpi-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 4px;
}

.kpi-value-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.kpi-number {
    font-size: 24px;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    color: var(--cem-blue-dark);
}

.kpi-status-tag {
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 4px;
    display: inline-block;
    width: fit-content;
}

.status-excellent {
    background: #DCFCE7;
    color: #15803D;
}

.status-warning {
    background: #FEF3C7;
    color: #B45309;
}

.chart-card {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.chart-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.chart-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--cem-blue-dark);
    display: flex;
    align-items: center;
    gap: 6px;
}

.chart-box {
    position: relative;
    height: 190px;
    width: 100%;
}

.feedback-item {
    background: #F8FAFC;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px;
    margin-bottom: 10px;
}

.fb-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.fb-user {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-main);
}

.fb-rating {
    font-size: 10px;
    color: #D97706;
    font-weight: 700;
}

.fb-text {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    font-style: italic;
}

.fb-tag {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 6px;
    display: inline-block;
}

/* ==========================================================================
   PRINTABLE EXECUTIVE REPORT VIEW STYLES
   ========================================================================== */

.report-body-print {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #F8FAFC;
    color: #1E293B;
    margin: 0;
    padding: 24px;
    font-size: 13px;
    line-height: 1.5;
    display: block;
}

.report-page-container {
    max-width: 1200px;
    margin: 0 auto 30px auto;
    background: #FFFFFF;
    padding: 32px 36px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #E2E8F0;
    transition: max-width 0.3s ease;
    overflow: hidden;
}

body.layout-portrait .report-page-container {
    max-width: 900px;
    padding: 24px 28px;
}

.screen-actions-bar {
    max-width: 1200px;
    margin: 0 auto 16px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    transition: max-width 0.3s ease;
}

body.layout-portrait .screen-actions-bar {
    max-width: 900px;
}

.orientation-toggle-group {
    display: flex;
    align-items: center;
    background: #F1F5F9;
    padding: 3px;
    border-radius: 8px;
    border: 1px solid #CBD5E1;
    gap: 4px;
}

.btn-toggle-orient {
    background: transparent;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-toggle-orient.active {
    background: #005DAA;
    color: #FFFFFF;
    box-shadow: 0 2px 6px rgba(0,93,170,0.25);
}

.btn-action {
    background: var(--cem-orange);
    color: #FFFFFF;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 13px;
}

.btn-action-sec {
    background: #FFFFFF;
    color: var(--cem-blue);
    border: 1.5px solid var(--cem-blue);
    padding: 9px 16px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 3px solid var(--cem-blue);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.inst-logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fiap-badge {
    background: var(--fiap-pink);
    color: #FFFFFF;
    font-weight: 900;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 6px;
    letter-spacing: 1px;
}

.cem-badge {
    background: var(--cem-blue);
    color: #FFFFFF;
    font-weight: 900;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 6px;
    font-family: 'Outfit', sans-serif;
}

.doc-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--cem-blue-dark);
    margin: 0 0 4px 0;
}

.doc-sub {
    font-size: 11px;
    color: #64748B;
    margin: 0;
}

.exec-summary-box {
    background: #EFF6FF;
    border-left: 4px solid var(--cem-blue);
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 18px;
}

.exec-summary-title {
    font-size: 12px;
    font-weight: 800;
    color: var(--cem-blue-dark);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.kpi-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.kpi-box {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 10px 8px;
    text-align: center;
}

.kpi-box-num {
    font-size: 22px;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    color: var(--cem-blue-dark);
}

.kpi-box-desc {
    font-size: 10px;
    color: #64748B;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 2px;
}

.report-charts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 18px;
}

.report-charts-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

body.layout-portrait .report-charts-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.chart-box-container {
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 12px;
    background: #FFFFFF;
    page-break-inside: avoid;
}

.chart-box-title {
    font-size: 11px;
    font-weight: 800;
    color: var(--cem-blue-dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-report-title {
    font-size: 12px;
    font-weight: 800;
    color: var(--cem-blue-dark);
    text-transform: uppercase;
    margin-bottom: 8px;
    margin-top: 18px;
    padding-bottom: 4px;
    border-bottom: 2px solid #E2E8F0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.report-question-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    page-break-inside: avoid;
}

.report-question-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.report-q-tag {
    font-size: 9px;
    font-weight: 800;
    background: #EFF6FF;
    color: var(--cem-blue);
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.report-q-title {
    font-size: 11px;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 8px;
}

.likert-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 10px;
}

.likert-label {
    width: 130px;
    color: #475569;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.likert-track {
    flex: 1;
    height: 10px;
    background: #E2E8F0;
    border-radius: 5px;
    overflow: hidden;
}

.likert-bar {
    height: 100%;
    border-radius: 5px;
}

.likert-val {
    width: 55px;
    text-align: right;
    font-weight: 700;
    color: #1E293B;
}

.table-responsive-report {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 18px;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
}

.table-all-surveys {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 9.5px;
    background: #FFFFFF;
}

.table-all-surveys th {
    background: #003366;
    color: #FFFFFF;
    padding: 6px 4px;
    text-align: left;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    border-bottom: 2px solid #002244;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-all-surveys td {
    padding: 5px 4px;
    border-bottom: 1px solid #E2E8F0;
    color: #334155;
    vertical-align: middle;
    overflow-wrap: break-word;
    word-break: break-word;
}

.table-all-surveys tbody tr:nth-child(even) {
    background: #F8FAFC;
}

.table-all-surveys tbody tr:hover {
    background: #EFF6FF;
}

.badge-score {
    display: inline-block;
    padding: 1px 4px;
    border-radius: 3px;
    font-weight: 800;
    font-size: 9px;
    text-align: center;
}

.badge-score-5 { background: #DCFCE7; color: #15803D; }
.badge-score-4 { background: #DBEAFE; color: #1D4ED8; }
.badge-score-3 { background: #FEF3C7; color: #B45309; }
.badge-score-2 { background: #FFEDD5; color: #C2410C; }
.badge-score-1 { background: #FEE2E2; color: #B91C1C; }

.table-feedback {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 10px;
    margin-bottom: 18px;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    overflow: hidden;
}

.table-feedback th {
    background: #F1F5F9;
    color: #475569;
    padding: 7px 8px;
    text-align: left;
    border-bottom: 2px solid #CBD5E1;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.table-feedback td {
    padding: 6px 8px;
    border-bottom: 1px solid #E2E8F0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.table-feedback tbody tr:nth-child(even) {
    background: #F8FAFC;
}

.conclusions-card {
    border-top: 2px solid #E2E8F0;
    padding-top: 14px;
    margin-top: 18px;
    page-break-inside: avoid;
}

.academic-footer {
    margin-top: 24px;
    padding-top: 12px;
    border-top: 1px solid #E2E8F0;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #94A3B8;
}

@page {
    size: A4 landscape;
    margin: 0.8cm 0.8cm;
}

@media print {
    body.layout-portrait {
        /* Se o usuário escolher retrato, aplica estilos específicos */
    }

    .report-body-print {
        background: #FFFFFF !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .screen-actions-bar {
        display: none !important;
    }

    .report-page-container {
        max-width: 100% !important;
        width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
    }

    .table-responsive-report {
        overflow: visible !important;
        border: 1px solid #CBD5E1 !important;
    }

    .table-all-surveys {
        width: 100% !important;
        table-layout: fixed !important;
        page-break-inside: auto !important;
    }

    .table-all-surveys tr {
        page-break-inside: avoid !important;
        page-break-after: auto !important;
    }

    .table-all-surveys th {
        background: #003366 !important;
        color: #FFFFFF !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .chart-box-container, .report-question-card, .conclusions-card, .exec-summary-box {
        page-break-inside: avoid !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    /* Receipt Page Print Optimization */
    .receipt-container .survey-cta-card,
    .receipt-container .success-icon-wrap,
    .receipt-container .receipt-title,
    .receipt-container .receipt-subtitle,
    .receipt-container .btn-cem,
    .receipt-container .btn-cem-secondary,
    .receipt-container a[href*="carnes"] {
        display: none !important;
    }

    .receipt-container {
        padding: 0 !important;
        margin: 0 auto !important;
        max-width: 550px !important;
    }

    .paper-receipt {
        box-shadow: none !important;
        border: 1.5px solid #005DAA !important;
        margin: 10px auto !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}
