@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap');

:root {
    --bg-main: #090e17;
    --bg-card: #0f172a;
    --bg-card-hover: #17233d;
    --bg-sidebar: #0a0f1d;
    --bg-input: #151f32;
    --border-color: #1e2b45;
    --border-focus: #4f46e5;

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --accent-blue: #2563eb;
    --accent-cyan: #06b6d4;

    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.12);
    --danger: #ef4444;
    --danger-bg: rgba(239, 68, 68, 0.12);
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.12);
    --info: #3b82f6;
    --info-bg: rgba(59, 130, 246, 0.12);

    --sidebar-width: 260px;
    --header-height: 70px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.45);
}

/* Light Theme Variables */
[data-theme="light"] {
    --bg-main: #f4f6fb;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --bg-sidebar: #ffffff;
    --bg-input: #f8fafc;
    --border-color: #e2e8f0;
    --border-focus: #4f46e5;

    --text-main: #0f172a;
    --text-muted: #475569;
    --text-dim: #94a3b8;

    --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 28px rgba(0, 0, 0, 0.12);
}

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

body {
    font-family: "Poppins", Sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-dim);
}

/* App Layout */
.app-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
    position: relative;
}

/* Sidebar */
.app-sidebar {
    width: var(--sidebar-width);
    background-color: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

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

.brand-logo-icon {
    width: 38px;
    height: 38px;
    background: var(--primary-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
    flex-shrink: 0;
}

.brand-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.2px;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nav-section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dim);
    letter-spacing: 0.8px;
    padding: 0 12px;
    margin-bottom: 6px;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.nav-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 14px;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-item a svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.nav-item a:hover {
    color: var(--text-main);
    background-color: var(--bg-card);
}

.nav-item a:hover svg {
    transform: scale(1.08);
}

.nav-item.active a {
    color: #ffffff;
    background: var(--primary-gradient);
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

/* User Profile Footer in Sidebar */
.sidebar-user-footer {
    padding: 16px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-sidebar);
}

.user-info-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.user-avatar {
    width: 36px;
    height: 36px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

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

.user-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role-badge {
    font-size: 11px;
    color: var(--text-dim);
}

.logout-link {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.logout-link:hover {
    color: var(--danger);
    background: var(--danger-bg);
}

/* Main Content Area */
.app-main {
    margin-left: var(--sidebar-width);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--bg-main);
    width: calc(100% - var(--sidebar-width));
}

/* Top Navbar */
.app-header {
    height: var(--header-height);
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-card);
    position: sticky;
    top: 0;
    z-index: 90;
    transition: background-color 0.3s ease;
}

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

.sidebar-toggle-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    font-size: 20px;
    padding: 4px;
}

.header-page-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.3px;
}

.header-page-subtitle {
    font-size: 12.5px;
    color: var(--text-dim);
    margin-top: 1px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-date-badge {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
}

.theme-toggle-btn {
    width: 38px;
    height: 38px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
    border-color: var(--border-focus);
    transform: scale(1.05);
}

/* Page Body */
.app-content {
    padding: 30px;
    flex: 1;
}

/* Alerts */
.admin-alert {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    font-weight: 500;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: fadeIn 0.3s ease;
}

.alert-success {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.alert-error {
    background: var(--danger-bg);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.alert-info {
    background: var(--info-bg);
    color: var(--info);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.alert-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: inherit;
}

/* Dashboard Widgets Grid & Hero */
.dash-hero {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.14) 0%, rgba(124, 58, 237, 0.08) 50%, rgba(15, 23, 42, 0.4) 100%);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin-bottom: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .dash-hero {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(124, 58, 237, 0.05) 50%, rgba(248, 250, 252, 0.9) 100%);
    border-color: rgba(79, 70, 229, 0.18);
    box-shadow: 0 4px 18px rgba(79, 70, 229, 0.06);
}

.dash-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.dash-hero-left {
    display: flex;
    align-items: center;
    gap: 18px;
    z-index: 1;
}

.dash-hero-avatar {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-gradient);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4);
    flex-shrink: 0;
}

