/* ========================================
 *   PLUS CORE - FRONTEND STYLES
 *   Complete with Navigation & Mobile Fixes
 *   ======================================== */

/* 1. BASE & GLOBAL */
.plus-dashboard,
.plus-meals-page,
.plus-vordering-page,
.plus-resources-page,
.plus-onboarding-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 40px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #2c2523;
    background: #f5f3ef;
}

/* 2. SIDEBAR NAVIGATION */
.plus-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 240px;
    background: #322c30;
    color: #bdaea7;
    padding: 32px 20px 24px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.plus-sidebar-brand {
    text-align: center;
    margin-bottom: 32px;
    padding: 0 4px;
}

.plus-sidebar-brand h1 {
    font-family: Georgia, serif;
    font-size: 28px;
    letter-spacing: 2px;
    color: #d8c3b9;
    font-weight: normal;
}

.plus-sidebar-brand p {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #93827a;
    margin-top: 4px;
}

.plus-sidebar-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    margin: 0;
    flex: 1;
}

.plus-sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #bdaea7;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
}

.plus-sidebar-nav li a:hover {
    background: rgba(255,255,255,0.08);
    color: #ffffff;
}

.plus-sidebar-nav li.active a {
    background: #bc8e83;
    color: #ffffff;
}

.plus-sidebar-quote {
    margin-top: auto;
    font-style: italic;
    font-size: 12px;
    line-height: 1.5;
    color: #8c7c75;
    padding: 0 8px 16px;
}

.plus-sidebar-footer {
    border-top: 1px solid #423a3e;
    padding-top: 16px;
}

/* 3. MAIN CONTENT - Shifted for sidebar */
.plus-main-wrapper {
    margin-left: 240px;
    padding: 32px 40px;
    min-height: 100vh;
    background: #f5f3ef;
}

/* 4. MOBILE HEADER WITH HAMBURGER */
.plus-mobile-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #ffffff;
    border-bottom: 1px solid #f0ece8;
    margin-bottom: 20px;
}

.plus-hamburger {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #2c2523;
    padding: 4px 8px;
}

.plus-mobile-brand {
    font-family: Georgia, serif;
    font-size: 20px;
    letter-spacing: 2px;
    color: #2c2523;
}

/* 5. BOTTOM MOBILE NAV */
.plus-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #eee;
    padding: 8px 12px;
    justify-content: space-around;
    z-index: 999;
}

.plus-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    color: #8c827a;
    text-decoration: none;
    gap: 2px;
    padding: 4px 8px;
}

.plus-bottom-nav-item .nav-icon {
    font-size: 20px;
}

.plus-bottom-nav-item.active {
    color: #bc8e83;
}

/* 6. DASHBOARD STYLES */
.plus-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.plus-header-title h2 {
    font-size: 26px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.plus-header-title p {
    color: #8c827a;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 4px;
    font-weight: 600;
}

.plus-heart {
    color: #bc8e83;
}

.plus-user-profile {
    display: flex;
    align-items: center;
    gap: 16px;
}

.plus-profile-card {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.plus-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

/* 7. TOP GRID */
.plus-top-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.plus-banner-card {
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-size: cover;
    background-position: center right;
    overflow: hidden;
    min-height: 200px;
}

.plus-banner-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #8c827a;
    text-transform: uppercase;
}

.plus-banner-title {
    font-size: 24px;
    font-weight: 500;
    margin: 12px 0 8px;
    max-width: 60%;
}

.plus-banner-desc {
    font-size: 12px;
    color: #8c827a;
    max-width: 55%;
    line-height: 1.4;
}

/* 8. AUDIO PLAYER - Enhanced */
.plus-audio-player {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 8px 18px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 500px;
    margin-top: 20px;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    color: #4a3a2a;
}

.plus-audio-icon {
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    color: #4a3a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.plus-audio-icon:hover {
    color: #bc8e83;
}

/* Progress Bar */
.plus-audio-progress-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 120px;
}

.plus-audio-current-time,
.plus-audio-duration {
    font-size: 10px;
    color: #8c827a;
    min-width: 32px;
    font-variant-numeric: tabular-nums;
}

.plus-audio-progress-bar {
    flex: 1;
    height: 4px;
    background: #e0d8d0;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    transition: height 0.2s ease;
}

.plus-audio-progress-bar:hover {
    height: 6px;
}

.plus-audio-progress-fill {
    height: 100%;
    background: #bc8e83;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
    position: relative;
}

.plus-audio-progress-fill::after {
    content: '';
    position: absolute;
    right: -4px;
    top: -3px;
    width: 10px;
    height: 10px;
    background: #bc8e83;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.plus-audio-progress-bar:hover .plus-audio-progress-fill::after {
    opacity: 1;
}

/* Speed Button */
.plus-audio-speed {
    font-weight: 700;
    font-size: 11px;
    min-width: 28px;
    text-align: center;
    color: #4a3a2a;
    background: rgba(0,0,0,0.04);
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.plus-audio-speed:hover {
    background: rgba(188, 142, 131, 0.15);
    color: #bc8e83;
}

/* Responsive */
@media (max-width: 600px) {
    .plus-audio-player {
        flex-wrap: wrap;
        padding: 10px 14px;
        gap: 10px;
    }

    .plus-audio-progress-wrapper {
        order: 3;
        flex-basis: 100%;
        gap: 8px;
    }

    .plus-audio-current-time,
    .plus-audio-duration {
        font-size: 9px;
        min-width: 28px;
    }

    .plus-audio-speed {
        font-size: 10px;
        min-width: 24px;
        padding: 1px 4px;
    }
}

/* 9. PROGRESS CARD */
.plus-progress-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.plus-progress-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #8c827a;
}

