/* style.css */
:root {
    --bg-primary: #080710;
    --bg-secondary: #0d0c1d;
    --bg-tertiary: #16152b;
    
    --glass-bg: rgba(16, 15, 30, 0.55);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-highlight: rgba(255, 255, 255, 0.08);
    
    --text-primary: #ffffff;
    --text-secondary: #a0a0b8;
    --text-muted: #6b6b83;
    
    --color-blue: #3b82f6;
    --color-blue-glow: rgba(59, 130, 246, 0.35);
    --color-purple: #8b5cf6;
    --color-purple-glow: rgba(139, 92, 246, 0.35);
    --color-green: #10b981;
    --color-green-glow: rgba(16, 185, 129, 0.35);
    --color-yellow: #f59e0b;
    --color-yellow-glow: rgba(245, 158, 11, 0.35);
    --color-red: #ef4444;
    --color-red-glow: rgba(239, 68, 68, 0.35);
    
    --sidebar-width: 260px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-code: 'Courier New', Courier, monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

/* Ambient Background Glows */
.bg-glow-1 {
    position: fixed;
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
}

.bg-glow-2 {
    position: fixed;
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(100px);
}

/* Glassmorphism Styles */
.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Utility Elements */
.hidden {
    display: none !important;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-get {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.badge-post {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.25);
}

.badge-count {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Form Styles */
.input-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.input-wrapper input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--color-blue);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 12px var(--color-blue-glow);
}

.input-wrapper input:focus + i {
    color: var(--color-blue);
}

.input-tip {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 1px solid transparent;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: var(--color-blue);
    color: #ffffff;
}

.btn-primary:hover {
    background: #2563eb;
    box-shadow: 0 0 15px var(--color-blue-glow);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-color: var(--glass-border);
}

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

.btn-mini {
    padding: 4px 8px;
    font-size: 0.75rem;
    border-radius: 4px;
}

/* LOGIN LAYOUT */
#login-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    background: var(--bg-primary);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

#login-container.active {
    opacity: 1;
    pointer-events: all;
}

.login-card {
    width: 100%;
    max-width: 400px;
    padding: 2.5rem;
    border-radius: 16px;
    animation: cardEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-purple) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.login-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
    background: linear-gradient(90deg, #ffffff 30%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-header p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.error-msg {
    color: var(--color-red);
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.15);
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}

/* MAIN DASHBOARD LAYOUT */
#dashboard-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    animation: fadeIn var(--transition-normal) forwards;
}

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

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    flex-shrink: 0;
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    z-index: 100;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    padding-left: 0.5rem;
}

.sidebar-header i {
    font-size: 1.5rem;
    color: var(--color-blue);
}

.logo-spin {
    animation: spin 8s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.sidebar-header h2 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
    border: 1px solid transparent;
}

.menu-item:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.menu-item.active {
    color: var(--text-primary);
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.menu-item i {
    font-size: 1.05rem;
    width: 20px;
}

.sidebar-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 1rem;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-purple) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-info .username {
    font-size: 0.85rem;
    font-weight: 600;
}

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

