/**
 * FoodBounty Portal - Scoped Frontend CSS
 * Design System strictly using site design tokens
 * Responsive 1200px max-width container with generous padding & margins
 */

:root, .fbp {
    --fbp-yellow:        #F1C40F;
    --fbp-green:         #0E8A5A;
    --fbp-white:         #FFFFFF;
    --fbp-offwhite:      #F5F5F5;
    --fbp-charcoal:      #333333;
    --fbp-text:          #636969;
    --fbp-text-dark:     #000000;
    --fbp-black:         #0C0D0E;
    --fbp-dark-gray:     #1F2124;
    --fbp-light-gray:    #DBDBDB;
    --fbp-blue-gray:     #8592A3;
    --fbp-danger:        #C0392B;

    --fbp-radius-xs:     3px;
    --fbp-radius-sm:     8px;
    --fbp-radius-lg:     12px;
    --fbp-radius-round:  50%;

    --fbp-shadow-xs:     0 2px 6px 0 rgba(0,0,0,.08);
    --fbp-shadow-sm:     0 10px 30px -5px rgba(0,0,0,.10);
    --fbp-shadow-lg:     0 15px 40px -10px rgba(0,0,0,.18);

    --fbp-font-heading:  'Playfair Display', Georgia, 'Times New Roman', serif;
    --fbp-font-body:     'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

/* Reset inside scoped container */
.fbp, .fbp * {
    box-sizing: border-box;
}

/* Base Top-Level Container: Max 1200px, 20px padding left/right, generous bottom padding */
.fbp {
    font-family: var(--fbp-font-body);
    color: var(--fbp-charcoal);
    font-size: 15px;
    line-height: 1.6;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 30px;
    padding-bottom: 80px; /* Ample spacing so it never touches the footer */
    width: 100%;
}

/* Prevent double-padding on nested .fbp instances */
.fbp .fbp {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.fbp h1, .fbp h2, .fbp h3, .fbp h4, .fbp h5, .fbp h6 {
    font-family: var(--fbp-font-heading);
    color: var(--fbp-text-dark);
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
}

.fbp-eyebrow {
    display: inline-block;
    color: var(--fbp-green);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.fbp-divider {
    border: 0;
    border-top: 1px solid var(--fbp-light-gray);
    margin: 25px 0;
}

/* Cards with spacious padding */
.fbp-card {
    background: var(--fbp-white);
    border-radius: var(--fbp-radius-lg);
    box-shadow: var(--fbp-shadow-xs);
    border: 1px solid var(--fbp-light-gray);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.fbp-card:hover {
    box-shadow: var(--fbp-shadow-sm);
}

/* Buttons */
.fbp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 24px;
    min-height: 44px;
    border-radius: var(--fbp-radius-xs);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    line-height: 1;
}

.fbp-btn-primary {
    background: var(--fbp-yellow);
    color: var(--fbp-black) !important;
    border-color: var(--fbp-yellow);
}

.fbp-btn-primary:hover {
    background: #E5B80B;
    border-color: #E5B80B;
    transform: translateY(-1px);
}

.fbp-btn-secondary {
    background: var(--fbp-green);
    color: var(--fbp-white) !important;
    border-color: var(--fbp-green);
}

.fbp-btn-secondary:hover {
    background: #0B734B;
    border-color: #0B734B;
    transform: translateY(-1px);
}

.fbp-btn-outline {
    background: transparent;
    color: var(--fbp-charcoal) !important;
    border-color: var(--fbp-light-gray);
}

.fbp-btn-outline:hover {
    border-color: var(--fbp-green);
    color: var(--fbp-green) !important;
    background: #F9FCFA;
}

.fbp-btn-sm {
    padding: 9px 18px;
    font-size: 12px;
    min-height: 38px;
}

.fbp-btn-lg {
    padding: 15px 36px;
    font-size: 14px;
    min-height: 50px;
}

/* Badges */
.fbp-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--fbp-radius-xs);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fbp-badge-highlight {
    background: var(--fbp-yellow);
    color: var(--fbp-black);
}

.fbp-badge-active {
    background: #E8F8F1;
    color: var(--fbp-green);
    border: 1px solid #A3E7CA;
}

.fbp-badge-pending {
    background: #FEF9E7;
    color: #B7950B;
    border: 1px solid #F9E79F;
}

.fbp-badge-danger {
    background: #FDEDEC;
    color: var(--fbp-danger);
    border: 1px solid #F5B7B1;
}

/* Notices */
.fbp-notice {
    padding: 18px 24px;
    border-radius: var(--fbp-radius-sm);
    border-left: 5px solid var(--fbp-green);
    background: var(--fbp-white);
    box-shadow: var(--fbp-shadow-xs);
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.6;
}

.fbp-notice-error {
    border-left-color: var(--fbp-danger);
    background: #FDEDEC;
}

.fbp-notice-warning {
    border-left-color: var(--fbp-yellow);
    background: #FEF9E7;
}

.fbp-notice-info {
    border-left-color: var(--fbp-green);
    background: #E8F8F1;
}

/* Form Styles */
.fbp-form .fbp-form-section {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--fbp-light-gray);
}

.fbp-form .fbp-form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 25px;
    padding-bottom: 0;
}

