/* ===================================
   okeytakip.app — CSS Design System
   v2: Login, Admin Panel, No-Scroll Table
   =================================== */

/* --- CSS Variables --- */
:root {
    --bg-primary: #0a0a14;
    --bg-secondary: #10101e;
    --bg-panel: rgba(255, 255, 255, 0.04);
    --bg-panel-hover: rgba(255, 255, 255, 0.07);
    --bg-panel-border: rgba(255, 255, 255, 0.08);
    --text-primary: #e8e8f0;
    --text-secondary: #8888a0;
    --text-muted: #555570;
    --tile-sari: #FFD700;
    --tile-sari-bg: rgba(255, 215, 0, 0.12);
    --tile-kirmizi: #FF4455;
    --tile-kirmizi-bg: rgba(255, 68, 85, 0.12);
    --tile-siyah: #9090a8;
    --tile-siyah-bg: rgba(144, 144, 168, 0.12);
    --tile-mavi: #4488FF;
    --tile-mavi-bg: rgba(68, 136, 255, 0.12);
    --accent: #8B5CF6;
    --accent-soft: rgba(139, 92, 246, 0.15);
    --success: #10B981;
    --success-soft: rgba(16, 185, 129, 0.15);
    --warning: #F59E0B;
    --warning-soft: rgba(245, 158, 11, 0.15);
    --danger: #EF4444;
    --danger-soft: rgba(239, 68, 68, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    padding: 0 10px 24px;
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

.hidden { display: none !important; }

/* ===================================
   LOGIN SCREEN
   =================================== */
#login-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#login-screen.hidden { display: none !important; }

.login-container {
    width: 100%;
    max-width: 360px;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.login-logo-icon { font-size: 2.5rem; display: block; margin-bottom: 8px; }

.login-logo h1 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.login-logo h1 .dot { color: var(--accent); }

.login-subtitle {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.login-form {
    padding: 24px;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input, .form-group select {
    font-family: var(--font);
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--bg-panel-border);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--accent);
}

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

.login-error {
    background: var(--danger-soft);
    color: var(--danger);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    margin-bottom: 12px;
    text-align: center;
}

.login-btn {
    margin-top: 4px;
    padding: 12px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* ===================================
   GLASS PANEL & SHARED
   =================================== */
.glass-panel {
    background: var(--bg-panel);
    border: 1px solid var(--bg-panel-border);
    border-radius: var(--radius-lg);
    padding: 14px;
    margin-bottom: 12px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.panel-icon { font-size: 1rem; }

.panel-title {
    flex: 1;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
}

.badge {
    font-size: 0.65rem;
    padding: 3px 8px;
    border-radius: 20px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 600;
}

/* ===================================
   HEADER
   =================================== */
#app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 4px 10px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(180deg, var(--bg-primary) 60%, transparent 100%);
}

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

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

.logo-icon { font-size: 1.2rem; }

#app-header h1 {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

#app-header h1 .dot { color: var(--accent); }

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

.icon-btn:hover, .icon-btn:active {
    background: var(--bg-panel-hover);
    color: var(--text-primary);
}

/* ===================================
   SELECT
   =================================== */
select {
    font-family: var(--font);
    font-size: 0.85rem;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--bg-panel-border);
    background: var(--bg-secondary);
    color: var(--text-primary);
    outline: none;
    cursor: pointer;
    flex: 1;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238888a0' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
    transition: border-color 0.2s ease;
}

select:focus { border-color: var(--accent); }

/* ===================================
   ADMIN PANEL
   =================================== */
.admin-tabs {
    display: flex;
    gap: 4px;
    padding: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-tab {
    font-family: var(--font);
    flex: 1;
    min-width: max-content;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.admin-tab.active {
    background: var(--accent-soft);
    color: var(--accent);
}

.admin-tab:hover:not(.active) {
    color: var(--text-secondary);
}

.admin-tab-content.hidden { display: none; }

/* User list */
.user-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 400px;
    overflow-y: auto;
}

.user-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--bg-panel-border);
    animation: slideIn 0.2s ease;
}

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

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

.user-card .user-name {
    font-size: 0.82rem;
    font-weight: 700;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-card .user-meta {
    font-size: 0.65rem;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

.user-card .user-meta .expiry-ok { color: var(--success); }
.user-card .user-meta .expiry-warn { color: var(--warning); }
.user-card .user-meta .expiry-danger { color: var(--danger); }

.user-card .user-actions {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.user-action-btn {
    font-family: var(--font);
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    border: none;
    font-size: 0.68rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.user-action-btn.delete {
    background: var(--danger-soft);
    color: var(--danger);
}

.user-action-btn.activate {
    background: var(--success-soft);
    color: var(--success);
}

.user-action-btn:active { transform: scale(0.95); }

/* Reactivate modal */
.reactivate-select {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

/* ===================================
   EXCEL TABLE - NO SCROLL FIX
   =================================== */
.table-wrapper {
    border-radius: var(--radius-md);
    border: 1px solid var(--bg-panel-border);
    overflow: hidden;
}

.tas-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.tas-table thead th {
    padding: 6px 0;
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--text-muted);
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--bg-panel-border);
    user-select: none;
}

.tas-table thead th.color-header {
    width: 22px;
}

.tas-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.tas-table tbody tr:last-child {
    border-bottom: none;
}

.tas-table td.color-label {
    width: 22px;
    text-align: center;
    padding: 0;
    vertical-align: middle;
}

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

.color-dot.sari { background: var(--tile-sari); }
.color-dot.kirmizi { background: var(--tile-kirmizi); }
.color-dot.siyah { background: var(--tile-siyah); }
.color-dot.mavi { background: var(--tile-mavi); }

/* ===================================
   TILE CELLS
   =================================== */
.tas-table td.tile-cell {
    text-align: center;
    padding: 0;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    position: relative;
    transition: all 0.15s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
}

.tas-table td.tile-cell:last-child { border-right: none; }

.tile-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    font-weight: 700;
    font-size: 0.72rem;
    transition: all 0.15s ease;
    position: relative;
    min-height: 36px;
}

/* Color-specific */
tr[data-color="sari"] td.tile-cell .tile-inner { color: var(--tile-sari); background: var(--tile-sari-bg); }
tr[data-color="kirmizi"] td.tile-cell .tile-inner { color: var(--tile-kirmizi); background: var(--tile-kirmizi-bg); }
tr[data-color="siyah"] td.tile-cell .tile-inner { color: var(--tile-siyah); background: var(--tile-siyah-bg); }
tr[data-color="mavi"] td.tile-cell .tile-inner { color: var(--tile-mavi); background: var(--tile-mavi-bg); }

/* Played state */
td.tile-cell[data-played="true"] .tile-inner {
    opacity: 0.15;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

td.tile-cell[data-played="true"]::after {
    content: '✕';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.85rem;
    font-weight: 800;
    color: rgba(239, 68, 68, 0.6);
    pointer-events: none;
}

td.tile-cell:active .tile-inner { transform: scale(0.88); }

.tile-flash { animation: tileFlash 0.25s ease; }

@keyframes tileFlash {
    0% { transform: scale(1); }
    40% { transform: scale(0.85); }
    100% { transform: scale(1); }
}

/* Joker section */
.joker-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--bg-panel-border);
}

.joker-label-text {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 600;
    white-space: nowrap;
}

.joker-cells { display: flex; gap: 6px; }

.tile-cell.joker-cell {
    width: 40px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--warning-soft);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
    font-weight: 700;
    font-size: 0.75rem;
    cursor: pointer;
    user-select: none;
    transition: all 0.15s ease;
    position: relative;
}

.tile-cell.joker-cell:active { transform: scale(0.9); }

.tile-cell.joker-cell[data-played="true"] { opacity: 0.2; text-decoration: line-through; }

.tile-cell.joker-cell[data-played="true"]::after {
    content: '✕';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
    font-weight: 800;
    color: rgba(239, 68, 68, 0.6);
    pointer-events: none;
}

/* ===================================
   BEKLENEN TAŞLAR
   =================================== */
.small-btn {
    font-family: var(--font);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    background: var(--accent-soft);
    color: var(--accent);
    border: 1px solid rgba(139, 92, 246, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
}

.small-btn:hover, .small-btn:active { background: rgba(139, 92, 246, 0.25); }

.beklenen-list { display: flex; flex-direction: column; gap: 6px; }

.empty-state {
    text-align: center;
    padding: 16px;
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.6;
}

.beklenen-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--bg-panel-border);
    animation: slideIn 0.2s ease;
}

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

.beklenen-item .tile-mini { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.beklenen-item .tile-mini.sari { background: var(--tile-sari); }
.beklenen-item .tile-mini.kirmizi { background: var(--tile-kirmizi); }
.beklenen-item .tile-mini.siyah { background: var(--tile-siyah); }
.beklenen-item .tile-mini.mavi { background: var(--tile-mavi); }

.beklenen-item .beklenen-name { font-size: 0.8rem; font-weight: 600; flex: 1; }

.beklenen-item .beklenen-stats { display: flex; align-items: center; gap: 8px; }
.beklenen-item .beklenen-fraction { font-size: 0.7rem; color: var(--text-muted); font-weight: 500; }
.beklenen-item .beklenen-percent { font-size: 0.85rem; font-weight: 700; min-width: 48px; text-align: right; }
.beklenen-item .beklenen-percent.high { color: var(--success); }
.beklenen-item .beklenen-percent.medium { color: var(--warning); }
.beklenen-item .beklenen-percent.low { color: var(--danger); }
.beklenen-item .beklenen-indicator { font-size: 0.7rem; }

.beklenen-item .remove-beklenen {
    background: none; border: none; color: var(--text-muted);
    cursor: pointer; font-size: 1rem; padding: 0 4px; transition: color 0.2s; line-height: 1;
}

.beklenen-item .remove-beklenen:hover { color: var(--danger); }

/* ===================================
   MODAL
   =================================== */
.modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1000; display: flex; align-items: center; justify-content: center;
    padding: 20px; animation: fadeIn 0.2s ease;
}

.modal.hidden { display: none !important; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-backdrop {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px);
}

.modal-content {
    position: relative; width: 100%; max-width: 360px;
    background: var(--bg-secondary) !important;
    border: 1px solid var(--bg-panel-border) !important;
    animation: modalSlide 0.25s ease;
}

@keyframes modalSlide {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.modal-header h2 { font-size: 0.95rem; font-weight: 700; }
.modal-select-row { display: flex; gap: 8px; margin-bottom: 16px; }

.primary-btn {
    font-family: var(--font); width: 100%; padding: 10px;
    border-radius: var(--radius-sm); background: var(--accent);
    color: white; border: none; font-size: 0.85rem; font-weight: 600;
    cursor: pointer; transition: all 0.2s ease;
}

.primary-btn:hover, .primary-btn:active { background: #7c4ddb; transform: scale(0.98); }
.primary-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Info Modal */
.info-modal-content { max-width: 400px; }
.info-body { display: flex; flex-direction: column; gap: 12px; }
.info-item { display: flex; gap: 12px; align-items: flex-start; }
.info-step {
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--accent-soft); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem; font-weight: 700; flex-shrink: 0;
}
.info-item p { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; }
.info-item p strong { color: var(--text-primary); }

/* ===================================
   STATUS BAR
   =================================== */
#status-bar {
    position: sticky; bottom: 0; z-index: 50;
    background: rgba(16, 16, 30, 0.92) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: none;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    margin-bottom: 0; padding: 12px 14px;
}

.status-stats { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 10px; }
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.stat-value { font-size: 1.2rem; font-weight: 800; }
.stat-label { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); font-weight: 600; }
.stat-divider { width: 1px; height: 28px; background: var(--bg-panel-border); }

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

