/* ============================================
   JERRY.MA — DASHBOARD STYLES
   Extracted from dashboard.html inline <style>
   ============================================ */

/* START APP-STYLE REFACTOR */
body {
    background: url('assets/hero/hero-dashboard.jpg.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    color: var(--slate-blue);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.2) 100%);
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
}

/* PREMIUM TOP BAR REMOVED */

/* LAYOUT GRID */
.dashboard-container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    overflow-x: hidden;
}

.main-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 20px;
}

@media (max-width: 992px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
}

/* HEADER COMPACT */
.dashboard-header {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: var(--space-header) 20px;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-header h1 {
    color: #344767;
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-logout {
    background: transparent;
    color: #7b809a;
    padding: 6px 12px;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-logout:hover {
    background: #f8f9fa;
    color: #344767;
}

/* CARDS / SECTIONS */
.section, .glass-card {
    background: rgba(255, 255, 255, 0.65); /* Increased opacity from 0.45 to 0.65 for high-contrast readability */
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 24px;
    border-radius: 24px;
    margin-bottom: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.section h2 {
    color: #344767;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
    border-bottom: 1px solid #f0f2f5;
    padding-bottom: 10px;
}

/* --- TABS B2B (SEGMENTED CONTROL PILL) --- */
.dashboard-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    padding: 6px;
    gap: 6px;
    margin-bottom: 25px;
    border: none;
    width: 100%;
}

.tab-btn {
    flex: 1; /* Match widths */
    background: transparent;
    border: none;
    padding: 12px 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tab-btn:hover {
    color: var(--slate-blue);
    background: rgba(255, 255, 255, 0.3);
}

.tab-btn.active {
    color: white;
    background: var(--burnt-orange);
    box-shadow: 0 4px 12px rgba(211, 84, 0, 0.25);
}

#zones-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* --- OPTIMISATION UX MOBILE & GAMIFICATION --- */
@media (max-width: 768px) {
    .profile-item span {
        font-size: 1.05rem !important;
    }

    .section h2 {
        font-size: 1.15rem !important;
    }

    .left-col {
        padding: 15px !important;
    }

    #submissions-section>div:first-child {
        flex-wrap: wrap;
        gap: 10px;
    }

    #favoris-content>div {
        grid-template-columns: 1fr !important;
    }

    #pro-edit-form>div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    #tab-activite,
    #tab-pro {
        padding: 15px !important;
    }

    #zones-content {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    .dashboard-tabs {
        padding: 4px;
        gap: 4px;
        margin-bottom: 15px;
    }
    
    .tab-btn {
        padding: 10px 4px;
        font-size: 0.75rem; /* Force fit all 3 tabs */
        letter-spacing: -0.5px;
        gap: 4px;
    }
    
    .tab-btn span {
        display: none; /* Hide long text if needed but here we just reduce size */
    }
}

.archetype-card {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.archetype-avatar-container {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background-color: var(--sand-beige);
    margin: 0 auto 20px auto;
    position: relative;
    border: 4px solid var(--burnt-orange);
    box-shadow: 0 0 25px rgba(211, 84, 0, 0.4);
    overflow: hidden;
}

.gamification-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.gami-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 20px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(5px);
}

.btn-share {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 12px 25px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.capture-watermark {
    display: none;
    margin-top: 15px;
    font-size: 0.8rem;
    font-weight: 800;
    color: rgba(255,255,255,0.6);
    letter-spacing: 1px;
}

.capturing .capture-watermark {
    display: block !important;
}

.capturing .hide-on-capture {
    display: none !important;
}

/* PROGRESS BAR LEVEL */
.level-progress-container {
    margin-top: 15px;
    width: 100%;
    padding: 0 10px;
}

.level-progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    margin-bottom: 6px;
}

.progress-bar-level {
    height: 8px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--burnt-orange), #f39c12);
    box-shadow: 0 0 10px rgba(211, 84, 0, 0.5);
    border-radius: 10px;
    transition: width 1s ease-out;
}

.btn-share:hover {
    background: var(--burnt-orange);
    border-color: var(--burnt-orange);
    transform: translateY(-2px);
}