.fbp-section-title {
    font-size: 19px;
    margin: 0 0 18px 0;
    color: var(--fbp-text-dark);
}

.fbp-form .fbp-field {
    margin-bottom: 20px;
}

.fbp-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--fbp-charcoal);
    margin-bottom: 8px;
}

.fbp-form label .required {
    color: var(--fbp-danger);
    margin-left: 2px;
}

.fbp-input, .fbp-select, .fbp-textarea {
    width: 100%;
    padding: 12px 16px;
    min-height: 48px;
    border: 1px solid var(--fbp-light-gray);
    border-radius: var(--fbp-radius-sm);
    background: var(--fbp-white);
    color: var(--fbp-charcoal);
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.fbp-textarea {
    min-height: 110px;
    line-height: 1.5;
}

.fbp-input:focus, .fbp-select:focus, .fbp-textarea:focus {
    border-color: var(--fbp-green);
    box-shadow: 0 0 0 3px rgba(14, 138, 90, 0.15);
}

.fbp-file-input {
    font-size: 14px;
    padding: 8px 0;
}

.fbp-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 5px;
}

.fbp-col-6 { flex: 1 1 calc(50% - 20px); min-width: 260px; }
.fbp-col-4 { flex: 1 1 calc(33.333% - 20px); min-width: 180px; }

/* Checkbox Pill Grid */
.fbp-checkbox-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.fbp-pill-toggle input {
    display: none;
}

.fbp-pill-toggle span {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--fbp-light-gray);
    border-radius: 20px;
    font-size: 13px;
    background: var(--fbp-white);
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.fbp-pill-toggle input:checked + span {
    background: var(--fbp-green);
    color: var(--fbp-white);
    border-color: var(--fbp-green);
    box-shadow: 0 2px 6px rgba(14, 138, 90, 0.25);
}

.fbp-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.fbp-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--fbp-green);
    cursor: pointer;
}

/* Registration / Auth Card Containers */
.fbp-register-card, .fbp-login-card {
    max-width: 820px;
    margin: 0 auto;
    padding: 45px 50px;
}

.fbp-login-card {
    max-width: 480px;
    padding: 40px 45px;
}

.fbp-register-header, .fbp-login-header {
    margin-bottom: 30px;
}

.fbp-title {
    font-size: 28px;
    margin: 8px 0 10px 0;
}

.fbp-subtitle {
    color: var(--fbp-text);
    font-size: 15px;
    margin: 0;
}

/* Plan Selector */
.fbp-plan-selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.fbp-plan-option {
    border: 2px solid var(--fbp-light-gray);
    border-radius: var(--fbp-radius-sm);
    padding: 22px;
    cursor: pointer;
    background: var(--fbp-white);
    position: relative;
    transition: all 0.2s;
}

.fbp-plan-option.selected {
    border-color: var(--fbp-green);
    background: #F9FCFA;
    box-shadow: 0 4px 15px rgba(14, 138, 90, 0.12);
}

.fbp-plan-option .fbp-plan-radio {
    display: none;
}

.fbp-plan-option .fbp-plan-name {
    font-weight: 700;
    font-size: 18px;
    margin: 8px 0 4px 0;
}

.fbp-plan-option .fbp-plan-perk {
    font-size: 13px;
    color: var(--fbp-text);
}