.dash-hero-title {
    font-size: 21px;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    line-height: 1.3;
}

.dash-hero-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.dash-hero-role {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-super {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.1));
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.role-sub {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(79, 70, 229, 0.1));
    color: #818cf8;
    border: 1px solid rgba(99, 102, 241, 0.35);
}

.dash-hero-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    z-index: 1;
}

.dash-hero-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #10b981;
}

.dash-hero-status .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@media (max-width: 868px) {
    .dash-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .dash-hero-right {
        width: 100%;
        justify-content: flex-start;
        margin-top: 10px;
    }
}

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

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    transition: all 0.25s ease;
}

.stat-card.accent-indigo::before {
    background: linear-gradient(90deg, #6366f1, #818cf8);
}

.stat-card.accent-purple::before {
    background: linear-gradient(90deg, #a855f7, #c084fc);
}

.stat-card.accent-emerald::before {
    background: linear-gradient(90deg, #10b981, #34d399);
}

.stat-card.accent-amber::before {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.stat-card.accent-cyan::before {
    background: linear-gradient(90deg, #06b6d4, #38bdf8);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-card.accent-indigo:hover {
    border-color: rgba(99, 102, 241, 0.5);
}

.stat-card.accent-purple:hover {
    border-color: rgba(168, 85, 247, 0.5);
}

.stat-card.accent-emerald:hover {
    border-color: rgba(16, 185, 129, 0.5);
}

.stat-card.accent-amber:hover {
    border-color: rgba(245, 158, 11, 0.5);
}

.stat-card.accent-cyan:hover {
    border-color: rgba(6, 182, 212, 0.5);
}

.stat-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dim);
    letter-spacing: 0.6px;
    margin-bottom: 6px;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.stat-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.stat-card:hover .stat-icon-wrap {
    transform: scale(1.08);
}

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

.stat-sub {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
}

.stat-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: var(--primary);
    transition: transform 0.2s ease;
    font-size: 12px;
}

.stat-card:hover .stat-link-arrow {
    transform: translateX(4px);
}

/* Universal Shortcodes Quick Hub & Interactive Slider */
.shortcode-hub-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.shortcode-hub-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 12px;
}

.shortcode-hub-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
}

.shortcode-slider-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.slider-counter-badge {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-dim);
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    padding: 5px 10px;
    border-radius: var(--radius-sm);
}

.slider-nav-btn {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.slider-nav-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-1px);
}

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

.shortcode-cat-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 14px;
    scrollbar-width: none;
}

.shortcode-cat-filters::-webkit-scrollbar {
    display: none;
}

.sc-filter-btn {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.sc-filter-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-main);
    border-color: var(--primary);
}

.sc-filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.shortcode-slider-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 2px 14px 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.shortcode-slider-track::-webkit-scrollbar {
    display: none;
}

.shortcode-card-slide {
    flex: 0 0 400px;
    scroll-snap-align: start;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    min-height: 155px;
    gap: 14px;
}

.shortcode-card-slide:hover {
    transform: translateY(-3px);
    border-color: rgba(99, 102, 241, 0.45);
    background: var(--bg-card-hover);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.shortcode-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.shortcode-name {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-main);
}

.shortcode-desc {
    font-size: 11.5px;
    color: var(--text-dim);
    margin-bottom: 12px;
    line-height: 1.45;
}

.shortcode-code-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    font-family: monospace;
    font-size: 11.5px;
    color: #a5b4fc;
}

[data-theme="light"] .shortcode-code-box {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #4f46e5;
}

.shortcode-copy-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-main);
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 10.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.shortcode-copy-btn:hover {
    background: var(--primary);
    color: #ffffff;
}

@media (max-width: 768px) {
    .shortcode-card-slide {
        flex: 0 0 85%;
    }
}

/* Quick Actions Section */
.section-heading-sm {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 14px;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.action-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.2s ease;
}

.action-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.12);
}

.action-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--bg-input);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.action-card:hover .action-icon {
    transform: scale(1.08);
}

