:root {
    --primary-color: #2563eb;
    --secondary-color: #7c3aed;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-color: #1f2937;
    --light-color: #f3f4f6;
    --border-color: #e5e7eb;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --sidebar-width: 280px;
    --sidebar-collapsed: 80px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Modern Login Screen Styles */
.modern-login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

/* Floating Background Elements */
.login-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 40px;
    height: 40px;
    top: 30%;
    right: 30%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Main Login Card */
.modern-login-card {
    display: flex;
    width: 900px;
    max-width: 90vw;
    min-height: 600px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    z-index: 2;
    animation: slideUp 0.8s ease-out;
}

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

/* Brand Panel */
.login-brand-panel {
    flex: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    color: white;
}

.brand-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>') 0 0/200px 200px;
    pointer-events: none;
}

.brand-content {
    text-align: center;
    z-index: 1;
    position: relative;
}

.brand-logo-container {
    position: relative;
    margin-bottom: 30px;
}

.modern-logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-radius: 30px;
    filter: blur(15px);
    z-index: -1;
}

.brand-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.brand-tagline {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
    font-weight: 300;
}

.brand-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    opacity: 0.8;
}

.feature-item i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Form Panel */
.login-form-panel {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    align-items: center;
    background: white;
}

.form-container {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

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

/* Modern Form Styles */
.modern-form {
    width: 100%;
}

.modern-input-group {
    margin-bottom: 25px;
}

.modern-input-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    padding: 15px 15px 15px 50px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 1rem;
    background: #f8f9fa;
    transition: all 0.3s ease;
    outline: none;
}

.input-wrapper input:focus {
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.input-wrapper input:focus + .input-icon,
.input-wrapper input:focus ~ .input-icon {
    color: var(--primary-color);
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--primary-color);
}

.input-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.input-wrapper input:focus ~ .input-underline {
    width: 100%;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.checkbox-container input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e1e5e9;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-container input:checked ~ .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-container input:checked ~ .checkmark:after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.forgot-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.forgot-link:hover {
    opacity: 0.8;
}

/* Modern Button */
.modern-btn {
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-btn.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.modern-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

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

.btn-loader {
    display: none;
}

.loader-dots {
    display: flex;
    gap: 4px;
}

.loader-dots div {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: loading 1.4s infinite ease-in-out;
}

.loader-dots div:nth-child(1) { animation-delay: -0.32s; }
.loader-dots div:nth-child(2) { animation-delay: -0.16s; }

@keyframes loading {
    0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
    40% { opacity: 1; transform: scale(1); }
}

.btn-icon {
    transition: transform 0.3s ease;
}

.modern-btn:hover .btn-icon {
    transform: translateX(3px);
}

/* Login Footer */
.login-footer {
    text-align: center;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #e1e5e9;
}

.login-footer p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.security-badges i {
    color: #10b981;
    font-size: 1.2rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-login-card {
        flex-direction: column;
        width: 95vw;
        min-height: 500px;
    }
    
    .login-brand-panel {
        padding: 40px 30px;
    }
    
    .brand-title {
        font-size: 2rem;
    }
    
    .login-form-panel {
        padding: 40px 30px;
    }
    
    .form-header h2 {
        font-size: 1.6rem;
    }
}

/* Legacy Login Styles (keeping for backwards compatibility) */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-box {
    background: white;
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.5s ease;
}

/* Enhanced Social Media Fields */
.social-media-fields {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
}

.social-media-fields .form-group {
    margin-bottom: 15px;
}

.social-media-fields .form-group:last-of-type {
    margin-bottom: 10px;
}

.social-media-fields label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.social-media-fields .form-control {
    transition: all 0.3s ease;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
}

.social-media-fields .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.social-media-fields .form-text {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
    font-style: italic;
}

.social-media-fields .fas,
.social-media-fields .fab {
    width: 16px;
    text-align: center;
}

/* Social Media Info Box */
.social-media-fields > div:last-child {
    background: #e3f2fd;
    padding: 10px;
    border-radius: 6px;
    margin-top: 15px;
    border: 1px solid #bbdefb;
}

.social-media-fields > div:last-child i {
    color: #1976d2;
}

.social-media-fields > div:last-child small {
    color: #1976d2;
    margin-left: 5px;
    font-weight: 500;
}

/* Form Actions Styling */
.form-actions {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.form-actions .btn {
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-actions .btn-primary {
    background: var(--primary-color);
    color: white;
}

.form-actions .btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.form-actions .btn-secondary {
    background: #6b7280;
    color: white;
}

.form-actions .btn-secondary:hover {
    background: #4b5563;
}

/* Form validation styling */
.form-control.is-valid {
    border-color: var(--success-color);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.1);
}

.form-control.is-invalid {
    border-color: var(--danger-color);
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.1);
}

.form-control.is-valid:focus {
    border-color: var(--success-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.form-control.is-invalid:focus {
    border-color: var(--danger-color);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

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

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.login-header h2 {
    color: var(--text-primary);
    font-size: 28px;
    margin-bottom: 8px;
}

.login-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 14px;
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.input-icon input {
    padding-left: 45px;
}

input[type="email"],
input[type="password"],
input[type="text"],
textarea,
select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    transition: var(--transition);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Button Styles */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-secondary {
    background: var(--light-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--border-color);
}

.btn-success {
    background: var(--success-color);
    color: white;
}

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

/* Dashboard Layout */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    background: var(--light-color);
}

/* Enhanced Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: fixed;
    height: 100vh;
    z-index: 1000;
}

.sidebar.collapsed {
    width: var(--sidebar-collapsed);
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.sidebar-logo {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.brand-info h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

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

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
}

.nav-section {
    margin-bottom: 20px;
}

.nav-section-title {
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    gap: 12px;
}

.nav-item:hover {
    background: var(--light-color);
    padding-left: 25px;
}

.nav-item.active {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.1) 0%, transparent 100%);
    color: var(--primary-color);
    border-left: 3px solid var(--primary-color);
}

.nav-badge {
    margin-left: auto;
    background: var(--danger-color);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

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

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

.user-role {
    font-size: 12px;
    color: var(--text-secondary);
}

.btn-logout {
    width: 100%;
    background: transparent;
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
}

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

/* Main Content */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
}

/* Enhanced Top Bar */
.top-bar {
    background: white;
    padding: 15px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-primary);
}

.breadcrumb {
    font-size: 14px;
    color: var(--text-secondary);
}

.search-bar {
    position: relative;
    width: 400px;
}

.search-bar i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.search-bar input {
    width: 100%;
    padding: 10px 15px 10px 40px;
    border: 1px solid var(--border-color);
    border-radius: 25px;
}

.icon-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
}

.icon-btn:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--danger-color);
    color: white;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 10px;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 5px;
    border-radius: 25px;
    transition: var(--transition);
}