.plus-progress-circle {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 12px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.plus-progress-circle svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.plus-progress-circle circle {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
}

.plus-circle-bg {
    stroke: #f0ece9;
}

.plus-circle-val {
    stroke: #bc8e83;
    stroke-dasharray: 283;
    transition: stroke-dashoffset 0.6s ease;
}

.plus-progress-num {
    font-size: 22px;
    font-weight: bold;
}

.plus-progress-sub {
    font-size: 11px;
    color: #8c827a;
}

.plus-phase-badge {
    font-size: 10px;
    background-color: #f7f5f2;
    padding: 4px 10px;
    border-radius: 10px;
    color: #8c827a;
    margin-bottom: 8px;
    text-align: center;
    line-height: 1.6;
}

/* 10. PROGRAM CONTROLS - Text Buttons */
.plus-program-controls {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 12px;
}

.plus-control-btn {
    background: #f7f5f2;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #4a3a2a;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
}

.plus-control-btn:hover {
    background: #bc8e83;
    color: #ffffff;
}

.plus-control-btn.paused {
    background: #bc8e83;
    color: #ffffff;
}

/* 11. STATS ROW */
.plus-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.plus-stat-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.plus-stat-icon {
    font-size: 20px;
    background: #f7f5f2;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.plus-stat-val {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.2;
}

.plus-stat-lbl {
    font-size: 11px;
    color: #8c827a;
    line-height: 1.2;
}

/* 12. WEIGH-IN BANNER */
.plus-weigh-banner {
    background-color: #f3f5ed;
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}

.plus-weigh-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.plus-weigh-icon {
    font-size: 24px;
}

.plus-weigh-text strong {
    color: #4d6635;
}

.plus-weigh-sub {
    font-size: 12px;
    color: #8c827a;
    margin-top: 2px;
}

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

.plus-weigh-skip {
    font-size: 10px;
    color: #8c827a;
}

.plus-weigh-btn {
    background: #2c2523;
    border: 1px solid #2c2523;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: bold;
    font-size: 11px;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    color: #ffffff;
}

.plus-weigh-btn:hover {
    background: #4a3a2a;
    border-color: #4a3a2a;
    color: #ffffff;
}

/* 13. SECTION HEADERS */
.plus-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.plus-section-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #8c827a;
    text-transform: uppercase;
}

.plus-see-ahead {
    font-size: 12px;
    color: #2c2523;
    text-decoration: none;
    font-weight: 500;
}

/* 14. MEALS GRID */
.plus-meals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.plus-meal-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.plus-meal-img-container {
    position: relative;
    height: 160px;
    background: #e8e3de;
}

.plus-meal-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plus-meal-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.plus-meal-type-header {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255,255,255,0.9);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
}

.plus-meal-time {
    color: #8c827a;
    font-weight: normal;
}

/* Status Badge - Now a button */
.plus-status-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.plus-status-badge.completed {
    background: #5c7e32;
    color: #fff;
}

.plus-status-badge.completed:hover {
    background: #4a6a28;
}

.plus-status-badge.action {
    background: #d97757;
    color: #fff;
}

.plus-status-badge.action:hover {
    background: #c76a4a;
}

.plus-status-badge svg {
    stroke: currentColor;
}

.plus-meal-details {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.plus-meal-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.plus-ingredient-tag {
    background: #f5f3ef;
    padding: 8px;
    border-radius: 6px;
    font-size: 10px;
    color: #8c827a;
    text-align: center;
    font-weight: bold;
    line-height: 1.6;
}

.plus-no-meals {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #8c827a;
}

/* 15. CHAT & OPTIONS */
.plus-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}

.plus-chat-card,
.plus-options-card {
    background: #f0ece9;
    border-radius: 12px;
    padding: 20px;
}

.plus-chat-sub {
    font-size: 11px;
    color: #8c827a;
    margin-top: 2px;
}

.plus-options-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
    padding: 0;
}

.plus-option-item {
    background: #ffffff;
    padding: 10px 16px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.plus-option-item:hover {
    background: #f5f3ef;
}

.plus-option-arrow {
    color: #bc8e83;
}

.plus-chat-input-container {
    margin-top: 12px;
    position: relative;
    display: flex;
    gap: 8px;
}

.plus-chat-input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 20px;
    border: 1px solid #d8d0ca;
    background: #ffffff;
    font-size: 12px;
    font-family: inherit;
}

.plus-chat-input:focus {
    outline: none;
    border-color: #bc8e83;
}

.plus-chat-send {
    background: #bc8e83;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.plus-chat-send:hover {
    background: #a97a6e;
}

/* 16. REFLECTION */
.plus-reflection-section {
    margin-bottom: 28px;
}

.plus-reflection-container {
    background: #eae5e1;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
}

.plus-reflection-icon {
    font-size: 24px;
}

.plus-reflection-input {
    flex-grow: 1;
    background: #ffffff;
    border: none;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-family: inherit;
}

.plus-reflection-input:focus {
    outline: none;
}

.plus-reflection-submit {
    background: #bc8e83;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.plus-reflection-submit:hover {
    background: #a97a6e;
}

/* 17. CUSTOM MODAL */
.plus-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.plus-modal-overlay.active {
    display: flex;
}

.plus-modal {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.plus-modal h3 {
    margin-top: 0;
    font-size: 20px;
    font-weight: 500;
    color: #2c2523;
}

.plus-modal p {
    color: #6a5a4a;
    font-size: 14px;
    line-height: 1.6;
}

.plus-modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.plus-modal-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s;
}

.plus-modal-btn.confirm {
    background: #bc8e83;
    color: white;
}

.plus-modal-btn.confirm:hover {
    background: #a97a6e;
}

.plus-modal-btn.cancel {
    background: #f0ece9;
    color: #4a3a2a;
}

.plus-modal-btn.cancel:hover {
    background: #e0d8d0;
}

