/* Twitter Panel - Premium Dark Theme */
/* Clean, Fast, Modern */

:root {
    /* Core Colors */
    --bg-dark: #0a0f14;
    --bg-card: #111921;
    --bg-elevated: #182028;
    --bg-hover: #1e2a36;
    --bg-input: #1a242e;

    /* Text Colors */
    --text-primary: #e7e9ea;
    --text-secondary: #8899a6;
    --text-muted: #536471;

    /* Accent Colors - Neon */
    --accent-blue: #1d9bf0;
    --accent-blue-hover: #1a8cd8;
    --accent-cyan: #00d4ff;
    --accent-green: #00ff88;
    --accent-red: #ff4757;
    --accent-yellow: #ffd93d;
    --accent-purple: #a855f7;
    --accent-pink: #ff6b9d;

    /* Borders - Neon Style */
    --border-color: rgba(29, 155, 240, 0.18);
    --border-light: rgba(29, 155, 240, 0.35);
    --border-glow: 0 0 10px rgba(29, 155, 240, 0.2), inset 0 0 5px rgba(29, 155, 240, 0.05);
    --border-glow-hover: 0 0 20px rgba(29, 155, 240, 0.35), inset 0 0 8px rgba(29, 155, 240, 0.08);

    /* Neon Glows */
    --glow-blue: 0 0 20px rgba(29, 155, 240, 0.4);
    --glow-cyan: 0 0 20px rgba(0, 212, 255, 0.4);
    --glow-green: 0 0 20px rgba(0, 255, 136, 0.4);
    --glow-red: 0 0 20px rgba(255, 71, 87, 0.4);
    --glow-purple: 0 0 20px rgba(168, 85, 247, 0.4);
    --glow-yellow: 0 0 20px rgba(255, 217, 61, 0.4);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-neon: 0 0 30px rgba(29, 155, 240, 0.15);

    /* Layout */
    --sidebar-width: 210px;
    --header-height: 60px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(29, 155, 240, 0.4), rgba(29, 155, 240, 0.2));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(29, 155, 240, 0.6), rgba(29, 155, 240, 0.4));
}

/* ================================================
   SIDEBAR
   ================================================ */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--sidebar-width);
    background-color: var(--bg-card);
    border-right: 1px solid var(--border-color);
    box-shadow: var(--border-glow);
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.sidebar-header {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.sidebar-brand:hover {
    color: var(--text-primary);
    text-shadow: 0 0 25px rgba(29, 155, 240, 0.3);
}

.twitter-logo {
    width: 22px;
    height: 22px;
    color: var(--accent-blue);
    filter: drop-shadow(0 0 8px rgba(29, 155, 240, 0.6));
}

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

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    margin: 1px 8px 1px 0;
    border-radius: 0 var(--radius-full) var(--radius-full) 0;
}

.sidebar-nav .nav-link:hover {
    background-color: var(--bg-hover);
    color: var(--text-primary);
}

.sidebar-nav .nav-link.active {
    background: linear-gradient(90deg, rgba(29, 155, 240, 0.2) 0%, rgba(29, 155, 240, 0.05) 100%);
    color: var(--accent-blue);
    font-weight: 600;
    border-left: 3px solid var(--accent-blue);
    box-shadow: inset 0 0 20px rgba(29, 155, 240, 0.1);
}

.sidebar-nav .nav-link.active i {
    color: var(--accent-blue);
    filter: drop-shadow(0 0 6px rgba(29, 155, 240, 0.5));
}

.sidebar-nav .nav-link i {
    font-size: 16px;
    width: 18px;
    text-align: center;
    color: var(--text-muted);
}

.sidebar-nav .nav-link:hover i {
    color: var(--text-primary);
}

.nav-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 6px 12px;
}

.nav-section-title {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px 2px;
    margin-top: 2px;
}

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

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-info i {
    font-size: 24px;
    color: var(--text-secondary);
}

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

.user-details .username {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 12px;
}

.user-details .role {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: capitalize;
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 6px 10px;
    background-color: rgba(244, 33, 46, 0.1);
    border: 1px solid rgba(244, 33, 46, 0.2);
    border-radius: var(--radius-md);
    color: var(--accent-red);
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
}

.logout-btn:hover {
    background-color: rgba(244, 33, 46, 0.15);
    border-color: rgba(244, 33, 46, 0.3);
    color: var(--accent-red);
}

.logout-btn i {
    font-size: 13px;
}

/* ================================================
   MAIN CONTENT & HEADER
   ================================================ */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    height: var(--header-height);
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(29, 155, 240, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 22px;
    cursor: pointer;
    padding: 8px;
}

.page-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.header-right .btn-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: var(--radius-md);
}

.header-right .btn-link:hover {
    background-color: var(--bg-hover);
}

.header-right .dropdown-menu {
    background-color: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 8px;
}

.header-right .dropdown-item {
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
}

.header-right .dropdown-item:hover {
    background-color: var(--bg-hover);
}

.header-right .dropdown-divider {
    border-color: var(--border-color);
    margin: 8px 0;
}

/* ================================================
   CONTENT WRAPPER
   ================================================ */
.content-wrapper {
    flex: 1;
    padding: 24px;
    max-width: 1400px;
}

/* ================================================
   CARDS
   ================================================ */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    box-shadow: var(--border-glow);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    border-color: var(--border-light);
    box-shadow: var(--border-glow-hover);
}

.card-header {
    background-color: transparent;
    border-bottom: 1px solid var(--border-color);
    padding: 16px 20px;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header i {
    color: var(--accent-blue);
    filter: drop-shadow(0 0 4px rgba(29, 155, 240, 0.4));
}

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

/* ================================================
   STAT CARDS (Dashboard)
   ================================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--border-glow);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    border-color: var(--border-light);
    box-shadow: var(--border-glow-hover);
}

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

.stat-icon.blue {
    background-color: rgba(29, 155, 240, 0.15);
    color: var(--accent-blue);
    box-shadow: 0 0 15px rgba(29, 155, 240, 0.3), inset 0 0 10px rgba(29, 155, 240, 0.1);
}

.stat-icon.green {
    background-color: rgba(0, 255, 136, 0.12);
    color: var(--accent-green);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3), inset 0 0 10px rgba(0, 255, 136, 0.1);
}

.stat-icon.purple {
    background-color: rgba(168, 85, 247, 0.12);
    color: var(--accent-purple);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.3), inset 0 0 10px rgba(168, 85, 247, 0.1);
}

.stat-icon.yellow {
    background-color: rgba(255, 217, 61, 0.12);
    color: var(--accent-yellow);
    box-shadow: 0 0 15px rgba(255, 217, 61, 0.3), inset 0 0 10px rgba(255, 217, 61, 0.1);
}

.stat-info {
    flex: 1;
}

.stat-value {
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

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

/* ================================================
   DASHBOARD LAYOUT
   ================================================ */
.dashboard-container {
    font-family: 'Outfit', sans-serif;
}

.dashboard-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.chart-card .card-body {
    padding: 20px;
}

.chart-wrapper {
    position: relative;
    height: 220px;
}

/* Account Type List */
.account-type-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.account-type-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.account-type-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.account-type-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-primary);
}