.user-menu:hover {
    background: var(--light-color);
}

.user-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

/* Content Wrapper */
.content-wrapper {
    padding: 30px;
    flex: 1;
    overflow-y: auto;
}

/* Cards and Sections */
.content-header {
    margin-bottom: 30px;
}

.content-header h1 {
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.content-header p {
    color: var(--text-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 15px;
}

.stat-icon.primary {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
}

.stat-icon.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.stat-icon.warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Content Cards */
.content-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.card-actions {
    display: flex;
    gap: 10px;
}

.card-body {
    color: var(--text-primary);
}

/* Forms */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-helper {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 5px;
}

/* Rich Text Editor */
.editor-toolbar {
    display: flex;
    gap: 5px;
    padding: 10px;
    background: var(--light-color);
    border: 1px solid var(--border-color);
    border-bottom: none;
    border-radius: 10px 10px 0 0;
}

.editor-btn {
    padding: 8px 12px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.editor-btn:hover {
    background: var(--primary-color);
    color: white;
}

.editor-content {
    min-height: 200px;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 0 0 10px 10px;
    background: white;
}

/* Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background: var(--light-color);
}

.data-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.data-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
}

.data-table tbody tr:hover {
    background: var(--light-color);
}

/* Image Gallery */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.image-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: var(--light-color);
    aspect-ratio: 1;
    cursor: pointer;
    transition: var(--transition);
}

.image-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 15px;
}

.image-item:hover .image-overlay {
    opacity: 1;
}

.image-actions {
    display: flex;
    gap: 10px;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.modal-container {
    position: relative;
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: modalSlide 0.3s ease;
}

.modal-large {
    max-width: 900px;
}

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

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

.modal-header h2 {
    font-size: 20px;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--light-color);
    color: var(--danger-color);
}

.modal-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
}

.modal-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Media Upload Area */
.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    transition: var(--transition);
}

.upload-area.active {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.upload-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.media-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 3000;
}