/* 18. NOTICES */
.plus-notice {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
    animation: slideDown 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plus-notice-success {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    color: #2e7d32;
}

.plus-notice-error {
    background: #ffebee;
    border-left: 4px solid #f44336;
    color: #c62828;
}

.plus-notice-info {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    color: #0d47a1;
}

.plus-notice-close {
    cursor: pointer;
    font-size: 20px;
    font-weight: 300;
    color: #999;
    padding: 0 4px;
    line-height: 1;
}

.plus-notice-close:hover {
    color: #333;
}

/* 19. RESPONSIVE */
@media (max-width: 1024px) {
    .plus-dashboard,
    .plus-meals-page,
    .plus-vordering-page,
    .plus-resources-page {
        padding: 24px 20px;
    }

    .plus-meals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    /* Sidebar becomes hidden, mobile header shows */
    .plus-sidebar {
        transform: translateX(-100%);
        padding: 32px 20px 24px;
    }

    .plus-sidebar.open {
        transform: translateX(0);
    }

    .plus-mobile-header {
        display: flex;
    }

    .plus-main-wrapper {
        margin-left: 0;
        padding: 16px 20px 80px;
    }

    .plus-bottom-nav {
        display: flex;
    }

    .plus-top-grid,
    .plus-bottom-grid,
    .plus-stats-row {
        grid-template-columns: 1fr;
    }

    /* FIXED: 2 columns on tablet for stats */
    .plus-stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .plus-meals-grid {
        grid-template-columns: 1fr;
    }

    .plus-banner-title,
    .plus-banner-desc {
        max-width: 100%;
    }

    .plus-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .plus-weigh-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .plus-weigh-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .plus-reflection-container {
        flex-wrap: wrap;
    }

    .plus-reflection-input {
        width: 100%;
        order: 2;
    }

    .plus-reflection-submit {
        width: 100%;
        order: 3;
    }

    .plus-stat-card {
        padding: 14px 16px;
    }

    .plus-stat-val {
        font-size: 16px;
    }

    .plus-stat-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .plus-stats-row {
        gap: 8px;
    }

    .plus-stat-card {
        padding: 12px;
    }

    .plus-stat-val {
        font-size: 14px;
    }

    .plus-stat-lbl {
        font-size: 9px;
    }

    .plus-stat-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .plus-modal {
        padding: 20px;
    }
}

/* 20. ANIMATIONS */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FAQ Accordion */
.plus-faq-list {
    margin-top: 12px;
}

.plus-faq-item {
    background: #ffffff;
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
    border: 1px solid #f0ece8;
}

.plus-faq-question {
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    color: #2c2523;
    transition: all 0.2s;
}

.plus-faq-question:hover {
    background: #f7f5f2;
}

.plus-faq-question.active {
    background: #f7f5f2;
}

.plus-faq-toggle {
    font-size: 18px;
    color: #bc8e83;
    transition: transform 0.3s;
}

.plus-faq-question.active .plus-faq-toggle {
    transform: rotate(45deg);
}

.plus-faq-answer {
    padding: 0 16px 16px;
    font-size: 13px;
    color: #6a5a4a;
    line-height: 1.6;
}

.plus-faq-answer p:last-child {
    margin-bottom: 0;
}

/* Resource Articles */
.plus-articles-list {
    margin-top: 12px;
}

.plus-article-item {
    background: #ffffff;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: all 0.2s;
}

.plus-article-item:hover {
    background: #f7f5f2;
}

.plus-article-link {
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #2c2523;
    font-size: 13px;
}

.plus-article-arrow {
    color: #bc8e83;
    font-size: 16px;
}

.plus-no-items {
    color: #8c827a;
    font-size: 13px;
    padding: 12px 0;
    margin: 0;
}

/* ========================================
 *  MOOD TAGS & REFLECTION
 *  ======================================== */

.plus-mood-section {
    margin-bottom: 16px;
    width: 100%;
}

.plus-mood-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #4a3a2a;
    margin-bottom: 10px;
}

.plus-mood-tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.plus-mood-tag {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    background: #f5f3ef;
    border-radius: 20px;
    padding: 2px 4px 2px 12px;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.plus-mood-tag:hover {
    background: #e8e0d8;
}

.plus-mood-tag input[type="checkbox"] {
    display: none;
}

.plus-mood-tag .plus-mood-label {
    font-size: 12px;
    font-weight: 500;
    color: #4a3a2a;
    padding: 4px 10px 4px 6px;
    border-radius: 16px;
    transition: all 0.2s ease;
    margin-bottom: 0;
}

.plus-mood-tag input[type="checkbox"]:checked + .plus-mood-label {
    background: #bc8e83;
    color: #ffffff;
}

.plus-mood-tag input[type="checkbox"]:checked {
    background: #bc8e83;
}

/* Reflection Note */
.plus-reflection-note {
    width: 100%;
    margin-bottom: 12px;
}

.plus-reflection-note label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #4a3a2a;
    margin-bottom: 6px;
}

.plus-reflection-note textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8e0d8;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: #ffffff;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 80px;
}

.plus-reflection-note textarea:focus {
    outline: none;
    border-color: #bc8e83;
    box-shadow: 0 0 0 3px rgba(188, 142, 131, 0.1);
}

.plus-reflection-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    flex-wrap: wrap;
}

.plus-reflection-submit {
    background: #bc8e83;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.2s ease;
}

.plus-reflection-submit:hover {
    background: #a97a6e;
    transform: translateY(-1px);
}

.plus-reflection-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.plus-reflection-status {
    font-size: 13px;
    color: #4d6635;
    font-weight: 500;
}

/* Reflection Container - Updated */
.plus-reflection-container {
    background: #eae5e1;
    border-radius: 12px;
    padding: 20px;
    margin-top: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .plus-mood-tags-grid {
        gap: 6px;
    }

    .plus-mood-tag .plus-mood-label {
        font-size: 11px;
        padding: 3px 8px 3px 4px;
    }

    .plus-reflection-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .plus-reflection-submit {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
 *  VORDERING PAGE
 *  ======================================== */

.plus-vordering-page {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0;
}

.plus-vordering-header {
    margin-bottom: 28px;
}

.plus-vordering-header h1 {
    font-family: Georgia, serif;
    font-size: 32px;
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.plus-vordering-sub {
    color: #8c8286;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 6px;
    font-weight: 600;
}

/* Cards */
.plus-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.015);
}

/* Progress Overview */
.plus-progress-overview {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plus-progress-text h3 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8c8286;
    margin-bottom: 12px;
}

.plus-progress-text .plus-val {
    font-size: 32px;
    font-weight: 600;
    color: #2c2528;
    margin-bottom: 24px;
}

.plus-progress-text .plus-val span {
    font-size: 20px;
    color: #8c8286;
    font-weight: normal;
}

/* Gauge */
.plus-gauge-container {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plus-gauge-container svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.plus-gauge-container circle {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
}

.plus-gauge-bg {
    stroke: #f0ece9;
}

.plus-gauge-val {
    stroke: #a16c68;
    stroke-dasharray: 283;
}

.plus-gauge-text {
    position: absolute;
    text-align: center;
}

.plus-gauge-text .plus-percent {
    font-size: 24px;
    font-weight: bold;
}

.plus-gauge-text .plus-label {
    font-size: 10px;
    color: #8c8286;
}

/* Buttons */
.plus-btn-rose {
    background-color: #a16c68;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.plus-btn-rose:hover {
    background-color: #8a5a56;
}

/* Phase Card */
.plus-phase-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plus-phase-info h3 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8c8286;
    margin-bottom: 8px;
}

.plus-phase-info .plus-tag {
    font-size: 12px;
    color: #8c8286;
    margin-bottom: 4px;
}

.plus-phase-info h2 {
    font-family: Georgia, serif;
    font-size: 28px;
    font-weight: normal;
    margin-bottom: 6px;
}

.plus-phase-info .plus-days {
    font-size: 12px;
    color: #8c8286;
    margin-bottom: 12px;
}

.plus-phase-info .plus-phase-link {
    font-size: 12px;
    color: #a16c68;
    text-decoration: none;
    font-weight: 600;
}

.plus-phase-badge-icon {
    width: 80px;
    height: 80px;
    background-color: #a16c68;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0.85;
}

/* Stats Grid - Updated for 2 columns on mobile */
.plus-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

/* Fix: 2 columns on tablet/mobile */
@media (max-width: 900px) {
    .plus-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .plus-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .plus-stat-card {
        padding: 12px;
    }

    .plus-stat-card .plus-val {
        font-size: 18px;
    }

    .plus-stat-card .plus-lbl {
        font-size: 10px;
    }
}

/* Mid Grid */
.plus-mid-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

/* Graph */
.plus-graph-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.plus-graph-header h3 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}

