:root {
    --accent: #38beba;          /* Your preferred teal for buttons/links/borders */
    --accent-hover: #2a9a96;    /* Darker teal on hover */
    --accent-light: rgba(56, 190, 186, 0.1);
    --secondary: #ff6b35;       /* Orange accent from logo */
    --tertiary: #2d3748;       /* Lighter navy */
    --primary: #1a202c;
    --text: #2d3748;
    --text-light: #718096;
    --text-muted: #a0aec0;
    --background: #f7fafc;
    --surface: #ffffff;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --radius-lg: 16px;
    --sidebar-width: 280px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* App Layout */
.app-container {
    display: flex;
    height: 100vh;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: var(--surface);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 200;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: width 0.3s ease, transform 0.3s ease;
}

.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid var(--border-light);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
}

.logo-brand {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-rave {
    color: var(--accent);
    position: relative;
}

.logo-rave::after {
    content: '•';
    color: var(--accent);
    font-size: 0.8em;
    margin-left: 2px;
    opacity: 0.7;
}

.logo-up {
    color: var(--text);
    position: relative;
    margin-left: -2px;
}

.logo-text, .logo h1 {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.tagline {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
}

.nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    margin: 0 12px 4px;
    border-radius: var(--radius);
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

.nav-item:hover {
    background: var(--accent-light);
    color: var(--accent);
}

.nav-item.active {
    background: var(--accent);
    color: white;
}

.nav-item i {
    width: 20px;
    font-size: 16px;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid var(--border-light);
}

.stats-card {
    background: var(--background);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.upgrade-prompt {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-radius: var(--radius);
    padding: 16px;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
}

.upgrade-prompt i {
    font-size: 20px;
    opacity: 0.9;
}

.upgrade-prompt h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.upgrade-prompt p {
    font-size: 12px;
    opacity: 0.9;
    margin: 0;
}

.upgrade-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: auto;
}

.upgrade-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: margin-left 0.3s ease, width 0.3s ease;
}

.main-header {
    height: var(--header-height);
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
}

/* Floating Hamburger Button */
.floating-hamburger {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.floating-hamburger:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(56, 190, 186, 0.4);
}

.floating-hamburger:active {
    transform: scale(0.95);
}

.floating-hamburger.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.floating-hamburger.active i {
    transform: rotate(90deg);
}

/* Mobile Menu Toggle - Remove old styles */
.mobile-menu-toggle {
    display: none !important;
}

.floating-hamburger.active i {
    transform: rotate(90deg);
}

/* Enhanced Sidebar Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 199;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    pointer-events: none; /* CRITICAL FIX: No interaction when hidden */
}

.sidebar-overlay.active {
    display: block; /* CRITICAL FIX: Show overlay when active */
    opacity: 1;
    pointer-events: auto; /* CRITICAL FIX: Allow interaction when active */
}

.header-left {
    display: flex;
    align-items: center;
}

.header-text {
    flex: 1;
}

/* Sidebar Close Button - Mobile Only */
.sidebar-close {
    display: none;
    position: absolute;
    top: 24px;
    right: 20px;
    background: none;
    border: none;
    font-size: 18px;
    color: var(--text-light);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    min-width: 36px;
    min-height: 36px;
    align-items: center;
    justify-content: center;
}

.sidebar-close:hover {
    background: var(--accent-light);
    color: var(--accent);
}

.sidebar-close:active {
    transform: scale(0.95);
}

/* Desktop Sidebar Collapse Button */
.sidebar-collapse-btn {
    display: none; /* Hidden by default, shown only on desktop */
    position: absolute;
    top: 24px;
    right: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 16px;
    color: var(--text-light);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    min-width: 36px;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sidebar-collapse-btn:hover {
    background: var(--accent-light);
    color: var(--accent);
    border-color: var(--accent);
}

.sidebar-collapse-btn:active {
    transform: scale(0.95);
}

/* Collapsed sidebar state for desktop */
.sidebar.collapsed {
    width: 80px;
}

.sidebar.collapsed .sidebar-header .logo h1,
.sidebar.collapsed .sidebar-header .tagline,
.sidebar.collapsed .nav-item span,
.sidebar.collapsed .sidebar-footer {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.sidebar.collapsed .sidebar-header .logo {
    justify-content: center;
    transition: justify-content 0.3s ease;
}

.sidebar.collapsed .sidebar-header .logo-img {
    margin-right: 0;
    transition: margin-right 0.3s ease;
}

.sidebar.collapsed .nav-item {
    justify-content: center;
    padding: 0;
    margin: 0 auto 8px auto;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.05);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.sidebar.collapsed .nav-item i {
    margin: 0;
    margin-left: -4px; /* Base adjustment */
    font-size: 18px;
    color: var(--text-light);
    opacity: 1 !important;
    visibility: visible !important;
    transition: color 0.3s ease;
}

/* Individual icon centering adjustments */
.sidebar.collapsed .nav-item .fa-home {
    margin-left: -75px; /* Home icon - DOUBLE EXCAVATOR PRECISION PULL */
}

.sidebar.collapsed .nav-item .fa-star {
    margin-left: -90px; /* Star icon - FENCE CUTTING DEMOLITION CREW */
}

.sidebar.collapsed .nav-item .fa-link {
    margin-left: -100px; /* Link icon - TRIPLE DIGIT NUCLEAR FENCE DESTRUCTION! */
}

.sidebar.collapsed .nav-item .fa-palette {
    margin-left: -70px; /* Palette icon - PERFECT WHERE IT IS! */
}

.sidebar.collapsed .nav-item .fa-plus-circle {
    margin-left: -75px; /* Plus icon - DOUBLE EXCAVATOR PRECISION PULL */
}

/* Tooltip for collapsed nav items */
.sidebar.collapsed .nav-item {
    position: relative;
}

.sidebar.collapsed .nav-item:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 12px;
    background: var(--surface);
    color: var(--text);
    padding: 8px 12px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border);
    z-index: 1000;
    opacity: 0;
    animation: tooltipFadeIn 0.2s ease forwards;
}

@keyframes tooltipFadeIn {
    from { opacity: 0; transform: translateY(-50%) translateX(-5px); }
    to { opacity: 1; transform: translateY(-50%) translateX(0); }
}

.sidebar.collapsed .sidebar-collapse-btn i {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

/* Add transitions to elements that will be hidden/shown */
.sidebar-header .logo h1,
.sidebar-header .tagline,
.nav-item span,
.sidebar-footer {
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.sidebar-header .logo,
.sidebar-header .logo-img,
.nav-item,
.nav-item i,
.sidebar-collapse-btn i {
    transition: all 0.3s ease;
}

/* Adjust main content when sidebar is collapsed */
.main-content.sidebar-collapsed {
    margin-left: 80px;
    width: calc(100% - 80px);
}

/* Desktop-only styles */
@media (min-width: 769px) {
    .sidebar-collapse-btn {
        display: flex;
    }
    
    .sidebar-close {
        display: none !important;
    }
}

/* Sidebar Overlay for Mobile */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 150;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* CRITICAL FIX: No interaction when hidden */
}

.sidebar-overlay.active {
    display: block; /* CRITICAL FIX: Show overlay when active */
    opacity: 1;
    pointer-events: auto; /* CRITICAL FIX: Allow interaction when active */
}

.header-left h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
}