.account-type-count {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.progress-bar {
    height: 8px;
    background-color: var(--bg-input);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
}

.progress-fill.pro {
    background: linear-gradient(90deg, var(--accent-green), rgba(0, 255, 136, 0.7));
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}
.progress-fill.basic {
    background: linear-gradient(90deg, var(--accent-blue), rgba(29, 155, 240, 0.7));
    box-shadow: 0 0 10px rgba(29, 155, 240, 0.5);
}
.progress-fill.free {
    background: linear-gradient(90deg, var(--text-muted), rgba(83, 100, 113, 0.7));
}

/* Gauge Card */
.gauge-card .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
}

.gauge-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    margin-bottom: 20px;
}

.gauge-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.gauge-bg {
    fill: none;
    stroke: var(--bg-input);
    stroke-width: 10;
}

.gauge-progress {
    fill: none;
    stroke-width: 10;
    stroke-linecap: round;
    stroke: var(--accent-green);
    filter: drop-shadow(0 0 6px rgba(0, 255, 136, 0.5));
}

.gauge-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.gauge-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.gauge-label {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.gauge-legend {
    display: flex;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    width: 100%;
    justify-content: center;
}

.gauge-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.gauge-legend-item .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.gauge-legend-item .dot.success { background-color: var(--accent-green); }
.gauge-legend-item .dot.failed { background-color: var(--accent-red); }
.gauge-legend-item .dot.limited { background-color: var(--accent-yellow); }

.gauge-legend-item .label {
    color: var(--text-secondary);
}

.gauge-legend-item .value {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    color: var(--text-primary);
}

/* Activity Card */
.activity-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--accent-green);
    font-weight: 600;
    background-color: rgba(0, 186, 124, 0.1);
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.live-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
}

.activity-list {
    max-height: 320px;
    overflow-y: auto;
}

.activity-card .activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
}

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

.activity-card .activity-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.activity-card .activity-icon.tweet {
    background-color: rgba(29, 155, 240, 0.15);
    color: var(--accent-blue);
    box-shadow: 0 0 12px rgba(29, 155, 240, 0.25);
}

.activity-card .activity-icon.retweet {
    background-color: rgba(0, 255, 136, 0.12);
    color: var(--accent-green);
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.25);
}

.activity-card .activity-icon.reply {
    background-color: rgba(255, 217, 61, 0.12);
    color: var(--accent-yellow);
    box-shadow: 0 0 12px rgba(255, 217, 61, 0.25);
}

.activity-card .activity-icon.delete {
    background-color: rgba(255, 71, 87, 0.12);
    color: var(--accent-red);
    box-shadow: 0 0 12px rgba(255, 71, 87, 0.25);
}

.activity-card .activity-content {
    flex: 1;
    min-width: 0;
}

.activity-card .activity-title {
    font-size: 13px;
    color: var(--text-primary);
}

.activity-card .activity-user {
    color: var(--accent-blue);
    font-weight: 600;
}

.activity-card .activity-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.activity-status {
    font-size: 16px;
}

.activity-status.success { color: var(--accent-green); }
.activity-status.failed { color: var(--accent-red); }
.activity-status.rate_limited { color: var(--accent-yellow); }

.activity-card .card-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
    background: transparent;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--border-glow);
    transition: all 0.2s ease;
}

.quick-action-btn:hover {
    border-color: var(--border-light);
    background-color: var(--bg-elevated);
    color: var(--text-primary);
    box-shadow: var(--border-glow-hover);
}

.quick-action-btn.primary {
    background: linear-gradient(135deg, var(--accent-blue), rgba(29, 155, 240, 0.85));
    border-color: var(--accent-blue);
    color: white;
    box-shadow: 0 0 20px rgba(29, 155, 240, 0.4);
}

.quick-action-btn.primary:hover {
    background: linear-gradient(135deg, var(--accent-blue-hover), rgba(29, 155, 240, 0.9));
    border-color: var(--accent-blue-hover);
    box-shadow: 0 0 30px rgba(29, 155, 240, 0.6);
}

.quick-action-btn.primary i {
    color: white;
}

.quick-action-btn i {
    font-size: 18px;
    color: var(--accent-blue);
}

/* Dashboard Empty */
.empty-state.small {
    padding: 24px 16px;
}

.empty-state.small i {
    font-size: 32px;
    margin-bottom: 6px;
}

.empty-state.small p {
    font-size: 12px;
    margin-bottom: 0;
}

.empty-state.small .btn {
    padding: 6px 12px;
    font-size: 12px;
}

/* ================================================
   PAGE HEADER
   ================================================ */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.page-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.page-header-right {
    display: flex;
    gap: 10px;
}

.filter-group {
    display: flex;
    gap: 10px;
}

.filter-group .form-select {
    min-width: 160px;
}

/* ================================================
   ACCOUNT STATS BAR
   ================================================ */
.account-stats-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.account-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--text-secondary);
}

.account-stat-item i {
    font-size: 16px;
    color: var(--accent-blue);
}

.account-stat-item .stat-number {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
}

.account-stat-item .stat-label {
    color: var(--text-muted);
    font-size: 12px;
}

.account-stat-item.with-api {
    border-color: rgba(0, 255, 136, 0.3);
}

.account-stat-item.with-api i {
    color: var(--accent-green);
}

.account-stat-item.with-api .stat-number {
    color: var(--accent-green);
}

.account-stat-item.without-api {
    border-color: rgba(255, 217, 61, 0.3);
}

.account-stat-item.without-api i {
    color: var(--accent-yellow);
}

.account-stat-item.without-api .stat-number {
    color: var(--accent-yellow);
}

.account-stat-item.gologin {
    border-color: rgba(0, 188, 212, 0.3);
}

.account-stat-item.gologin i {
    color: var(--accent-cyan);
}

.account-stat-item.gologin .stat-number {
    color: var(--accent-cyan);
}

/* ================================================
   BULK ACTIONS BAR
   ================================================ */
.bulk-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-elevated);
    border: 1px solid var(--accent-blue);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    margin-bottom: 20px;
}

.bulk-actions-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-size: 14px;
}

.bulk-actions-info i {
    color: var(--accent-blue);
    font-size: 18px;
}

.bulk-actions-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bulk-actions-controls .form-select {
    width: 150px;
}

/* ================================================
   ACCOUNTS GRID
   ================================================ */
.accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.filter-empty-msg {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
}

.filter-empty-msg i {
    font-size: 20px;
    color: var(--text-muted);
}

.account-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--border-glow);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.account-card:hover {
    border-color: var(--border-light);
    box-shadow: var(--border-glow-hover);
}

.account-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.account-status .status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.active {
    background-color: var(--accent-green);
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
}

.status-dot.inactive {
    background-color: var(--text-muted);
    box-shadow: 0 0 8px rgba(83, 100, 113, 0.4);
}

.status-dot.warning {
    background-color: var(--accent-yellow);
    box-shadow: 0 0 8px rgba(255, 217, 61, 0.6);
}

.status-dot.rate-limited {
    background-color: var(--accent-red);
    box-shadow: 0 0 8px rgba(255, 71, 87, 0.6);
}

.account-card-body {
    display: flex;
    align-items: center;
    gap: 14px;
}

.account-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.account-avatar i {
    font-size: 22px;
    color: var(--text-muted);
}

