/**
 * Taiboga Core - Design Tokens & Global Styles
 */

:root {
    /* Primary Palette */
    --tibo-green: #2D5A27;
    /* Deep Forest Green */
    --tibo-green-light: #4A7C44;
    --tibo-gold: #D4AF37;
    /* Metallic Gold */
    --tibo-gold-light: #F1D592;
    --tibo-earth: #4B3621;
    /* Earth Brown */
    --tibo-white: #FFFFFF;
    --tibo-cream: #F9F8F4;

    /* Modern Gradients */
    --tibo-grad-green: linear-gradient(135deg, #2D5A27 0%, #4A7C44 100%);
    --tibo-grad-gold: linear-gradient(135deg, #D4AF37 0%, #F1D592 100%);
    --tibo-grad-soft: linear-gradient(180deg, #F9F8F4 0%, #FFFFFF 100%);

    /* Glassmorphism */
    --tibo-glass-bg: rgba(255, 255, 255, 0.7);
    --tibo-glass-border: rgba(255, 255, 255, 0.3);
    --tibo-glass-blur: blur(12px);

    /* Shadows */
    --tibo-shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --tibo-shadow-md: 0 8px 30px rgba(45, 90, 39, 0.08);
    --tibo-shadow-lg: 0 15px 45px rgba(0, 0, 0, 0.1);

    /* Typography */
    --tibo-font-primary: 'Poppins', 'Inter', system-ui, -apple-system, sans-serif;
    --tibo-font-secondary: 'Lato', 'Open Sans', sans-serif;

    /* Spacing - Scaled Up */
    --tibo-space-xs: 0.75rem;
    --tibo-space-sm: 1.25rem;
    --tibo-space-md: 2rem;
    --tibo-space-lg: 3.5rem;
    --tibo-space-xl: 5rem;

    /* Borders */
    --tibo-radius-sm: 4px;
    --tibo-radius-md: 8px;
    --tibo-radius-lg: 16px;
}

/* Global Aesthetics */
.tibo-component {
    font-family: var(--tibo-font-primary);
    color: var(--tibo-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Premium Card (Glassmorphism) */
.tibo-card {
    background: var(--tibo-glass-bg);
    backdrop-filter: var(--tibo-glass-blur);
    -webkit-backdrop-filter: var(--tibo-glass-blur);
    border: 1px solid var(--tibo-glass-border);
    border-radius: var(--tibo-radius-lg);
    padding: var(--tibo-space-md);
    box-shadow: var(--tibo-shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tibo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tibo-shadow-lg);
}

/* Modern Buttons */
.tibo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: var(--tibo-radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.tibo-btn-primary {
    background: var(--tibo-grad-green);
    color: var(--tibo-white);
    box-shadow: 0 4px 15px rgba(45, 90, 39, 0.2);
}

.tibo-btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(45, 90, 39, 0.3);
    color: var(--tibo-white);
}

.tibo-btn-gold {
    background: var(--tibo-grad-gold);
    color: var(--tibo-white);
}

/* Form Styles */
.tibo-form-group {
    margin-bottom: var(--tibo-space-sm);
}

.tibo-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--tibo-green);
}

.tibo-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #E2E8F0;
    border-radius: var(--tibo-radius-md);
    background: #FDFDFB;
    transition: all 0.3s ease;
}

.tibo-input:focus {
    outline: none;
    border-color: var(--tibo-green);
    box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.1);
}

/* Full-Screen Modern Dashboard Layout */
/* Full-Screen Modern Dashboard Layout - STANDALONE OVERRIDE */
.tibo-dashboard-wrapper {
    /* Nuclear Positioning to escape theme containers */
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    /* Top of everything */
    background: var(--tibo-cream);
    margin: 0 !important;
    padding: 0 !important;

    /* Reset Box Model for all children */
    box-sizing: border-box;
    font-family: var(--tibo-font-primary);
    line-height: 1.5;
}

/* WP Admin Bar Compatibility */
body.admin-bar .tibo-dashboard-wrapper {
    top: 32px !important;
    height: calc(100vh - 32px) !important;
}

@media screen and (max-width: 782px) {
    body.admin-bar .tibo-dashboard-wrapper {
        top: 46px !important;
        height: calc(100vh - 46px) !important;
    }
}

.tibo-dashboard-wrapper *,
.tibo-dashboard-wrapper *::before,
.tibo-dashboard-wrapper *::after {
    box-sizing: border-box;
}

.tibo-sidebar {
    width: 320px;
    /* Wider sidebar */
    height: 100%;
    flex-shrink: 0;
    background: var(--tibo-white);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    padding: 40px var(--tibo-space-md);
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.03);
    z-index: 100;
    overflow-y: auto;
}