/* PROFILE GRID (SIDEBAR STYLE) */
.profile-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-item {
    padding: 12px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-item strong {
    display: block;
    color: #4a5c78;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 0;
}

.profile-item span {
    color: #344767;
    font-size: 0.9rem;
    font-weight: 700;
}

.placeholder-message {
    padding: 40px;
    text-align: center;
    color: #4a5c78;
    font-style: italic;
    font-size: 0.9rem;
    background: #f8f9fa;
    border-radius: 12px;
}

/* --- END APP-STYLE REFACTOR --- */

/* Auth Persistence Styles */
.auth-warning {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    animation: slideUp 0.5s ease-out;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.auth-warning h3 {
    margin-top: 0;
    color: #856404;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.auth-benefits {
    text-align: left;
    display: inline-block;
    margin: 0 0 25px 0;
    background: rgba(255, 255, 255, 0.5);
    padding: 20px;
    border-radius: 15px;
}

.auth-benefits li {
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-google-link {
    background: white;
    color: #333;
    border: 1px solid #ddd;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
}

.btn-google-link:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    background: #f8f9fa;
}

/* WIDGET STYLES */
.ordonnance-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ordonnance-item {
    background: #f8f9fa;
    border: 1px solid #e1e4e8;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.ordonnance-item .icon {
    font-size: 1.5rem;
    background: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.ordonnance-item .details strong {
    display: block;
    color: var(--slate-blue);
    margin-bottom: 2px;
}

.ordonnance-item .details span {
    font-size: 0.85rem;
    color: #7b809a;
}

/* LOCKED OVERLAY (FREE TIER) */
.locked-grid {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    background-image: linear-gradient(to right, #f8f9fa 0%, #e9ecef 100%);
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px dashed #d2d6da;
}

.locked-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.locked-content h3 {
    color: var(--slate-blue);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.locked-content p {
    color: #7b809a;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.btn-premium-upsell {
    display: inline-block;
    background: var(--burnt-orange);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 10px rgba(211, 84, 0, 0.3);
}

.btn-premium-upsell:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(211, 84, 0, 0.4);
}

/* PLANNING MOCK */
.planning-week {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.planning-week .day {
    background: #f8f9fa;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    min-width: 80px;
    flex: 1;
}

.planning-week .day.active {
    background: var(--slate-blue);
    color: white;
    border-color: var(--slate-blue);
}

.planning-week .day strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 5px;
    opacity: 0.8;
}

.planning-week .day span {
    font-size: 0.9rem;
    font-weight: 700;
}

/* PLANNING CTA CARD */
.planning-cta-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.planning-cta-card:hover {
    border-color: var(--burnt-orange);
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    transform: translateY(-2px);
}

.planning-cta-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.planning-cta-card h4 {
    color: var(--slate-blue);
    margin-bottom: 10px;
    font-weight: 800;
}

.planning-cta-card p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.btn-cta-planner {
    background: var(--slate-blue);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-cta-planner:hover {
    background: var(--burnt-orange);
    box-shadow: 0 6px 12px rgba(211, 84, 0, 0.2);
}

/* ECOSYSTEM GRID */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 900px) {
    .ecosystem-grid {
        grid-template-columns: 1fr;
    }
}

/* NOTE ARCHITECTURE : Assure la cohérence visuelle de la grille de l'écosystème.
   En forçant une hauteur identique pour les cartes (flex) et en normalisant les
   hauteurs des titres et des zones de texte du footer, on garantit que les boutons
   d'action s'alignent parfaitement sur une même ligne horizontale. */
.eco-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.eco-card h2 {
    min-height: 48px;
    display: flex;
    align-items: center;
}

.eco-card > div[id$="-content"] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.eco-card > div[id$="-content"] .view-all {
    margin-top: auto;
}

.eco-card-footer {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px dashed #e2e8f0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.eco-card-footer-text {
    font-size: 0.8rem;
    color: #4a5c78;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    min-height: 2.4em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eco-item {
    border-bottom: 1px solid #f0f2f5;
    padding: 10px 0;
}

.eco-item:last-of-type {
    border-bottom: none;
    margin-bottom: 10px;
}

.eco-item strong {
    display: block;
    color: var(--slate-blue);
    font-size: 0.95rem;
}

.eco-item span {
    font-size: 0.8rem;
    color: #4a5c78;
    font-weight: 600;
}

.view-all {
    display: inline-block;
    color: var(--slate-blue);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 800;
    margin-top: 10px;
    border-bottom: 2px solid rgba(44, 62, 80, 0.2);
    padding-bottom: 2px;
    transition: all 0.2s ease;
}

.view-all:hover {
    color: var(--burnt-orange);
    border-bottom-color: var(--burnt-orange);
    text-decoration: none;
}

/* --- CONSEILS PERSONNALISÉS --- */
.conseils-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.conseil-line {
    background: #fff;
    border: 1px solid #e1e4e8;
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.conseil-line:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-color: var(--burnt-orange);
}

.conseil-line .icon {
    background: #f8f9fa;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.conseil-line .icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.conseil-line .details {
    flex-grow: 1;
}

.conseil-line .details strong {
    display: block;
    color: var(--slate-blue);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.conseil-line .details span {
    font-size: 0.8rem;
    color: #4a5c78;
}

.conseil-line .chevron {
    color: #d2d6da;
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.conseil-line:hover .chevron {
    color: var(--burnt-orange);
    transform: translateX(3px);
}

/* --- MODALE CONSEILS --- */
.conseil-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.conseil-modal.show {
    display: flex;
    opacity: 1;
}

.conseil-modal-content {
    background-color: #fff;
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s;
    max-height: 90vh;
    overflow-y: auto;
}

.conseil-modal.show .conseil-modal-content {
    transform: translateY(0);
}

.close-conseil {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    font-weight: 300;
    color: #7b809a;
    cursor: pointer;
    line-height: 1;
}

.close-conseil:hover {
    color: var(--burnt-orange);
}

.conseil-modal-icon {
    text-align: center;
    margin-bottom: 20px;
}

.conseil-modal-icon img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

#conseil-modal-title {
    color: var(--slate-blue);
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f2f5;
}

#conseil-modal-body {
    color: #344767;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

#conseil-modal-body h4 {
    color: var(--slate-blue);
    font-size: 1.05rem;
    margin-top: 15px;
    margin-bottom: 8px;
}

#conseil-modal-body ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

#conseil-modal-body li {
    margin-bottom: 8px;
    color: #4a5c78;
}

.conseil-modal-btn {
    width: 100%;
    background: var(--burnt-orange);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.conseil-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(211, 84, 0, 0.3);
}

/* BUTTON RECOMMEND (EXPERT) */
.btn-recommend {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--slate-blue);
    color: white !important;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(44, 62, 80, 0.15);
    gap: 6px;
}

.btn-recommend:hover {
    background: var(--burnt-orange);
    box-shadow: 0 4px 12px rgba(211, 84, 0, 0.3);
    transform: translateY(-1px);
}

/* FEATURE DISCOVERY PULSING DOT */
.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--burnt-orange);
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: middle;
    box-shadow: 0 0 0 0 rgba(211, 84, 0, 0.7);
    animation: pulse-orange-dot 1.6s infinite;
}

