/* ==================== */
/* Dashboard Styles */
/* ==================== */

/* Text selection */
::selection {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
}

::-moz-selection {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
}

/* Force default dashboard colors (not user customized colors) */
.dashboard-default-colors {
    --bg-primary: #fff9ef !important;
    --bg-secondary: #ffffff !important;
    --bg-tertiary: #f5f0e6 !important;
    --bg-dark: #1d1d1b !important;
    --text-primary: #1d1d1b !important;
    --text-secondary: #5a5a58 !important;
    --text-muted: #8a8a88 !important;
    --accent-primary: #f1c800 !important;
    --accent-primary-rgb: 241, 200, 0 !important;
    --accent-secondary: #e5b800 !important;
    --accent-hover: #d4a900 !important;
    --border-color: #e5e0d6 !important;
    --border-dark: #d8d5cd !important;
    --warning-bg: #fff3cd !important;
    --warning-border: #ffc107 !important;
    --warning-icon: #ff9800 !important;
    --warning-title: #f57c00 !important;
    --warning-text: #e65100 !important;
    --warning-inner-bg: #ffffff !important;
    --warning-inner-border: #ffe0b2 !important;
    --link-color: #2196F3 !important;
}

.dashboard-default-colors.dark-mode {
    color-scheme: dark !important;
    --bg-primary: #0c0b07 !important;
    --bg-secondary: #15120c !important;
    --bg-tertiary: #19160f !important;
    --bg-dark: #000000 !important;
    --text-primary: #e6eef6 !important;
    --text-secondary: #b6c3cf !important;
    --text-muted: #a29f8f !important;
    --accent-primary: #f1c800 !important;
    --accent-primary-rgb: 241, 200, 0 !important;
    --accent-secondary: #e5b800 !important;
    --accent-hover: #d4a900 !important;
    --border-color: #2a2218 !important;
    --border-dark: #0f1720 !important;
    --warning-bg: #2a2000 !important;
    --warning-border: #5a4200 !important;
    --warning-icon: #ffb74d !important;
    --warning-title: #ffb74d !important;
    --warning-text: #e6d5b8 !important;
    --warning-inner-bg: #1a1508 !important;
    --warning-inner-border: #3a2e18 !important;
    --link-color: #64b5f6 !important;
}

.dashboard-default-colors.dark-mode input,
.dashboard-default-colors.dark-mode select,
.dashboard-default-colors.dark-mode textarea {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.dashboard-default-colors.dark-mode input:-webkit-autofill,
.dashboard-default-colors.dark-mode input:-webkit-autofill:hover,
.dashboard-default-colors.dark-mode input:-webkit-autofill:focus,
.dashboard-default-colors.dark-mode select:-webkit-autofill,
.dashboard-default-colors.dark-mode textarea:-webkit-autofill {
    -webkit-text-fill-color: var(--text-primary) !important;
    -webkit-box-shadow: 0 0 0px 1000px var(--bg-tertiary) inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Apply dark mode variables to html.dark-mode directly */
html.dark-mode {
    --warning-bg: #2a2000;
    --warning-border: #5a4200;
    --warning-icon: #ffb74d;
    --warning-title: #ffb74d;
    --warning-text: #e6d5b8;
    --warning-inner-bg: #1a1508;
    --warning-inner-border: #3a2e18;
    --link-color: #64b5f6;
}

.dashboard-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--bg-primary);
}

/* Main content */
.dashboard-main {
    flex: 1;
    padding: 32px 48px 100px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==================== */
/* Bottom Bar */
/* ==================== */
.bottombar {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16), 0 2px 8px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.bottombar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 16px;
    border-radius: 16px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    border: none;
    background: none;
    font-family: inherit;
}

.bottombar-item span {
    font-size: 11px;
    font-weight: 500;
}

.bottombar-item:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.bottombar-item.active {
    color: var(--accent-primary);
}

.bottombar-center {
    padding: 0;
    margin: 0 8px;
}