.header-left p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* User Settings Dropdown */
.user-settings-dropdown {
    position: relative;
    display: inline-block;
}

.user-settings-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 140px;
}

.user-settings-btn:hover {
    background: var(--background);
    border-color: var(--accent);
    color: var(--accent);
}

.user-settings-btn.active {
    background: var(--accent-light);
    border-color: var(--accent);
    color: var(--accent);
}

.user-settings-btn .dropdown-arrow {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.user-settings-btn.active .dropdown-arrow {
    transform: rotate(180deg);
}

.user-settings-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    width: 320px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.user-settings-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* User Info Section */
.user-info-section {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: 50%;
    color: var(--accent);
    font-size: 24px;
}

.user-details {
    flex: 1;
}

.user-name-display {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.user-email-display {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.user-plan-display {
    font-size: 12px;
    color: var(--accent);
    font-weight: 500;
    background: var(--accent-light);
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
}

/* Menu Divider */
.menu-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0;
}

/* Upgrade Section */
.upgrade-section {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.upgrade-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.upgrade-icon {
    color: var(--secondary);
    font-size: 18px;
}

.upgrade-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 2px 0;
}

.upgrade-info p {
    font-size: 12px;
    color: var(--text-light);
    margin: 0;
}

.upgrade-btn-menu {
    padding: 6px 12px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.upgrade-btn-menu:hover {
    background: #e55a2b;
    transform: translateY(-1px);
}

/* Menu Actions */
.menu-actions {
    padding: 12px 0;
}

.menu-action-btn {
    width: 100%;
    padding: 12px 20px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.menu-action-btn:hover {
    background: var(--background);
    color: var(--accent);
}

.menu-action-btn.logout-btn:hover {
    background: #fee;
    color: #dc3545;
}

.menu-action-btn i {
    width: 16px;
    text-align: center;
}

/* Content Wrapper */
.content-wrapper {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
    width: 100%;
    box-sizing: border-box;
}

/* Enhanced mobile responsive for content wrapper */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 20px 16px;
    }
}

@media (max-width: 480px) {
    .content-wrapper {
        padding: 16px 12px;
    }
}

/* Panel Header Row for Testimonial Actions */
.panel-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.panel-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

/* Mobile responsive for panel actions */
@media (max-width: 768px) {
    .panel-actions {
        gap: 6px;
        justify-content: center;
        width: 100%;
    }
    
    .panel-actions .btn {
        flex: 1;
        min-width: 120px;
        padding: 10px 8px;
        font-size: 12px;
    }
    
    .panel-actions .btn span {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .panel-actions {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .panel-actions .btn {
        width: 100%;
        min-width: unset;
        justify-content: center;
    }
}

.panel-action-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--accent);
    background: none;
    border: none;
    padding: 2px 8px;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.panel-action-link i {
    font-size: 13px;
}
.panel-action-link:hover {
    background: var(--accent-light);
    color: var(--primary);
    text-decoration: underline;
}

.content-section {
    display: none;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

.content-section.active {
    display: block;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    height: fit-content;
}

/* Mobile responsive for content sections */
@media (max-width: 768px) {
    .content-section {
        padding: 16px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .content-section {
        padding: 12px;
    }
    
    .content-grid {
        gap: 16px;
    }
}

/* Panels */
.form-panel,
.preview-panel {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.panel-header {
    padding: 24px 24px 20px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.panel-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.panel-header p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

.preview-actions {
    display: flex;
    gap: 8px;
}

/* Form Styles */
.testimonial-form {
    padding: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    background: var(--surface);
    color: var(--text);
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.char-count {
    text-align: right;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Rating Input */
.rating-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rating-stars {
    display: flex;
    gap: 4px;
    font-size: 24px;
    cursor: pointer;
}

.rating-stars span {
    color: var(--border);
    transition: all 0.2s ease;
}

.rating-stars span:hover,
.rating-stars span.active {
    color: #ffc107;
    transform: scale(1.1);
}

.rating-text {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-sizing: border-box;
}

/* Enhanced mobile responsive for buttons */
@media (max-width: 768px) {
    .btn {
        padding: 12px 16px;
        font-size: 13px;
        min-height: 44px; /* Touch-friendly minimum height */
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 14px 12px;
        font-size: 12px;
        min-height: 48px; /* Larger touch target on small screens */
        gap: 6px;
    }
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent-light);
}

.btn-success {
    background: #28a745;
    color: white;
    border: 1px solid #28a745;
}

.btn-success:hover {
    background: #218838;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: 1px solid #6c757d;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.form-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
    width: 100%;
    box-sizing: border-box;
}

/* Mobile responsive for form actions */
@media (max-width: 480px) {
    .form-actions {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 24px;
        padding-top: 20px;
    }
}

/* Preview Panel */
.testimonial-preview {
    padding: 24px;
    border-bottom: 1px solid var(--border-light);
}

.testimonials-list {
    padding: 24px;
}

.testimonials-list h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

#testimonials-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    padding: 0;
}

/* Mobile responsive for testimonials */
@media (max-width: 768px) {
    #testimonials-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    #testimonials-container {
        gap: 12px;
    }
}

/* Testimonial Card */
.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    position: relative;
    transition: all 0.3s ease;
    margin-bottom: 0; /* Remove bottom margin since grid handles spacing */
    width: 100%;
    box-sizing: border-box;
}

.testimonial-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* Mobile responsive testimonial cards */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 16px;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: 12px;
        border-radius: 6px;
    }
}

.testimonial-card.pending {
    border-left: 4px solid #f59e0b;
}

.testimonial-card.approved {
    border-left: 4px solid #10b981;
}

.testimonial-card.rejected {
    border-left: 4px solid #ef4444;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.testimonial-rating {
    color: #ffc107;
    font-size: 16px;
}

.testimonial-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-transform: capitalize;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-approved {
    background: #d1fae5;
    color: #065f46;
}

.status-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.testimonial-date {
    font-size: 12px;
    color: var(--text-light);
}

.testimonial-actions {
    display: flex;
    gap: 8px;
}

.approve-testimonial,
.delete-testimonial {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.approve-testimonial {
    color: #10b981;
}

.approve-testimonial:hover {
    background: #d1fae5;
    border-color: #10b981;
}

.delete-testimonial {
    color: #ef4444;
}

.delete-testimonial:hover {
    background: #fee2e2;
    border-color: #ef4444;
}

.testimonial-content {
    margin-bottom: 16px;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 16px;
    font-size: 15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 4px;
}

.testimonial-author .author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-author strong {
    font-weight: 600;
    color: var(--primary);
}

.author-title {
    font-size: 13px;
    color: var(--text-light);
}

.author-email {
    font-size: 13px;
    color: var(--text-light);
    font-style: italic;
}

.testimonial-card .rating {
    color: #ffc107;
    font-size: 16px;
    margin-bottom: 12px;
}

.testimonial-card .content {
    font-style: italic;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 16px;
    font-size: 15px;
}

.testimonial-card .author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card .author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--accent);
    font-size: 14px;
}

.testimonial-card .author-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-card .author-details .author-name {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2px;
}

.testimonial-card .author-details .author-title {
    font-size: 13px;
    color: var(--text-light);
}

.delete-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--background);
    border: 1px solid var(--border);
    color: #e53e3e;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0;
}