.account-info {
    flex: 1;
    min-width: 0;
}

.account-username {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-email {
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.account-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.api-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
}

.api-badge.active {
    background-color: rgba(0, 186, 124, 0.12);
    color: var(--accent-green);
}

.api-badge.inactive {
    background-color: rgba(244, 67, 54, 0.12);
    color: #f44336;
}

.api-badge.partial {
    background-color: rgba(255, 152, 0, 0.12);
    color: #ff9800;
}

.api-badge.gologin {
    background-color: rgba(0, 186, 124, 0.15);
    color: #00ba7c;
    padding: 4px 6px;
}

/* Missing API Fields */
.account-missing-fields {
    padding: 8px 10px;
    background-color: rgba(255, 152, 0, 0.08);
    border-radius: var(--radius-sm);
    border-left: 3px solid #ff9800;
}

.missing-fields-label {
    font-size: 11px;
    font-weight: 600;
    color: #ff9800;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.missing-fields-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.missing-field-tag {
    font-size: 10px;
    padding: 2px 6px;
    background-color: rgba(255, 152, 0, 0.15);
    color: #ffb74d;
    border-radius: 3px;
    white-space: nowrap;
}

.account-missing-fields.full-setup {
    background-color: rgba(244, 67, 54, 0.08);
    border-left-color: #f44336;
}

.account-missing-fields.full-setup .missing-fields-label {
    color: #f44336;
    margin-bottom: 0;
}

.account-owner {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
    padding: 6px 10px;
    background-color: var(--bg-elevated);
    border-radius: var(--radius-sm);
}

.account-card-actions {
    display: flex;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background-color: var(--bg-elevated);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    cursor: pointer;
}

.action-btn:hover {
    background-color: var(--bg-hover);
    color: var(--text-primary);
}

.action-btn.danger:hover {
    background-color: rgba(244, 33, 46, 0.12);
    color: var(--accent-red);
}

/* ================================================
   CATEGORIES GRID
   ================================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.category-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: var(--border-glow);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
    border-color: var(--border-light);
    box-shadow: var(--border-glow-hover);
}

.category-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background-color: rgba(168, 85, 247, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple);
    font-size: 20px;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

.category-count {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    background-color: var(--bg-elevated);
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.category-card-body {
    flex: 1;
}

.category-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 6px 0;
}

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

.category-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.category-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.category-owner,
.category-date {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.category-actions {
    display: flex;
    gap: 6px;
}

.category-actions .action-btn {
    flex: none;
    width: 36px;
    height: 36px;
    padding: 0;
}

/* ================================================
   ACTIVITIES LIST
   ================================================ */
.activities-list {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--border-glow);
}

.activity-row {
    display: flex;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.activity-row:last-child {
    border-bottom: none;
}

.activity-row:hover {
    background-color: var(--bg-elevated);
}

.activity-row-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.activity-row-icon.tweet {
    background-color: rgba(29, 155, 240, 0.15);
    color: var(--accent-blue);
    box-shadow: 0 0 12px rgba(29, 155, 240, 0.3);
}

.activity-row-icon.retweet {
    background-color: rgba(0, 255, 136, 0.12);
    color: var(--accent-green);
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.3);
}

.activity-row-icon.reply {
    background-color: rgba(255, 217, 61, 0.12);
    color: var(--accent-yellow);
    box-shadow: 0 0 12px rgba(255, 217, 61, 0.3);
}

.activity-row-icon.delete {
    background-color: rgba(255, 71, 87, 0.12);
    color: var(--accent-red);
    box-shadow: 0 0 12px rgba(255, 71, 87, 0.3);
}

.activity-row-content {
    flex: 1;
    min-width: 0;
}

.activity-row-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.activity-row-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

.status-badge.success {
    background-color: rgba(0, 255, 136, 0.15);
    color: var(--accent-green);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.status-badge.failed {
    background-color: rgba(255, 71, 87, 0.15);
    color: var(--accent-red);
    box-shadow: 0 0 10px rgba(255, 71, 87, 0.2);
}

.status-badge.limited {
    background-color: rgba(255, 217, 61, 0.15);
    color: var(--accent-yellow);
    box-shadow: 0 0 10px rgba(255, 217, 61, 0.2);
}

.activity-row-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--text-secondary);
}

.meta-item i {
    font-size: 14px;
    color: var(--text-muted);
}

.activity-row-error {
    margin-top: 10px;
    padding: 8px 12px;
    background-color: rgba(244, 33, 46, 0.08);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--accent-red);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tweet-link-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tweet-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 12px;
    padding: 4px 8px;
    background: rgba(29, 155, 240, 0.1);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.tweet-link:hover {
    background: rgba(29, 155, 240, 0.2);
    color: var(--accent-cyan);
}

.btn-copy-url {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 1px solid rgba(29, 155, 240, 0.3);
    background: rgba(29, 155, 240, 0.1);
    border-radius: var(--radius-sm);
    color: var(--accent-blue);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-copy-url:hover {
    background: rgba(29, 155, 240, 0.2);
    border-color: rgba(29, 155, 240, 0.5);
    color: var(--accent-cyan);
}

.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-top: 16px;
}

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

/* ================================================
   TABLES
   ================================================ */
.table {
    color: var(--text-primary);
    margin-bottom: 0;
    background-color: var(--bg-card);
    --bs-table-bg: var(--bg-card);
    --bs-table-color: var(--text-primary);
    --bs-table-border-color: var(--border-color);
    --bs-table-striped-bg: var(--bg-elevated);
    --bs-table-hover-bg: var(--bg-hover);
    --bs-table-hover-color: var(--text-primary);
    --bs-table-color-state: var(--text-primary);
}

.table thead th {
    background-color: var(--bg-elevated);
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
    padding: 12px 16px;
}

.table tbody tr {
    background-color: var(--bg-card);
}

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

.table tbody tr:hover {
    background-color: var(--bg-hover);
    --bs-table-hover-color: var(--text-primary);
    --bs-table-color-state: var(--text-primary);
    color: var(--text-primary);
}

.table tbody tr:hover td {
    background-color: transparent;
    color: var(--text-primary) !important;
}

.table tbody tr:hover td * {
    color: inherit;
}

.table-responsive {
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--bg-card);
}

/* Table Links */
.table a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.15s ease;
}

.table a:hover {
    color: var(--accent-green);
    text-decoration: none;
}

.table a.text-info {
    color: var(--accent-blue);
}

.table a.text-info:hover {
    color: var(--accent-green);
}