.plus-unit-toggle {
    background: #f0ece9;
    padding: 2px;
    border-radius: 6px;
    display: flex;
}

.plus-unit-btn {
    border: none;
    padding: 4px 12px;
    font-size: 11px;
    border-radius: 4px;
    cursor: pointer;
    background: transparent;
    color: #8c8286;
}

.plus-unit-btn.active {
    background: #a16c68;
    color: #fff;
    font-weight: bold;
}

.plus-chart-container {
    width: 100%;
    height: 200px;
}

.plus-chart-container svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.plus-chart-labels {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #8c8286;
    margin-top: 12px;
    padding: 0 10px;
}

.plus-no-data {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #8c8286;
    font-size: 14px;
}

/* Phase Milestones */
.plus-phase-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    margin-top: 12px;
}

.plus-phase-progress-title {
    font-family: Georgia, serif;
    font-size: 18px;
}

.plus-phase-progress-days {
    font-size: 12px;
    color: #8c8286;
}

.plus-progress-bar-bg {
    background-color: #f0ece9;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 24px;
}

.plus-progress-bar-fill {
    background-color: #a16c68;
    height: 100%;
    transition: width 0.6s ease;
}

.plus-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
    padding: 0;
}

.plus-checklist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #2c2528;
}

.plus-check-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
}

.plus-check-icon.done {
    background: #5c7e32;
    color: #fff;
}

.plus-check-icon.todo {
    border: 1.5px solid #d8d0ca;
}

.plus-phase-focus-link {
    font-size: 12px;
    color: #a16c68;
    text-decoration: none;
    font-weight: 600;
}

/* Log Form */
.plus-log-form-card {
    margin-bottom: 24px;
}

.plus-log-form-card h3 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.plus-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 120px;
    gap: 16px;
}

.plus-input-field {
    background: #f8f6f2;
    border: 1px solid #e2ddd8;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 13px;
    color: #2c2528;
    outline: none;
    width: 100%;
    font-family: inherit;
}

.plus-input-field:focus {
    border-color: #a16c68;
}

/* Recent Entries */
.plus-recent-entries-card {
    margin-bottom: 24px;
}

.plus-recent-entries-card h3 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.plus-entry-item {
    border-bottom: 1px solid #f0ece9;
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.plus-entry-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.plus-entry-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.plus-dot-indicator {
    width: 8px;
    height: 8px;
    background-color: #a16c68;
    border-radius: 50%;
    flex-shrink: 0;
}

.plus-entry-actions {
    display: flex;
    gap: 12px;
    margin-left: auto;
    color: #8c8286;
    cursor: pointer;
}

.plus-entry-actions span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s;
}

.plus-entry-actions span:hover {
    color: #bc8e83;
    background: #f5f0eb;
}

.plus-entry-actions span.plus-delete-entry:hover {
    color: #dc6b6b;
    background: #fde8e8;
}