.tibo-main-content {
    flex-grow: 1;
    height: 100%;
    overflow-y: auto;
    padding: 60px 80px;
    /* Generous padding for content */
    background: var(--tibo-grad-soft);
}

.tibo-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    /* Larger min-width for columns */
    gap: 40px;
    width: 100%;
}

/* KPI Stat Cards Row */
.tibo-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    /* Larger min-width for stats */
    gap: 30px;
    margin-bottom: 60px;
    width: 100%;
}

.tibo-stat-card {
    background: var(--tibo-white);
    padding: 35px;
    /* Increased padding */
    border-radius: var(--tibo-radius-lg);
    box-shadow: var(--tibo-shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.3s ease;
}

.tibo-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--tibo-shadow-md);
}

.tibo-stat-value {
    font-size: 3rem;
    /* Scaled up value */
    font-weight: 700;
    color: var(--tibo-green);
    line-height: 1.1;
}

.tibo-stat-label {
    font-size: 1rem;
    /* Scaled up label */
    color: var(--tibo-text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sidebar Nav Refinement */
.tibo-nav-item {
    font-size: 0.95rem;
    letter-spacing: 0.1px;
}

/* Sidebar Nav */
.tibo-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
    flex-grow: 1;
    /* Allow nav to grow and push items */
}

.tibo-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--tibo-green);
    text-decoration: none;
    border-radius: var(--tibo-radius-md);
    font-weight: 500;
    transition: all 0.3s ease;
}

.tibo-nav-item:hover,
.tibo-nav-item.active {
    background: var(--tibo-grad-green);
    color: var(--tibo-white);
    transform: translateX(5px);
}

.tibo-icon {
    font-size: 1.2rem;
}

/* Charts & Sliders */
.tibo-chart-container {
    padding: 20px 0;
}

.tibo-svg-chart {
    width: 100%;
    height: auto;
    filter: drop-shadow(var(--tibo-shadow-sm));
}

.tibo-range-input {
    width: 100%;
    margin-top: 10px;
    cursor: pointer;
    -webkit-appearance: none;
    height: 8px;
    background: #E2E8F0;
    border-radius: 10px;
    outline: none;
}

.tibo-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--tibo-green);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: var(--tibo-shadow-sm);
}

/* Animations & Feedback */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tibo-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.tibo-msg-success {
    color: #2D5A27;
    background: #F0FDF4;
    padding: 1rem;
    border-radius: var(--tibo-radius-md);
    border: 1px solid #BBF7D0;
}

.tibo-msg-error {
    color: #991B1B;
    background: #FEF2F2;
    padding: 1rem;
    border-radius: var(--tibo-radius-md);
    border: 1px solid #FECACA;
}

/* Unified Message Hub Sub-Nav */
.tibo-sub-nav {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding: 5px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 50px;
    width: fit-content;
}

