@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-primary: #0b0b0d;
    --bg-secondary: #131316;
    --bg-card: rgba(26, 26, 32, 0.65);
    --bg-card-hover: rgba(36, 36, 44, 0.8);
    --accent-color: #e05a00;
    --accent-hover: #ff741a;
    --accent-glow: rgba(224, 90, 0, 0.2);
    --text-primary: #f5f5f7;
    --text-secondary: #a0a0ab;
    --text-muted: #6f6f78;
    --border-color: rgba(255, 255, 255, 0.07);
    --border-focus: rgba(224, 90, 0, 0.4);
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-premium: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Global Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Typography & Links */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
    line-height: 1.6;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--accent-hover);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .grid-3, .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Glassmorphism Cards */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(224, 90, 0, 0.15);
    transform: translateY(-2px);
}

/* Auth / Login Page */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top right, var(--accent-glow), transparent 40%),
                radial-gradient(circle at bottom left, rgba(0,0,0,0.8), var(--bg-primary));
    padding: 20px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    text-align: center;
    animation: fadeIn 0.6s ease-out;
}

.auth-logo {
    margin-bottom: 24px;
    display: inline-block;
}

.auth-logo svg {
    width: 90px;
    height: 90px;
    filter: drop-shadow(0 0 12px var(--accent-color));
}

.auth-title {
    font-size: 28px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* Inputs & Form controls */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 15px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background: rgba(0, 0, 0, 0.4);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a0a0ab'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 14px 0 var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px 0 rgba(224, 90, 0, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}
.btn-danger:hover {
    background: #dc2626;
}

/* App Layout & Navigation */
.app-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo svg {
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 0 4px var(--accent-color));
}

.brand-text h2 {
    font-size: 18px;
    line-height: 1.2;
}

.brand-text span {
    font-size: 12px;
    color: var(--text-muted);
}

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

.nav-user-info {
    text-align: right;
}

.nav-user-name {
    font-weight: 600;
    font-size: 14px;
}

.nav-user-role {
    font-size: 11px;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
}

/* Sidebar Layout Styles */
.app-sidebar {
    width: 260px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    flex-shrink: 0;
    z-index: 100;
}

.app-sidebar.collapsed {
    width: 78px;
}

.sidebar-header {
    height: 70px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.sidebar-toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.sidebar-toggle-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-tabs-vertical {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
}

.app-sidebar .nav-tab-item {
    padding: 14px 20px;
    margin: 4px 12px;
    border-radius: var(--radius-sm);
    border-bottom: none;
    border-left: 3px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    cursor: pointer;
}

.app-sidebar .nav-tab-item:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.app-sidebar .nav-tab-item.active {
    color: var(--accent-color);
    background: rgba(224, 90, 0, 0.08);
    border-left-color: var(--accent-color);
}

/* Collapsed Sidebar adjustments */
.app-sidebar.collapsed .brand-text {
    display: none;
}

.app-sidebar.collapsed .nav-tab-label {
    display: none;
}

.app-sidebar.collapsed .nav-tab-item {
    justify-content: center;
    border-left: none;
    padding: 14px 0;
    margin: 4px 8px;
}

.app-sidebar.collapsed .sidebar-header {
    justify-content: center;
}

.app-sidebar.collapsed .sidebar-toggle-btn svg {
    transform: rotate(180deg);
}

/* Responsive sidebar fallback for mobile screens */
@media (max-width: 768px) {
    #app-container {
        flex-direction: column !important;
    }
    
    /* Top sticky header adjustments */
    .app-header {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        height: 70px;
        z-index: 999;
        background: rgba(19, 19, 22, 0.85) !important;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-color);
    }
    
    .mobile-brand {
        display: flex !important;
    }
    
    /* Main view spacing due to fixed top/bottom headers */
    .main-content {
        padding-top: 94px !important; /* 70px header + padding */
        padding-bottom: 94px !important; /* 70px bottom nav + padding */
    }
    
    /* Fixed Bottom Navigation Bar */
    .app-sidebar {
        position: fixed !important;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100% !important;
        height: 70px !important;
        background: rgba(19, 19, 22, 0.8) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-right: none !important;
        border-top: 1px solid var(--border-color) !important;
        border-bottom: none !important;
        flex-direction: row !important;
        justify-content: center;
        align-items: center;
        z-index: 1000 !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    }
    
    .sidebar-header {
        display: none !important; /* Hide header inside bottom nav */
    }
    
    .sidebar-nav {
        padding: 0 !important;
        height: 100%;
        width: 100%;
        overflow: hidden !important;
    }
    
    .nav-tabs-vertical {
        flex-direction: row !important;
        justify-content: space-around !important;
        align-items: center !important;
        height: 100% !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .app-sidebar .nav-tab-item {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 1 !important;
        height: 100% !important;
        padding: 6px 2px !important;
        margin: 0 !important;
        border-left: none !important;
        border-top: 3px solid transparent !important;
        border-radius: 0 !important;
        gap: 4px !important;
    }
    
    .app-sidebar .nav-tab-item svg {
        width: 22px !important;
        height: 22px !important;
    }
    
    .app-sidebar .nav-tab-item .nav-tab-label {
        font-size: 10px !important;
        font-weight: 600;
        display: inline !important;
    }
    
    .app-sidebar .nav-tab-item.active {
        border-top-color: var(--accent-color) !important;
        background: rgba(224, 90, 0, 0.05) !important;
        color: var(--accent-color) !important;
    }
    
    /* Support active item animations */
    .app-sidebar .nav-tab-item:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
}