.plus-metrics-row {
    display: flex;
    gap: 32px;
    margin-bottom: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.plus-metric-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.plus-metric-group .plus-lbl {
    font-size: 10px;
    color: #8c8286;
    text-transform: uppercase;
}

.plus-metric-group .plus-val {
    font-size: 16px;
    font-weight: bold;
}

.plus-tags-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.plus-tag-status {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
}

.plus-tag-status .plus-check {
    color: #4d6635;
}

.plus-entry-comment {
    background: #f8f6f2;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 12px;
    color: #8c8286;
    line-height: 1.4;
    margin-bottom: 8px;
}

.plus-view-all-link {
    font-size: 12px;
    color: #a16c68;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 8px;
}

.plus-no-entries {
    color: #8c8286;
    font-size: 14px;
    padding: 20px 0;
}

/* Download Banner */
.plus-download-banner {
    background: #eee8e5;
    border-radius: 12px;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.plus-download-banner h3 {
    font-family: Georgia, serif;
    font-size: 24px;
    font-weight: normal;
    color: #a16c68;
    margin: 0;
}

.plus-download-btn {
    padding: 12px 28px !important;
}

/* Responsive */
@media (max-width: 900px) {
    .plus-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .plus-mid-grid {
        grid-template-columns: 1fr;
    }

    .plus-form-grid {
        grid-template-columns: 1fr;
    }

    .plus-form-grid .plus-btn-rose {
        width: 100%;
    }

    .plus-progress-overview {
        flex-direction: column;
        text-align: center;
    }

    .plus-phase-card {
        flex-direction: column;
        text-align: center;
    }

    .plus-download-banner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .plus-metrics-row {
        gap: 16px;
    }

    .plus-tags-row {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .plus-stats-grid {
        grid-template-columns: 1fr;
    }

    .plus-gauge-container {
        width: 100px;
        height: 100px;
    }

    .plus-vordering-header h1 {
        font-size: 24px;
    }
}

/* View All Link */
.plus-view-all-link {
    font-size: 12px;
    color: #a16c68;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 8px;
    cursor: pointer;
}

.plus-view-all-link:hover {
    text-decoration: underline;
}

/* Countdown Banner */
.plus-countdown-banner {
    background: linear-gradient(135deg, #f7eded 0%, #f0e6e4 100%);
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border: 1px solid #e8d8d4;
    flex-wrap: wrap;
    gap: 12px;
}

.plus-countdown-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.plus-countdown-icon {
    font-size: 32px;
}

.plus-countdown-text strong {
    display: block;
    font-size: 18px;
    color: #2c2523;
}

.plus-countdown-text span {
    font-size: 14px;
    color: #6a5a4a;
}

.plus-countdown-timer {
    text-align: center;
    background: white;
    padding: 8px 20px;
    border-radius: 8px;
    min-width: 80px;
}

.plus-countdown-days {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #bc8e83;
    line-height: 1;
}

.plus-countdown-label {
    font-size: 12px;
    color: #8c827a;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Restart Modal */
.plus-restart-modal .plus-restart-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0;
}

.plus-restart-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #f8f6f4;
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    font-family: inherit;
    width: 100%;
}

.plus-restart-option:hover {
    background: #f0ece9;
    border-color: #bc8e83;
}

.plus-restart-option .plus-restart-icon {
    font-size: 24px;
}

.plus-restart-option strong {
    display: block;
    font-size: 15px;
    color: #2c2523;
}

.plus-restart-option span {
    font-size: 13px;
    color: #8c827a;
}

/* Icon Styles */
.plus-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: inline-block;
    stroke: currentColor;
    fill: none;
}

/* Restart Modal Icon */
.plus-restart-option .plus-icon {
    stroke: #2c2523 !important;
    color: #2c2523 !important;
}

.plus-icon-sm {
    width: 16px;
    height: 16px;
}

.plus-icon-lg {
    width: 24px;
    height: 24px;
}

.plus-heart {
    width: 20px;
    height: 20px;
    color: #bc8e83;
    fill: #bc8e83;
    display: inline-block;
}

/* Sidebar icons */
.plus-sidebar-nav li a .plus-icon {
    width: 20px;
    height: 20px;
    color: #bdaea7;
}

.plus-sidebar-nav li.active a .plus-icon {
    color: #ffffff;
}

/* Bottom nav icons */
.plus-bottom-nav-item .nav-icon .plus-icon {
    width: 24px;
    height: 24px;
}

.plus-bottom-nav-item.active .nav-icon .plus-icon {
    color: #bc8e83;
}

/* Stat icons */
.plus-stat-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

/* Control buttons */
.plus-control-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.plus-control-btn:hover svg {
    color: #ffffff;
}

/* Weigh-in Banner - Updated */
.plus-weigh-checked {
    font-size: 13px;
    color: #4d6635;
    font-weight: 600;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.plus-weigh-skip {
    font-size: 10px;
    color: #8c827a;
    cursor: pointer;
    transition: all 0.2s;
}

.plus-weigh-skip:hover {
    color: #bc8e83;
    text-decoration: underline;
}

/* Chart Y-Axis Labels */
.plus-chart-container {
    position: relative;
    width: 100%;
    height: 200px;
}

.plus-chart-y-labels {
    position: absolute;
    left: -30px;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 0;
    font-size: 10px;
    color: #8c827a;
    text-align: right;
    width: 28px;
}

.plus-chart-y-label {
    display: block;
    font-size: 9px;
    color: #8c827a;
    line-height: 1;
}

.plus-chart-labels {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: #8c827a;
    margin-top: 8px;
    padding: 0 10px;
}

/* Chart Wrapper */
.plus-chart-wrapper {
    position: relative;
    width: 100%;
    padding: 0 0 0 40px;
}

.plus-chart-container {
    position: relative;
    width: 100%;
}

.plus-chart-container svg {
    width: 100%;
    height: 180px;
    display: block;
}

/* Y-Axis Labels */
.plus-chart-y-labels {
    position: absolute;
    left: -30px;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 10px;
    color: #8c827a;
    text-align: right;
    width: 28px;
}

.plus-chart-y-label {
    display: block;
    font-size: 9px;
    color: #8c827a;
    line-height: 1;
}

/* X-Axis Labels */
.plus-chart-labels {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: #8c827a;
    margin-top: 6px;
    padding: 0 10px;
}

.plus-chart-labels span {
    flex: 1;
    text-align: center;
    font-size: 9px;
}

/* No Data */
.plus-no-data {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
    color: #8c8286;
    font-size: 14px;
    text-align: center;
    padding: 20px;
}

/* Graph Header */
.plus-graph-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.plus-graph-header h3 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}

/* Unit Toggle */
.plus-unit-toggle {
    background: #f0ece9;
    padding: 2px;
    border-radius: 6px;
    display: flex;
}

.plus-unit-btn {
    border: none;
    padding: 4px 14px;
    font-size: 11px;
    border-radius: 4px;
    cursor: pointer;
    background: transparent;
    color: #8c8286;
    font-weight: 500;
    transition: all 0.2s ease;
}

.plus-unit-btn.active {
    background: #a16c68;
    color: #fff;
    font-weight: 600;
}

.plus-unit-btn:hover:not(.active) {
    background: #e8e0d8;
}

/* Chart Glow */
.plus-chart-glow {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* Responsive */
@media (max-width: 768px) {
    .plus-chart-wrapper {
        padding: 0 0 0 30px;
    }

    .plus-chart-y-labels {
        left: -25px;
        width: 22px;
        font-size: 8px;
    }

    .plus-chart-y-label {
        font-size: 8px;
    }

    .plus-chart-labels span {
        font-size: 8px;
    }

    .plus-unit-btn {
        font-size: 10px;
        padding: 3px 10px;
    }
}

/* ========================================
 *  RESOURCES PAGE
 *  ======================================== */

.plus-resources-page {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0;
}

/* Resources Header */
.plus-resources-header {
    margin-bottom: 32px;
}

.plus-resources-breadcrumb {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #8c8286;
    margin-bottom: 8px;
}

.plus-resources-header h1 {
    font-family: Georgia, serif;
    font-size: 32px;
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.plus-resources-sub {
    color: #8c8286;
    font-size: 13px;
    margin-top: 6px;
}

/* Resources Grid */
.plus-resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

/* Resource Card */
.plus-resource-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: visible; /* Change from hidden to visible so the icon isn't cut off */
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.015);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plus-resource-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* Resource Image */
.plus-resource-image-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: visible;
    background: #f0ece9;
    flex-shrink: 0;
    border-radius: 12px 12px 0 0;
}

.plus-resource-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px 12px 0 0;
}

.plus-resource-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f0eb;
    color: #bc8e83;
}

/* Icon Badge */
.plus-resource-icon-badge {
    position: absolute;
    bottom: -18px;
    left: 20px;
    width: 38px;
    height: 38px;
    background: #f4eae7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a16c68;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
    z-index: 2;
}

.plus-resource-icon-badge svg {
    width: 18px;
    height: 18px;
    stroke: #a16c68;
}

