/* ============================================================
   Bilgiişlem Merkezi — Modern Dark UI
   ============================================================ */

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

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

:root {
    --bg-base:       #0f0f1a;
    --bg-surface:    #1a1a2e;
    --bg-elevated:   #1e1e3a;
    --bg-card:       #16213e;
    --border:        rgba(255,255,255,0.07);
    --border-hover:  rgba(108,99,255,0.4);

    --accent:        #6c63ff;
    --accent-light:  #8b84ff;
    --accent-glow:   rgba(108,99,255,0.25);
    --cyan:          #00d4ff;
    --cyan-glow:     rgba(0,212,255,0.2);

    --text-primary:  #e8e8f0;
    --text-secondary:#9ca3af;
    --text-muted:    #4b5563;

    --success:       #10b981;
    --warning:       #f59e0b;
    --danger:        #ef4444;
    --info:          #3b82f6;

    --sidebar-w:     260px;
    --radius:        12px;
    --radius-lg:     16px;
    --radius-xl:     20px;
    --shadow:        0 4px 24px rgba(0,0,0,0.4);
    --shadow-lg:     0 8px 40px rgba(0,0,0,0.5);

    --transition:    0.2s ease;
}

html { font-size: 15px; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}
a { color: var(--accent-light); text-decoration: none; }
a:hover { color: var(--cyan); }
img { max-width: 100%; }

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

/* ── Sidebar ─────────────────────────────────────────────── */
.sidebar {
    width: var(--sidebar-w);
    background: var(--bg-surface);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0;
    height: 100vh;
    z-index: 100;
    transition: transform var(--transition);
    overflow-y: auto;
    overflow-x: hidden;
}
.sidebar.collapsed { transform: translateX(calc(-1 * var(--sidebar-w))); }

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 20px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.brand-icon {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--accent), var(--cyan));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; }
.brand-name  { font-size: 14px; font-weight: 700; color: var(--text-primary); line-height: 1.2; }
.brand-role  { font-size: 11px; color: var(--text-secondary); margin-top: 2px; }

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

.nav-section-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 16px 8px 6px;
}
.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition);
    margin-bottom: 2px;
    cursor: pointer;
    text-decoration: none;
}
.nav-item:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
}
.nav-item.active {
    background: var(--accent-glow);
    color: var(--accent-light);
    border: 1px solid rgba(108,99,255,0.2);
}
.nav-icon { font-size: 16px; width: 20px; text-align: center; flex-shrink: 0; }

.sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}
.user-info { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.user-avatar {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--accent), var(--cyan));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700; color: #fff;
    flex-shrink: 0;
}
.customer-avatar { background: linear-gradient(135deg, #00c853, var(--cyan)); }
.user-details { display: flex; flex-direction: column; min-width: 0; }
.user-name  { font-size: 13px; font-weight: 600; truncate: ellipsis; white-space: nowrap; overflow: hidden; }
.user-email { font-size: 11px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.btn-logout {
    width: 32px; height: 32px;
    background: rgba(239,68,68,0.1);
    color: var(--danger);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    transition: all var(--transition);
}
.btn-logout:hover { background: var(--danger); color: #fff; }

/* ── Main Content ───────────────────────────────────────── */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-w);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: margin-left var(--transition);
}

.topbar {
    position: sticky; top: 0; z-index: 50;
    background: rgba(15,15,26,0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 0 32px;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.sidebar-toggle {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    width: 36px; height: 36px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition);
    display: none;
}
.sidebar-toggle:hover { border-color: var(--accent); color: var(--accent); }

.page-title { font-size: 16px; font-weight: 600; flex: 1; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-date { font-size: 13px; color: var(--text-secondary); }

.page-content { padding: 32px; }

/* ── Cards ──────────────────────────────────────────────── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    transition: border-color var(--transition);
}
.card:hover { border-color: var(--border-hover); }
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.card-title { font-size: 16px; font-weight: 600; }

/* ── Stat Cards ─────────────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 80px; height: 80px;
    border-radius: 50%;
    transform: translate(30px, -30px);
    opacity: 0.15;
}
.stat-card.accent::before  { background: var(--accent); }
.stat-card.cyan::before    { background: var(--cyan); }
.stat-card.success::before { background: var(--success); }
.stat-card.warning::before { background: var(--warning); }
.stat-card.danger::before  { background: var(--danger); }

.stat-card:hover { border-color: var(--border-hover); transform: translateY(-2px); box-shadow: var(--shadow); }
.stat-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.stat-card.accent  .stat-icon { background: var(--accent-glow); }
.stat-card.cyan    .stat-icon { background: var(--cyan-glow); }
.stat-card.success .stat-icon { background: rgba(16,185,129,0.15); }
.stat-card.warning .stat-icon { background: rgba(245,158,11,0.15); }
.stat-card.danger  .stat-icon { background: rgba(239,68,68,0.15); }

.stat-info { display: flex; flex-direction: column; }
.stat-value { font-size: 28px; font-weight: 800; line-height: 1; }
.stat-label { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }

/* ── Tables ─────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
thead { background: var(--bg-elevated); }
thead th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    white-space: nowrap;
}
tbody tr {
    border-top: 1px solid var(--border);
    transition: background var(--transition);
}
tbody tr:hover { background: var(--bg-elevated); }
tbody td {
    padding: 14px 16px;
    vertical-align: middle;
}

/* ── Badges ─────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

/* ── Forms ──────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
select,
textarea {
    width: 100%;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    padding: 11px 14px;
    font-size: 14px;
    font-family: inherit;
    transition: all var(--transition);
    outline: none;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background: var(--bg-surface);
}
textarea { resize: vertical; min-height: 120px; }
select { cursor: pointer; }
select option { background: var(--bg-surface); }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

/* File Upload */
.file-upload {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    background: var(--bg-elevated);
}
.file-upload:hover, .file-upload.dragover {
    border-color: var(--accent);
    background: var(--accent-glow);
}
.file-upload-icon { font-size: 32px; margin-bottom: 8px; }
.file-upload-text { font-size: 14px; color: var(--text-secondary); }
.file-upload input[type="file"] {
    position: absolute;
    opacity: 0; pointer-events: none;
}
.file-preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.file-preview img {
    width: 80px; height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
}

/* Checkbox */
.check-group { display: flex; flex-wrap: wrap; gap: 10px; }
.check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 14px;
    transition: all var(--transition);
    user-select: none;
}
.check-item:hover { border-color: var(--accent); }
.check-item input[type="checkbox"] { cursor: pointer; accent-color: var(--accent); width: 16px; height: 16px; }
.check-item.selected { background: var(--accent-glow); border-color: var(--accent); color: var(--accent-light); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #5a52e0);
    color: #fff;
    box-shadow: 0 4px 15px var(--accent-glow);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--accent-light), var(--accent)); box-shadow: 0 6px 20px var(--accent-glow); color: #fff; }

.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.btn-success {
    background: linear-gradient(135deg, var(--success), #059669);
    color: #fff;
}
.btn-success:hover { opacity: 0.9; color: #fff; }

.btn-danger {
    background: linear-gradient(135deg, var(--danger), #dc2626);
    color: #fff;
}
.btn-danger:hover { opacity: 0.9; color: #fff; }

.btn-warning {
    background: linear-gradient(135deg, var(--warning), #d97706);
    color: #fff;
}
.btn-warning:hover { opacity: 0.9; color: #fff; }

.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-block { width: 100%; justify-content: center; }

/* ── Alerts ─────────────────────────────────────────────── */
.alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-radius: var(--radius);
    margin: 0 32px 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.alert-success { background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3); color: #10b981; }
.alert-error   { background: rgba(239,68,68,0.15);  border: 1px solid rgba(239,68,68,0.3);  color: #ef4444; }
.alert-warning { background: rgba(245,158,11,0.15); border: 1px solid rgba(245,158,11,0.3); color: #f59e0b; }
.alert-info    { background: rgba(59,130,246,0.15); border: 1px solid rgba(59,130,246,0.3); color: #3b82f6; }
.alert-close {
    background: none; border: none; cursor: pointer;
    color: inherit; font-size: 18px; line-height: 1; opacity: 0.7;
    padding: 0 4px;
}
.alert-close:hover { opacity: 1; }

/* ── Auth Pages (Login, 2FA) ─────────────────────────────── */
.auth-page {
    min-height: 100vh;
    background: var(--bg-base);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-image: radial-gradient(ellipse at 20% 50%, rgba(108,99,255,0.08) 0%, transparent 50%),
                      radial-gradient(ellipse at 80% 20%, rgba(0,212,255,0.06) 0%, transparent 50%);
}
.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-lg);
}
.auth-logo {
    text-align: center;
    margin-bottom: 36px;
}
.auth-logo-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, var(--accent), var(--cyan));
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 12px;
    box-shadow: 0 8px 32px var(--accent-glow);
}
.auth-logo h1 { font-size: 22px; font-weight: 800; }
.auth-logo p  { color: var(--text-secondary); font-size: 14px; margin-top: 4px; }
.auth-subtitle { font-size: 16px; font-weight: 600; margin-bottom: 24px; text-align: center; }

.auth-error {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.3);
    color: var(--danger);
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
}

/* OTP input */
.otp-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 24px 0;
}
.otp-input {
    width: 52px !important;
    height: 60px;
    text-align: center;
    font-size: 24px !important;
    font-weight: 700;
    letter-spacing: 0;
    padding: 0 !important;
}

/* ── Ticket Messages ─────────────────────────────────────── */
.messages { display: flex; flex-direction: column; gap: 16px; }
.message-bubble {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    max-width: 85%;
}
.message-bubble.admin-msg { align-self: flex-start; }
.message-bubble.customer-msg { align-self: flex-end; flex-direction: row-reverse; }
.message-bubble.system-msg {
    align-self: center;
    max-width: 100%;
    justify-content: center;
}
.message-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700;
    flex-shrink: 0;
}
.admin-msg .message-avatar    { background: linear-gradient(135deg, var(--accent), #5a52e0); color: #fff; }
.customer-msg .message-avatar { background: linear-gradient(135deg, #10b981, #059669); color: #fff; }

.message-body { display: flex; flex-direction: column; gap: 4px; }
.message-content {
    padding: 14px 18px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.6;
    word-break: break-word;
}
.admin-msg    .message-content { background: var(--bg-elevated); border: 1px solid var(--border); border-top-left-radius: 4px; }
.customer-msg .message-content { background: var(--accent-glow); border: 1px solid rgba(108,99,255,0.3); border-top-right-radius: 4px; color: var(--accent-light); }
.system-msg   .message-content { background: transparent; border: none; color: var(--text-muted); font-size: 13px; font-style: italic; }

.message-meta { font-size: 11px; color: var(--text-muted); padding: 0 4px; }
.customer-msg .message-meta { text-align: right; }

.message-attachments { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.message-attachments img {
    width: 120px; height: 90px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all var(--transition);
}
.message-attachments img:hover { transform: scale(1.05); border-color: var(--accent); }

/* Reply box */
.reply-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-top: 20px;
}

/* ── Pagination ──────────────────────────────────────────── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    flex-wrap: wrap;
}
.page-link {
    padding: 8px 14px;
    border-radius: var(--radius);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}
.page-link:hover { border-color: var(--accent); color: var(--accent); }
.page-link.active { background: var(--accent-glow); border-color: var(--accent); color: var(--accent-light); font-weight: 600; }
.page-link.disabled { opacity: 0.4; pointer-events: none; }

/* ── Empty State ─────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}
.empty-state-icon { font-size: 48px; margin-bottom: 12px; }
.empty-state-text { font-size: 16px; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }
.empty-state-sub  { font-size: 14px; }

/* ── Install Page ────────────────────────────────────────── */
.install-page {
    min-height: 100vh;
    background: var(--bg-base);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-image: radial-gradient(ellipse at 20% 50%, rgba(108,99,255,0.08) 0%, transparent 60%),
                      radial-gradient(ellipse at 80% 20%, rgba(0,212,255,0.06) 0%, transparent 60%);
}
.install-card {
    width: 100%;
    max-width: 580px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-lg);
}
.install-steps {
    display: flex;
    gap: 8px;
    margin-bottom: 36px;
}
.install-step {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: var(--border);
}
.install-step.done { background: var(--success); }
.install-step.active { background: var(--accent); }

/* ── Image Modal ─────────────────────────────────────────── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal-overlay img { max-width: 100%; max-height: 85vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.modal-close {
    position: absolute;
    top: 20px; right: 20px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 40px; height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,0.2); }

/* ── Utilities ───────────────────────────────────────────── */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.mt-8   { margin-top: 8px; }
.mt-16  { margin-top: 16px; }
.mt-24  { margin-top: 24px; }
.mb-0   { margin-bottom: 0; }
.mb-16  { margin-bottom: 16px; }
.mb-24  { margin-bottom: 24px; }
.text-right  { text-align: right; }
.text-center { text-align: center; }
.text-muted  { color: var(--text-secondary); font-size: 13px; }
.font-mono   { font-family: 'Courier New', monospace; }
.divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
.required { color: var(--danger); margin-left: 2px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
    .sidebar { transform: translateX(calc(-1 * var(--sidebar-w))); }
    .sidebar.open { transform: translateX(0); box-shadow: var(--shadow-lg); }
    .main-content { margin-left: 0; }
    .sidebar-toggle { display: flex; }
    .form-row { grid-template-columns: 1fr; }
    .form-row-3 { grid-template-columns: 1fr; }
    .page-content { padding: 20px 16px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .auth-card, .install-card { padding: 32px 24px; }
    .stats-grid { grid-template-columns: 1fr; }
    .otp-input { width: 44px !important; height: 52px; font-size: 20px !important; }
}

/* ── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn 0.3s ease; }

@keyframes spin {
    to { transform: rotate(360deg); }
}
.spinner { animation: spin 1s linear infinite; display: inline-block; }

/* ── Filter Bar ──────────────────────────────────────────── */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.filter-bar select, .filter-bar input[type="text"] {
    width: auto;
    min-width: 140px;
}
.filter-bar .btn { align-self: stretch; }

/* ── Service List (Customer) ─────────────────────────────── */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.service-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}
.service-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.service-card.selected { border-color: var(--accent); background: var(--accent-glow); }
.service-card-icon { font-size: 32px; margin-bottom: 10px; }
.service-card-name { font-size: 15px; font-weight: 600; }
.service-card-desc { font-size: 13px; color: var(--text-secondary); margin-top: 6px; }
