/**
 * Glassmorphism Theme CSS
 * Influencer Management System - Mobile First
 */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-bg-hover: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-text: #ffffff;
    --glass-text-muted: rgba(255, 255, 255, 0.65);
    --glass-accent: #a78bfa;
    --glass-purple: #667eea;
    --glass-green: #10b981;
    --glass-orange: #f59e0b;
    --glass-blue: #3b82f6;
    --glass-red: #ef4444;
    --sidebar-width: 280px;
    --transition: all 0.3s ease;
}

/* ============================================
   BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html { font-size: 15px; }
}

@media (min-width: 1024px) {
    html { font-size: 16px; }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    color: var(--glass-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */
.glass-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.glass-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 25s ease-in-out infinite;
}

.glass-blob-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: -100px;
    right: -100px;
}

.glass-blob-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    bottom: -80px;
    left: -80px;
    animation-delay: -8s;
}

.glass-blob-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    top: 50%;
    left: 30%;
    animation-delay: -15s;
}

.glass-blob-4 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    top: 70%;
    right: 5%;
    animation-delay: -20s;
}

@media (min-width: 768px) {
    .glass-blob-1 { width: 400px; height: 400px; }
    .glass-blob-2 { width: 350px; height: 350px; }
    .glass-blob-3 { width: 300px; height: 300px; }
    .glass-blob-4 { width: 250px; height: 250px; }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -20px) scale(1.05); }
    50% { transform: translate(-15px, 25px) scale(0.95); }
    75% { transform: translate(-20px, -15px) scale(1.02); }
}

/* ============================================
   LAYOUT
   ============================================ */
.glass-app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .glass-app {
        flex-direction: row;
    }
}

/* ============================================
   SIDEBAR
   ============================================ */
.glass-sidebar {
    width: var(--sidebar-width);
    max-width: 85vw;
    background: rgba(15, 12, 41, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--glass-border);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.glass-sidebar.active {
    transform: translateX(0);
}

@media (min-width: 1024px) {
    .glass-sidebar {
        position: sticky;
        transform: translateX(0);
        flex-shrink: 0;
    }
}

.glass-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
}

.glass-sidebar-overlay.active {
    display: block;
}

@media (min-width: 1024px) {
    .glass-sidebar-overlay { display: none !important; }
}

/* Logo */
.glass-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--glass-border);
}

.glass-logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.glass-logo-text {
    font-size: 1.125rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-logo-subtext {
    font-size: 0.625rem;
    color: var(--glass-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Navigation */
.glass-nav {
    margin-bottom: 1.25rem;
}

.glass-nav-title {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--glass-text-muted);
    margin-bottom: 0.5rem;
    padding-left: 0.75rem;
    font-weight: 600;
}

.glass-nav-menu {
    list-style: none;
}

.glass-nav-item {
    margin-bottom: 0.125rem;
}

.glass-nav-link {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.glass-nav-link:hover {
    background: var(--glass-bg-hover);
    color: var(--glass-text);
}

.glass-nav-link.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.25) 0%, rgba(118, 75, 162, 0.25) 100%);
    color: var(--glass-text);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.glass-nav-link i {
    font-size: 1.125rem;
    width: 22px;
    flex-shrink: 0;
}

.glass-nav-badge {
    margin-left: auto;
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 50px;
}

/* Sidebar Footer */
.glass-sidebar-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.glass-user-card {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem;
    border-radius: 10px;
    background: var(--glass-bg);
    cursor: pointer;
    transition: var(--transition);
}

.glass-user-card:hover {
    background: var(--glass-bg-hover);
}

.glass-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8125rem;
    flex-shrink: 0;
}

.glass-user-name {
    font-size: 0.8125rem;
    font-weight: 600;
}

.glass-user-role {
    font-size: 0.625rem;
    color: var(--glass-text-muted);
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.glass-main {
    flex: 1;
    padding: 1rem;
    width: 100%;
    min-width: 0;
}

@media (min-width: 768px) {
    .glass-main {
        padding: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .glass-main {
        padding: 1.5rem 2rem;
    }
}

/* ============================================
   TOPBAR
   ============================================ */
.glass-topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.glass-topbar-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.glass-topbar-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.glass-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--glass-text);
    font-size: 1.25rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition);
}

.glass-menu-toggle:hover {
    background: var(--glass-bg-hover);
}

@media (min-width: 1024px) {
    .glass-menu-toggle { display: none; }
}

.glass-page-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .glass-page-title { font-size: 1.5rem; }
}

.glass-page-subtitle {
    font-size: 0.75rem;
    color: var(--glass-text-muted);
    margin-top: 0.125rem;
}

@media (min-width: 768px) {
    .glass-page-subtitle { font-size: 0.8125rem; }
}