/* ========================================================
   DASHBOARD ARCHITECTURE (Member & Restaurant)
   ======================================================== */

.fbp-dashboard {
    width: 100%;
}

.fbp-dashboard-header {
    margin-bottom: 30px;
    padding: 28px 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    border-radius: var(--fbp-radius-lg);
}

.fbp-dashboard-body {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

/* Sidebar Nav */
.fbp-sidebar-nav {
    flex: 0 0 260px;
    padding: 16px 0;
    border-radius: var(--fbp-radius-lg);
}

.fbp-sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fbp-sidebar-nav .fbp-nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 24px;
    color: var(--fbp-charcoal);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}

.fbp-sidebar-nav .fbp-nav-item svg {
    flex-shrink: 0;
    color: var(--fbp-blue-gray);
    transition: color 0.2s;
}

.fbp-sidebar-nav .fbp-nav-item:hover {
    background: var(--fbp-offwhite);
    color: var(--fbp-green);
}

.fbp-sidebar-nav .fbp-nav-item:hover svg {
    color: var(--fbp-green);
}

.fbp-sidebar-nav .fbp-nav-item.active {
    background: #E8F8F1;
    color: var(--fbp-green);
    border-left-color: var(--fbp-green);
}

.fbp-sidebar-nav .fbp-nav-item.active svg {
    color: var(--fbp-green);
}

.fbp-sidebar-nav .fbp-nav-item.fbp-nav-locked {
    opacity: 0.45;
    pointer-events: none;
}

/* Content Area */
.fbp-content-area {
    flex: 1;
    min-width: 0;
}

.fbp-content-area > .fbp-card {
    margin-bottom: 30px;
}

/* Stats Counter Box */
.fbp-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    background: var(--fbp-offwhite);
    padding: 45px 35px;
    border-radius: var(--fbp-radius-lg);
    margin: 25px 0;
}

.fbp-stat-box {
    text-align: center;
}

.fbp-stat-number {
    font-family: var(--fbp-font-heading);
    font-size: 46px;
    font-weight: 700;
    color: var(--fbp-green);
    line-height: 1;
    margin-bottom: 8px;
}

.fbp-stat-title {
    font-weight: 700;
    font-size: 16px;
    color: var(--fbp-text-dark);
    margin-bottom: 6px;
}

.fbp-stat-desc {
    font-size: 13px;
    color: var(--fbp-blue-gray);
}

/* Tables */
.fbp-table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 15px 0;
}

.fbp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 580px;
}

.fbp-table th {
    padding: 12px 14px;
    font-weight: 700;
    color: var(--fbp-text-dark);
    border-bottom: 2px solid var(--fbp-light-gray);
    text-align: left;
}

.fbp-table td {
    padding: 14px 14px;
    border-bottom: 1px solid var(--fbp-light-gray);
    color: var(--fbp-charcoal);
}

.fbp-table tr:hover td {
    background: #FAFBFB;
}

/* Directory Filter Bar & Cards */
.fbp-directory-filter-bar {
    padding: 26px 30px;
    margin-bottom: 35px;
    border-radius: var(--fbp-radius-lg);
}

.fbp-filter-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.fbp-filter-search {
    flex: 1 1 300px;
}

.fbp-filter-select-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex: 2 1 400px;
}

.fbp-filter-select-group select {
    flex: 1 1 140px;
}

.fbp-restaurant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 25px;
    margin-bottom: 40px;
}

.fbp-restaurant-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.fbp-rest-card-image {
    position: relative;
    height: 190px;
    background: var(--fbp-offwhite);
    overflow: hidden;
}

.fbp-rest-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.fbp-restaurant-card:hover .fbp-rest-card-image img {
    transform: scale(1.03);
}

.fbp-placeholder-cover {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--fbp-green) 0%, #085B38 100%);
}

.fbp-rest-card-logo {
    position: absolute;
    bottom: -15px;
    left: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #FFF;
    border: 2px solid #FFF;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    overflow: hidden;
}

.fbp-rest-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fbp-rest-offers-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--fbp-yellow);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.fbp-rest-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.fbp-rest-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    margin-bottom: 8px;
}

.fbp-price-tag {
    font-weight: 700;
    color: var(--fbp-green);
}