.tibo-sub-nav-btn {
    padding: 10px 25px;
    border-radius: 50px;
    border: none;
    background: transparent;
    color: var(--tibo-green);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tibo-sub-nav-btn.active {
    background: var(--tibo-white);
    color: var(--tibo-green);
    box-shadow: var(--tibo-shadow-sm);
}

/* Community Board & Comments */
.tibo-announcement-card {
    background: var(--tibo-white);
    border-radius: var(--tibo-radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: var(--tibo-shadow-sm);
}

.tibo-announcement-content {
    padding: 25px;
}

.tibo-announcement-footer {
    background: #fcfcfc;
    border-top: 1px solid #f0f0f0;
    padding: 15px 25px;
}

.tibo-comment-section {
    padding: 20px 25px;
    background: #fff;
    border-top: 1px solid #f5f5f5;
}

.tibo-comment-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.tibo-comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--tibo-grad-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.tibo-comment-body {
    background: #f8f9fa;
    padding: 12px 18px;
    border-radius: 0 15px 15px 15px;
    font-size: 0.9rem;
    color: var(--tibo-earth);
    flex-grow: 1;
}

.tibo-comment-meta {
    font-size: 11px;
    color: #999;
    margin-bottom: 4px;
    display: flex;
    justify-content: space-between;
}

.tibo-comment-form-wrap {
    margin-top: 20px;
    padding: 15px 0 0;
    border-top: 1px dashed #eee;
}

.tibo-comment-form {
    display: flex;
    gap: 10px;
}

.tibo-comment-input {
    flex-grow: 1;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 0.85rem;
}

.tibo-btn-text {
    background: none;
    border: none;
    color: var(--tibo-green);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .tibo-dashboard-wrapper {
        flex-direction: column;
    }

    .tibo-sidebar {
        width: 100%;
    }

    .tibo-sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .tibo-nav-item {
        white-space: nowrap;
    }
}

@media (max-width: 576px) {
    .tibo-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Mobile-First Premium Dashboard Styles - REFINED
   ========================================================================== */
/* ==========================================================================
   Mobile-First App Transformation (Structural Parity)
   ========================================================================== */
.tibo-mobile-dashboard {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #FDFBFA;
    z-index: 2147483647;
    overflow: hidden;
    display: block !important; /* Override flex if set elsewhere */
}

/* Hide theme elements */
body.tibo-hide-theme-elements > :not(.tibo-mobile-dashboard, #wpadminbar) {
    display: none !important;
}

/* Transform Sidebar into Bottom Nav */
.tibo-mobile-dashboard .tibo-sidebar {
    position: fixed;
    bottom: 20px;
    left: 15px;
    right: 15px;
    width: auto;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 35px;
    display: flex;
    flex-direction: row;
    padding: 5px 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.5);
    z-index: 1001;
    overflow: hidden;
}

.tibo-mobile-dashboard .tibo-sidebar-brand {
    display: none !important;
}

.tibo-mobile-dashboard .tibo-sidebar-nav {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    margin: 0;
    gap: 0;
}

.tibo-mobile-dashboard .tibo-nav-item {
    flex-direction: column;
    padding: 8px 0;
    font-size: 0.65rem;
    gap: 4px;
    width: 20%;
    text-align: center;
    border-radius: 20px;
    background: transparent !important;
    transform: none !important;
    color: #94A3B8;
}

.tibo-mobile-dashboard .tibo-nav-item.active {
    color: var(--tibo-green);
}

.tibo-mobile-dashboard .tibo-nav-item .tibo-icon {
    font-size: 1.4rem;
    margin: 0;
}

/* Transform Main Content & Header */
.tibo-mobile-dashboard .tibo-main-content {
    padding: 20px 20px 100px;
    height: 100vh;
    overflow-y: auto;
    background: radial-gradient(circle at top right, #FDFBFA 0%, #F5F1E8 100%);
}

.tibo-mobile-dashboard .tibo-top-bar {
    display: none !important; /* We hide the desktop top bar on mobile */
}

.tibo-mobile-dashboard .tibo-dashboard-header h1 {
    font-size: 1.8rem !important;
    margin-bottom: 10px !important;
}

.tibo-mobile-dashboard .tibo-stats-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 15px !important;
    margin-bottom: 30px !important;
}

.tibo-mobile-dashboard .tibo-dashboard-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.tibo-mobile-dashboard .tibo-card {
    grid-column: auto !important;
    width: 100% !important;
    margin-bottom: 0 !important;
}

/* Bottom Nav Active State Marker */
.tibo-mobile-dashboard .tibo-nav-item.active::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 4px;
    background: var(--tibo-green);
    border-radius: 0 0 4px 4px;
}

/* Ensure tables are scrollable on mobile */
.tibo-mobile-dashboard .tibo-table-responsive {
    margin: 0 -20px;
    padding: 0 20px;
}

.tibo-mobile-dashboard table {
    min-width: 600px !important;
}

/* Premium Profile Badge for Mobile */
.tibo-mobile-dashboard .tibo-user-profile {
    background: rgba(45, 90, 39, 0.05);
    padding: 10px 15px;
    border-radius: 20px;
    margin-bottom: 20px;
    width: fit-content;
}

/* Tab/View Section Fixes */
.tibo-mobile-dashboard .tibo-view-section {
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* WordPress Admin Bar offset */
body.admin-bar .tibo-mobile-dashboard {
    top: 32px;
    height: calc(100vh - 32px);
}
@media (max-width: 782px) {
    body.admin-bar .tibo-mobile-dashboard {
        top: 46px;
        height: calc(100vh - 46px);
    }
}

.tibo-mobile-header::after {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.tibo-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.tibo-logo-mini {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.tibo-avatar-sm {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border-radius: 14px; /* Squircle */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.tibo-welcome-box {
    position: relative;
    z-index: 2;
}

.tibo-welcome-box h1 {
    font-size: 1.8rem;
    margin: 0 0 8px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.tibo-welcome-box p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
    font-weight: 500;
}

.tibo-mobile-main {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    padding-bottom: 120px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.tibo-mobile-stats {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 10px 4px 30px;
    scrollbar-width: none;
    mask-image: linear-gradient(to right, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
}

.tibo-mobile-stats::-webkit-scrollbar { display: none; }

.tibo-m-stat-card {
    background: white;
    min-width: 140px;
    padding: 20px;
    border-radius: 28px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.tibo-m-stat-card:active {
    transform: scale(0.96);
}

.tibo-m-stat-card .label {
    font-size: 0.75rem;
    color: var(--tibo-text-light);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.8px;
}

.tibo-m-stat-card .value {
    font-size: 1.6rem;
    color: var(--tibo-green);
    font-weight: 800;
    line-height: 1;
}

.tibo-m-stat-card .trend {
    font-size: 0.7rem;
    font-weight: 700;
    margin-top: 4px;
}

.tibo-m-stat-card .trend.up { color: #10B981; }
.tibo-m-stat-card .trend.down { color: #EF4444; }
.tibo-m-stat-card .trend:not(.up):not(.down) { color: #F59E0B; }

.tibo-mobile-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 30px;
}

.tibo-m-chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 120px;
    gap: 8px;
    padding-top: 20px;
}

.tibo-m-bar-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.tibo-m-bar {
    width: 100%;
    background: var(--tibo-grad-green);
    border-radius: 8px 8px 4px 4px;
    transition: height 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    min-height: 5px;
}

.tibo-m-bar-label {
    font-size: 0.65rem;
    color: #94A3B8;
    font-weight: 600;
}
.tibo-m-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 24px;
    border-radius: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.5);
}

.tibo-m-card h3 {
    font-size: 1.1rem;
    color: var(--tibo-green);
    margin: 0 0 18px;
    font-weight: 800;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Refined List Items */
.tibo-m-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.02);
    margin-bottom: 10px;
    transition: background 0.3s ease;
}

.tibo-m-list-item:active {
    background: #F0FDF4;
}

.tibo-m-list-item .icon {
    font-size: 1.4rem;
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.tibo-m-list-item .details strong {
    font-size: 0.95rem;
    color: var(--tibo-green);
    margin-bottom: 3px;
}

.tibo-m-list-item .details span {
    font-size: 0.8rem;
    color: #94A3B8;
}

/* Bottom Navigation - Ultra Modern */
.tibo-mobile-nav {
    position: fixed;
    bottom: 24px;
    left: 20px;
    right: 20px;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-radius: 35px;
    padding: 10px;
    z-index: 1000;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.5);
}

.tibo-mobile-nav .tibo-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #94A3B8;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 8px 12px;
    border-radius: 25px;
    background: transparent !important;
    transform: none !important;
    position: relative;
    width: 20%;
}

.tibo-mobile-nav .tibo-nav-item .icon {
    font-size: 1.5rem;
    transition: all 0.4s ease;
    filter: grayscale(1);
    opacity: 0.6;
}

.tibo-mobile-nav .tibo-nav-item span:not(.icon) {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: none; /* Hide labels for ultra-minimal fix */
}

.tibo-mobile-nav .tibo-nav-item.active {
    color: var(--tibo-green);
}

.tibo-mobile-nav .tibo-nav-item.active .icon {
    transform: translateY(-8px);
    filter: grayscale(0);
    opacity: 1;
}

/* Active Indicator Dot */
.tibo-mobile-nav .tibo-nav-item.active::after {
    content: "";
    position: absolute;
    bottom: 5px;
    width: 5px;
    height: 5px;
    background: var(--tibo-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--tibo-green);
}

/* Progress Charts - Refined */
.tibo-mobile-chart-placeholder div {
    transition: height 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.tibo-mobile-chart-placeholder div::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, transparent 100%);
    border-radius: inherit;
}

/* Animations */
@keyframes tiboSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.tibo-fade-in {
    animation: tiboSlideUp 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

/* Floating Action Button (FAB) */
.tibo-fab {
    position: fixed;
    bottom: 110px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: var(--tibo-grad-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    border: none;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tibo-fab:active {
    transform: scale(0.9) rotate(5deg);
}

/* Sub-navigation (Messages) */
.tibo-sub-nav-btn {
    background: #f1f5f9;
    border: none;
    padding: 12px;
    font-weight: 700;
    font-size: 0.8rem;
    color: #64748b;
    transition: all 0.3s ease;
}

.tibo-sub-nav-btn:first-child { border-radius: 15px 0 0 15px; }
.tibo-sub-nav-btn:last-child { border-radius: 0 15px 15px 0; }

.tibo-sub-nav-btn.active {
    background: var(--tibo-green);
    color: white;
}