.testimonial-card:hover .delete-btn {
    opacity: 1;
}

.delete-btn:hover {
    background: #fed7d7;
    transform: scale(1.1);
}

/* Video Badge and Player Styles */
.video-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #38beba, #2a9a96);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-right: 8px;
    box-shadow: 0 2px 4px rgba(56, 190, 186, 0.3);
}

.video-badge i {
    font-size: 10px;
}

.testimonial-video {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.testimonial-video video {
    max-width: 400px;
    max-height: 400px;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: transparent;
    object-fit: contain;
    display: block;
}

.testimonial-video video:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Responsive video styles */
@media (max-width: 768px) {
    .video-badge {
        font-size: 10px;
        padding: 3px 6px;
    }
    
    .testimonial-video {
        margin-bottom: 12px;
    }
}

/* Templates Section */
.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.template-card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.template-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.template-card.active {
    border-color: var(--accent);
    background: var(--accent-light);
}

.template-preview {
    margin-bottom: 16px;
    padding: 16px;
    background: var(--background);
    border-radius: var(--radius);
}

.template-testimonial {
    font-size: 14px;
}

.template-testimonial.minimal {
    text-align: center;
}

.template-testimonial.quote {
    position: relative;
    padding-left: 40px;
}

.quote-icon {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 32px;
    color: var(--accent);
    line-height: 1;
}

.template-rating {
    color: #ffc107;
    margin-bottom: 8px;
}

.template-author {
    margin-top: 8px;
    font-size: 12px;
}

.template-author strong {
    display: block;
    color: var(--primary);
}

.template-author span {
    color: var(--text-light);
}

.template-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.template-card p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

.template-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.template-actions .btn {
    flex: 1;
    padding: 10px 16px;
    font-size: 14px;
    border-radius: 8px;
    text-align: center;
    justify-content: center;
}

.template-actions .btn i {
    margin-right: 6px;
}

.template-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    margin-bottom: 16px;
}

.feature-tag {
    background: var(--accent-light);
    color: var(--accent);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

/* Export Section */
.export-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.export-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.export-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.export-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.export-icon i {
    font-size: 24px;
    color: var(--accent);
}

.export-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.export-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 24px;
}

.format-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.format-selector label {
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
}

.format-selector select {
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
}

/* Settings Section */
.settings-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.settings-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.settings-panel h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
}

.setting-group {
    margin-bottom: 20px;
}

.setting-group label {
    display: block;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
    font-size: 14px;
}

.setting-group input[type="color"] {
    width: 60px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 4px;
    cursor: pointer;
}

.setting-group input[type="range"] {
    width: 100%;
    margin-right: 12px;
}

#quality-value {
    font-weight: 600;
    color: var(--accent);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--surface);
    border-radius: var(--radius-lg);
    max-width: 800px;
    max-height: 90vh;
    width: 100%;
    overflow: hidden;
}

/* Export Modal - Make it larger */
#export-modal .modal-content {
    max-width: 1100px;
    width: 98%;
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
}

.modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--background);
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--border);
}

.modal-body {
    padding: 24px;
    text-align: center;
    max-height: 60vh;
    overflow: auto;
}

.modal-body img {
    max-width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.modal-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

/* Upgrade Modal Styles */
.upgrade-modal .modal-content {
    max-width: 900px;
    width: 90vw;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.plan-card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    position: relative;
    transition: all 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.plan-card.current {
    border-color: var(--text-light);
}

.plan-card.premium {
    border-color: var(--secondary);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(247, 147, 30, 0.05));
}

.plan-card.enterprise {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(56, 190, 186, 0.05), rgba(42, 154, 150, 0.05));
}

.plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.plan-header {
    text-align: center;
    margin-bottom: 20px;
}

.plan-header h4 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.plan-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent);
}

.plan-price span {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.plan-features {
    list-style: none;
    margin: 0 0 24px 0;
    padding: 0;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    color: var(--text);
}

.plan-features i {
    color: var(--accent);
    font-size: 14px;
    width: 16px;
}

.plan-btn {
    width: 100%;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.current-plan {
    background: var(--border);
    color: var(--text-light);
    cursor: not-allowed;
}

.upgrade-btn {
    background: var(--secondary);
    color: white;
}

.upgrade-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

.enterprise-btn {
    background: var(--accent);
    color: white;
}

.enterprise-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--border);
}

.empty-state h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 14px;
    margin: 0;
}

/* User Info Section */
.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.user-details {
    flex: 1;
}

.user-details h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.user-details p {
    font-size: 12px;
    color: var(--text-light);
    margin: 0;
}

/* Submission Links */
.submission-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: white;
    margin-bottom: 12px;
}

.link-info {
    flex: 1;
}

.link-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 4px 0;
}

.link-url {
    font-size: 12px;
    color: var(--text-light);
    font-family: 'Courier New', monospace;
    background: var(--bg-soft);
    padding: 4px 8px;
    border-radius: 4px;
    margin: 0;
}

.link-actions {
    display: flex;
    gap: 8px;
}

/* Forms Section */
.forms-container {
    max-width: 800px;
}