.bottombar-center:hover {
    background: none;
}

.bottombar-center-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent-primary);
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(var(--accent-primary-rgb), 0.4);
    transition: all 0.2s ease;
}

.bottombar-center:hover .bottombar-center-btn {
    box-shadow: 0 6px 20px rgba(var(--accent-primary-rgb), 0.5);
}

.bottombar-center.active {
    background: none;
}

.bottombar-center.active .bottombar-center-btn {
    box-shadow: 0 0 24px rgba(var(--accent-primary-rgb), 0.7), 0 0 48px rgba(var(--accent-primary-rgb), 0.3);
}

/* Support popup menu */
.bottombar-support-menu {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 6px;
    min-width: 140px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.bottombar-support-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

.support-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.15s ease;
}

.support-menu-item:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

/* ==================== */
/* Profile Dropdown */
/* ==================== */
.profile-dd {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 100;
}

.profile-dd-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 6px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-primary);
    font-family: inherit;
}

.profile-dd-trigger:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.profile-dd-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.profile-dd-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-dd-avatar span {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
}

.profile-dd-name {
    font-size: 14px;
    font-weight: 600;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-dd-chevron {
    transition: transform 0.2s ease;
    color: var(--text-muted);
}

.profile-dd-menu.open ~ .profile-dd-trigger .profile-dd-chevron,
.profile-dd-trigger:focus .profile-dd-chevron {
    transform: rotate(180deg);
}

.profile-dd-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
}

.profile-dd-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-dd-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.15s ease;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    font-family: inherit;
}

.profile-dd-item:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.profile-dd-badge {
    margin-left: auto;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--accent-primary);
    color: var(--bg-dark);
}

.profile-dd-sep {
    height: 1px;
    background: var(--border-color);
    margin: 4px 8px;
}

.profile-dd-logout {
    color: #ef4444;
}

.profile-dd-logout:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 24px;
}

.dashboard-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.dashboard-header p {
    color: var(--text-secondary);
    margin: 0;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

.stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    border-color: var(--border-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.stat-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.stat-icon-green {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.stat-icon-orange {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.stat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

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

.stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
}

.stat-badge-up {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.stat-badge-down {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    color: var(--text-primary);
}

/* Stat Card Locked State */
.stat-card-locked {
    position: relative;
}

.stat-locked-overlay {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 10;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.stat-locked-overlay:hover {
    background: rgba(0, 0, 0, 0.08);
}

.stat-locked-overlay svg {
    color: var(--accent-primary);
}

.stat-locked-text {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

/* Section Title */
.section-title {
    margin-bottom: 20px;
}

.section-title h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.section-title p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* Quick Actions Grid */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.quick-action-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    transition: all var(--transition-fast);
    position: relative;
}

.quick-action-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.quick-action-card:hover .quick-action-arrow {
    transform: translateX(4px);
}

.quick-action-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quick-action-icon-purple {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.quick-action-icon-blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.quick-action-icon-gray {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
}

.quick-action-content {
    flex: 1;
}

.quick-action-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.quick-action-content p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.quick-action-arrow {
    color: var(--text-muted);
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

/* Checklist Card */
.checklist-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin-bottom: 24px;
    transition: opacity 0.3s, transform 0.3s;
}
.checklist-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.checklist-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.checklist-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.checklist-header h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}
.checklist-header p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}
.checklist-dismiss {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: all var(--transition-fast);
}
.checklist-dismiss:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}
.checklist-progress {
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    margin-bottom: 16px;
    overflow: hidden;
}
.checklist-progress-bar {
    height: 100%;
    background: #22c55e;
    border-radius: 2px;
    transition: width 0.4s ease;
}
.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-fast);
}
.checklist-item:hover {
    background: var(--bg-tertiary);
}
.checklist-item.done {
    color: var(--text-muted);
}
.checklist-item.done span {
    text-decoration: line-through;
}
.checklist-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}
.checklist-item.done .checklist-check {
    background: #22c55e;
    border-color: #22c55e;
    color: #fff;
}
.checklist-arrow {
    margin-left: auto;
    color: var(--text-muted);
    flex-shrink: 0;
    opacity: 0;
    transition: opacity var(--transition-fast);
}
.checklist-item:hover .checklist-arrow {
    opacity: 1;
}