/* Twitter Username Link */
.twitter-username {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.twitter-username:hover {
    color: var(--accent-green);
}

/* ================================================
   BUTTONS
   ================================================ */
.btn-twitter {
    background: linear-gradient(135deg, var(--accent-blue), rgba(29, 155, 240, 0.85));
    border: none;
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    box-shadow: 0 0 20px rgba(29, 155, 240, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-twitter:hover {
    background: linear-gradient(135deg, var(--accent-blue-hover), var(--accent-blue));
    color: white;
    box-shadow: 0 0 30px rgba(29, 155, 240, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.btn-outline-twitter {
    background-color: transparent;
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    box-shadow: 0 0 10px rgba(29, 155, 240, 0.15);
    transition: all 0.2s ease;
}

.btn-outline-twitter:hover {
    background: linear-gradient(135deg, var(--accent-blue), rgba(29, 155, 240, 0.85));
    color: white;
    box-shadow: 0 0 25px rgba(29, 155, 240, 0.5);
}

.btn-dark-custom {
    background-color: var(--bg-elevated);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.btn-dark-custom:hover {
    background-color: var(--bg-hover);
    color: var(--text-primary);
}

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

.btn-group-sm > .btn {
    padding: 4px 8px;
    font-size: 12px;
}

/* ================================================
   FORMS
   ================================================ */
.form-control,
.form-select {
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-size: 14px;
}

.form-control:focus,
.form-select:focus {
    background-color: var(--bg-input);
    border-color: var(--accent-blue);
    color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(29, 155, 240, 0.15), 0 0 15px rgba(29, 155, 240, 0.2);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control:disabled,
.form-control[readonly],
.form-select:disabled {
    background-color: var(--bg-dark);
    color: var(--text-secondary);
    border-color: var(--border-color);
    opacity: 0.8;
}

.form-label {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 13px;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.form-check-input {
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    width: 18px;
    height: 18px;
}

.form-check-input:checked {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(29, 155, 240, 0.15);
}

.form-check-label {
    color: var(--text-primary);
    font-size: 14px;
}

.form-switch .form-check-input {
    width: 40px;
    height: 22px;
    border-radius: 11px;
}

/* ================================================
   BADGES
   ================================================ */
.badge {
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
}

.badge-free {
    background-color: var(--text-muted);
    color: white;
}

.badge-basic {
    background: linear-gradient(135deg, var(--accent-blue), rgba(29, 155, 240, 0.8));
    color: white;
    box-shadow: 0 0 8px rgba(29, 155, 240, 0.3);
}

.badge-pro {
    background: linear-gradient(135deg, var(--accent-green), rgba(0, 255, 136, 0.8));
    color: #0a0f14;
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.3);
}

.badge-success {
    background: linear-gradient(135deg, var(--accent-green), rgba(0, 255, 136, 0.8));
    color: #0a0f14;
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.3);
}

.badge-danger {
    background: linear-gradient(135deg, var(--accent-red), rgba(255, 71, 87, 0.8));
    color: white;
    box-shadow: 0 0 8px rgba(255, 71, 87, 0.3);
}

.badge-warning {
    background: linear-gradient(135deg, var(--accent-yellow), rgba(255, 217, 61, 0.8));
    color: #0a0f14;
    box-shadow: 0 0 8px rgba(255, 217, 61, 0.3);
}

.badge-category {
    background: linear-gradient(135deg, #3498db, rgba(52, 152, 219, 0.8));
    color: white;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.3);
}

/* ================================================
   ALERTS
   ================================================ */
.alert {
    border: none;
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 16px;
    font-size: 14px;
}

.alert-success {
    background-color: rgba(0, 255, 136, 0.1);
    color: var(--accent-green);
    border-left: 3px solid var(--accent-green);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.1);
}

.alert-danger {
    background-color: rgba(255, 71, 87, 0.1);
    color: var(--accent-red);
    border-left: 3px solid var(--accent-red);
    box-shadow: 0 0 15px rgba(255, 71, 87, 0.1);
}

.alert-warning {
    background-color: rgba(255, 217, 61, 0.1);
    color: var(--accent-yellow);
    border-left: 3px solid var(--accent-yellow);
    box-shadow: 0 0 15px rgba(255, 217, 61, 0.1);
}

.alert .btn-close {
    filter: invert(1);
    opacity: 0.5;
}

/* Auth Alerts */
.auth-alerts-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: 100%;
    max-width: 400px;
    padding: 0 20px;
}

/* ================================================
   AUTH PAGES
   ================================================ */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: radial-gradient(ellipse at center, rgba(29, 155, 240, 0.08) 0%, var(--bg-dark) 70%);
}

.auth-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 36px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 0 50px rgba(29, 155, 240, 0.2), 0 0 100px rgba(29, 155, 240, 0.1);
}

.auth-card .auth-logo {
    text-align: center;
    margin-bottom: 28px;
}

.auth-card .twitter-logo {
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 0 15px rgba(29, 155, 240, 0.7));
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 24px;
    font-weight: 700;
    font-size: 24px;
}

/* ================================================
   ACTIVITY LIST
   ================================================ */
.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
}

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

.activity-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.activity-icon.tweet {
    background-color: rgba(29, 155, 240, 0.15);
    color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(29, 155, 240, 0.25);
}

.activity-icon.retweet {
    background-color: rgba(0, 255, 136, 0.15);
    color: var(--accent-green);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.25);
}

.activity-icon.reply {
    background-color: rgba(255, 217, 61, 0.15);
    color: var(--accent-yellow);
    box-shadow: 0 0 10px rgba(255, 217, 61, 0.25);
}

.activity-icon.delete {
    background-color: rgba(255, 71, 87, 0.15);
    color: var(--accent-red);
    box-shadow: 0 0 10px rgba(255, 71, 87, 0.25);
}

.activity-content {
    flex: 1;
}

.activity-content .activity-title {
    font-weight: 500;
    margin-bottom: 4px;
    font-size: 14px;
}

.activity-content .activity-meta {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ================================================
   EMPTY STATE
   ================================================ */
.empty-state {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.3;
    color: var(--text-muted);
}

.empty-state h4 {
    color: var(--text-primary);
    margin-bottom: 6px;
    font-size: 16px;
    font-weight: 600;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 13px;
}

/* Empty State Buttons - Compact */
.empty-state .btn {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: var(--radius-sm);
}

.empty-state .btn-twitter {
    box-shadow: 0 0 12px rgba(29, 155, 240, 0.3);
}

.empty-state .btn-twitter:hover {
    box-shadow: 0 0 18px rgba(29, 155, 240, 0.4);
}

.empty-state .btn-dark-custom {
    padding: 8px 16px;
}

.empty-state .d-flex.gap-2 {
    gap: 8px !important;
}

/* ================================================
   TWEET ITEMS (Profile Page)
   ================================================ */
.tweet-item {
    background-color: var(--bg-card);
}

.tweet-item:hover {
    background-color: var(--bg-elevated);
}

.tweet-checkbox {
    display: flex;
    align-items: flex-start;
    padding-top: 4px;
}

.tweet-checkbox .form-check-input {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
}

.tweet-checkbox .form-check-input:checked {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
}

/* ================================================
   COMPOSE TWEET
   ================================================ */
.compose-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
    max-width: 900px;
}

.compose-main {
    flex: 1;
}

.compose-card .card-body {
    padding: 24px;
}

.compose-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.compose-input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.compose-textarea {
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 16px;
    resize: none;
    width: 100%;
    min-height: 140px;
    padding: 16px;
    padding-bottom: 40px;
}

.compose-textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.compose-counter {
    position: absolute;
    bottom: 12px;
    right: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--text-muted);
}

.compose-media {
    margin-bottom: 20px;
}

.media-upload-area {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    background-color: var(--bg-input);
}

.media-upload-area:hover {
    border-color: var(--accent-blue);
    background-color: rgba(29, 155, 240, 0.05);
}