.action-title {
    font-size: 13.5px;
    font-weight: 700;
}

.action-desc {
    font-size: 11.5px;
    color: var(--text-dim);
}

/* Uni Avatar Pill & Mode Tags */
.uni-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--primary-gradient);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mode-tag {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 10.5px;
    font-weight: 600;
    text-transform: capitalize;
}

.mode-online {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.mode-distance {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.mode-regular {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

/* Split Form + Table Layout */
.split-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 24px;
    align-items: start;
}

@media (max-width: 1100px) {
    .split-layout {
        grid-template-columns: 1fr;
    }
}

/* Cards */
.admin-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: visible;
}

.admin-card.has-table,
.admin-card.card-overflow-hidden {
    overflow: hidden;
}

.card-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
}

.card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
}

.card-body {
    padding: 24px;
}

/* Forms */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 7px;
}

.form-control,
.form-select,
.form-textarea {
    width: 100%;
    padding: 10px 14px;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-size: 13.5px;
    font-family: inherit;
    outline: none;
    transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

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

/* Phone input with country code picker */
.phone-input-group {
    display: grid;
    grid-template-columns: 85px 1fr;
    gap: 10px;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 20px;
    background: var(--primary-gradient);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
    transition: all 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: var(--radius-sm);
    width: auto;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 14px;
    background: var(--bg-input);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 14px;
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(79, 70, 229, 0.08);
}

/* Data Tables */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.admin-table thead th {
    background: var(--bg-input);
    color: var(--text-dim);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--border-color);
}

.admin-table tbody td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
    vertical-align: middle;
}

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

/* Status Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.badge-success {
    background: var(--success-bg);
    color: var(--success);
}

.badge-danger {
    background: var(--danger-bg);
    color: var(--danger);
}

.badge-warning {
    background: var(--warning-bg);
    color: var(--warning);
}

.badge-info {
    background: var(--info-bg);
    color: var(--info);
}

.badge-muted {
    background: var(--border-color);
    color: var(--text-dim);
}

/* Table Action Buttons */
.table-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-muted);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.action-btn:hover {
    color: var(--text-main);
    border-color: var(--primary);
    transform: scale(1.06);
}

.action-btn.delete-btn:hover {
    color: var(--danger);
    border-color: var(--danger);
    background: var(--danger-bg);
}

.action-btn.disabled,
.action-btn:disabled,
.action-btn[disabled] {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
    pointer-events: auto !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
    color: #f87171 !important;
    transform: none !important;
}

.btn-disabled-locked {
    opacity: 0.65 !important;
    cursor: not-allowed !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px dashed rgba(239, 68, 68, 0.35) !important;
    color: var(--text-dim) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    text-decoration: none !important;
    pointer-events: auto !important;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .app-sidebar {
        transform: translateX(-100%);
    }

    .app-sidebar.show {
        transform: translateX(0);
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.6);
    }

    .app-main {
        margin-left: 0;
        width: 100%;
    }

    .sidebar-toggle-btn {
        display: block;
    }

    .app-header {
        padding: 0 18px;
    }

    .app-content {
        padding: 20px 16px;
    }
}

/* ====================================================================
   MEDIA LIBRARY MODAL & PICKER STYLES
   ==================================================================== */
.media-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 7, 13, 0.82);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fadeIn 0.25s ease;
}

.media-modal-box {
    width: 100%;
    max-width: 1100px;
    height: 85vh;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.media-modal-header {
    height: 64px;
    padding: 0 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-sidebar);
    flex-shrink: 0;
}

.media-modal-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-main);
}

.media-modal-tabs {
    display: flex;
    gap: 8px;
}

.media-tab-btn {
    padding: 7px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    border: 1px solid transparent;
    background: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.media-tab-btn:hover {
    color: var(--text-main);
    background: var(--bg-input);
}

.media-tab-btn.active {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35);
}

.media-modal-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.media-modal-close:hover {
    color: var(--danger);
    border-color: var(--danger);
}