/* Profile Link Card */
.profile-link-card {
    background: linear-gradient(135deg, rgba(241, 200, 0, 0.08), rgba(241, 200, 0, 0.03));
    border: 1px solid rgba(241, 200, 0, 0.2);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: all var(--transition-fast);
}

.profile-link-card:hover {
    border-color: rgba(241, 200, 0, 0.4);
    box-shadow: 0 8px 24px rgba(241, 200, 0, 0.12);
}

.profile-link-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.profile-link-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(241, 200, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.profile-link-text {
    flex: 1;
}

.profile-link-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.profile-link-url {
    display: flex;
    align-items: center;
    gap: 2px;
}

.url-domain {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 500;
}

.url-slug {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-primary);
}

.profile-link-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-icon-action {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-icon-action:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 32px;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    transition: transform var(--transition-normal);
}

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

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

.modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

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

/* Size selector for socials */
.size-selector {
    flex-shrink: 0;
}

.form-select-small {
    padding: 8px 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.form-select-small:hover {
    border-color: var(--accent-primary);
}

.form-select-small:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(241, 200, 0, 0.1);
}

/* Preview toggle for socials */
.preview-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
}

.preview-toggle input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent-primary);
    cursor: pointer;
}

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

/* Social stats preview in dashboard */
.social-stats-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.social-stats-preview img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.social-stats-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.social-stats-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.social-stats-count {
    font-size: 12px;
    color: var(--text-secondary);
}


.back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.back-link:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

/* Responsive */

/* Tablettes et petits ordinateurs */
@media (max-width: 1024px) {
    .dashboard-main {
        padding: 24px 24px 100px;
    }

    .dashboard-header {
        gap: 16px;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .quick-actions-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .profile-dd-name {
        display: none;
    }

    .profile-dd-trigger {
        padding: 4px;
    }

    .profile-dd-avatar {
        width: 36px;
        height: 36px;
    }

    .profile-dd-chevron {
        display: none;
    }
}

/* Tablettes */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .dashboard-header-actions {
        width: 100%;
    }

    .dashboard-header h1 {
        font-size: 26px;
    }

    .profile-link-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .profile-link-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .quick-actions-grid {
        grid-template-columns: 1fr;
    }

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

    .stat-card {
        padding: 16px;
    }

    .stat-value {
        font-size: 32px;
    }

    .stat-label {
        font-size: 13px;
    }
}

