@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');

/* ===== CSS Variables ===== */
:root {
    --bg-primary: #f5f5f9;
    --bg-secondary: #eaeaef;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --bg-input: #ffffff;
    --bg-sidebar: #ffffff;

    --text-primary: #566a7f;
    --text-secondary: #697a8d;
    --text-muted: #a1acb8;

    --accent-primary: #696cff;
    --accent-primary-hover: #5f61e6;
    --accent-secondary: #8592a3;
    --accent-warning: #ffab00;
    --accent-danger: #ff3e1d;
    --accent-success: #71dd37;
    --accent-info: #03c3ec;

    --gradient-primary: linear-gradient(135deg, #696cff 0%, #696cff 100%);
    --gradient-accent: linear-gradient(135deg, #03c3ec 0%, #696cff 100%);
    --gradient-card: linear-gradient(135deg, rgba(105,108,255,0.08) 0%, rgba(3,195,236,0.05) 100%);

    --border-color: #d9dee3;
    --border-color-hover: #eceef1;

    --shadow-sm: 0 0.125rem 0.25rem rgba(161, 172, 184, 0.4);
    --shadow-md: 0 2px 6px 0 rgba(67, 89, 113, 0.12);
    --shadow-lg: 0 0.25rem 1rem rgba(161, 172, 184, 0.45);
    --shadow-glow: 0 0.125rem 0.25rem 0 rgba(105, 108, 255, 0.4);

    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;

    --sidebar-width: 260px;
    --topbar-height: 62px;

    --transition: all 0.2s ease-in-out;
}

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

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-primary-hover);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* ===== Layout ===== */
.app-layout {
    display: flex;
    min-height: 100vh;
}

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

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

.sidebar-logo { width: 34px; height: 34px; background: transparent; border-radius: 0; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; color: var(--accent-primary); flex-shrink: 0; }

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.sidebar-subtitle {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sidebar-nav {
    flex: 1;
    padding: 16px 12px;
    overflow-y: auto;
}

.nav-section-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    padding: 12px 12px 6px;
    font-weight: 600;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 500;
    transition: var(--transition);
    margin-bottom: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.nav-item::before { display: none; }

.nav-item:hover { background: rgba(67, 89, 113, 0.04); color: var(--text-primary); }

.nav-item.active { background: rgba(105, 108, 255, 0.16); color: var(--accent-primary); font-weight: 600; }

.nav-item.active::before {
    opacity: 1;
}

.nav-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: 0.7;
}

.nav-item.active svg {
    opacity: 1;
}

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

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
}

.sidebar-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

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

.sidebar-user-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-role {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* ===== Main Content ===== */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
}