.secondary-btn, .danger-btn {
    font-family: var(--font); flex: 1; padding: 10px;
    border-radius: var(--radius-sm); border: none; font-size: 0.8rem;
    font-weight: 600; cursor: pointer; display: flex; align-items: center;
    justify-content: center; gap: 6px; transition: all 0.2s ease;
}

.secondary-btn { background: var(--bg-panel); color: var(--text-secondary); border: 1px solid var(--bg-panel-border); }
.secondary-btn:active { background: var(--bg-panel-hover); transform: scale(0.97); }
.danger-btn { background: var(--danger-soft); color: var(--danger); border: 1px solid rgba(239, 68, 68, 0.2); }
.danger-btn:active { background: rgba(239, 68, 68, 0.25); transform: scale(0.97); }

/* Session */
.session-stats { display: flex; gap: 8px; margin-bottom: 10px; }
.session-item {
    flex: 1; text-align: center; padding: 10px 8px;
    border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--bg-panel-border);
}
.session-item.win .session-value { color: var(--success); }
.session-item.lose .session-value { color: var(--danger); }
.session-item.total .session-value { color: var(--accent); }
.session-value { font-size: 1.3rem; font-weight: 800; display: block; }
.session-label {
    font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.05em;
    color: var(--text-muted); font-weight: 600; margin-top: 2px; display: block;
}
.session-actions { display: flex; gap: 8px; }