/* Grands mobiles */
@media (max-width: 640px) {
    .dashboard-main {
        padding: 16px 16px 100px;
    }

    .dashboard-header {
        gap: 10px;
    }

    .dashboard-header-actions {
        flex-direction: column;
        gap: 8px;
    }

    .dashboard-header-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .dashboard-header h1 {
        font-size: 24px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .stat-card {
        padding: 14px;
    }

    .stat-value {
        font-size: 28px;
    }

    .stat-label {
        font-size: 12px;
    }

    .quick-action-card {
        padding: 16px;
    }

    .profile-link-card {
        padding: 16px;
    }

    .bottombar {
        bottom: 10px;
        padding: 6px 10px;
        gap: 0;
    }

    .bottombar-item {
        padding: 6px 10px;
    }

    .bottombar-item span {
        font-size: 10px;
    }

    .bottombar-center-btn {
        width: 46px;
        height: 46px;
    }
}

/* Mobiles */
@media (max-width: 480px) {
    .dashboard-main {
        padding: 16px 16px 100px;
    }

    .dashboard-header {
        gap: 8px;
    }

    .dashboard-header h1 {
        font-size: 22px;
    }

    .dashboard-header p {
        font-size: 13px;
    }

    .stats-grid {
        gap: 8px;
    }

    .stat-card {
        padding: 12px;
    }

    .stat-value {
        font-size: 24px;
    }

    .stat-label {
        font-size: 11px;
    }

    .stat-icon {
        width: 32px;
        height: 32px;
    }

    .quick-action-card {
        padding: 14px;
    }

    .quick-action-card h3 {
        font-size: 14px;
    }

    .quick-action-card p {
        font-size: 12px;
    }

    .profile-link-card {
        padding: 14px;
    }

    .profile-link-url {
        font-size: 13px;
    }

    .profile-link-actions .btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    .bottombar-item span {
        display: none;
    }

    .bottombar-item {
        padding: 8px 12px;
    }
}

/* Petits mobiles */
@media (max-width: 360px) {
    .dashboard-main {
        padding: 10px 10px 100px;
    }

    .dashboard-header h1 {
        font-size: 20px;
    }

    .stats-grid {
        gap: 6px;
    }

    .stat-card {
        padding: 10px;
    }

    .stat-value {
        font-size: 22px;
    }

    .quick-action-card {
        padding: 12px;
    }

    .profile-link-card {
        padding: 12px;
    }
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
    .nav-item:hover,
    .quick-action-card:hover,
    .stat-card:hover {
        transform: none;
    }

    .quick-action-card:active {
        transform: scale(0.98);
    }

    .btn, .btn-primary, .btn-secondary, .btn-ghost, .btn-danger {
        min-height: 48px;
        -webkit-tap-highlight-color: transparent;
    }

    .btn-icon-action {
        width: 48px;
        height: 48px;
    }

    .modal-close {
        width: 44px;
        height: 44px;
    }

    .toggle-switch {
        width: 52px;
        height: 32px;
    }

    .toggle-slider:before {
        height: 24px;
        width: 24px;
    }

    .toggle-switch input:checked + .toggle-slider:before {
        transform: translateX(20px);
    }

    .role-card-content {
        padding: 16px;
        min-height: 56px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        min-height: 48px;
        font-size: 16px;
    }

    .form-select-small {
        min-height: 44px;
        padding: 10px 14px;
    }

    input[type="checkbox"],
    input[type="radio"] {
        width: 24px;
        height: 24px;
    }
}

/* ==================== */
/* Shared Section Styles (used by premium.ejs) */
/* ==================== */

.settings-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition-fast);
}

.settings-section:hover {
    border-color: var(--border-dark);
}

.section-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.section-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(241, 200, 0, 0.1), rgba(241, 200, 0, 0.05));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.section-header h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.section-header p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.premium-section {
    border-color: rgba(241, 200, 0, 0.3);
    background: linear-gradient(135deg, rgba(241, 200, 0, 0.05), rgba(241, 200, 0, 0.02));
}

.premium-icon {
    background: linear-gradient(135deg, rgba(241, 200, 0, 0.2), rgba(241, 200, 0, 0.1));
}

/* ==================== */
/* Settings Page Styles */
/* ==================== */

.settings-tabs {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-top: 8px;
    margin-bottom: 28px;
    position: sticky;
    top: 16px;
    z-index: 10;
}

.settings-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    flex: 1;
    justify-content: center;
    white-space: nowrap;
}

.settings-tab:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.settings-tab.active {
    color: var(--bg-dark);
    background: var(--accent-primary);
    font-weight: 600;
}

.settings-tab.active svg {
    stroke: var(--bg-dark);
}

.settings-tab svg {
    flex-shrink: 0;
}

.settings-panel {
    display: none;
    flex-direction: column;
    gap: 20px;
    max-width: 640px;
    margin: 0 auto;
}

.settings-panel.active {
    display: flex;
}

.settings-block {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
}

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

.settings-block-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.settings-hint {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: 8px;
}

.settings-date {
    font-size: 13px;
    color: var(--text-muted);
}