.form-creation {
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 24px;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

.generated-links {
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.generated-links h4 {
    margin-bottom: 16px;
    color: var(--text);
}

/* Export Section */
.export-container {
    max-width: 800px;
}

.export-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.export-option {
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 16px;
}

.export-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.export-content {
    flex: 1;
}

.export-content h4 {
    margin: 0 0 8px 0;
    color: var(--text);
    font-size: 16px;
}

.export-content p {
    margin: 0 0 12px 0;
    color: var(--text-light);
    font-size: 14px;
}

.export-settings {
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

/* Settings Section */
.settings-container {
    max-width: 600px;
}

.settings-grid {
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 24px;
}

.settings-grid .setting-group {
    margin-bottom: 20px;
}

.settings-grid .setting-group:last-child {
    margin-bottom: 0;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border);
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-switch .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .slider {
    background-color: var(--primary);
}

.toggle-switch input:checked + .slider:before {
    transform: translateX(24px);
}

.settings-actions {
    display: flex;
    gap: 12px;
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 12px;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.testimonial-rating {
    color: var(--warning);
    font-size: 14px;
}

.testimonial-actions {
    display: flex;
    gap: 8px;
}

.testimonial-text {
    color: var(--text);
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.testimonial-author {
    margin-bottom: 8px;
}

.testimonial-author strong {
    color: var(--text);
    font-size: 14px;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 12px;
    margin-left: 8px;
}

.testimonial-date {
    color: var(--text-muted);
    font-size: 12px;
}

.empty-state {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    padding: 24px;
}

/* Success/Error Messages */
.success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--success);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.error-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--error);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hidden {
    display: none !important;
}

/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1000;
}

.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--border);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Star Rating */
.star-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.star {
    font-size: 24px;
    color: var(--border);
    cursor: pointer;
    transition: color 0.2s ease;
}

.star:hover,
.star.active {
    color: var(--warning);
}

.star.active {
    color: #ffc107;
}

/* Admin Dashboard Styles */
.admin-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.overview-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.card-icon.bg-primary { background: var(--primary-color); }
.card-icon.bg-success { background: #10b981; }
.card-icon.bg-warning { background: #f59e0b; }
.card-icon.bg-info { background: #3b82f6; }

.card-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: #111827;
}

.card-content p {
    color: #6b7280;
    margin: 0.25rem 0;
    font-weight: 500;
}

.trend {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.trend.positive {
    background: #dcfce7;
    color: #16a34a;
}

.trend.neutral {
    background: #f3f4f6;
    color: #6b7280;
}

.admin-tables {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.table-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.table-card h4 {
    margin: 0 0 1rem 0;
    color: #111827;
}

.table-container {
    overflow-x: auto;
}

.table-container table {
    width: 100%;
    border-collapse: collapse;
}

.table-container th,
.table-container td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.table-container th {
    font-weight: 600;
    color: #374151;
    background: #f9fafb;
}

.table-container td {
    color: #6b7280;
}

.users-toolbar,
.testimonials-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 300px;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
}

.filter-controls {
    display: flex;
    gap: 0.5rem;
}

.filter-controls select {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
    background: white;
}

.users-table-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.testimonials-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.admin-actions {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-actions i {
    font-size: 1.5rem;
    color: #fbbf24;
}

.admin-actions h4 {
    margin: 0;
    font-size: 1rem;
}

.admin-actions p {
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.8;
}

.logout-btn {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.logout-btn:hover {
    background: #dc2626;
}

.analytics-dashboard {
    display: grid;
    gap: 2rem;
}

.analytics-charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.chart-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.chart-placeholder {
    height: 300px;
    background: #f9fafb;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.analytics-metrics {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.metric-item {
    text-align: center;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
}

.metric-label {
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.admin-settings {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.settings-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.settings-card h4 {
    margin: 0 0 1.5rem 0;
    color: #111827;
}

.setting-group {
    margin-bottom: 1rem;
}

.setting-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.setting-group input,
.setting-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
}

.setting-group input[type="checkbox"] {
    width: auto;
}

/* Improved Form Link Display */
.form-link-display {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.form-link-display label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.form-link {
    position: relative;
    background: white;
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid #d5d5db;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-link code {
    flex: 1;
    font-size: 0.75rem;
    color: #374151;
    word-break: break-all;
    background: none;
    padding: 0;
}

.copy-link-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.copy-link-btn:hover {
    background: var(--primary-hover, #2a9a96);
}

.copy-link-btn i {
    font-size: 0.875rem;
}

/* My Form Links Section Styles */
.links-dashboard {
    padding: 2rem;
}

.links-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.links-header h3 {
    margin: 0 0 0.5rem 0;
    color: #111827;
}

.links-header p {
    margin: 0 0 1rem 0;
    color: #6b7280;
}

/* Template Modal Styles */
.template-info {
    background: var(--accent-light);
    padding: 16px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    border-left: 4px solid var(--accent);
}

.template-info p {
    margin: 0 0 8px 0;
    font-size: 14px;
}

.template-info p:last-child {
    margin-bottom: 0;
}

.share-url-container {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.share-url-input {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    background: var(--background);
    color: var(--text);
}

.copy-url-btn {
    padding: 12px 16px;
    font-size: 14px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.quick-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.share-options {
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.share-options h4 {
    margin: 0 0 16px 0;
    font-size: 16px;
    color: var(--primary);
}

.share-buttons {
    display: flex;
    gap: 12px;
}

.share-buttons .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

/* Modal Enhancement */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    z-index: 1;
}

.modal-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: var(--primary);
    font-size: 20px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--background);
    color: var(--text);
}

.modal-body {
    padding: 24px;
}

/* Form Link Cards */
.form-link-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 16px;
    transition: all 0.2s ease;
}

.form-link-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.link-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 12px;
}

.link-selection {
    display: flex;
    align-items: flex-start;
    padding-top: 2px;
}

.link-checkbox {
    display: none;
}

.checkbox-label {
    position: relative;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-label:hover {
    border-color: var(--accent);
    background: var(--accent-light);
}

.link-checkbox:checked + .checkbox-label {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.link-checkbox:checked + .checkbox-label::after {
    content: '✓';
    font-size: 12px;
    font-weight: bold;
}

.form-link-card.selected {
    border-color: var(--accent);
    background: var(--accent-light);
    transform: translateY(-1px);
}

.link-title {
    flex: 1;
    min-width: 0;
}

.link-title h5 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
}

.template-badge {
    background: var(--accent-light);
    color: var(--accent);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.link-actions {
    display: flex;
    gap: 8px;
}

.btn-icon {
    background: none;
    border: none;
    padding: 8px;
    border-radius: 6px;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    background: var(--accent-light);
    color: var(--accent);
}

.link-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--text-light);
}

.stat-item i {
    font-size: 12px;
}

.link-url {
    margin-bottom: 8px;
}

.link-url code {
    background: var(--background);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    color: var(--text);
    word-break: break-all;
    display: block;
    border: 1px solid var(--border-light);
}

.link-meta {
    font-size: 12px;
    color: var(--text-muted);
}

/* Enhanced Form Link Management Styles */
.editable-title {
    transition: all 0.2s ease;
    border-radius: 4px;
    outline: none;
    min-width: 100px;
}

.editable-title:focus {
    background: #f0f9ff !important;
    padding: 4px 8px !important;
    border: 2px solid var(--accent) !important;
    border-radius: 4px !important;
}

.link-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 12px 0;
    padding: 8px 0;
    border-top: 1px solid var(--border-light);
}

.status-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-toggle label {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

.status-selector {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
}

.status-selector:hover {
    border-color: var(--accent);
}

.status-selector:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-light);
}

.btn-icon.delete-link {
    color: #dc2626;
}

.btn-icon.delete-link:hover {
    background: #fef2f2;
    color: #dc2626;
}

.btn-icon.edit-name:hover {
    background: var(--accent-light);
    color: var(--accent);
}

/* Enhanced empty state */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

.empty-state .empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.6;
}

.empty-state h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: var(--text);
}

.empty-state p {
    margin: 0;
    font-size: 14px;
    color: var(--text-light);
}

.links-column {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.links-column h4 {
    margin: 0 0 16px 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.text-success { color: #10b981; }
.text-warning { color: #f59e0b; }
.text-muted { color: var(--text-muted); }

.quick-actions {
    display: flex;
    gap: 12px;
    margin: 16px 0;
    justify-content: center;
}

.quick-actions .btn {
    flex: 1;
    font-size: 14px;
    padding: 8px 16px;
}

.share-url-container {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.share-url-input {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-family: monospace;
    font-size: 14px;
    background: #f8f9fa;
}

.share-url-input:focus {
    outline: none;
    border-color: var(--accent);
    background: white;
}

/* ===========================================
   ADMIN DASHBOARD SPECIFIC STYLES
   =========================================== */

.admin-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    padding: 16px;
    border-radius: var(--radius);
    color: white;
    margin-top: 16px;
}

.admin-info i {
    font-size: 20px;
    opacity: 0.9;
}

.admin-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.admin-info p {
    font-size: 12px;
    opacity: 0.9;
    margin: 0;
}

/* Admin Overview Section */
.admin-overview {
    display: grid;
    gap: 32px;
}

.status-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.status-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.2s ease;
}

.status-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.status-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.status-icon.bg-success { background: #10b981; }
.status-icon.bg-info { background: #3b82f6; }
.status-icon.bg-warning { background: #f59e0b; }
.status-icon.bg-primary { background: var(--accent); }

.status-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.status-content p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 8px;
}

.status-indicator {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.status-indicator.online {
    background: #d1fae5;
    color: #065f46;
}

/* Quick Stats */
.quick-stats {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.quick-stats h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 16px;
    background: var(--background);
    border-radius: var(--radius);
}

.stat-item h4 {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.stat-item p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 8px;
}

.trend {
    font-size: 12px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}

.trend.positive {
    background: #d1fae5;
    color: #065f46;
}

.trend.neutral {
    background: #f3f4f6;
    color: #6b7280;
}

/* Recent Activity */
.recent-activity {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.recent-activity h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--background);
    border-radius: var(--radius);
}

.activity-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
}

.activity-content p {
    margin: 0;
    font-size: 14px;
    color: var(--text);
}

.activity-time {
    font-size: 12px;
    color: var(--text-light);
}

/* Quick Actions */
.quick-actions {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.quick-actions h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.action-btn {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: var(--text);
}

.action-btn:hover {
    background: var(--accent-light);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.action-btn i {
    font-size: 24px;
    color: var(--accent);
}

.action-btn span {
    font-weight: 600;
    font-size: 14px;
}

/* Admin Tables */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.admin-table th {
    background: var(--background);
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: var(--primary);
    border-bottom: 1px solid var(--border);
}

.admin-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text);
}

.admin-table tbody tr:hover {
    background: var(--background);
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

/* Table Containers */
.users-table-container,
.tokens-table-container,
.payments-table-container {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 20px;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.section-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
}

.section-header .header-actions {
    display: flex;
    gap: 12px;
}

/* Management Sections */
.users-management,
.testimonials-management,
.tokens-management,
.payments-management,
.settings-management,
.database-tools,
.analytics-dashboard {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

/* Token Stats */
.token-stats,
.payment-stats,
.database-status {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.token-stat-card,
.payment-stat-card,
.db-stat-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}

.token-stat-card h4,
.payment-stat-card h4,
.db-stat-card h4 {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.token-stat-card p,
.payment-stat-card p,
.db-stat-card p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
    justify-items: stretch;
    width: 100%;
}

/* Better responsive breakpoints */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

@media (min-width: 1201px) {
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .status-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .action-buttons {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    /* Mobile Layout Adjustments */
    :root {
        --sidebar-width: 280px;
        --header-height: 60px;
    }
    
    /* Show floating hamburger on mobile */
    .floating-hamburger {
        display: flex !important;
    }
    
    /* Hide sidebar by default on mobile */
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 200;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);
        width: 280px;
        max-width: 85vw;
    }
    
    /* Show sidebar when active */
    .sidebar.active {
        transform: translateX(0);
    }
    
    /* Show close button on mobile */
    .sidebar-close {
        display: flex !important;
    }
    
    /* Hide desktop collapse button on mobile */
    .sidebar-collapse-btn {
        display: none !important;
    }
    
    /* Show overlay only when sidebar is active */
    .sidebar-overlay.active {
        display: block;
    }
    
    /* Adjust main content for mobile - full width */
    .main-content {
        margin-left: 0;
        width: 100%;
        min-width: 0;
    }
    
    /* Mobile header adjustments */
    .main-header {
        padding: 0 20px;
        height: var(--header-height);
        flex-wrap: nowrap;
        margin-left: 0;
    }
    
    .header-left {
        flex: 1;
        min-width: 0;
    }
    
    .header-text {
        flex: 1;
        min-width: 0;
    }
    
    .header-left h2 {
        font-size: 18px;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .header-left p {
        font-size: 12px;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .header-actions {
        gap: 6px;
        flex-shrink: 0;
    }
    
    .header-actions .btn {
        padding: 8px 10px;
        font-size: 13px;
        min-width: 40px;
        min-height: 40px;
    }
    
    .header-actions .btn span {
        display: none;
    }
    
    /* Content adjustments */
    .content-wrapper {
        padding: 12px;
        width: 100%;
        box-sizing: border-box;
        margin-left: 0;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        width: 100%;
    }
    
    /* Form panel mobile adjustments */
    .form-panel,
    .preview-panel {
        border-radius: var(--radius);
        width: 100%;
        box-sizing: border-box;
    }
    
    .panel-header {
        padding: 16px;
    }
    
    .panel-content {
        padding: 16px;
    }
    
    /* Form elements mobile sizing */
    .form-group {
        margin-bottom: 16px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
        box-sizing: border-box;
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px;
    }
    
    /* Sidebar mobile adjustments */
    .sidebar-header {
        padding: 20px;
        padding-right: 60px; /* Space for close button */
    }
    
    .logo h1 {
        font-size: 16px;
        line-height: 1.2;
    }
    
    .tagline {
        font-size: 12px;
    }
    
    .nav-item {
        padding: 14px 20px;
        margin: 0 16px 6px;
        min-height: 48px;
    }
    
    .sidebar-footer {
        padding: 16px;
    }
    
    .stats-card {
        padding: 12px;
        gap: 12px;
    }
    
    .upgrade-prompt {
        padding: 12px;
        gap: 10px;
    }
    
    /* Template grid mobile */
    .templates-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .template-card {
        width: 100%;
    }
    
    /* Button adjustments */
    .btn {
        padding: 12px 16px;
        font-size: 14px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        box-sizing: border-box;
    }
    
    .btn-icon {
        padding: 12px;
        min-width: 44px;
        min-height: 44px;
    }
    
    /* Touch-friendly nav items */
    .nav-item {
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    /* Improve touch targets */
    .upgrade-btn {
        min-height: 36px;
        padding: 8px 12px;
    }
    
    /* Links section mobile */
    .links-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .stats-overview {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    /* Export section mobile */
    .export-options {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* Settings mobile */
    .settings-panels {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile devices - iPhone optimization */
    :root {
        --header-height: 56px;
    }
    
    .floating-hamburger {
        top: 16px;
        left: 16px;
        width: 52px;
        height: 52px;
        font-size: 18px;
    }
    
    .main-header {
        padding: 0 16px;
        height: var(--header-height);
    }
    
    .header-left h2 {
        font-size: 16px;
    }
    
    .header-left p {
        font-size: 11px;
    }
    
    .header-actions {
        gap: 4px;
    }
    
    .header-actions .btn {
        padding: 6px 8px;
        font-size: 12px;
        min-width: 36px;
        min-height: 36px;
    }
    
    .content-wrapper {
        padding: 8px;
    }
    
    .sidebar {
        max-width: 90vw;
        width: 260px;
    }
    
    .sidebar-header {
        padding: 16px;
        padding-right: 50px;
    }
    
    .logo h1 {
        font-size: 14px;
    }
    
    .nav-item {
        padding: 12px 16px;
        margin: 0 12px 4px;
        font-size: 14px;
    }
    
    .sidebar-footer {
        padding: 12px;
    }
    
    .stats-card {
        padding: 10px;
        gap: 10px;
    }
    
    .stat-number {
        font-size: 16px;
    }
    
    .stat-label {
        font-size: 10px;
    }
    
    /* Form adjustments for iPhone */
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 14px 12px;
        border-radius: 8px;
    }
    
    .panel-header {
        padding: 12px;
    }
    
    .panel-header h3 {
        font-size: 16px;
    }
    
    .panel-header p {
        font-size: 12px;
    }
    
    /* Template cards iPhone optimization */
    .template-card {
        padding: 12px;
    }
    
    .template-preview {
        margin-bottom: 12px;
    }
    
    /* Button sizing for iPhone */
    .btn {
        min-height: 42px;
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .form-actions {
        gap: 8px;
    }
    
    .form-actions .btn {
        flex: 1;
    }
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 400px;
    animation: slideIn 0.3s ease;
}

.notification-success {
    border-left: 4px solid #10b981;
    background: #ecfdf5;
}

.notification-error {
    border-left: 4px solid #ef4444;
    background: #fef2f2;
}

.notification-info {
    border-left: 4px solid #3b82f6;
    background: #eff6ff;
}

.notification i {
    font-size: 18px;
}

.notification-success i {
    color: #10b981;
}

.notification-error i {
    color: #ef4444;
}

.notification-info i {
    color: #3b82f6;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Badge Styles */
.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge.free {
    background: #f3f4f6;
    color: #6b7280;
}

.badge.trial {
    background: #fef3c7;
    color: #92400e;
}

.badge.monthly {
    background: #dbeafe;
    color: #1e40af;
}

.badge.lifetime {
    background: #d1fae5;
    color: #065f46;
}

/* Button Sizes */
.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-danger {
    background: #ef4444;
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

/* Testimonial Admin Card */
.testimonial-admin-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    transition: all 0.2s ease;
}

.testimonial-admin-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.testimonial-header .rating {
    color: #fbbf24;
    font-size: 14px;
}

.testimonial-date {
    font-size: 12px;
    color: var(--text-light);
}

.testimonial-content p {
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.testimonial-author {
    margin-bottom: 12px;
}

.testimonial-author strong {
    display: block;
    color: var(--primary);
    font-size: 14px;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 12px;
}

.testimonial-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

/* Token Generator Styles */
.token-generator-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    animation: slideDown 0.3s ease;
}

.generator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.generator-header h4 {
    color: var(--primary);
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.token-generator-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
    font-size: 14px;
}

.form-group input,
.form-group select {
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(56, 190, 186, 0.1);
}

.token-features-preview {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
}

.token-features-preview h5 {
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.token-features-preview ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.token-features-preview li {
    padding: 4px 0;
    color: var(--text);
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

.token-features-preview li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.generator-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

/* Generated Token Display */
.generated-token-display {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #10b981;
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    animation: slideDown 0.3s ease;
}

.token-success-header {
    text-align: center;
    margin-bottom: 20px;
}

.token-success-header h4 {
    color: #065f46;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.generated-token-card {
    background: white;
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}

.token-code-display {
    font-family: 'Courier New', monospace;
    background: var(--primary);
    color: #fbbf24;
    padding: 16px;
    border-radius: var(--radius);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.token-code-display:hover {
    background: var(--text);
    transform: scale(1.02);
}

.token-code-display:hover::after {
    content: 'Click to copy';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-family: 'Inter', sans-serif;
}

.token-details {
    background: var(--background);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 16px;
    text-align: left;
}

.token-sql-command {
    background: #1f2937;
    color: #10b981;
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 16px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    text-align: left;
    overflow-x: auto;
}

.token-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Quick Token Templates */
.quick-token-templates {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.quick-token-templates h4 {
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 600;
}

.template-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.template-btn {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: var(--text);
}

.template-btn:hover {
    background: var(--accent-light);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.template-btn i {
    font-size: 24px;
    color: var(--accent);
}

.template-btn span {
    font-weight: 600;
    font-size: 14px;
}

.template-btn small {
    color: var(--text-light);
    font-size: 12px;
}

/* Token Stats Enhanced */
.token-stat-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.2s ease;
}

.token-stat-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.token-stat-card .stat-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.token-stat-card .stat-content h4 {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.token-stat-card .stat-content p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

/* Table Header */
.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 16px 20px;
    background: var(--background);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.table-header h4 {
    color: var(--primary);
    font-weight: 600;
    margin: 0;
}

.table-actions {
    display: flex;
    gap: 8px;
}

/* Animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Template Customization Modal */
#template-customization-modal .modal-content {
    width: 95vw;
    max-width: 1200px;
    height: 90vh;
    max-height: 800px;
}

.customization-layout {
    display: flex;
    gap: 30px;
    height: 100%;
}

.customization-panel {
    flex: 1;
    max-width: 400px;
    overflow-y: auto;
    padding-right: 20px;
}

.preview-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.customization-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
}

.customization-section h4 {
    color: var(--text);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
}

.customization-section h4 i {
    color: var(--accent);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text);
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="url"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    background: var(--surface);
    color: var(--text);
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.form-group textarea {
    min-height: 80px;
    resize: vertical;
}

/* Color Picker Styling */
.color-picker-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.color-picker-group input[type="color"] {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    background: none;
    padding: 0;
}

.color-picker-group input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

.color-picker-group input[type="color"]::-webkit-color-swatch {
    border: none;
    border-radius: calc(var(--radius) - 2px);
}

.color-preview {
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 12px;
    background: var(--background);
    padding: 8px 10px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    color: var(--text-light);
}

/* Checkbox Styling */
.checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 400 !important;
    margin-bottom: 0 !important;
}

.checkbox-label input[type="checkbox"] {
    width: auto !important;
    margin: 0 !important;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--accent);
    border-color: var(--accent);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 2px;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Preview Panel */
.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 15px;
}

.preview-header h4 {
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.preview-header h4 i {
    color: var(--accent);
}

.preview-container {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
}

.preview-container iframe {
    border: none;
    width: 100%;
    height: 100%;
    background: white;
}

/* Modal Footer Buttons */
.modal-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
    padding: 20px 0 0;
    border-top: 1px solid var(--border);
    margin-top: 20px;
}

.btn.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

/* Large Modal Override */
.modal-content.large {
    width: 95vw;
    max-width: 1200px;
    height: 90vh;
    max-height: none;
}

/* Custom URL Modal Styles */
.url-result {
    background: var(--background);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.url-display {
    display: flex;
    gap: 10px;
    margin: 10px 0;
}

.url-display input {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 12px;
    background: var(--surface);
}

.url-note {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.url-note i {
    color: var(--accent);
    margin-top: 2px;
}

.customization-summary {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 15px;
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.summary-item {
    font-size: 13px;
    color: var(--text-light);
}

.summary-item strong {
    color: var(--text);
}

/* Responsive Design */
@media (max-width: 768px) {
    .customization-layout {
        flex-direction: column;
    }
    
    .customization-panel {
        max-width: none;
        padding-right: 0;
    }
    
    .preview-panel {
        min-height: 300px;
    }
    
    #template-customization-modal .modal-content {
        width: 95vw;
        height: 95vh;
        margin: 20px;
    }
}

/* Business Details Panel Styling */
.business-details-header {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.2s ease;
}

.business-details-header:hover {
    background: var(--accent-light);
    border-color: var(--accent);
}

#business-details-panel {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-top: 15px;
    animation: slideDown 0.3s ease;
}

#business-details-panel h4 {
    margin: 0 0 15px 0;
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

#business-details-panel h4 i {
    color: var(--accent);
}

#business-details-panel input[type="text"],
#business-details-panel input[type="url"] {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

#business-details-panel input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

#business-details-panel input[type="color"] {
    width: 100%;
    height: 45px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
}

#business-details-panel input[type="color"]:hover {
    border-color: var(--accent);
    transform: scale(1.02);
}

#business-details-panel input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--border);
    outline: none;
    cursor: pointer;
}

#business-details-panel input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

#business-details-panel input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

#color-picker-btn {
    background: var(--accent) !important;
    color: white !important;
    border: none !important;
    padding: 10px 16px !important;
    border-radius: var(--radius) !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 6px rgba(56, 190, 186, 0.3) !important;
}

#color-picker-btn:hover {
    background: var(--accent-hover) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(56, 190, 186, 0.4) !important;
}

#save-business-template {
    background: #48bb78 !important;
    color: white !important;
    border: none !important;
    padding: 12px 20px !important;
    border-radius: var(--radius) !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

#save-business-template:hover {
    background: #38a169 !important;
    transform: translateY(-1px) !important;
}

#reset-business-template {
    background: #f56565 !important;
    color: white !important;
    border: none !important;
    padding: 12px 20px !important;
    border-radius: var(--radius) !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

#reset-business-template:hover {
    background: #e53e3e !important;
    transform: translateY(-1px) !important;
}

/* Business Details Panel Mobile Responsive */
@media (max-width: 768px) {
    #business-details-panel {
        margin: 10px 0;
        padding: 15px;
    }
    
    #business-details-panel input[type="color"] {
        height: 50px;
    }
    
    .business-details-header {
        padding: 12px;
    }
    
    #color-picker-btn {
        padding: 12px 16px !important;
        font-size: 13px !important;
    }
}

/* Dashboard Specific Styles */
.dashboard-overview {
    padding: 2rem 0;
}

.dashboard-header {
    margin-bottom: 2rem;
    text-align: center;
}

.dashboard-header h3 {
    color: var(--text);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.dashboard-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.stat-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.stat-icon.bg-primary { background: var(--accent); }
.stat-icon.bg-success { background: #48bb78; }
.stat-icon.bg-warning { background: #ed8936; }
.stat-icon.bg-info { background: #4299e1; }

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.stat-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.trend {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.trend.positive {
    background: rgba(72, 187, 120, 0.1);
    color: #38a169;
}

.trend.neutral {
    background: var(--border-light);
    color: var(--text-muted);
}

.dashboard-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.widget-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.widget-header {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--background);
}

.widget-header i {
    color: var(--accent);
    font-size: 1.1rem;
}

.widget-header h4 {
    color: var(--text);
    font-weight: 600;
    margin: 0;
}

.widget-content {
    padding: 1.5rem;
}

.inspiration-card blockquote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 1rem;
    position: relative;
}

.inspiration-card cite {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.quick-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quick-action-buttons .btn {
    justify-content: flex-start;
    text-align: left;
}

.recent-activity-widget {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.activity-feed {
    max-height: 300px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: white;
    flex-shrink: 0;
}

.activity-content p {
    color: var(--text);
    margin: 0 0 0.25rem 0;
    font-weight: 500;
}

.activity-time {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Responsive Dashboard */
@media (max-width: 768px) {
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .dashboard-widgets {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.25rem;
    }
    
    .widget-content {
        padding: 1rem;
    }
    
    .dashboard-header h3 {
        font-size: 1.5rem;
    }
}

/* Testimonial Selection Styles */
.testimonial-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
}

.testimonial-select {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent);
}

.testimonial-card {
    position: relative;
}

.delete-btn {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-muted);
}

.delete-btn:hover {
    background: #fee;
    border-color: #f56565;
    color: #f56565;
}

.quick-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.quick-actions .btn {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .quick-actions {
        justify-content: center;
        width: 100%;
    }
    
    .testimonial-actions {
        top: 0.5rem;
        right: 0.5rem;
        gap: 0.25rem;
    }
    
    .testimonial-select {
        width: 16px;
        height: 16px;
    }
    
    .delete-btn {
        width: 28px;
        height: 28px;
    }
}

/* Export Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.2s ease;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: var(--surface);
    margin: 5% auto;
    padding: 0;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 600px;
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: var(--text);
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--border-light);
    color: var(--text);
}

.modal-body {
    padding: 1.5rem;
}

.export-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 1rem 0;
}

.export-option {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--surface);
}

.export-option:hover {
    border-color: var(--accent);
    background: var(--accent-light);
}

.export-option.selected {
    border-color: var(--accent);
    background: var(--accent-light);
}

.export-option-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.export-option h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text);
    font-weight: 600;
}

.export-option p {
    margin: 0 0 1rem 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.format-selector {
    margin-top: 1rem;
}

.format-selector label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
}

.format-selector select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text);
    font-size: 0.9rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* Mobile responsive modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .export-options-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1rem;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
}

/* Theme Toggle Section */
.theme-toggle-section {
    padding: 16px 0;
}

.theme-toggle-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
}

.theme-toggle-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
    width: 100%;
    text-align: left;
    color: var(--text);
}

.theme-option:hover {
    background: var(--border-light);
    border-color: var(--accent);
}

.theme-option.active {
    background: var(--accent-light);
    border-color: var(--accent);
    color: var(--accent);
}

.theme-option i {
    width: 16px;
    text-align: center;
}

/* Account Settings Modal Styles */
#account-settings-modal .modal-content {
    max-width: 900px;
    width: 90vw;
    max-height: 85vh;
    overflow-y: auto;
    padding: 0;
}

#account-settings-modal .modal-body {
    padding: 24px 32px;
}

.settings-sections {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.settings-section {
    padding: 0;
}

.settings-section h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-light);
}

.settings-section h4 i {
    color: var(--accent);
}

.settings-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
    align-items: start;
}

.settings-content.single-column {
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 500;
    color: var(--text);
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus {
    outline: none;
    border-color: var(--accent);
}

.form-help {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

/* Theme Selector in Modal */
.theme-selector {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.radio-option:hover {
    background: var(--border-light);
    border-color: var(--accent);
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 16px;
    height: 16px;
    border: 2px solid var(--border);
    border-radius: 50%;
    position: relative;
    transition: all 0.2s ease;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: var(--accent);
    background: var(--accent);
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}

.radio-option input[type="radio"]:checked ~ * {
    color: var(--accent);
}

/* Checkbox Styles */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    padding: 8px 0;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 16px;
    height: 16px;
    border: 2px solid var(--border);
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--accent);
    border-color: var(--accent);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
    font-weight: bold;
}

/* Quick Actions Grid */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.quick-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.quick-action-card:hover {
    background: var(--border-light);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.quick-action-card i {
    font-size: 20px;
    color: var(--accent);
}

.quick-action-card span {
    font-weight: 600;
    color: var(--text);
    font-size: 13px;
}

.quick-action-card small {
    color: var(--text-light);
    font-size: 11px;
    line-height: 1.3;
}

/* Dark Theme Variables */
[data-theme="dark"] {
    --background: #0f172a;
    --surface: #1e293b;
    --text: #e2e8f0;
    --text-light: #94a3b8;
    --text-muted: #64748b;
    --border: #334155;
    --border-light: #475569;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Auto Theme (respects system preference) */
@media (prefers-color-scheme: dark) {
    [data-theme="auto"] {
        --background: #0f172a;
        --surface: #1e293b;
        --text: #e2e8f0;
        --text-light: #94a3b8;
        --text-muted: #64748b;
        --border: #334155;
        --border-light: #475569;
        --shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.3);
    }
}

/* Responsive adjustments for Account Settings Modal */
@media (max-width: 768px) {
    #account-settings-modal .modal-content {
        max-width: 95vw;
        width: 95vw;
        margin: 20px 10px;
    }
    
    #account-settings-modal .modal-body {
        padding: 20px 16px;
    }
    
    .settings-content {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    
    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .theme-toggle-options {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .theme-option {
        flex: 1;
        min-width: 80px;
    }
    
    .theme-selector {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .quick-actions-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== TESTIMONIALS DISPLAY ===== */
.testimonials-grid {
    margin-top: 20px;
}

#testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr)); /* Increased from 400px */
    gap: 20px;
    padding: 20px 0;
}

.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.testimonial-card.pending {
    border-left: 4px solid #f59e0b;
}

.testimonial-card.approved {
    border-left: 4px solid #10b981;
}

.testimonial-card.rejected {
    border-left: 4px solid #ef4444;
}

/* Header Section */
.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.testimonial-rating {
    color: #fbbf24;
    font-size: 18px;
    line-height: 1;
}

.video-badge {
    background: var(--accent-light);
    color: var(--accent);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
}

.testimonial-date {
    font-size: 12px;
    color: var(--text-muted);
}

.testimonial-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.testimonial-select {
    margin: 0;
    cursor: pointer;
}

.delete-testimonial {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.delete-testimonial:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

/* Content Section */
.testimonial-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.testimonial-video {
    margin-bottom: 10px;
}

.testimonial-video video {
    width: 100%;
    max-height: 200px;
    border-radius: 8px;
    background: #000;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    margin: 0;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--border-light);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
    flex-shrink: 0;
}

.author-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-info strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.author-title {
    font-size: 13px;
    color: var(--text-light);
}

.author-company {
    font-size: 13px;
    color: var(--text-light);
}

/* Bulk delete button */
#bulk-delete-btn {
    margin-left: auto;
    margin-bottom: 15px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.empty-state .empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    margin-bottom: 10px;
    color: var(--text);
    font-size: 24px;
}

.empty-state p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 16px;
}

.loading-state, .error-state {
    text-align: center;
    padding: 40px 20px;
    grid-column: 1 / -1;
    font-size: 16px;
    color: var(--text-light);
}

.error-state {
    color: #e53e3e;
}

/* Mobile responsiveness for testimonials */
@media (max-width: 768px) {
    #testimonials-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .testimonial-card {
        padding: 15px;
    }
    
    .testimonial-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .testimonial-meta {
        text-align: left;
    }
    
    .testimonial-actions {
        justify-content: center;
    }
}

/* Modal Styles for Form Link Editing */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: var(--surface);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: var(--text);
}

.btn-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.btn-close:hover {
    background: var(--border);
    color: var(--text);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    background: var(--surface);
    color: var(--text);
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.form-group input[readonly] {
    background: var(--background);
    color: var(--text-light);
}

.form-group small {
    display: block;
    margin-top: 4px;
    color: var(--text-light);
    font-size: 12px;
}

/* Enhanced Link Card Styles */
.link-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.link-name {
    margin: 0;
    color: var(--text);
    cursor: pointer;
    flex: 1;
}

.link-name:hover {
    color: var(--accent);
}

.link-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.link-actions .btn {
    padding: 4px 8px;
    font-size: 12px;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-light);
}

.btn-outline:hover {
    background: var(--border);
    color: var(--text);
}

.btn-danger {
    background: #f56565;
    border: 1px solid #f56565;
    color: white;
}

.btn-danger:hover {
    background: #e53e3e;
    border-color: #e53e3e;
}

.link-stats {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 8px;
}

/* Organize Links Modal Styles */
.organize-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.organize-column h4 {
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.organize-links {
    min-height: 150px;
    padding: 12px;
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    background: var(--background);
}

.organize-link-item {
    background: var(--surface);
    padding: 12px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.organize-link-item:hover {
    border-color: var(--accent);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.organize-link-info strong {
    display: block;
    color: var(--text);
    margin-bottom: 2px;
}

.organize-link-info small {
    color: var(--text-light);
    font-size: 11px;
}

.organize-status-select {
    padding: 4px 8px;
    font-size: 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--surface);
    color: var(--text);
}

.empty-organize {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    margin: 40px 0;
}

.text-success {
    color: #48bb78;
}

.text-warning {
    color: #ed8936;
}

.text-muted {
    color: var(--text-light);
}

@media (max-width: 768px) {
    .organize-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 10px;
    }
}