/* Dashboard Views */
.main-content {
    flex: 1;
    padding: 32px 0;
}

.view-section {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.view-section.active {
    display: block;
}

.view-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.view-title h1 {
    font-size: 28px;
}
.view-title p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Stat Widgets */
.stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
}
.stat-card.clickable-card {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.stat-card.clickable-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.02);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: rgba(224, 90, 0, 0.1);
    border: 1px solid rgba(224, 90, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-color);
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
}

/* Alert Notification Banner */
.alert-banner {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    color: var(--warning-color);
    font-weight: 500;
}

.alert-banner svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    stroke: var(--warning-color);
}

.alert-banner a {
    color: var(--text-primary);
    text-decoration: underline;
    font-weight: 600;
}

/* Lists and Tables */
.table-responsive {
    overflow-x: auto;
    width: 100%;
}

.table-bjj {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.table-bjj th {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
}

.table-bjj td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    vertical-align: middle;
}

.table-bjj tr:last-child td {
    border-bottom: none;
}

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

/* Badges & Belts Styling */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-orange {
    background: rgba(224, 90, 0, 0.15);
    color: var(--accent-color);
}

.badge-success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success-color);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger-color);
}

/* Jiu-jitsu Belts Visualizer */
.belt-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.belt-white, .belt-branca { background: #ffffff; color: #111111; }
.belt-blue, .belt-azul { background: #0033cc; color: #ffffff; }
.belt-purple, .belt-roxa { background: #6600cc; color: #ffffff; }
.belt-brown, .belt-marrom { background: #4d2600; color: #ffffff; }
.belt-black, .belt-preta { background: #111111; color: #ffffff; border: 1px solid #ff0000; }

/* Kids Belts */
.belt-cinza-e-branca { background: linear-gradient(90deg, #808080 50%, #ffffff 50%); color: #111111; }
.belt-cinza { background: #808080; color: #ffffff; }
.belt-cinza-e-preta { background: linear-gradient(90deg, #808080 50%, #111111 50%); color: #ffffff; }
.belt-amarela-e-branca { background: linear-gradient(90deg, #ffd700 50%, #ffffff 50%); color: #111111; }
.belt-amarela { background: #ffd700; color: #111111; }
.belt-amarela-e-preta { background: linear-gradient(90deg, #ffd700 50%, #111111 50%); color: #ffffff; }
.belt-laranja-e-branca { background: linear-gradient(90deg, #ff8c00 50%, #ffffff 50%); color: #111111; }
.belt-laranja { background: #ff8c00; color: #ffffff; }
.belt-laranja-e-preta { background: linear-gradient(90deg, #ff8c00 50%, #111111 50%); color: #ffffff; }
.belt-verde-e-branca { background: linear-gradient(90deg, #228b22 50%, #ffffff 50%); color: #111111; }
.belt-verde { background: #228b22; color: #ffffff; }
.belt-verde-e-preta { background: linear-gradient(90deg, #228b22 50%, #111111 50%); color: #ffffff; }

.belt-bar {
    width: 24px;
    height: 12px;
    border-radius: 2px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* User avatar and Selfie Flow */
.avatar-container {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 16px;
    border: 3px solid var(--border-color);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.avatar-container:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-glow);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: var(--bg-secondary);
}

.avatar-upload-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.avatar-container:hover .avatar-upload-overlay {
    opacity: 1;
}

.avatar-upload-overlay svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

/* Modals */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

#camera-modal {
    z-index: 1500;
}

.modal-content {
    width: 100%;
    max-width: 500px;
    animation: slideUp 0.3s ease-out;
}

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

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}
.modal-close:hover {
    color: var(--text-primary);
}

/* Event List Cards */
.event-item {
    display: flex;
    gap: 16px;
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

.event-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.event-date-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.event-date-day {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}

.event-date-month {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-muted);
}

.event-details h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.event-details p {
    font-size: 13px;
}

/* AI Camera upload / recognition section */
.dropzone {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    background: rgba(0,0,0,0.1);
    transition: var(--transition);
    margin-bottom: 24px;
}

.dropzone:hover {
    border-color: var(--accent-color);
    background: rgba(224, 90, 0, 0.02);
}

.dropzone svg {
    width: 48px;
    height: 48px;
    stroke: var(--text-muted);
    margin-bottom: 16px;
    transition: var(--transition);
}

.dropzone:hover svg {
    stroke: var(--accent-color);
    transform: scale(1.05);
}

.preview-container {
    margin-top: 20px;
    text-align: center;
    display: none;
}

.group-photo-preview {
    max-width: 100%;
    max-height: 300px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.recognized-list {
    margin-top: 24px;
}

.recognized-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.recognized-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px;
    text-align: center;
    position: relative;
}

.recognized-card.match {
    border-color: var(--success-color);
}
.recognized-card.no-match {
    border-color: var(--danger-color);
    opacity: 0.6;
}

.match-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.no-match-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recognized-card img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 8px;
    background: var(--bg-primary);
}

.recognized-name {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Graduation Tracker Roadmap (Milestones) */
.belt-roadmap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 20px 0;
    margin: 24px 0;
    overflow-x: auto;
}

.belt-roadmap::before {
    content: '';
    position: absolute;
    height: 4px;
    background: var(--border-color);
    left: 20px;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.roadmap-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.roadmap-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
    border: 3px solid var(--bg-secondary);
    transition: var(--transition);
}

.roadmap-step.active .roadmap-circle {
    box-shadow: 0 0 15px var(--accent-glow);
    border-color: var(--accent-color);
}

.roadmap-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 8px;
    color: var(--text-secondary);
}

.roadmap-step.active .roadmap-label {
    color: var(--accent-color);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Utilities */
.text-center { text-align: center; }
.mb-24 { margin-bottom: 24px; }
.mt-24 { margin-top: 24px; }
.mt-12 { margin-top: 12px; }
.mr-8 { margin-right: 8px; }
.text-accent { color: var(--accent-color); }
.text-success { color: var(--success-color); }

.search-bar-container {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.search-bar-container .form-control {
    flex: 1;
}

/* Custom Toast Notifications styling */
.toast-container {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 90%;
    max-width: 400px;
    pointer-events: none;
}

.toast {
    background: rgba(26, 26, 32, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-premium);
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
    animation: toastSlideIn 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.success {
    border-left: 4px solid var(--success-color);
}

.toast.success::before {
    content: "✓";
    color: var(--success-color);
    font-weight: bold;
    font-size: 16px;
}

.toast.error {
    border-left: 4px solid var(--danger-color);
}

.toast.error::before {
    content: "✕";
    color: var(--danger-color);
    font-weight: bold;
    font-size: 16px;
}

.toast.warning {
    border-left: 4px solid var(--warning-color);
}

.toast.warning::before {
    content: "⚠";
    color: var(--warning-color);
    font-weight: bold;
    font-size: 16px;
}

.toast.info {
    border-left: 4px solid var(--accent-color);
}

.toast.info::before {
    content: "ℹ";
    color: var(--accent-color);
    font-weight: bold;
    font-size: 16px;
}

.toast.hide {
    animation: toastSlideOut 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes toastSlideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes toastSlideOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-20px);
        opacity: 0;
    }
}