.media-upload-area input {
    display: none;
}

.media-upload-content {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 14px;
}

.media-upload-content i {
    font-size: 20px;
    color: var(--accent-blue);
}

.media-preview {
    margin-top: 12px;
}

.media-preview img {
    max-width: 100%;
    border-radius: var(--radius-md);
}

.quick-action-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    box-shadow: var(--border-glow);
    transition: all 0.2s ease;
}

.quick-action-card:hover {
    border-color: var(--border-light);
    background-color: var(--bg-elevated);
    box-shadow: var(--border-glow-hover);
}

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

.quick-action-icon.retweet {
    background-color: rgba(0, 255, 136, 0.15);
    color: var(--accent-green);
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.25);
}

.quick-action-icon.reply {
    background-color: rgba(255, 217, 61, 0.15);
    color: var(--accent-yellow);
    box-shadow: 0 0 12px rgba(255, 217, 61, 0.25);
}

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

.quick-action-title {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
}

.quick-action-desc {
    font-size: 13px;
    color: var(--text-muted);
}

.quick-action-card > i {
    color: var(--text-muted);
}

.compose-textarea::placeholder {
    color: var(--text-muted);
}

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

.compose-actions {
    display: flex;
    gap: 8px;
}

.char-counter {
    color: var(--text-secondary);
    font-size: 13px;
    font-family: 'JetBrains Mono', monospace;
}

.char-counter.warning { color: var(--accent-yellow); }
.char-counter.danger { color: var(--accent-red); }

/* ================================================
   COMPOSE v2 - Job Queue System
   ================================================ */

/* Account Checkbox List */
.account-checkbox-list {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-input);
}

.account-checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.15s ease;
}

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

.account-checkbox-item:hover {
    background-color: var(--bg-hover);
}

.account-checkbox-item .form-check-input {
    width: 18px;
    height: 18px;
    margin: 0;
    flex-shrink: 0;
}

.account-checkbox-item .form-check-input:checked {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.account-checkbox-item .account-username {
    font-weight: 500;
    color: var(--text-primary);
}

/* Rate Limited Account */
.account-checkbox-item.rate-limited {
    background-color: rgba(220, 53, 69, 0.08);
    opacity: 0.7;
}

.account-checkbox-item.rate-limited:hover {
    background-color: rgba(220, 53, 69, 0.12);
}

.account-checkbox-item.rate-limited .account-username {
    color: var(--accent-red) !important;
    text-decoration: line-through;
}

.account-checkbox-item.rate-limited .form-check-input:disabled {
    opacity: 0.3;
}

/* Account Type Badges */
.bg-pro {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink)) !important;
    color: #fff;
}

.bg-basic {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan)) !important;
    color: #fff;
}

.bg-free {
    background-color: var(--bg-elevated) !important;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.bg-twitter {
    background-color: var(--accent-blue) !important;
}

/* Tweet Mode Cards */
.tweet-mode-card {
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
}

.tweet-mode-card:hover {
    border-color: var(--border-light);
    box-shadow: var(--border-glow-hover);
}

.tweet-mode-card .card-header {
    background-color: var(--bg-elevated);
}

.tweet-mode-card .compose-input-wrapper {
    margin-bottom: 0;
}

.tweet-mode-card .compose-textarea {
    min-height: 100px;
}

/* Job Items */
.job-item {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.15s ease;
}

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

.job-item:hover {
    background-color: var(--bg-hover);
}

.job-item.completed {
    opacity: 0.85;
}

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

.job-type {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-status {
    font-size: 12px;
    font-weight: 500;
    text-transform: capitalize;
}

.job-status.pending {
    color: var(--text-muted);
}

.job-status.processing {
    color: var(--accent-blue);
}

.job-status.completed {
    color: var(--accent-green);
}

.job-status.cancelled {
    color: var(--accent-yellow);
}

.job-status.failed {
    color: var(--accent-red);
}

.job-content {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.4;
    word-break: break-word;
}

.job-progress .progress {
    background-color: var(--bg-input);
    border-radius: 3px;
}

.job-progress .progress-bar {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
    transition: width 0.3s ease;
}

.job-stats {
    font-size: 12px;
    font-family: 'JetBrains Mono', monospace;
}

.job-meta {
    font-size: 11px;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

/* Media Upload Area - Enhanced */
.media-upload-area {
    flex-direction: column;
    text-align: center;
    min-height: 120px;
}

.media-upload-content {
    flex-direction: column;
    gap: 8px;
}

.media-upload-content i {
    font-size: 2.5rem;
}

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

.spin {
    animation: spin 1s linear infinite;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.empty-state i {
    color: var(--text-muted);
    margin-bottom: 12px;
}

.empty-state h5 {
    color: var(--text-primary);
    margin-bottom: 8px;
}

/* ================================================
   MODALS
   ================================================ */
.modal-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: 0 0 60px rgba(29, 155, 240, 0.25), 0 0 120px rgba(29, 155, 240, 0.1);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 16px 20px;
}

.modal-title {
    font-weight: 600;
    font-size: 18px;
}

.modal-header .btn-close {
    filter: invert(1);
    opacity: 0.6;
}

.modal-body {
    padding: 20px;
}

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

/* ================================================
   PAGINATION
   ================================================ */
.pagination {
    gap: 4px;
}

.pagination .page-link {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-size: 13px;
}

.pagination .page-link:hover {
    background-color: var(--bg-hover);
    color: var(--text-primary);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--accent-blue), rgba(29, 155, 240, 0.8));
    border-color: var(--accent-blue);
    color: white;
    box-shadow: 0 0 12px rgba(29, 155, 240, 0.4);
}

.pagination .page-item.disabled .page-link {
    background-color: var(--bg-elevated);
    color: var(--text-muted);
}

/* ================================================
   FILE UPLOAD
   ================================================ */
.file-upload {
    border: 2px dashed var(--border-light);
    border-radius: var(--radius-md);
    padding: 36px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.file-upload:hover {
    border-color: var(--accent-blue);
    background-color: rgba(29, 155, 240, 0.08);
    box-shadow: 0 0 25px rgba(29, 155, 240, 0.15);
}

.file-upload i {
    font-size: 40px;
    color: var(--accent-blue);
    margin-bottom: 12px;
    filter: drop-shadow(0 0 8px rgba(29, 155, 240, 0.4));
}

.file-upload p {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.file-upload input[type="file"] {
    display: none;
}

/* ================================================
   SPINNER
   ================================================ */
.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    box-shadow: 0 0 15px rgba(29, 155, 240, 0.3);
}

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

/* ================================================
   TWEET PREVIEW
   ================================================ */
.tweet-preview {
    background-color: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-top: 16px;
}

.tweet-preview-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.tweet-preview-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.tweet-preview-content {
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 15px;
    line-height: 1.5;
}

.tweet-preview-media {
    margin-top: 12px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.tweet-preview-media img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
}

/* ================================================
   ACCOUNT TYPE COLORS
   ================================================ */
.account-type-free { color: var(--text-muted); }
.account-type-basic { color: var(--accent-blue); }
.account-type-pro { color: var(--accent-green); }

/* ================================================
   RATE LIMIT
   ================================================ */
.rate-limit-bar {
    height: 5px;
    background-color: var(--bg-input);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 6px;
}

.rate-limit-bar .progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), rgba(29, 155, 240, 0.7));
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(29, 155, 240, 0.4);
}