/* Resource Body */
.plus-resource-body {
    padding: 28px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.plus-resource-body h3 {
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 8px;
    color: #2c2528;
}

.plus-resource-body p {
    font-size: 13px;
    color: #8c8286;
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
}

.plus-resource-link {
    font-size: 13px;
    color: #a16c68;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.plus-resource-link:hover {
    text-decoration: underline;
}

/* No Resources */
.plus-no-resources {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #8c8286;
    font-size: 16px;
}

.plus-no-resources p {
    margin: 0;
}

/* Support Section */
.plus-support-section {
    background: #eee8e5;
    border-radius: 12px;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e8e0d8;
}

.plus-support-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.plus-support-icon {
    width: 48px;
    height: 48px;
    background: #a16c68;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    opacity: 0.85;
    flex-shrink: 0;
}

.plus-support-icon svg {
    width: 22px;
    height: 22px;
    stroke: #ffffff;
}

.plus-support-text h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8c8286;
    margin-bottom: 4px;
}

.plus-support-text h3 {
    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: normal;
    color: #2c2528;
    margin-bottom: 4px;
}

.plus-support-text p {
    font-size: 13px;
    color: #8c8286;
    margin: 0;
}

.plus-support-btn {
    background: #a16c68;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: background 0.2s ease;
}

.plus-support-btn:hover {
    background: #8a5a56;
    color: #ffffff;
}

.plus-support-btn svg {
    stroke: #ffffff;
}

/* Responsive */
@media (max-width: 1024px) {
    .plus-resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .plus-resources-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .plus-resource-image-wrapper {
        height: 160px;
    }

    .plus-support-section {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: 20px;
    }

    .plus-support-info {
        flex-direction: column;
        text-align: center;
    }

    .plus-support-btn {
        width: 100%;
        justify-content: center;
    }

    .plus-resources-header h1 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .plus-resource-image-wrapper {
        height: 140px;
    }

    .plus-resource-body {
        padding: 22px 16px 16px;
    }

    .plus-resource-body h3 {
        font-size: 18px;
    }

    .plus-support-section {
        padding: 16px;
    }

    .plus-support-text h3 {
        font-size: 18px;
    }
}

/* Single Resource Article */
.plus-resource-article-single {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.plus-resource-article-breadcrumb {
    margin-bottom: 20px;
}

.plus-resource-article-breadcrumb a {
    color: #a16c68;
    text-decoration: none;
    font-weight: 500;
}

.plus-resource-article-breadcrumb a:hover {
    text-decoration: underline;
}

.plus-resource-article-header h1 {
    font-family: Georgia, serif;
    font-size: 36px;
    font-weight: normal;
    color: #2c2528;
    margin-bottom: 20px;
}

.plus-resource-article-image {
    margin: 20px 0 30px;
}

.plus-resource-article-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.plus-resource-article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #2c2528;
}

.plus-resource-article-content h2 {
    font-family: Georgia, serif;
    font-size: 26px;
    font-weight: normal;
    margin-top: 30px;
    margin-bottom: 15px;
}

.plus-resource-article-content h3 {
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: normal;
    margin-top: 25px;
    margin-bottom: 10px;
}

.plus-resource-article-content ul,
.plus-resource-article-content ol {
    padding-left: 20px;
    margin-bottom: 15px;
}

.plus-resource-article-content li {
    margin-bottom: 5px;
}

.plus-resource-article-content blockquote {
    border-left: 4px solid #a16c68;
    padding-left: 20px;
    margin: 20px 0;
    color: #6a5a4a;
    font-style: italic;
}

.plus-resource-article-content .wp-block-image {
    margin: 20px 0;
}

/* ========================================
 *  MEALS PAGE
 *  ======================================== */

.plus-meals-page {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0;
}

/* Header */
.plus-meals-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.plus-meals-header h1 {
    font-family: Georgia, serif;
    font-size: 32px;
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.plus-meals-sub {
    color: #8c8286;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 4px;
    font-weight: 600;
}

/* Controls Bar */
.plus-controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    gap: 16px;
    flex-wrap: wrap;
}

.plus-phase-pill {
    background: #f0ece7;
    border: 1px solid #e2ded8;
    border-radius: 12px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: Georgia, serif;
    font-size: 18px;
}

.plus-phase-badge {
    background: #e8f0e3;
    color: #5b753a;
    border: 1px dashed #5b753a;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.plus-week-selector {
    display: flex;
    align-items: center;
    gap: 8px;
}

.plus-week-nav-btn {
    background: #f0ece7;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #2c2528;
    text-decoration: none;
    transition: background 0.2s;
}

.plus-week-nav-btn:hover:not(.disabled) {
    background: #e2ded8;
}

.plus-week-nav-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.plus-week-pill {
    background: #ffffff;
    border: 1px solid #e2ded8;
    border-radius: 12px;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
}

.plus-week-pill svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.plus-day-badge {
    background: #ffffff;
    border: 1px solid #a16c68;
    border-radius: 12px;
    padding: 8px 16px;
    text-align: center;
    min-width: 60px;
}

.plus-day-badge-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8c8286;
    display: block;
}

.plus-day-badge-number {
    font-size: 18px;
    font-family: Georgia, serif;
    color: #2c2528;
    line-height: 1.2;
}

/* Day Section */
.plus-day-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.015);
}

.plus-day-section.current-day {
    border-left: 4px solid #a16c68;
}

.plus-day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.plus-day-date {
    font-style: italic;
    color: #8c8286;
    font-size: 14px;
}

.plus-day-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #2c2528;
}

/* Meals Grid */
.plus-meals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Meal Card */
.plus-meal-card {
    display: flex;
    flex-direction: column;
}

.plus-meal-image-container {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    background: #f0ece9;
}

.plus-meal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plus-meal-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.plus-meal-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Meal Complete Button */
.plus-meal-complete-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    color: #4a3a2a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.plus-meal-complete-btn:hover {
    background: #ffffff;
    transform: scale(1.05);
}

.plus-meal-complete-btn.completed {
    background: #5b753a;
    color: #ffffff;
}

.plus-meal-complete-btn.completed:hover {
    background: #4a612d;
}

.plus-meal-complete-btn svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

/* Image link */
.plus-meal-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.plus-meal-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.plus-meal-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bc8e83;
}

/* Meal Link Overlay */
.plus-meal-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    cursor: pointer;
}

/* Header Overlay */
.plus-meal-header-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 6;
}

.plus-meal-type-pill {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #2c2528;
}

.plus-meal-type-pill .plus-meal-time {
    font-weight: normal;
    color: #8c8286;
}

.plus-status-check-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.plus-status-check-circle.completed {
    background: #5b753a;
    color: #ffffff;
}

.plus-status-check-circle.pending {
    border: 2px solid #e07a75;
    background: rgba(255, 255, 255, 0.8);
}

/* Action Tag */
.plus-meal-action-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    z-index: 6;
}