.fbp-cuisine-label {
    color: var(--fbp-blue-gray);
}

.fbp-rest-title {
    font-size: 20px;
    margin: 4px 0 8px 0;
}

.fbp-rest-title a {
    color: var(--fbp-text-dark);
    text-decoration: none;
}

.fbp-rest-tagline {
    color: var(--fbp-text);
    font-size: 13.5px;
    line-height: 1.5;
    margin: 0 0 16px 0;
    flex: 1;
}

.fbp-rest-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--fbp-light-gray);
    font-size: 13px;
}

.fbp-location-indicator {
    display: inline-flex;
    align-items: center;
    color: var(--fbp-charcoal);
    font-weight: 500;
}

/* Single Restaurant Hero & Layout */
.fbp-single-hero {
    border-radius: var(--fbp-radius-lg);
    background-size: cover;
    background-position: center;
    color: #FFF;
    padding: 45px 35px;
    margin-bottom: 35px;
    position: relative;
    overflow: hidden;
}

.fbp-single-hero-content {
    display: flex;
    gap: 25px;
    align-items: center;
    flex-wrap: wrap;
}

.fbp-single-logo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #FFF;
    background: #FFF;
    flex-shrink: 0;
}

.fbp-single-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fbp-single-title {
    color: #FFF;
    font-size: 34px;
    margin: 6px 0 8px 0;
}

.fbp-single-tagline {
    font-size: 16px;
    opacity: 0.9;
    margin: 0 0 12px 0;
}

.fbp-pill-tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-right: 6px;
    margin-top: 4px;
}

.fbp-layout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}

/* Modal */
.fbp-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.fbp-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(12, 13, 14, 0.75);
    backdrop-filter: blur(2px);
}

.fbp-modal-dialog {
    position: relative;
    z-index: 2;
    max-width: 480px;
    width: 100%;
}

.fbp-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: var(--fbp-blue-gray);
    line-height: 1;
}

.fbp-modal-close:hover {
    color: var(--fbp-text-dark);
}

/* ========================================================
   RESPONSIVE DESIGN & MEDIA QUERIES
   ======================================================== */