/* Identity Row */
.settings-identity-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.settings-identity-fields {
    flex: 1;
    min-width: 0;
}

.settings-identity-fields .form-group {
    margin-bottom: 0;
}

/* Avatar */
.avatar-preview {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-tertiary);
    border: 3px solid var(--border-color);
    position: relative;
    transition: all var(--transition-normal);
    cursor: pointer;
    flex-shrink: 0;
}

.avatar-preview:hover {
    border-color: var(--accent-primary);
}

.avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-muted);
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-primary));
}

.avatar-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
    border-radius: 50%;
}

.avatar-overlay svg {
    color: white;
}

.avatar-preview:hover .avatar-overlay {
    opacity: 1;
}

/* Form Elements */
.label-required {
    color: var(--error);
    margin-left: 4px;
}

.character-count {
    float: right;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
}

/* Role Cards */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.role-card {
    position: relative;
    cursor: pointer;
    display: block;
}

.role-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.role-card-content {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.role-card:hover .role-card-content {
    border-color: var(--accent-primary);
    background: var(--bg-primary);
}

.role-card input[type="checkbox"]:checked + .role-card-content {
    background: rgba(241, 200, 0, 0.1);
    border-color: var(--accent-primary);
}

.role-card input[type="checkbox"]:checked + .role-card-content .role-icon svg {
    stroke: var(--accent-primary);
}

.role-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.role-icon svg {
    transition: all var(--transition-fast);
}

.role-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

/* Slug Input */
.slug-input-wrapper {
    display: flex;
    align-items: stretch;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.slug-input-wrapper:focus-within {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(241, 200, 0, 0.1);
}

.slug-prefix {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    background: var(--bg-primary);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    border-right: 1px solid var(--border-color);
    white-space: nowrap;
}

.slug-input {
    border: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    flex: 1;
    min-width: 0;
    box-shadow: none !important;
    padding: 12px 14px !important;
}

/* URL Preview Box */
.url-preview-box {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(241, 200, 0, 0.05);
    border-radius: var(--radius-md);
}

.url-preview-box svg {
    color: var(--accent-primary);
    flex-shrink: 0;
}

.url-preview-box a {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-primary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.url-preview-box a:hover {
    text-decoration: underline;
}

.url-preview-box span {
    font-weight: 600;
}

/* Toggle Switch */
.toggle-option {
    display: block;
    cursor: pointer;
}

.toggle-option-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.toggle-option:hover .toggle-option-content {
    border-color: var(--accent-primary);
}

.toggle-option-text strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.toggle-option-text p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 26px;
    flex-shrink: 0;
}

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

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-dark);
    transition: all var(--transition-fast);
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: all var(--transition-fast);
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--accent-primary);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(18px);
}

/* Premium Block */
.settings-block-premium {
    border-color: rgba(241, 200, 0, 0.3);
    background: linear-gradient(135deg, rgba(241, 200, 0, 0.04), transparent);
}

/* Danger Block */
.settings-block-danger {
    border-color: rgba(239, 68, 68, 0.3);
}

.settings-block-danger .settings-block-header h3 {
    color: var(--error);
}

.danger-warning {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.danger-warning svg {
    flex-shrink: 0;
    color: var(--error);
    margin-top: 2px;
}

.danger-warning p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Data Actions */
.settings-data-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.settings-data-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    gap: 16px;
}

.settings-data-info strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.settings-data-info p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

/* Backup Grid */
.settings-backup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.settings-backup-stat {
    padding: 10px 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    text-align: center;
}

.settings-backup-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.settings-backup-stat strong {
    font-size: 14px;
    color: var(--text-primary);
}

.settings-backup-lock {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(241, 200, 0, 0.06);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-secondary);
}

.settings-backup-lock svg {
    flex-shrink: 0;
}

.settings-backup-lock a {
    color: var(--accent-primary);
    font-weight: 600;
    text-decoration: none;
}