.rate-limit-bar .progress.warning {
    background: linear-gradient(90deg, var(--accent-yellow), rgba(255, 217, 61, 0.7));
    box-shadow: 0 0 8px rgba(255, 217, 61, 0.4);
}

.rate-limit-bar .progress.danger {
    background: linear-gradient(90deg, var(--accent-red), rgba(255, 71, 87, 0.7));
    box-shadow: 0 0 8px rgba(255, 71, 87, 0.4);
}

.rate-limit-info {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ================================================
   SETTINGS PAGE
   ================================================ */
.api-info-box {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 20px;
}

.api-info-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 12px;
}

.api-info-header i {
    font-size: 16px;
}

.api-info-steps {
    margin: 0;
    padding-left: 20px;
    color: var(--text-secondary);
    font-size: 13px;
}

.api-info-steps li {
    margin-bottom: 6px;
}

.api-info-steps a {
    color: var(--accent-blue);
    text-decoration: none;
}

.api-info-steps a:hover {
    text-decoration: underline;
}

.default-prompt-preview {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px;
    margin: 0;
    font-size: 12px;
    color: var(--text-secondary);
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: 200px;
    overflow-y: auto;
    font-family: 'JetBrains Mono', monospace;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
}

.info-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-row {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 991px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.2s ease;
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .sidebar-toggle {
        display: block;
    }

    .compose-container {
        grid-template-columns: 1fr;
    }

    .compose-sidebar {
        flex-direction: row;
    }

    .compose-sidebar .quick-action-card {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

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

    .content-wrapper {
        padding: 16px;
    }

    .page-header {
        flex-direction: column;
        align-items: stretch;
    }

    .page-header-left,
    .page-header-right {
        width: 100%;
    }

    .filter-group {
        flex-direction: column;
    }

    .filter-group .form-select {
        width: 100%;
    }

    .compose-sidebar {
        flex-direction: column;
    }

    .bulk-actions-bar {
        flex-direction: column;
        gap: 12px;
    }

    .bulk-actions-controls {
        width: 100%;
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .content-wrapper {
        padding: 12px;
    }

    .auth-card {
        padding: 24px;
    }

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

    .stat-card {
        padding: 16px;
    }

    .card-header {
        padding: 14px 16px;
        font-size: 15px;
    }

    .card-body {
        padding: 16px;
    }

    .gauge-legend {
        flex-direction: column;
        gap: 10px;
    }
}

/* ================================================
   UTILITY CLASSES
   ================================================ */
.text-primary-custom { color: var(--text-primary) !important; }
.text-secondary-custom { color: var(--text-secondary) !important; }
.text-muted-custom { color: var(--text-muted) !important; }
.text-accent { color: var(--accent-blue) !important; }
.text-success-custom { color: var(--accent-green) !important; }
.text-danger-custom { color: var(--accent-red) !important; }

/* Override Bootstrap text utilities for dark theme */
.text-secondary { color: var(--text-primary) !important; opacity: 0.85; }
.text-muted { color: var(--text-secondary) !important; }
.text-success { color: var(--accent-green) !important; }
.text-danger { color: var(--accent-red) !important; }
.text-warning { color: var(--accent-yellow) !important; }

/* Section Headers */
h6.text-secondary, .section-header {
    color: var(--text-primary) !important;
    opacity: 0.9;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
    margin-bottom: 16px !important;
}

.bg-card { background-color: var(--bg-card) !important; }
.bg-elevated { background-color: var(--bg-elevated) !important; }

.border-custom { border-color: var(--border-color) !important; }

/* ================================================
   OTP / 2FA STYLES
   ================================================ */
.otp-progress {
    height: 4px;
    background: var(--bg-dark);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 6px;
}

.otp-progress-bar {
    height: 100%;
    width: 100%;
    background: var(--twitter-blue);
    border-radius: 2px;
    transition: width 1s linear, background 0.3s ease;
    box-shadow: 0 0 12px rgba(29, 155, 240, 0.7);
}

.otp-timer {
    font-size: 12px;
    font-family: 'JetBrains Mono', monospace;
}

.otp-code-input {
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-input)) !important;
    border: 1px solid var(--border-light) !important;
    color: var(--accent-cyan) !important;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.btn-copy-otp {
    transition: all 0.2s ease;
}

.btn-copy-otp:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
}

/* Input group buttons for password/copy */
.input-group .btn-outline-secondary {
    border-color: var(--border-color);
    color: var(--text-secondary);
    background: transparent;
}

.input-group .btn-outline-secondary:hover {
    background: var(--bg-hover);
    border-color: var(--border-light);
    color: var(--text-primary);
}

.input-group .btn-success {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: #000;
}

/* Monospace for sensitive data */
.font-monospace {
    font-family: 'JetBrains Mono', 'Fira Code', monospace !important;
}

/* ================================================
   AI TWEET PREVIEW
   ================================================ */
.ai-preview-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 8px;
}

.ai-preview-item {
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-input));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px;
    transition: all 0.2s ease;
}

.ai-preview-item:hover {
    border-color: var(--border-light);
    box-shadow: var(--border-glow);
}

.ai-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.ai-preview-header .account-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-preview-header .account-username {
    font-weight: 600;
    color: var(--text-primary);
}

.ai-preview-header .char-count {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--text-secondary);
    padding: 2px 8px;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
}

.ai-preview-header .char-count.text-warning {
    color: var(--accent-yellow);
    background: rgba(255, 217, 61, 0.1);
}

.ai-preview-header .char-count.text-danger {
    color: var(--accent-red);
    background: rgba(255, 71, 87, 0.1);
}

.ai-preview-textarea {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    min-height: 60px;
    transition: all 0.2s ease;
}

.ai-preview-textarea:focus {
    border-color: var(--accent-blue) !important;
    box-shadow: var(--glow-blue);
    outline: none;
}

.ai-preview-textarea::placeholder {
    color: var(--text-muted);
}

/* Spin animation for loading icons */
.spin {
    animation: spin 1s linear infinite;
}

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

/* ================================================
   CUSTOM TOAST NOTIFICATIONS
   ================================================ */
.custom-toast {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-neon);
    min-width: 320px;
}

.custom-toast .toast-header {
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    border-left: 3px solid var(--accent-blue);
}

.custom-toast .toast-body {
    color: var(--text-secondary);
    padding: 12px 16px;
}

.custom-toast .btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.5;
}

.custom-toast .btn-close-white:hover {
    opacity: 1;
}

/* ================================================
   JOBS PAGE
   ================================================ */
.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.job-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.job-card:hover {
    border-color: var(--border-light);
    box-shadow: var(--border-glow-hover);
    transform: translateY(-2px);
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.job-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.job-card-title h5 {
    margin: 0;
    color: var(--text-primary);
    font-weight: 500;
}

.job-badge {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
}

.job-badge.pending {
    background: rgba(255, 217, 61, 0.15);
    color: var(--accent-yellow);
}

.job-badge.processing {
    background: rgba(29, 155, 240, 0.15);
    color: var(--accent-blue);
}

.job-badge.completed {
    background: rgba(0, 255, 136, 0.15);
    color: var(--accent-green);
}

.job-badge.failed {
    background: rgba(255, 71, 87, 0.15);
    color: var(--accent-red);
}

.job-badge.cancelled {
    background: rgba(83, 100, 113, 0.15);
    color: var(--text-muted);
}

.job-card-meta {
    display: flex;
    gap: 16px;
    color: var(--text-muted);
    font-size: 13px;
}

.job-card-content-wrapper {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.job-card-content {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
}

.job-media-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.job-media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.job-media-video-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-card));
}