@media (max-width: 1024px) {
    .fbp {
        padding-top: 25px;
        padding-bottom: 70px;
    }

    .fbp-dashboard-body {
        flex-direction: column;
        gap: 25px;
    }

    .fbp-sidebar-nav {
        flex: 1 1 100% !important;
        width: 100%;
        padding: 8px;
    }

    .fbp-sidebar-nav ul {
        display: flex;
        overflow-x: auto;
        gap: 8px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 2px;
    }

    .fbp-sidebar-nav ul::-webkit-scrollbar {
        display: none;
    }

    .fbp-sidebar-nav .fbp-nav-item {
        border-left: none;
        border: 1px solid var(--fbp-light-gray);
        border-radius: var(--fbp-radius-sm);
        padding: 10px 16px;
        background: var(--fbp-offwhite);
        white-space: nowrap;
        flex-shrink: 0;
        margin: 0;
    }

    .fbp-sidebar-nav .fbp-nav-item.active {
        background: #E8F8F1;
        border-color: var(--fbp-green);
        color: var(--fbp-green);
    }

    .fbp-layout-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .fbp {
        padding-left: 16px;
        padding-right: 16px;
        padding-top: 20px;
        padding-bottom: 60px;
    }

    .fbp-register-card, .fbp-login-card {
        padding: 30px 22px;
    }

    .fbp-dashboard-header {
        padding: 22px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .fbp-dashboard-header > div:last-child {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .fbp-dashboard-header .fbp-btn {
        flex: 1 1 auto;
        text-align: center;
        justify-content: center;
    }

    .fbp-row {
        flex-direction: column;
        gap: 14px;
    }

    .fbp-col-6, .fbp-col-4 {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .fbp-filter-row {
        flex-direction: column;
    }

    .fbp-filter-search, .fbp-filter-select-group {
        width: 100%;
        flex: 1 1 100%;
    }

    .fbp-restaurant-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .fbp-single-hero {
        padding: 30px 20px;
    }

    .fbp-single-title {
        font-size: 26px;
    }

    .fbp-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px 20px;
        gap: 20px;
    }

    .fbp-stat-number {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .fbp {
        padding-left: 12px;
        padding-right: 12px;
        padding-bottom: 50px;
    }

    .fbp-register-card, .fbp-login-card {
        padding: 24px 16px;
    }

    .fbp-stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 25px 15px;
    }

    .fbp-dashboard-header .fbp-btn {
        width: 100%;
    }

    .fbp-plan-selector-grid {
        grid-template-columns: 1fr;
    }

    .fbp-btn-lg {
        width: 100%;
    }
}

/* ==========================================================================
   Header & Top Navigation Auth Buttons Shortcode [fb_nav_buttons]
   ========================================================================== */
.fbp-nav-buttons {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    vertical-align: middle;
    margin: 0;
    padding: 0;
    line-height: normal;
    box-sizing: border-box;
}

li .fbp-nav-buttons {
    list-style: none;
}

/* Desktop & Tablet Buttons Container */
.fbp-nav-desktop-buttons {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Individual Navigation Buttons */
.fbp-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: var(--fbp-font-body, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 8px 18px !important;
    min-height: 36px;
    border-radius: var(--fbp-radius-xs, 4px) !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
    line-height: 1 !important;
}

/* Join Now Button (Vibrant Yellow Accent) */
.fbp-nav-btn-join {
    background-color: var(--fbp-yellow, #F1C40F) !important;
    color: var(--fbp-black, #0C0D0E) !important;
    border: 1.5px solid var(--fbp-yellow, #F1C40F) !important;
}

.fbp-nav-btn-join:hover {
    background-color: #E5B80B !important;
    border-color: #E5B80B !important;
    color: #000000 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(241, 196, 15, 0.35);
}

/* Login Button (Clean Outline) */
.fbp-nav-btn-login {
    background-color: transparent !important;
    color: var(--fbp-charcoal, #333333) !important;
    border: 1.5px solid var(--fbp-light-gray, #DBDBDB) !important;
}

.fbp-nav-btn-login:hover {
    background-color: #F8F9FA !important;
    border-color: var(--fbp-green, #0E8A5A) !important;
    color: var(--fbp-green, #0E8A5A) !important;
}

/* Dashboard Button (Brand Green) */
.fbp-nav-btn-dashboard {
    background-color: var(--fbp-green, #0E8A5A) !important;
    color: #FFFFFF !important;
    border: 1.5px solid var(--fbp-green, #0E8A5A) !important;
}

.fbp-nav-btn-dashboard:hover {
    background-color: #0B734B !important;
    border-color: #0B734B !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 138, 90, 0.3);
}

/* Logout Button (Subtle Outline) */
.fbp-nav-btn-logout {
    background-color: transparent !important;
    color: var(--fbp-text, #636969) !important;
    border: 1.5px solid var(--fbp-light-gray, #DBDBDB) !important;
}

.fbp-nav-btn-logout:hover {
    background-color: #FFF5F5 !important;
    border-color: var(--fbp-danger, #C0392B) !important;
    color: var(--fbp-danger, #C0392B) !important;
}

/* Mobile User Icon Button (Hidden on Desktop) */
.fbp-nav-mobile-user {
    display: none !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--fbp-offwhite, #F5F5F5);
    border: 1.5px solid var(--fbp-light-gray, #DBDBDB);
    color: var(--fbp-charcoal, #333333) !important;
    text-decoration: none !important;
    position: relative;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fbp-nav-mobile-user:hover {
    background-color: #FFFFFF;
    border-color: var(--fbp-green, #0E8A5A);
    color: var(--fbp-green, #0E8A5A) !important;
    transform: scale(1.05);
}

.fbp-nav-mobile-user svg {
    display: block;
    width: 20px;
    height: 20px;
}

/* Green dot for logged in session on mobile */
.fbp-nav-mobile-user.is-logged-in .fbp-nav-status-dot {
    position: absolute;
    top: 1px;
    right: 1px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: var(--fbp-green, #0E8A5A);
    border: 2px solid #FFFFFF;
}

/* Responsive Switching for Mobile Screens (<= 768px) */
@media (max-width: 768px) {
    .fbp-nav-desktop-buttons {
        display: none !important;
    }

    .fbp-nav-mobile-user {
        display: inline-flex !important;
    }
}