/* Search Box */
.glass-search {
    display: none;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    width: 200px;
}

@media (min-width: 768px) {
    .glass-search { display: flex; }
}

.glass-search input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--glass-text);
    font-size: 0.8125rem;
    width: 100%;
}

.glass-search input::placeholder {
    color: var(--glass-text-muted);
}

.glass-search i {
    color: var(--glass-text-muted);
    font-size: 1rem;
}

/* Icon Button */
.glass-icon-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--glass-text);
    font-size: 1.125rem;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
}

.glass-icon-btn:hover {
    background: var(--glass-bg-hover);
}

.glass-icon-btn .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    border-radius: 50%;
    font-size: 0.5625rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   CARDS
   ============================================ */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .glass-card {
        border-radius: 20px;
        margin-bottom: 1.5rem;
    }
}

.glass-card-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .glass-card-header {
        padding: 1.25rem 1.5rem;
    }
}

.glass-card-title {
    font-size: 0.9375rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.glass-card-title i {
    color: var(--glass-accent);
}

.glass-card-body {
    padding: 1.25rem;
}

@media (min-width: 768px) {
    .glass-card-body {
        padding: 1.5rem;
    }
}

/* ============================================
   STAT CARDS
   ============================================ */
.glass-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

@media (min-width: 576px) {
    .glass-stats {
        gap: 1rem;
    }
}

@media (min-width: 992px) {
    .glass-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
        margin-bottom: 1.5rem;
    }
}

.glass-stat {
    padding: 1rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

@media (min-width: 768px) {
    .glass-stat { padding: 1.25rem; }
}

.glass-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.glass-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 16px 16px 0 0;
}

.glass-stat.purple::before { background: linear-gradient(90deg, #667eea, #764ba2); }
.glass-stat.green::before { background: linear-gradient(90deg, #10b981, #34d399); }
.glass-stat.orange::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.glass-stat.blue::before { background: linear-gradient(90deg, #3b82f6, #60a5fa); }

.glass-stat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.glass-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
}

@media (min-width: 768px) {
    .glass-stat-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
}

.glass-stat-icon.purple { background: rgba(102, 126, 234, 0.2); color: #a78bfa; }
.glass-stat-icon.green { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.glass-stat-icon.orange { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.glass-stat-icon.blue { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }

.glass-stat-change {
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.2rem 0.4rem;
    border-radius: 50px;
}

.glass-stat-change.up {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.glass-stat-change.down {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.glass-stat-value {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.125rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .glass-stat-value { font-size: 1.75rem; }
}

.glass-stat-label {
    font-size: 0.6875rem;
    color: var(--glass-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

@media (min-width: 768px) {
    .glass-stat-label { font-size: 0.75rem; }
}

/* ============================================
   BUTTONS
   ============================================ */
.glass-btn {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

.glass-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.glass-btn-primary:hover {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    transform: translateY(-1px);
}

.glass-btn-success {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: #fff;
}

.glass-btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    color: #fff;
}

.glass-btn-ghost {
    background: var(--glass-bg);
    color: var(--glass-text);
    border: 1px solid var(--glass-border);
}

.glass-btn-ghost:hover {
    background: var(--glass-bg-hover);
}

.glass-btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 6px;
}

.glass-btn-lg {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
}

.glass-btn-block {
    width: 100%;
}

/* ============================================
   FORMS
   ============================================ */
.glass-form-group {
    margin-bottom: 1rem;
}

.glass-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 0.375rem;
    color: var(--glass-text);
}

.glass-input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--glass-text);
    font-size: 0.875rem;
    transition: var(--transition);
}

.glass-input:focus {
    outline: none;
    border-color: var(--glass-accent);
    box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.15);
}

.glass-input::placeholder {
    color: var(--glass-text-muted);
}

.glass-select {
    width: 100%;
    padding: 0.625rem 0.875rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--glass-text);
    font-size: 0.875rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='rgba(255,255,255,0.5)' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2rem;
}

.glass-select option {
    background: #1a1a2e;
    color: var(--glass-text);
}

/* ============================================
   TABLES
   ============================================ */
.glass-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.glass-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.glass-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--glass-text-muted);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
}

.glass-table td {
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--glass-border);
    font-size: 0.8125rem;
}

.glass-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* ============================================
   BADGES
   ============================================ */
.glass-badge {
    padding: 0.25rem 0.625rem;
    border-radius: 50px;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    display: inline-block;
}

.glass-badge-active {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.glass-badge-suspended, .glass-badge-warning {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.glass-badge-pending {
    background: rgba(255, 255, 255, 0.1);
    color: var(--glass-text-muted);
    border: 1px solid var(--glass-border);
}

.glass-badge-danger {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.glass-badge-primary {
    background: rgba(102, 126, 234, 0.2);
    color: #a78bfa;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

/* ============================================
   AVATAR
   ============================================ */
.glass-avatar {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8125rem;
    flex-shrink: 0;
}

.glass-avatar.purple { background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3)); }
.glass-avatar.green { background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(52, 211, 153, 0.3)); }
.glass-avatar.orange { background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(251, 191, 36, 0.3)); }
.glass-avatar.blue { background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(96, 165, 250, 0.3)); }

/* ============================================
   PROGRESS BARS
   ============================================ */
.glass-progress {
    margin-bottom: 1rem;
}

.glass-progress:last-child {
    margin-bottom: 0;
}

.glass-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.375rem;
}

.glass-progress-label {
    font-size: 0.8125rem;
    font-weight: 500;
}

.glass-progress-value {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--glass-accent);
}