.job-media-video-icon i {
    font-size: 32px;
    color: var(--accent-blue);
}

.job-details-media {
    margin-bottom: 16px;
    text-align: center;
}

/* Media deleted placeholder */
.media-deleted-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    color: var(--text-muted);
    font-size: 11px;
}

.media-deleted-placeholder i {
    font-size: 24px;
    margin-bottom: 4px;
    opacity: 0.5;
}

.media-deleted-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--bg-dark);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 14px;
}

.job-card-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
}

.job-stat {
    display: flex;
    align-items: center;
    gap: 8px;
}

.job-stat-value {
    font-size: 20px;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
}

.job-stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

.job-card-progress {
    margin-bottom: 16px;
}

.job-card-progress .progress {
    height: 8px;
    background: var(--bg-dark);
    border-radius: var(--radius-full);
}

.job-card-progress .progress-bar {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
    border-radius: var(--radius-full);
}

.job-card-actions {
    display: flex;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

/* Active Job Bar */
.active-job-bar {
    background: linear-gradient(135deg, rgba(29, 155, 240, 0.1), rgba(0, 212, 255, 0.05));
    border: 1px solid rgba(29, 155, 240, 0.3);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.active-job-bar-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.active-job-bar-icon {
    width: 40px;
    height: 40px;
    background: rgba(29, 155, 240, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-size: 18px;
}

.active-job-bar-content {
    flex: 1;
}

.active-job-bar-title {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 4px;
}

.active-job-bar-progress {
    display: flex;
    align-items: center;
    gap: 12px;
}

.active-job-bar-progress .progress {
    flex: 1;
    height: 6px;
    background: var(--bg-dark);
    border-radius: var(--radius-full);
}

.active-job-bar-progress .progress-bar {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
}

.active-job-bar-stats {
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* Job Details */
.job-details-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

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

.job-details-body {
    padding: 20px;
}

.job-items-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 400px;
    overflow-y: auto;
}

.job-item-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.job-item-row:hover {
    background: var(--bg-hover);
}

.job-item-account {
    font-weight: 500;
    color: var(--text-primary);
    min-width: 120px;
}

.job-item-content {
    flex: 1;
    color: var(--text-secondary);
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.job-item-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.job-item-actions {
    display: flex;
    gap: 4px;
}

.job-item-actions .btn-icon {
    width: 28px;
    height: 28px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.job-item-actions .btn-icon:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: rgba(29, 155, 240, 0.1);
}

/* ========================================
   Media Library - Compose Page Grid
======================================== */
.media-library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
    max-height: 250px;
    overflow-y: auto;
    padding: 4px;
}

.media-library-item {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    background: var(--bg-dark);
}

.media-library-item:hover {
    border-color: var(--accent-blue);
    transform: scale(1.05);
}

.media-library-item.selected {
    border-color: var(--accent-green);
    box-shadow: var(--glow-green);
}

.media-library-item img,
.media-library-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-library-item-info {
    position: absolute;
    bottom: 4px;
    right: 4px;
}

.media-library-item-info .usage-badge {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
}

.media-video-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* Selected Media Card */
.selected-media-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.selected-media-preview {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

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

.selected-media-info {
    flex: 1;
    min-width: 0;
}

.selected-media-name {
    display: block;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

/* Media Upload Area Enhancement */
.media-upload-area {
    display: block;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.media-upload-area:hover {
    border-color: var(--accent-blue);
    background: rgba(29, 155, 240, 0.05);
}

.media-upload-content {
    color: var(--text-secondary);
}

.media-upload-content i {
    color: var(--accent-blue);
}

/* Job Media Preview */
.job-media-preview {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.job-media-preview img,
.job-media-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.job-media-preview-large {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-md);
}

.job-media-preview-large img,
.job-media-preview-large video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================================================
   MULTIPLE MEDIA SELECTION
   ================================================ */

/* Drag and Drop Zone */
.media-upload-area {
    border: 2px dashed var(--border-light);
    border-radius: var(--radius-md);
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: var(--bg-input);
}

.media-upload-area:hover,
.media-upload-area.drag-over {
    border-color: var(--accent-blue);
    background: rgba(29, 155, 240, 0.1);
    box-shadow: var(--glow-blue);
}

.media-upload-area.drag-over {
    transform: scale(1.02);
}

.media-upload-content {
    pointer-events: none;
}

/* Media Library Grid - Multi Select */
.media-library-item {
    position: relative;
    cursor: pointer;
}

.media-library-item.selected {
    border: 2px solid var(--accent-blue);
    box-shadow: var(--glow-blue);
}

.media-selected-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    z-index: 2;
    animation: popIn 0.2s ease;
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Selected Media List */
.selected-media-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.selected-media-item {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid var(--border-color);
    background: var(--bg-card);
}

.selected-media-item img,
.selected-media-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.selected-media-item .btn-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    background: var(--accent-red);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 2;
}

.selected-media-item:hover .btn-remove {
    opacity: 1;
}

.selected-media-item .media-source-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 10px;
    text-align: center;
}

/* Distribution Section */
#distributionSection {
    border: 1px solid var(--border-color);
}

#distributionSection .form-check {
    padding: 10px 15px;
    background: var(--bg-input);
    border-radius: var(--radius-sm);
    flex: 1;
    min-width: 200px;
}

#distributionSection .form-check:hover {
    background: var(--bg-hover);
}

#distributionSection .form-check-label {
    cursor: pointer;
}

#distributionSection .form-check-input:checked + .form-check-label {
    color: var(--accent-blue);
}

/* Responsive */
@media (max-width: 768px) {
    .selected-media-item {
        width: 80px;
        height: 80px;
    }

    #distributionSection .form-check {
        min-width: 100%;
    }
}

/* ================================================
   ADMIN PANEL STYLES
   ================================================ */

/* Admin Header */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.admin-header h4 {
    color: var(--text-primary);
    font-weight: 600;
}

/* Admin Cards */
.admin-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.admin-card .card-header {
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-color);
    padding: 14px 20px;
    font-weight: 500;
}

/* Admin Stat Cards */
.admin-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.2s ease;
}

.admin-stat-card:hover {
    border-color: var(--border-light);
    box-shadow: var(--border-glow);
}

.admin-stat-card.mini {
    padding: 16px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
}

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

.admin-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.admin-stat-icon.users {
    background: rgba(168, 85, 247, 0.15);
    color: var(--accent-purple);
}

.admin-stat-icon.accounts {
    background: rgba(29, 155, 240, 0.15);
    color: var(--accent-blue);
}

.admin-stat-icon.categories {
    background: rgba(255, 217, 61, 0.15);
    color: var(--accent-yellow);
}