.topbar { height: var(--topbar-height); display: flex; align-items: center; justify-content: space-between; padding: 0 24px; background: #ffffff; border-radius: var(--radius-md); box-shadow: var(--shadow-md); margin: 16px 24px 0; z-index: 50; }

.topbar-title {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

.page-content { padding: 24px; }

/* ===== Cards ===== */
.card { background: var(--bg-card); border: 0; box-shadow: var(--shadow-md); border-radius: var(--radius-md); padding: 24px; transition: var(--transition); }

.card:hover { box-shadow: var(--shadow-lg); }

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

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

.card-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

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

.stat-card { background: var(--bg-card); border: 0; box-shadow: var(--shadow-md); border-radius: var(--radius-md); padding: 24px; display: flex; align-items: flex-start; gap: 16px; transition: var(--transition); position: relative; overflow: hidden; }

.stat-card::after { display: none; }

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

.stat-card:hover::after {
    opacity: 1;
}

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

.stat-icon.purple { background: rgba(108,92,231,0.15); color: var(--accent-primary); }
.stat-icon.teal { background: rgba(0,206,201,0.15); color: var(--accent-secondary); }
.stat-icon.warning { background: rgba(253,203,110,0.15); color: var(--accent-warning); }
.stat-icon.success { background: rgba(0,184,148,0.15); color: var(--accent-success); }

.stat-value {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

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

/* ===== Tables ===== */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-md);
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead th { padding: 12px 16px; text-align: left; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-primary); border-bottom: 1px solid var(--border-color); white-space: nowrap; background: transparent; }

thead th a {
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

thead th a:hover {
    color: var(--text-primary);
}

tbody td {
    padding: 12px 16px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

tbody tr { transition: var(--transition); background: transparent; }

tbody tr:hover { background: rgba(67, 89, 113, 0.04); }

tbody tr:last-child td {
    border-bottom: none;
}

.registrar-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.registrar-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    object-fit: contain;
    background: var(--bg-input);
    padding: 2px;
}

.registrar-name {
    font-weight: 600;
    color: var(--text-primary);
}

.price-cell {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.price-cell.lowest {
    color: var(--accent-success);
}

.original-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-left: 4px;
    font-weight: 400;
}

/* ===== Badges ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.badge-success { background: rgba(0,184,148,0.12); color: var(--accent-success); }
.badge-warning { background: rgba(253,203,110,0.12); color: var(--accent-warning); }
.badge-danger { background: rgba(225,112,85,0.12); color: var(--accent-danger); }
.badge-info { background: rgba(116,185,255,0.12); color: var(--accent-info); }
.badge-purple { background: rgba(108,92,231,0.12); color: var(--accent-primary); }
.badge-teal { background: rgba(0,206,201,0.12); color: var(--accent-secondary); }

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.4375rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.53;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Public Sans', sans-serif;
    white-space: nowrap;
}

.btn svg {
    width: 16px;
    height: 16px;
}

.btn-primary { background: var(--accent-primary); color: white; box-shadow: 0 0.125rem 0.25rem 0 rgba(105, 108, 255, 0.4); }

.btn-primary:hover { background: var(--accent-primary-hover); transform: translateY(-1px); box-shadow: 0 0.25rem 0.5rem 0 rgba(105, 108, 255, 0.4); }

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

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

.btn-danger {
    background: rgba(225,112,85,0.12);
    color: var(--accent-danger);
    border: 1px solid rgba(225,112,85,0.2);
}

.btn-danger:hover {
    background: rgba(225,112,85,0.2);
}

.btn-success {
    background: rgba(0,184,148,0.12);
    color: var(--accent-success);
    border: 1px solid rgba(0,184,148,0.2);
}

.btn-success:hover {
    background: rgba(0,184,148,0.2);
}

.btn-sm {
    padding: 0.25rem 0.875rem;
    font-size: 0.75rem;
}

.toggle-switch {
    position: relative;
    display: inline-flex;
    width: 40px;
    height: 22px;
    vertical-align: middle;
}

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

.toggle-slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background: #d5dbe3;
    border-radius: 999px;
    transition: var(--transition);
}

.toggle-slider::before {
    content: "";
    position: absolute;
    height: 16px;
    width: 16px;
    left: 3px;
    top: 3px;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

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

.toggle-switch input:disabled + .toggle-slider {
    cursor: not-allowed;
    opacity: 0.5;
}

.btn-icon {
    padding: 8px;
    width: 38px;
    height: 38px;
}

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

.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 0.4375rem 0.875rem;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.53;
    font-family: 'Public Sans', sans-serif;
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0.25rem 0.05rem rgba(105, 108, 255, 0.1);
}

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

.user-2fa-cell {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

select.form-control {
    appearance: none;
    background-image: 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='%239aa0b0' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent-primary);
}

.form-inline {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.form-inline .form-group {
    margin-bottom: 0;
}

/* ===== Toolbar (filter bar) ===== */
.toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.toolbar .form-control {
    max-width: 200px;
}

.toolbar-spacer {
    flex: 1;
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 20px;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    cursor: pointer;
    transition: var(--transition);
}

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

.page-link.active {
    background: var(--gradient-primary);
    border-color: var(--accent-primary);
    color: white;
}

.page-link.disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* ===== Modal ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.modal { background: var(--bg-card); border: 0; box-shadow: var(--shadow-lg); border-radius: var(--radius-md);
    padding: 28px;
    width: 100%;
    max-width: 480px;
    max-height: 80vh;
    overflow-y: auto;
    transform: translateY(20px) scale(0.95);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

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

.modal-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}

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

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

/* ===== Worker Cards ===== */
.workers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.worker-card { background: var(--bg-card); border: 0; box-shadow: var(--shadow-md); border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition);
}

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

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

.worker-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
}