.win-action-btn, .lose-action-btn {
    font-family: var(--font); flex: 1; padding: 9px;
    border-radius: var(--radius-sm); border: none; font-size: 0.8rem;
    font-weight: 600; cursor: pointer; transition: all 0.2s ease;
}
.win-action-btn { background: var(--success-soft); color: var(--success); border: 1px solid rgba(16, 185, 129, 0.2); }
.win-action-btn:active { transform: scale(0.97); background: rgba(16, 185, 129, 0.25); }
.lose-action-btn { background: var(--danger-soft); color: var(--danger); border: 1px solid rgba(239, 68, 68, 0.2); }
.lose-action-btn:active { transform: scale(0.97); background: rgba(239, 68, 68, 0.25); }

/* Footer */
#app-footer { text-align: center; padding: 20px 0 80px; font-size: 0.65rem; color: var(--text-muted); }

/* ===================================
   RESPONSIVE
   =================================== */
@media (min-width: 480px) {
    body { max-width: 480px; margin: 0 auto; padding: 0 16px 24px; }
    .tile-inner { padding: 10px 0; min-height: 40px; font-size: 0.78rem; }
}

@media (min-width: 768px) {
    body { max-width: 560px; }
    .tile-inner { padding: 12px 0; min-height: 44px; }
}