.admin-stat-icon.activities {
    background: rgba(0, 255, 136, 0.15);
    color: var(--accent-green);
}

.admin-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
}

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

/* Admin Quick Actions */
.admin-quick-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.admin-action-btn:hover {
    border-color: var(--border-light);
    background: var(--bg-elevated);
    color: var(--text-primary);
    box-shadow: var(--border-glow);
}

.admin-action-btn.primary {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
}

.admin-action-btn.primary:hover {
    background: var(--accent-blue-hover);
    box-shadow: var(--glow-blue);
}

.admin-action-btn i {
    font-size: 18px;
}

/* Admin User List */
.admin-user-list {
    display: flex;
    flex-direction: column;
}

.admin-user-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
    transition: background-color 0.15s ease;
}

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

.admin-user-item:hover {
    background: var(--bg-hover);
}

.admin-user-avatar {
    font-size: 32px;
    color: var(--text-muted);
}

.admin-user-info {
    flex: 1;
}

.admin-user-name {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.admin-user-stats {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--text-secondary);
}

.admin-user-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.admin-user-arrow {
    color: var(--text-muted);
}

/* Admin Type Items */
.admin-type-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.admin-type-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-type-value {
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-primary);
}

/* Admin Activity Stats */
.admin-activity-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.admin-activity-stat i {
    font-size: 18px;
}

.admin-activity-stat .label {
    flex: 1;
    color: var(--text-secondary);
}

.admin-activity-stat .value {
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
}

.admin-activity-stat.success i { color: var(--accent-green); }
.admin-activity-stat.danger i { color: var(--accent-red); }
.admin-activity-stat.warning i { color: var(--accent-yellow); }

/* Admin Users Grid */
.admin-users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.admin-user-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: all 0.2s ease;
}

.admin-user-card:hover {
    border-color: var(--border-light);
    box-shadow: var(--border-glow);
}

.admin-user-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.admin-user-card-avatar {
    position: relative;
    font-size: 42px;
    color: var(--text-muted);
}

.admin-user-card-avatar .admin-badge {
    position: absolute;
    bottom: 0;
    right: -4px;
    background: var(--accent-red);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
}

.admin-user-card-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    padding: 12px;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
}

.admin-user-card-stats .stat-item {
    text-align: center;
    flex: 1;
}

.admin-user-card-stats .stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
}

.admin-user-card-stats .stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.admin-user-card-types {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.admin-user-card-types .type-badge {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 500;
}

.admin-user-card-types .type-badge.free {
    background: rgba(136, 153, 166, 0.15);
    color: var(--text-secondary);
}

.admin-user-card-types .type-badge.basic {
    background: rgba(29, 155, 240, 0.15);
    color: var(--accent-blue);
}

.admin-user-card-types .type-badge.pro {
    background: rgba(0, 255, 136, 0.15);
    color: var(--accent-green);
}

.admin-user-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.admin-user-card-actions .role-form {
    max-width: 100px;
}

.admin-user-card-actions .action-buttons {
    display: flex;
    gap: 8px;
}

/* Admin Mini Stats */
.admin-mini-stat {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
}

.admin-mini-stat .value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
}

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

.admin-mini-stat.success { border-left: 3px solid var(--accent-green); }
.admin-mini-stat.warning { border-left: 3px solid var(--accent-yellow); }
.admin-mini-stat.free { border-left: 3px solid var(--text-muted); }
.admin-mini-stat.basic { border-left: 3px solid var(--accent-blue); }
.admin-mini-stat.pro { border-left: 3px solid var(--accent-purple); }

/* Admin Filters */
.admin-filters {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
}

.admin-filters .filter-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-filters .search-box {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.admin-filters .search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.admin-filters .search-box input {
    padding-left: 38px;
}

.admin-filters .form-select {
    width: auto;
    min-width: 150px;
}

/* Admin Bulk Bar */
.admin-bulk-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: linear-gradient(135deg, rgba(29, 155, 240, 0.1), rgba(0, 212, 255, 0.05));
    border: 1px solid rgba(29, 155, 240, 0.3);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.admin-bulk-bar .bulk-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-blue);
}

.admin-bulk-bar .bulk-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Admin Table */
.admin-table th {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    white-space: nowrap;
}

.admin-table td {
    vertical-align: middle;
}

.api-status {
    font-size: 16px;
}

.api-status.active { color: var(--accent-green); }
.api-status.inactive { color: var(--accent-red); }

.owner-badge {
    background: var(--bg-elevated);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    color: var(--text-secondary);
}

.action-group {
    display: flex;
    gap: 6px;
}

.btn-icon {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    transition: all 0.15s ease;
}

.btn-icon:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: rgba(29, 155, 240, 0.1);
}

/* Transfer Account Info */
.transfer-account-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.transfer-account-info i {
    font-size: 20px;
    color: var(--accent-blue);
}

/* Admin Categories Grid */
.admin-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.admin-category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all 0.2s ease;
}

.admin-category-card:hover {
    border-color: var(--border-light);
    box-shadow: var(--border-glow);
}

.admin-category-card .category-checkbox {
    padding-top: 4px;
}

.admin-category-card .category-icon {
    font-size: 32px;
    color: var(--accent-yellow);
}

.admin-category-card .category-info {
    flex: 1;
}

.admin-category-card .category-name {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.admin-category-card .category-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.admin-category-card .category-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

.admin-category-card .category-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.admin-category-card .category-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Admin Item List */
.admin-item-list {
    display: flex;
    flex-direction: column;
}

.admin-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.15s ease;
}

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

.admin-item:hover {
    background: var(--bg-hover);
}

.admin-item-icon {
    font-size: 18px;
}

.admin-item-info {
    flex: 1;
}

.admin-item-title {
    font-weight: 500;
    color: var(--text-primary);
}

.admin-item-meta {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.admin-item-actions {
    display: flex;
    gap: 6px;
}

/* Account Cell in Tables */
.account-cell {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s ease;
}

.account-cell:hover {
    color: var(--accent-green);
}

/* Bulk Action Bar (User Detail) */
.bulk-action-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(29, 155, 240, 0.1);
    border-bottom: 1px solid rgba(29, 155, 240, 0.2);
}

.bulk-action-bar .selected-count {
    color: var(--accent-blue);
    font-weight: 500;
    font-size: 13px;
}

/* Empty State Mini */
.empty-state-mini {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.empty-state-mini i {
    font-size: 36px;
    margin-bottom: 8px;
    opacity: 0.5;
}

.empty-state-mini p {
    margin: 0;
    font-size: 14px;
}

/* Responsive Admin */
@media (max-width: 768px) {
    .admin-header {
        flex-direction: column;
    }

    .admin-quick-actions {
        flex-direction: column;
    }

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

    .admin-users-grid {
        grid-template-columns: 1fr;
    }

    .admin-categories-grid {
        grid-template-columns: 1fr;
    }

    .admin-bulk-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-bulk-bar .bulk-actions {
        flex-direction: column;
    }

    .admin-filters .filter-group {
        flex-direction: column;
    }

    .admin-filters .form-select {
        width: 100%;
    }
}

/* Input Group Text Dark Theme */
.input-group-text {
    background-color: var(--bg-elevated);
    border-color: var(--border-color);
    color: var(--text-secondary);
}