.worker-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

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

.worker-actions select {
    flex: 1;
}

/* ===== Login Page ===== */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.login-wrapper::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(108,92,231,0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.login-wrapper::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,206,201,0.1) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    pointer-events: none;
}

.login-card { background: #ffffff; backdrop-filter: none; border: 0; box-shadow: var(--shadow-lg); border-radius: var(--radius-md);
    padding: 44px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.login-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    justify-content: center;
}

.login-logo-icon { width: 34px; height: 34px; background: transparent; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; color: var(--accent-primary); flex-shrink: 0; }

.login-logo-text {
    font-size: 1.3rem;
    font-weight: 700;
}

.login-title {
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.login-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 28px;
}

.login-error {
    background: rgba(225,112,85,0.1);
    border: 1px solid rgba(225,112,85,0.2);
    color: var(--accent-danger);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    margin-bottom: 20px;
    text-align: center;
}

.login-card .btn-primary {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
}

/* ===== Flash Messages ===== */
.flash {
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 0.88rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: slideDown 0.3s ease;
}

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

.flash-success {
    background: rgba(0,184,148,0.1);
    border: 1px solid rgba(0,184,148,0.2);
    color: var(--accent-success);
}

.flash-error {
    background: rgba(225,112,85,0.1);
    border: 1px solid rgba(225,112,85,0.2);
    color: var(--accent-danger);
}

.flash-info {
    background: rgba(3,195,236,0.1);
    border: 1px solid rgba(3,195,236,0.2);
    color: var(--accent-info);
}

/* ===== Coupon Badge ===== */
.coupon-code {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: rgba(108,92,231,0.1);
    border: 1px dashed var(--accent-primary);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-primary);
    font-family: monospace;
    cursor: pointer;
    transition: var(--transition);
}

.coupon-code:hover {
    background: rgba(108,92,231,0.2);
}

/* ===== Check Marks (SSL/WHOIS) ===== */
.check-yes {
    color: var(--accent-success);
    font-weight: 600;
}

.check-no {
    color: var(--text-muted);
}

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

.empty-state svg {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.empty-state h3 {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 0.88rem;
}

/* ===== Sort Arrow ===== */
.sort-arrow {
    font-size: 0.7rem;
    opacity: 0.5;
}

.sort-arrow.active {
    opacity: 1;
    color: var(--accent-primary);
}

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

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

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

    .page-content {
        padding: 16px;
    }

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

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

    .toolbar .form-control {
        max-width: none;
    }

    .login-card {
        margin: 16px;
        padding: 28px;
    }
}

/* ===== Column Visibility Dropdown ===== */
.col-toggle-wrapper {
    position: relative;
}

.col-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    display: none;
    max-height: 400px;
    overflow-y: auto;
}

.col-dropdown.show {
    display: block;
    animation: slideDown 0.2s ease;
}

.col-toggle-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-size: 0.82rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

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

.col-toggle-item input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: var(--accent-primary);
}

/* ===== Price Action Buttons ===== */
.btn-icon {
    padding: 6px;
    width: 30px;
    height: 30px;
    min-width: 30px;
}

.btn-icon svg {
    width: 14px;
    height: 14px;
}