.btn-logout {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-logout:hover {
    color: var(--color-red);
    background: rgba(239, 68, 68, 0.08);
}

/* Content Area */
.content-area {
    flex-grow: 1;
    padding: 2rem;
    overflow-y: auto;
    height: 100vh;
}

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

.header-title h1 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.header-title p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.connection-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

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

.connected .status-dot {
    background-color: var(--color-green);
    box-shadow: 0 0 8px var(--color-green);
}

.disconnected .status-dot {
    background-color: var(--color-red);
    box-shadow: 0 0 8px var(--color-red);
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.stat-card {
    padding: 1.25rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.icon-blue {
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-blue);
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.icon-purple {
    background: rgba(139, 92, 246, 0.1);
    color: var(--color-purple);
    border: 1px solid rgba(139, 92, 246, 0.15);
}

.icon-green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-green);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.icon-yellow {
    background: rgba(245, 158, 11, 0.1);
    color: var(--color-yellow);
    border: 1px solid rgba(245, 158, 11, 0.15);
}

.stat-details h3 {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Toolbar Toolbar Controls */
.toolbar {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.search-box {
    position: relative;
    flex-grow: 1;
    max-width: 450px;
    display: flex;
    align-items: center;
}

.search-box i {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
}

.search-box input {
    width: 100%;
    padding: 0.65rem 1rem 0.65rem 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.search-box input:focus {
    outline: none;
    border-color: var(--color-blue);
    background: rgba(255, 255, 255, 0.04);
}

.toolbar-options {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Toggle Control Switch */
.toggle-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    user-select: none;
}

.toggle-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 22px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    transition: .3s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-secondary);
    transition: .3s;
}

input:checked + .slider {
    background-color: var(--color-blue);
    border-color: transparent;
}

input:checked + .slider:before {
    transform: translateX(20px);
    background-color: #ffffff;
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Select Wrapper */
.select-wrapper {
    position: relative;
}

.select-wrapper select {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 0.6rem 2.25rem 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    appearance: none;
    outline: none;
}

.select-wrapper::after {
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: var(--text-secondary);
    pointer-events: none;
}

/* Logs Table Container */
.table-container {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
}

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

.logs-table th {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.logs-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.9rem;
    vertical-align: middle;
    transition: var(--transition-fast);
}

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

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

.logs-table td code {
    font-family: var(--font-code);
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.04);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Specific Cell Content Styling */
.cell-country {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cell-country span.flag {
    font-size: 1.25rem;
}

.cell-time {
    display: flex;
    flex-direction: column;
}

.time-relative {
    font-weight: 500;
}

.time-absolute {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

.cell-client {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.client-tag {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.client-tag i {
    font-size: 0.8rem;
}

/* Detail Button */
.btn-detail {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-detail:hover {
    color: var(--color-blue);
    border-color: var(--color-blue);
    background: var(--color-blue-glow);
}

/* Table Empty and Loader states */
.table-empty {
    text-align: center;
    padding: 4rem 2rem !important;
}

.table-empty p {
    color: var(--text-muted);
    margin-top: 1rem;
    font-size: 0.95rem;
}

.loading-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(59, 130, 246, 0.1);
    border-top: 3px solid var(--color-blue);
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 1s linear infinite;
}

/* TAB CONTENT SYSTEM */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeUp 0.3s ease;
}

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

/* CONFIGURATION VIEW styles */
.config-card {
    padding: 2rem;
    border-radius: 16px;
    max-width: 650px;
}

.config-card h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.config-status-alert {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 2rem;
}

.config-status-alert i {
    color: var(--color-blue);
    font-size: 1.1rem;
    margin-top: 2px;
}

.config-form .btn {
    margin-top: 1rem;
}

/* DETAIL MODAL SCREEN */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.modal-overlay:not(.hidden) {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalEntrance 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalEntrance {
    from {
        transform: translateY(20px) scale(0.95);
    }
    to {
        transform: translateY(0) scale(1);
    }
}

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

.modal-header h3 {
    font-size: 1.15rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-header h3 i {
    color: var(--color-purple);
}

.modal-close-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

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

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Info Grid inside Modal */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 1rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-item label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-val {
    font-size: 0.9rem;
    font-weight: 500;
}

.info-val.code {
    font-family: var(--font-code);
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.modal-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.section-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-section h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.code-viewer {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 1rem;
    max-height: 250px;
    overflow: auto;
}

.code-viewer code {
    font-family: var(--font-code);
    font-size: 0.8rem;
    color: #34d399;
    white-space: pre-wrap;
    word-break: break-all;
}

/* Toast Notification System */
#toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--color-blue);
    padding: 0.85rem 1.25rem;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 250px;
    animation: toastSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-success {
    border-left-color: var(--color-green);
}

.toast-error {
    border-left-color: var(--color-red);
}

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

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    #dashboard-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.5rem;
    }
    
    .sidebar-header {
        margin-bottom: 0;
    }
    
    .sidebar-menu {
        flex-direction: row;
        gap: 0.5rem;
        flex-grow: 0;
    }
    
    .sidebar-footer {
        border-top: none;
        margin-top: 0;
        padding-top: 0;
        gap: 1rem;
    }
    
    .user-profile {
        display: none;
    }
    
    .content-area {
        height: auto;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .sidebar {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .sidebar-menu {
        justify-content: center;
    }
    
    .content-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .header-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .toolbar-options {
        justify-content: space-between;
    }
}