.glass-progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.glass-progress-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease;
}

.glass-progress-fill.purple { background: linear-gradient(90deg, #667eea, #764ba2); }
.glass-progress-fill.green { background: linear-gradient(90deg, #10b981, #34d399); }
.glass-progress-fill.orange { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.glass-progress-fill.blue { background: linear-gradient(90deg, #3b82f6, #60a5fa); }

/* ============================================
   ACTIVITY LIST
   ============================================ */
.glass-activity {
    display: flex;
    gap: 0.75rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.glass-activity:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.glass-activity-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9375rem;
    flex-shrink: 0;
}

.glass-activity-icon.purple { background: rgba(102, 126, 234, 0.2); color: #a78bfa; }
.glass-activity-icon.green { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.glass-activity-icon.orange { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.glass-activity-icon.red { background: rgba(239, 68, 68, 0.2); color: #f87171; }

.glass-activity-content {
    flex: 1;
    min-width: 0;
}

.glass-activity-text {
    font-size: 0.8125rem;
    margin-bottom: 0.125rem;
    line-height: 1.4;
}

.glass-activity-time {
    font-size: 0.6875rem;
    color: var(--glass-text-muted);
}

/* ============================================
   ALERTS
   ============================================ */
.glass-alert {
    padding: 0.875rem 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.8125rem;
}

.glass-alert i {
    font-size: 1.125rem;
    flex-shrink: 0;
    margin-top: 0.0625rem;
}

.glass-alert-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.glass-alert-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.glass-alert-warning {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}

.glass-alert-info {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}

/* ============================================
   GRID LAYOUTS
   ============================================ */
.glass-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .glass-grid {
        gap: 1.25rem;
    }
}

.glass-grid-2 {
    grid-template-columns: 1fr;
}

@media (min-width: 992px) {
    .glass-grid-2 { grid-template-columns: 1.5fr 1fr; }
}

.glass-grid-3 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .glass-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1200px) {
    .glass-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================
   CHART CONTAINER
   ============================================ */
.glass-chart {
    height: 220px;
}

@media (min-width: 768px) {
    .glass-chart { height: 280px; }
}

.glass-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
    justify-content: center;
}

.glass-legend-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
}

.glass-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* ============================================
   UTILITIES
   ============================================ */
.glass-text-muted { color: var(--glass-text-muted); }
.glass-text-sm { font-size: 0.8125rem; }
.glass-text-xs { font-size: 0.75rem; }
.glass-fw-600 { font-weight: 600; }

.glass-d-flex { display: flex; }
.glass-align-center { align-items: center; }
.glass-justify-between { justify-content: space-between; }
.glass-gap-2 { gap: 0.5rem; }
.glass-gap-3 { gap: 0.75rem; }

.glass-mb-0 { margin-bottom: 0; }
.glass-mb-3 { margin-bottom: 1rem; }
.glass-mb-4 { margin-bottom: 1.5rem; }
.glass-mt-auto { margin-top: auto; }

/* ============================================
   AUTH PAGES
   ============================================ */
.glass-auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.glass-auth-card {
    width: 100%;
    max-width: 400px;
    padding: 2rem 1.5rem;
}

@media (min-width: 768px) {
    .glass-auth-card {
        padding: 2.5rem;
    }
}

.glass-auth-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.glass-auth-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
}

@media (min-width: 768px) {
    .glass-auth-title { font-size: 1.5rem; }
}

.glass-auth-subtitle {
    color: var(--glass-text-muted);
    font-size: 0.875rem;
}

/* ============================================
   EMPTY STATE
   ============================================ */
.glass-empty {
    text-align: center;
    padding: 2rem 1rem;
}

.glass-empty-icon {
    font-size: 3rem;
    color: var(--glass-text-muted);
    margin-bottom: 0.75rem;
    display: block;
}

.glass-empty-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
}

.glass-empty-text {
    color: var(--glass-text-muted);
    font-size: 0.8125rem;
    margin-bottom: 1rem;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}