.settings-backup-lock a:hover {
    text-decoration: underline;
}

/* Auto-save Indicator */
.auto-save-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

.auto-save-indicator svg {
    flex-shrink: 0;
    color: var(--success);
}

/* Settings Modal */
.settings-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.settings-modal-content {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 600px;
    width: 90%;
    position: relative;
    margin: 20px auto;
}

.settings-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 24px;
    padding: 4px 8px;
    z-index: 10;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--accent-primary);
    color: var(--bg-dark);
    border: 2px solid var(--accent-primary);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    white-space: nowrap;
}

.btn:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(241, 200, 0, 0.3);
    text-decoration: none;
}

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

.btn-primary {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--bg-dark);
}

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

.btn-discord {
    background: transparent;
    border-color: #5865F2;
    color: #5865F2;
    font-size: 14px;
    padding: 10px 16px;
}

.btn-discord:hover {
    background: #5865F2;
    color: #fff;
}

.dashboard-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-secondary {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--bg-primary);
    border-color: var(--border-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-ghost {
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-primary);
}

.btn-ghost:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-dark);
}

/* Button Sizes */
.btn-sm {
    padding: 10px 16px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 28px;
    font-size: 16px;
}

.btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 2px solid rgba(239, 68, 68, 0.4);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-danger:hover {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    text-decoration: none;
}

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

.btn-danger svg {
    flex-shrink: 0;
}

/* Settings Responsive */
@media (max-width: 768px) {
    .settings-tabs {
        gap: 2px;
        padding: 3px;
    }

    .settings-tab {
        padding: 9px 12px;
        font-size: 13px;
        gap: 6px;
    }

    .settings-tab svg {
        display: none;
    }

    .settings-block {
        padding: 20px 16px;
    }

    .settings-block-header {
        margin-bottom: 16px;
        padding-bottom: 12px;
    }

    .roles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .settings-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .settings-tab {
        padding: 8px 10px;
        font-size: 13px;
    }

    .settings-block {
        padding: 16px 14px;
    }

    .settings-identity-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .roles-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .role-card-content {
        padding: 10px 12px;
        gap: 8px;
    }

    .role-name {
        font-size: 13px;
    }

    .settings-data-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .settings-backup-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .toggle-option-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* ==================== */
/* Update Modal */
/* ==================== */

.update-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.update-modal.show {
    opacity: 1;
}

.update-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    cursor: pointer;
}

.update-modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--accent-primary);
    border-radius: 20px;
    padding: 32px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(var(--accent-primary-rgb), 0.2);
    transition: transform 0.3s ease;
}

.update-modal.show .update-modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.update-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
    z-index: 1;
}

.update-modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.update-modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.update-modal-header svg {
    color: var(--accent-primary);
    flex-shrink: 0;
}

.update-modal-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.update-modal-date {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0 0 24px 48px;
}

.update-modal-section {
    margin: 24px 0;
}

.update-modal-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.update-modal-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.update-modal-section ul li {
    padding: 10px 0 10px 28px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    position: relative;
}

.update-modal-section ul li::before {
    content: '•';
    position: absolute;
    left: 10px;
    color: var(--accent-primary);
    font-weight: bold;
    font-size: 18px;
}

.update-modal-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
}

.update-modal-footer .btn {
    min-width: 180px;
}

/* Scrollbar for modal content */
.update-modal-content::-webkit-scrollbar {
    width: 8px;
}

.update-modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.update-modal-content::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 8px;
}

.update-modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

@media (max-width: 768px) {
    .update-modal-content {
        padding: 24px;
        width: 95%;
        max-height: 90vh;
    }

    .update-modal-header h3 {
        font-size: 20px;
    }

    .update-modal-date {
        margin-left: 0;
        font-size: 13px;
    }

    .update-modal-section ul li {
        font-size: 14px;
        padding: 8px 0 8px 24px;
    }

    .update-modal-footer .btn {
        width: 100%;
    }
}