.plus-meal-action-tag.completed {
    background: #5b753a;
    color: #ffffff;
}

.plus-meal-action-tag.do-now {
    background: #e07a75;
    color: #ffffff;
}

/* Meal Title */
.plus-meal-title {
    font-family: Georgia, serif;
    font-size: 16px;
    line-height: 1.3;
    color: #2c2528;
    font-weight: normal;
    margin: 0;
}

.plus-meal-title a {
    color: #2c2528;
    text-decoration: none;
}

.plus-meal-title a:hover {
    color: #a16c68;
}

/* No Meals */
.plus-no-meals {
    grid-column: 1 / -1;
    text-align: center;
    padding: 20px;
    color: #8c8286;
    font-size: 14px;
}

.plus-no-week-days {
    text-align: center;
    padding: 40px;
    color: #8c8286;
    font-size: 16px;
}

/* Grocery Banner */
.plus-grocery-banner {
    background: #ede8e3;
    border-radius: 12px;
    padding: 20px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    flex-wrap: wrap;
    gap: 16px;
}

.plus-grocery-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.plus-grocery-icon {
    color: #2c2528;
}

.plus-grocery-text h4 {
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: normal;
    margin: 0 0 2px 0;
}

.plus-grocery-text p {
    font-size: 12px;
    color: #8c8286;
    margin: 0;
}

.plus-grocery-btn {
    background: #4a612d;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: background 0.2s;
}

.plus-grocery-btn:hover {
    background: #5b753a;
    color: #ffffff;
}

.plus-grocery-unavailable {
    font-size: 13px;
    color: #8c8286;
    font-style: italic;
}

/* Responsive */
@media (max-width: 1024px) {
    .plus-meals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .plus-meals-grid {
        grid-template-columns: 1fr;
    }

    .plus-meals-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .plus-controls-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .plus-phase-pill {
        justify-content: center;
    }

    .plus-week-selector {
        justify-content: center;
    }

    .plus-day-badge {
        align-self: center;
    }

    .plus-day-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .plus-grocery-banner {
        flex-direction: column;
        text-align: center;
    }

    .plus-grocery-info {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .plus-meal-image-container {
        height: 160px;
    }

    .plus-phase-pill {
        font-size: 16px;
        padding: 10px 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .plus-week-pill {
        padding: 8px 16px;
        font-size: 14px;
    }

    .plus-day-section {
        padding: 16px;
    }

    .plus-grocery-banner {
        padding: 16px 20px;
    }

    .plus-grocery-text h4 {
        font-size: 16px;
    }
}

/* Scroll to current day on load */
.plus-day-section.current-day {
    scroll-margin-top: 20px;
}

/* Week Preview Badge */
.plus-week-preview-badge {
    background: #f0eae7;
    color: #a16c68;
    font-size: 9px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #e8ddd8;
    margin-left: 4px;
    white-space: nowrap;
}

/* ========================================
 *  USER DROPDOWN
 *  ======================================== */

.plus-user-profile {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.plus-profile-card {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 6px 12px 6px 6px;
    border-radius: 30px;
    transition: background 0.2s ease;
    position: relative;
    z-index: 10;
}

.plus-profile-card:hover {
    background: #f0ece9;
}

.plus-profile-card .plus-dropdown-arrow {
    transition: transform 0.3s ease;
    color: #8c827a;
}

.plus-profile-card.open .plus-dropdown-arrow {
    transform: rotate(180deg);
}

.plus-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

/* User Dropdown Menu */
.plus-user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transition: all 0.2s ease;
    z-index: 999;
    border: 1px solid #f0ece9;
    overflow: hidden;
}

.plus-user-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.plus-user-dropdown a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: #2c2523;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.15s ease;
    border: none;
    background: none;
    width: 100%;
    cursor: pointer;
    font-family: inherit;
}

.plus-user-dropdown a:hover {
    background: #f7f5f2;
}

.plus-user-dropdown a:last-child {
    border-top: 1px solid #f0ece9;
    margin-top: 4px;
    padding-top: 10px;
    color: #bc8e83;
}

.plus-user-dropdown a:last-child:hover {
    background: #f7f0ed;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .plus-user-profile {
        align-self: flex-start;
        margin-top: 4px;
        position: relative;
    }

    .plus-user-dropdown {
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(-8px) scale(0.98);
        min-width: 200px;
        border-radius: 16px;
    }

    .plus-user-dropdown.open {
        transform: translateX(-50%) translateY(0) scale(1);
    }

    .plus-user-dropdown a {
        padding: 12px 20px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .plus-user-dropdown {
        min-width: 180px;
        border-radius: 14px;
    }

    .plus-user-dropdown a {
        padding: 10px 16px;
        font-size: 14px;
    }
}

/* ========================================
 * FIX: MEALS PAGE CONTROLS BAR - Mobile & Tablet
 * ======================================== */

/* Only apply to meals page controls bar */
.plus-meals-page .plus-controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    gap: 16px;
    flex-wrap: wrap;
}