.media-modal-body {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.media-tab-content {
    display: none;
    flex: 1;
    overflow: hidden;
}

.media-tab-content.active {
    display: flex;
    flex-direction: column;
}

/* Library Tab Layout */
.media-toolbar {
    padding: 14px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-sidebar);
    flex-shrink: 0;
}

.media-main-layout {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.media-grid-wrap {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 16px;
    align-content: start;
}

.media-card-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-input);
    padding: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.2s;
    user-select: none;
}

.media-card-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.media-card-item.selected {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary);
    background: var(--bg-card-hover);
}

.media-thumb-box {
    width: 100%;
    height: 90px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.media-type-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-icon {
    color: #ec4899;
    background: rgba(236, 72, 153, 0.1);
}

.pdf-icon {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

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

.doc-icon {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.media-card-title {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-main);
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    margin-top: 6px;
}

/* Right Details Panel */
.media-details-panel {
    width: 300px;
    border-left: 1px solid var(--border-color);
    background: var(--bg-sidebar);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
    flex-shrink: 0;
}

.media-preview-box {
    width: 100%;
    min-height: 120px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.media-detail-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    word-break: break-all;
}

.media-detail-info {
    font-size: 11.5px;
    color: var(--text-dim);
    margin-top: 4px;
}

.media-detail-url {
    margin-top: 10px;
}

/* Drag & Drop Zone */
.media-dropzone {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    margin: 30px;
    text-align: center;
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.01);
}

.media-dropzone.drag-over {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.06);
}

.dropzone-icon {
    color: var(--primary);
    margin-bottom: 16px;
}

.dropzone-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
}

.dropzone-sub {
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 6px;
    max-width: 440px;
}

/* Media Form Input Group Component */
.media-input-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

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

.media-input-group .btn-media-choose {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-size: 12.5px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.media-input-group .btn-media-choose:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--bg-card-hover);
}

.media-preview-inline {
    display: flex;
    align-items: center;
    margin-top: 6px;
}

/* ==========================================================================
   Universal Server-Side Pagination Bar
   ========================================================================== */
.sode-pagination-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
    background: transparent;
    flex-wrap: wrap;
    gap: 14px;
}

.sode-pagination-left {
    display: flex;
    align-items: center;
}

.sode-pagination-total {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dim);
}

.sode-pagination-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.sode-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-muted);
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.15s ease;
    cursor: pointer;
    user-select: none;
}

.sode-page-link:hover:not(.disabled):not(.active) {
    color: var(--text-main);
    background: var(--bg-input);
    border-color: var(--border-color);
}

.sode-page-link.active {
    border-color: #3b82f6;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.08);
    font-weight: 600;
    cursor: default;
}

.sode-page-link.disabled {
    color: var(--text-dim);
    opacity: 0.35;
    pointer-events: none;
    cursor: not-allowed;
}

.sode-page-nav {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
}

.sode-page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 32px;
    color: var(--text-dim);
    font-size: 13px;
    letter-spacing: 1px;
    user-select: none;
}

.sode-per-page-wrap {
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
}

.sode-per-page-select {
    appearance: none;
    -webkit-appearance: none;
    background: var(--bg-input) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-main);
    font-size: 12px;
    font-weight: 500;
    font-family: inherit;
    padding: 0 28px 0 10px;
    height: 32px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}

.sode-per-page-select:hover {
    border-color: var(--border-focus);
}

.sode-per-page-select:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.15);
}

@media (max-width: 768px) {
    .sode-pagination-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .sode-pagination-right {
        width: 100%;
        justify-content: space-between;
    }
}

/* ==========================================================================
   Table Search Bar Component
   ========================================================================== */
.sode-table-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.sode-search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 200px;
    max-width: 300px;
    width: 100%;
}

.sode-search-icon {
    position: absolute;
    left: 10px;
    color: var(--text-dim);
    pointer-events: none;
    display: flex;
    align-items: center;
}

.sode-search-input {
    width: 100%;
    padding: 7px 28px 7px 32px;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-size: 13px;
    outline: none;
    transition: all 0.2s ease;
}