@keyframes pulse-orange-dot {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(211, 84, 0, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(211, 84, 0, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(211, 84, 0, 0);
    }
}

/* NUDGE CARD PULSING BORDER */
.nudge-line-pulse {
    border: 1px solid var(--burnt-orange) !important;
    box-shadow: 0 0 0 0 rgba(211, 84, 0, 0.4);
    animation: pulse-orange-border 1.6s infinite;
}

@keyframes pulse-orange-border {
    0% {
        box-shadow: 0 0 0 0 rgba(211, 84, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 5px rgba(211, 84, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(211, 84, 0, 0);
    }
}

/* --- MODAL TABS SYSTEM --- */
.modal-tabs {
    display: flex;
    background: rgba(15, 23, 42, 0.05);
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
    margin-bottom: 20px;
    border: none;
}

.modal-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #4a5c78;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.modal-tab-btn:hover {
    color: var(--slate-blue);
}

.modal-tab-btn.active {
    background: white;
    color: var(--slate-blue);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.modal-tab-content {
    display: none;
}

.modal-tab-content.active {
    display: block;
}

/* --- INTENSITY SEGMENTED CONTROLS --- */
.intensity-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.intensity-row:last-child {
    border-bottom: none;
}

.intensity-label-side {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--slate-blue);
    display: flex;
    align-items: center;
    gap: 6px;
}

.intensity-selector-pills {
    display: flex;
    background: rgba(15, 23, 42, 0.04);
    border-radius: 8px;
    padding: 2px;
    gap: 2px;
}

.intensity-pill {
    border: none;
    background: transparent;
    padding: 6px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

/* Color codes for active intensity levels */
.intensity-pill.active[data-level="0"] {
    background: #e2e8f0;
    color: #334155;
}

.intensity-pill.active[data-level="1"] {
    background: #fef3c7;
    color: #b45309;
}

.intensity-pill.active[data-level="2"] {
    background: #ffedd5;
    color: #ea580c;
}

.intensity-pill.active[data-level="3"] {
    background: #fee2e2;
    color: #dc2626;
}