/* Mobile: Grid layout for better spacing */
@media (max-width: 900px) {
    .plus-meals-page .plus-controls-bar {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        width: 100%;
        gap: 12px;
        margin-bottom: 24px;
        flex-wrap: nowrap;
    }

    .plus-meals-page .plus-phase-pill {
        justify-self: start;
        padding: 6px 12px !important;
        font-size: 12px !important;
        gap: 8px !important;
        border-radius: 8px !important;
        height: auto;
        min-height: 36px;
    }

    .plus-meals-page .plus-phase-badge {
        font-size: 7px !important;
        padding: 2px 6px !important;
    }

    .plus-meals-page .plus-week-selector {
        justify-self: center;
        gap: 4px;
    }

    .plus-meals-page .plus-week-nav-btn {
        width: 28px;
        height: 28px;
        min-width: 28px;
        border-radius: 6px;
    }

    .plus-meals-page .plus-week-nav-btn svg {
        width: 14px;
        height: 14px;
    }

    .plus-meals-page .plus-week-pill {
        padding: 4px 10px;
        font-size: 11px;
        gap: 4px;
        border-radius: 8px;
        height: 32px;
        display: flex;
        align-items: center;
    }

    .plus-meals-page .plus-week-pill svg {
        width: 14px;
        height: 14px;
    }

    .plus-meals-page .plus-week-preview-badge {
        font-size: 6px;
        padding: 1px 4px;
    }

    .plus-meals-page .plus-day-badge {
        justify-self: end;
        align-self: center;
        padding: 3px 8px;
        min-width: 36px;
        border-radius: 8px;
        height: 36px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .plus-meals-page .plus-day-badge-label {
        font-size: 6px;
        line-height: 1;
    }

    .plus-meals-page .plus-day-badge-number {
        font-size: 13px;
        line-height: 1.1;
    }
}

/* Tablet: Give controls more room */
@media (min-width: 601px) and (max-width: 900px) {
    .plus-meals-page .plus-controls-bar {
        gap: 20px;
        margin-bottom: 28px;
    }

    .plus-meals-page .plus-phase-pill {
        padding: 8px 16px !important;
        font-size: 14px !important;
        min-height: 40px;
    }

    .plus-meals-page .plus-week-pill {
        padding: 6px 14px;
        font-size: 13px;
        height: 36px;
    }

    .plus-meals-page .plus-week-nav-btn {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }

    .plus-meals-page .plus-day-badge {
        padding: 4px 10px;
        min-width: 44px;
        height: 40px;
    }

    .plus-meals-page .plus-day-badge-number {
        font-size: 15px;
    }

    .plus-meals-page .plus-day-badge-label {
        font-size: 7px;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .plus-meals-page .plus-controls-bar {
        gap: 8px;
        margin-bottom: 16px;
    }

    .plus-meals-page .plus-phase-pill {
        padding: 4px 8px !important;
        font-size: 9px !important;
        gap: 4px !important;
        min-height: 28px;
    }

    .plus-meals-page .plus-phase-badge {
        font-size: 6px !important;
        padding: 1px 4px !important;
    }

    .plus-meals-page .plus-week-pill {
        padding: 2px 6px;
        font-size: 9px;
        height: 26px;
        gap: 2px;
    }

    .plus-meals-page .plus-week-pill svg {
        width: 10px;
        height: 10px;
    }

    .plus-meals-page .plus-week-nav-btn {
        width: 22px;
        height: 22px;
        min-width: 22px;
    }

    .plus-meals-page .plus-week-nav-btn svg {
        width: 10px;
        height: 10px;
    }

    .plus-meals-page .plus-day-badge {
        padding: 2px 5px;
        min-width: 28px;
        height: 28px;
    }

    .plus-meals-page .plus-day-badge-number {
        font-size: 10px;
    }

    .plus-meals-page .plus-day-badge-label {
        font-size: 5px;
    }
}

/* ========================================
 *  SINGLE RECIPE PAGE
 *  ======================================== */

.plus-recipe-single {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0;
}

/* Header Navigation */
.plus-recipe-header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.plus-recipe-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #a16c68;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.plus-recipe-back-link:hover {
    text-decoration: underline;
}

.plus-recipe-log-btn {
    background: #5b753a;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
}

.plus-recipe-log-btn:hover {
    background: #4a612d;
}

.plus-recipe-log-btn.completed {
    background: #2c2523;
}

/* Hero Banner */
.plus-single-recipe-hero {
    position: relative;
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 32px;
}

.plus-single-recipe-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plus-single-recipe-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(34, 30, 34, 0.85));
    padding: 28px 32px;
    color: #ffffff;
}

.plus-single-recipe-hero-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.plus-single-recipe-hero-tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: #ffffff;
}

.plus-single-recipe-hero h1 {
    font-family: Georgia, serif;
    font-size: 30px;
    font-weight: normal;
    margin-bottom: 2px;
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.plus-single-recipe-excerpt {
    font-size: 14px;
    opacity: 0.85;
    margin-top: 2px;
    color: #ffffff;
}

/* Details Grid */
.plus-recipe-details-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 32px;
}

.plus-recipe-details-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.015);
}

.plus-recipe-section-title {
    font-family: Georgia, serif;
    font-size: 20px;
    margin-bottom: 16px;
    color: #2c2528;
    border-bottom: 2px solid #f8f6f2;
    padding-bottom: 8px;
}

/* Ingredients List */
.plus-recipe-ingredients-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plus-recipe-ingredients-list li {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2c2528;
}

.plus-ingredient-checkbox {
    accent-color: #a16c68;
    width: 16px;
    height: 16px;
    cursor: pointer;
    flex-shrink: 0;
}

.plus-ingredient-checkbox:checked + span,
.plus-ingredient-checkbox:checked {
    text-decoration: line-through;
    opacity: 0.6;
}

/* Instructions List */
.plus-recipe-instructions-list {
    list-style: none;
    counter-reset: step-counter;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
}

.plus-recipe-instructions-list li {
    position: relative;
    padding-left: 44px;
    font-size: 15px;
    line-height: 1.6;
    color: #2c2528;
}

.plus-recipe-instructions-list li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    background: #f0ece7;
    color: #a16c68;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 13px;
}

.plus-recipe-timer {
    display: inline-block;
    margin-top: 4px;
    font-size: 12px;
    color: #8c827a;
}

.plus-recipe-no-data {
    color: #8c827a;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
    .plus-recipe-details-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .plus-recipe-hero {
        height: 240px;
    }

    .plus-recipe-hero h1 {
        font-size: 24px;
    }

    .plus-recipe-hero-overlay {
        padding: 20px;
    }

    .plus-recipe-details-card {
        padding: 20px;
    }

    .plus-recipe-header-nav {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .plus-recipe-hero {
        height: 180px;
    }

    .plus-recipe-hero h1 {
        font-size: 18px;
    }

    .plus-recipe-hero-tag {
        font-size: 9px;
        padding: 2px 8px;
    }

    .plus-recipe-instructions-list li {
        font-size: 13px;
        padding-left: 36px;
    }

    .plus-recipe-instructions-list li::before {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
}

/* ========================================
 * MEALS PAGE — Clickable action badge
 * ======================================== */

/* Raise the action badge above the recipe link overlay so clicks register */
.plus-meal-card .plus-meal-action-tag {
    z-index: 10;
    cursor: pointer;
    pointer-events: auto;
    /* Reset button defaults */
    font-family: inherit;
    text-align: left;
    border: none;
    transition: all 0.2s ease;
}

.plus-meal-card .plus-meal-action-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

/* Keep the recipe overlay link below the badge but above the image */
.plus-meal-card .plus-meal-link-overlay {
    z-index: 5;
}

/* Keep the status circle above the overlay for display, but not interactive */
.plus-meal-card .plus-status-check-circle {
    z-index: 8;
    pointer-events: none;
}

/* Subtle completed state for the whole card */
.plus-meal-card.is-completed .plus-meal-image {
    opacity: 0.75;
    transition: opacity 0.2s ease;
}

.plus-meal-card.is-completed .plus-meal-title a {
    color: #87918f;
}