.toast {
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 300px;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

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

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

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4000;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Additional styles for new components */
.quick-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

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

.badge-primary {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.hero-preview {
    background: var(--light-color);
    padding: 20px;
    border-radius: 10px;
}

.image-upload-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.programs-grid, .services-list, .testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.program-item, .service-item, .testimonial-item {
    background: var(--light-color);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.item-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.rating {
    color: #fbbf24;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .search-bar {
        width: 250px;
    }
}

/* Media Library Styles */
.media-upload-area {
    margin-bottom: 30px;
    padding: 20px;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    background: var(--light-color);
}

.upload-zone {
    text-align: center;
    padding: 40px 20px;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 8px;
}

.upload-zone:hover, .upload-zone.drag-over {
    background: #e0e7ff;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.upload-zone i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.upload-zone:hover i, .upload-zone.drag-over i {
    color: var(--primary-color);
}

.upload-progress {
    margin-top: 20px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
    width: 0%;
}

.media-filters {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    background: white;
    color: var(--text-secondary);
    border-radius: 20px;
    transition: var(--transition);
    cursor: pointer;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    min-height: 200px;
}

.media-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.media-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.media-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.media-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.media-item:hover .media-overlay {
    opacity: 1;
}

.media-info {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.media-filename {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.media-size {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.image-preview-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    max-height: 70vh;
}

.image-preview-main {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
}

.image-preview-main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.image-preview-details {
    padding: 20px;
}

.image-preview-details h3 {
    margin-bottom: 15px;
    color: var(--text-primary);
    word-break: break-all;
}

.image-preview-details p {
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.image-actions {
    margin: 30px 0;
    padding: 20px;
    background: var(--light-color);
    border-radius: 8px;
}

.image-actions h4 {
    margin-bottom: 15px;
    color: var(--text-primary);
}

.checkbox-label {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
    color: var(--text-secondary);
}

.checkbox-label input {
    margin-right: 8px;
}

.danger-zone {
    margin-top: 30px;
    padding: 20px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
}

.loading-spinner {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

/* Image Input Group */
.image-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.image-input-group .form-control {
    flex: 1;
}

.image-select-btn {
    white-space: nowrap;
}

.image-preview-small {
    margin-top: 10px;
}

/* Image Selector Modal */
.image-selector-modal .modal-container {
    max-width: 800px;
    max-height: 80vh;
}

.image-selector-content {
    padding: 20px 0;
}

.image-upload-quick {
    text-align: center;
    margin-bottom: 20px;
}

.divider {
    text-align: center;
    margin: 20px 0;
    color: var(--text-secondary);
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: var(--border-color);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.image-selector-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.image-selector-item:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.image-selector-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-selector-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 8px;
    font-size: 0.8rem;
    text-align: center;
}

.loading {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
    grid-column: 1 / -1;
}



/* Enhanced Image Manager Styles */
.image-selector-modal .modal-container {
    max-width: 900px;
    height: 80vh;
}

.image-manager-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    height: 100%;
}

.image-manager-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.upload-section {
    padding: 15px;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    text-align: center;
    background: var(--light-color);
}

.website-tabs {
    display: flex;
    gap: 5px;
    background: var(--light-color);
    padding: 5px;
    border-radius: 8px;
}

.website-tabs .tab-btn {
    flex: 1;
    padding: 8px 12px;
    border: none;
    background: transparent;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.website-tabs .tab-btn.active {
    background: var(--primary-color);
    color: white;
}

.website-tabs .tab-btn:hover:not(.active) {
    background: rgba(59, 130, 246, 0.1);
}

.images-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: white;
}

.image-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.image-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.image-item.selected {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.image-thumbnail {
    position: relative;
    width: 100%;
    height: 80px;
    overflow: hidden;
}

.image-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.image-item:hover .image-overlay {
    opacity: 1;
}

.image-info {
    padding: 5px;
    background: white;
}

.image-name {
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.image-manager-right {
    display: flex;
    flex-direction: column;
}

.image-preview-area {
    flex: 1;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-selection {
    text-align: center;
    color: var(--text-secondary);
}

.no-selection i {
    font-size: 3rem;
    margin-bottom: 10px;
    opacity: 0.5;
}

.image-preview-selected {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.preview-image {
    flex: 1;
    width: 100%;
    object-fit: contain;
    border-radius: 8px;
    background: white;
}

.image-details {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.image-details h4 {
    margin: 0 0 10px 0;
    font-size: 1rem;
    color: var(--text-primary);
}

.image-details p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.image-actions {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.no-images, .error-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.no-images i, .error-state i {
    font-size: 2rem;
    margin-bottom: 10px;
    opacity: 0.5;
}

/* Image Input Groups */
.image-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.image-input-group .form-control {
    flex: 1;
}

.image-input-group .image-select-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

.image-preview-container {
    padding: 10px;
    border: 1px dashed var(--border-color);
    border-radius: 8px;
    text-align: center;
    background: var(--light-color);
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-preview-container img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}
    
@media (max-width: 768px) {
    .top-bar-center {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .content-wrapper {
        padding: 20px;
    }
    
    .quick-actions {
        flex-direction: column;
    }
    
    .action-bar {
        flex-direction: column;
    }
    
    .image-upload-area {
        flex-direction: column;
        text-align: center;
    }
    
    .media-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .image-preview-content {
        grid-template-columns: 1fr;
    }
    
    /* Image Manager Mobile Styles */
    .image-manager-content {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .image-manager-right {
        order: -1;
        max-height: 200px;
    }
    
    .images-grid {
        max-height: 300px;
    }
    
    .image-selector-modal .modal-container {
        height: 90vh;
        max-width: 95%;
    }
}

/* Analytics Charts Styling */
.chart-container {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    position: relative;
    height: 400px; /* Fixed height for chart containers */
}

.chart-container h4 {
    margin-bottom: 15px;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    height: 30px; /* Fixed height for title */
}

.chart-container canvas {
    max-width: 100% !important;
    height: 320px !important; /* Fixed height for canvas, accounting for title */
    border-radius: 4px;
}

/* Specific chart container heights */
.chart-container:has(#visitorsChart) {
    height: 450px;
}

.chart-container:has(#sourcesChart) {
    height: 400px;
}

/* Analytics Stats Cards */
.analytics-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.stat-icon.users { background: var(--primary-color); }
.stat-icon.pages { background: var(--success-color); }
.stat-icon.sessions { background: var(--warning-color); }
.stat-icon.bounce { background: var(--danger-color); }

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.stat-change {
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 4px;
}

.stat-change.positive {
    color: var(--success-color);
}

.stat-change.negative {
    color: var(--danger-color);
}

/* Analytics Insights */
.analytics-insights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.insights-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.insights-card h4 {
    margin-bottom: 15px;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Device Stats */
.device-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.device-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.device-stat:last-child {
    border-bottom: none;
}

.device-stat i {
    width: 20px;
    text-align: center;
    color: var(--text-secondary);
}

.device-name {
    flex: 1;
    color: var(--text-primary);
    font-weight: 500;
}

.device-percentage {
    color: var(--text-secondary);
    font-weight: 600;
}

/* Browser Stats */
.browser-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.browser-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.browser-stat:last-child {
    border-bottom: none;
}

.browser-stat i {
    width: 20px;
    text-align: center;
    color: var(--text-secondary);
}

.browser-name {
    flex: 1;
    color: var(--text-primary);
    font-weight: 500;
}

.browser-percentage {
    color: var(--text-secondary);
    font-weight: 600;
}

/* Analytics Controls */
.analytics-controls {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.analytics-controls h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.timeframe-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeframe-selector label {
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0;
}

.timeframe-selector select {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 8px 12px;
    background: white;
    color: var(--text-primary);
    font-size: 0.875rem;
}

/* Chart Responsive Design */
@media (max-width: 768px) {
    .analytics-stats {
        grid-template-columns: 1fr;
    }
    
    .chart-container {
        padding: 15px;
        margin-bottom: 15px;
        height: 350px; /* Smaller height for mobile */
    }
    
    .chart-container canvas {
        height: 250px !important; /* Smaller canvas for mobile */
    }
    
    .chart-container:has(#visitorsChart) {
        height: 380px;
    }

    .chart-container:has(#sourcesChart) {
        height: 350px;
    }
    
    .analytics-insights {
        grid-template-columns: 1fr;
    }
    
    .analytics-controls {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .timeframe-selector {
        justify-content: center;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

/* Storage Info Styling */
.storage-info {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 15px;
    border: 1px solid var(--border-color);
}

.storage-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid var(--border-color);
}

.storage-item:last-child {
    border-bottom: none;
}

.storage-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    margin-top: 8px;
    border-top: 2px solid var(--border-color);
}

.storage-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.storage-value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.875rem;
}
    