/* Long press */
td.tile-cell.long-press-active .tile-inner {
    animation: longPressGlow 0.5s ease forwards;
}
@keyframes longPressGlow {
    0% { box-shadow: 0 0 0 0 var(--accent); }
    100% { box-shadow: 0 0 0 3px var(--accent), 0 0 16px rgba(139, 92, 246, 0.4); }
}

/* Toast */
.toast {
    position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%);
    background: var(--bg-secondary); color: var(--text-primary);
    border: 1px solid var(--bg-panel-border); padding: 10px 20px;
    border-radius: var(--radius-xl); font-size: 0.8rem; font-weight: 600;
    z-index: 2000; animation: toastIn 0.3s ease, toastOut 0.3s ease 1.7s forwards;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); white-space: nowrap;
}
@keyframes toastIn { from { opacity: 0; transform: translateX(-50%) translateY(20px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(-50%) translateY(20px); } }

/* Confirm */
.confirm-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px);
    z-index: 3000; display: flex; align-items: center; justify-content: center;
    padding: 20px; animation: fadeIn 0.15s ease;
}
.confirm-box {
    background: var(--bg-secondary); border: 1px solid var(--bg-panel-border);
    border-radius: var(--radius-lg); padding: 24px; max-width: 300px; width: 100%;
    text-align: center; animation: modalSlide 0.2s ease;
}
.confirm-box p { font-size: 0.9rem; margin-bottom: 16px; font-weight: 600; }
.confirm-actions { display: flex; gap: 8px; }
.confirm-actions button {
    font-family: var(--font); flex: 1; padding: 10px; border-radius: var(--radius-sm);
    border: none; font-size: 0.8rem; font-weight: 600; cursor: pointer;
}
.confirm-cancel { background: var(--bg-panel); color: var(--text-secondary); border: 1px solid var(--bg-panel-border) !important; }
.confirm-ok { background: var(--danger); color: white; }