.sode-search-input:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.sode-search-clear {
    position: absolute;
    right: 8px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    transition: all 0.15s ease;
}

.sode-search-clear:hover {
    background: var(--danger-bg);
    color: var(--danger);
}

/* ==========================================================================
   Searchable Select Dropdown Component
   ========================================================================== */
.sode-searchable-select {
    position: relative;
    width: 100%;
}

.sode-searchable-select.is-open {
    z-index: 1050;
}

.sode-select-hidden {
    position: absolute !important;
    opacity: 0 !important;
    width: 1px !important;
    height: 1px !important;
    pointer-events: none !important;
    overflow: hidden !important;
}

.sode-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 14px;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-size: 13.5px;
    font-family: inherit;
    cursor: pointer;
    user-select: none;
    text-align: left;
    transition: all 0.2s ease;
}

.sode-select-trigger:focus,
.sode-searchable-select.is-open .sode-select-trigger {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
    outline: none;
}

.sode-select-trigger.is-invalid {
    border-color: var(--danger) !important;
    box-shadow: 0 0 0 3px var(--danger-bg) !important;
}

.sode-select-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 8px;
}

.sode-select-text.is-placeholder {
    color: var(--text-dim);
}

.sode-select-arrow {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.sode-searchable-select.is-open .sode-select-arrow {
    transform: rotate(180deg);
}

.sode-select-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 1050;
    display: none;
    overflow: hidden;
    animation: sodeDropdownFade 0.15s ease-out;
}

.sode-searchable-select.is-dropup .sode-select-dropdown {
    top: auto;
    bottom: calc(100% + 4px);
    box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.55);
    animation: sodeDropdownFadeUp 0.15s ease-out;
}

@keyframes sodeDropdownFade {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sodeDropdownFadeUp {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sode-searchable-select.is-open .sode-select-dropdown {
    display: block;
}

.sode-select-search-box {
    padding: 8px 10px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-input);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sode-select-search-box svg {
    color: var(--text-dim);
    flex-shrink: 0;
}

.sode-select-search-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 13px;
    color: var(--text-main);
    font-family: inherit;
}

.sode-select-options {
    max-height: 240px;
    overflow-y: auto;
    padding: 4px 0;
    margin: 0;
    list-style: none;
}

.sode-select-option {
    padding: 9px 14px;
    font-size: 13px;
    color: var(--text-main);
    cursor: pointer;
    transition: background 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sode-select-option:hover,
.sode-select-option.is-highlighted {
    background: rgba(79, 70, 229, 0.15);
    color: #fff;
}

.sode-select-option.is-selected {
    background: rgba(79, 70, 229, 0.25);
    color: var(--primary);
    font-weight: 600;
}

[data-theme="light"] .sode-select-option:hover,
[data-theme="light"] .sode-select-option.is-highlighted {
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary);
}

.sode-select-empty {
    padding: 12px 14px;
    font-size: 12.5px;
    color: var(--text-dim);
    text-align: center;
}

/* ==========================================================================
   Full-Width Search Bar Section & Theme Button
   ========================================================================== */
.search-section-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 14px 18px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.search-section-form {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.search-input-wrap {
    flex: 1;
    min-width: 260px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrap .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    pointer-events: none;
    display: flex;
    align-items: center;
}

.search-input-wrap .form-control {
    padding-left: 42px !important;
    height: 42px !important;
    font-size: 13.5px !important;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-main);
    width: 100%;
}

.search-input-wrap .form-control:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.search-btn-theme {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 24px;
    height: 42px;
    width: auto !important;
    background: var(--primary-gradient) !important;
    color: #ffffff !important;
    border: none;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(79, 70, 229, 0.35);
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
    font-family: inherit;
}

.search-btn-theme:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(79, 70, 229, 0.5);
    color: #ffffff !important;
}

.search-btn-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    height: 42px;
    width: auto !important;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-dim) !important;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: inherit;
}

.search-btn-clear:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main) !important;
    border-color: var(--text-dim);
}