/* ============================================================
   KICK BOT - MODERN DASHBOARD THEME
   ============================================================ */
:root {
    --bg-base: #0a0a0a;
    --bg-card: #141414;
    --bg-card-alt: #1a1a1a;
    --bg-input: #0f0f0f;
    --bg-hover: #1f1f1f;
    --border: #252525;
    --text: #e8e8e8;
    --text-dim: #7a7a7a;
    --text-muted: #4a4a4a;
    --neon: #00ff41;
    --neon-dim: #00cc33;
    --neon-dark: #00882a;
    --success: #00ff41;
    --warning: #ffcc00;
    --error: #ff3355;
    --info: #00ccff;
    --purple: #9d4edd;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-base);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* HEADER */
.header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 24px;
    background: var(--bg-base);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100;
    backdrop-filter: blur(10px);
    flex-wrap: nowrap;
    gap: 16px;
}
.header-left { display: flex; align-items: center; gap: 16px; }
.logo-box {
    width: 52px; height: 52px;
    background: var(--bg-card);
    border: 1px solid var(--neon);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.15);
    overflow: hidden;
}
.title-box h1 { font-size: 18px; font-weight: 700; letter-spacing: -0.3px; }
.title-box p { font-size: 11px; color: var(--text-muted); margin-top: 2px; letter-spacing: 1px; }
.header-right { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; }

.status-box, .clock-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 14px;
    display: flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 12px;
    height: 38px; box-sizing: border-box;
}
.clock-box span { font-family: 'JetBrains Mono', monospace; color: var(--neon); font-size: 14px; }

.header-right a.btn,
.header-right .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    padding: 8px 14px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
    height: 38px !important;
    text-decoration: none;
}

.pulse-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--error); display: inline-block;
    transition: all 0.3s ease;
}
.pulse-dot.active {
    background: var(--neon);
    box-shadow: 0 0 0 0 rgba(0, 255, 65, 0.7);
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(0, 255, 65, 0.7); }
    70%  { box-shadow: 0 0 0 12px rgba(0, 255, 65, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 65, 0); }
}

/* GLOBAL BAR */
.global-bar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 24px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    gap: 20px;
    flex-wrap: wrap;
}
.global-stats { display: flex; gap: 24px; }
.gstat { display: flex; flex-direction: column; gap: 2px; }
.gstat-label { font-size: 9px; color: var(--text-muted); letter-spacing: 1.2px; font-weight: 600; }
.gstat-value { font-family: 'JetBrains Mono', monospace; font-size: 18px; font-weight: 700; color: var(--text); }
.global-actions { display: flex; gap: 8px; }
.btn-global {
    padding: 8px 16px; border-radius: 6px;
    font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
    border: none; cursor: pointer; transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}
.btn-global-start { background: var(--neon); color: var(--bg-base); }
.btn-global-start:hover { background: #00ff55; box-shadow: 0 0 16px rgba(0, 255, 65, 0.35); }
.btn-global-stop { background: var(--error); color: var(--text); }
.btn-global-stop:hover { background: #ff4466; box-shadow: 0 0 16px rgba(255, 51, 85, 0.35); }

/* TAB BAR */
.tab-bar {
    display: flex; gap: 2px;
    padding: 8px 20px 0;
    background: var(--bg-base);
    border-bottom: 1px solid var(--border);
    overflow-x: auto; overflow-y: hidden;
    flex-wrap: nowrap;
    scrollbar-width: thin;
}
.tab-bar::-webkit-scrollbar { height: 6px; }
.tab-bar::-webkit-scrollbar-track { background: transparent; }
.tab-bar::-webkit-scrollbar-thumb { background: var(--bg-card-alt); border-radius: 3px; }

.tab {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 14px;
    background: var(--bg-card-alt);
    border: 1px solid var(--border);
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    transition: all 0.15s;
    user-select: none;
    flex-shrink: 0;
    max-width: 180px;
    position: relative;
    top: 1px;
}
.tab:hover { background: var(--bg-hover); }
.tab.active {
    background: var(--bg-card);
    border-color: var(--border);
    border-bottom-color: var(--bg-card);
    color: var(--neon);
}
.tab-status {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--text-muted); flex-shrink: 0;
}
.tab-status.running {
    background: var(--neon);
    box-shadow: 0 0 8px var(--neon);
    animation: pulse 1.5s infinite;
}
.tab-name {
    font-size: 12px; font-weight: 600;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    max-width: 120px;
}
.tab-close {
    font-size: 10px; color: var(--text-muted);
    padding: 2px 4px; border-radius: 3px;
    transition: all 0.15s; margin-left: 4px;
}
.tab-close:hover { background: var(--error); color: white; }

.tab-add {
    padding: 8px 16px;
    background: transparent;
    border: 1px dashed var(--border);
    border-radius: 6px;
    color: var(--text-dim);
    font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
    cursor: pointer; transition: all 0.2s;
    flex-shrink: 0; margin-left: 4px;
    align-self: center; margin-bottom: 2px;
    font-family: 'Inter', sans-serif;
}
.tab-add:hover {
    border-color: var(--neon); color: var(--neon);
    background: rgba(0, 255, 65, 0.05);
}

.tab-contents {
    padding: 0 20px 20px;
    max-width: 1600px;
    margin: 0 auto;
}
.tab-content { animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.tc-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 16px;
    margin-top: 16px;
}
.tc-left, .tc-right {
    display: flex; flex-direction: column;
    gap: 12px; min-width: 0;
}
.tc-actions {
    display: flex; flex-direction: column; gap: 8px;
}

/* CARDS */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 0;
    overflow: hidden;
}
.card-header {
    display: flex; align-items: center;
    padding: 14px 16px 10px; gap: 10px;
}
.card-icon { font-size: 16px; color: var(--neon); }
.card-title { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--neon); }
.card-divider { height: 1px; background: var(--border); margin: 0 16px 12px; }

.card.collapsible .card-header { cursor: pointer; user-select: none; transition: background 0.15s ease; }
.card.collapsible .card-header:hover { background: rgba(0, 255, 65, 0.03); }
.card.collapsible .card-header::after {
    content: '▲'; margin-left: auto;
    font-size: 9px; color: var(--text-muted);
    transition: transform 0.25s ease, color 0.15s ease;
    padding-left: 10px;
}
.card.collapsible .card-header:hover::after { color: var(--neon); }
.card.collapsible.collapsed .card-header::after { content: '▼'; }
.card.collapsible.collapsed > *:not(.card-header) { display: none !important; }
.card.collapsible.collapsed .card-header { padding-bottom: 14px; }

/* FIELDS */
.field { padding: 0 16px 14px; }
.field label { display: block; font-size: 11px; color: var(--text-dim); margin-bottom: 6px; }
.field input[type="text"],
.field input[type="number"] {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 10px 12px;
    color: var(--text);
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    outline: none;
    transition: all 0.2s ease;
}
.field input:focus { border-color: var(--neon); box-shadow: 0 0 0 3px rgba(0, 255, 65, 0.1); }
.field input.input-highlight { color: var(--neon); border-color: var(--neon); }

.dual-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mini-label { display: block; font-size: 9px; color: var(--text-muted); margin-bottom: 4px; letter-spacing: 1px; }

/* FILE UPLOAD */
.file-row { display: flex; gap: 6px; align-items: center; }
.file-row input[type="text"] {
    flex: 1;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 10px 12px;
    color: var(--text);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    outline: none;
}
.file-row input[type="text"]:focus { border-color: var(--neon); }
.file-btn {
    flex-shrink: 0;
    width: 42px; height: 42px;
    background: var(--bg-card-alt);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--neon);
    font-size: 16px;
    cursor: pointer; transition: all 0.2s;
    display: flex; align-items: center; justify-content: center;
    padding: 0;
}
.file-btn:hover {
    background: var(--bg-hover);
    border-color: var(--neon);
    box-shadow: 0 0 12px rgba(0, 255, 65, 0.25);
    transform: translateY(-1px);
}
.file-hint {
    font-size: 10px; margin-top: 5px;
    min-height: 14px;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-muted);
    padding-left: 2px;
}

/* TOGGLES */
.toggle-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 16px 12px; font-size: 13px;
}
.switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
    position: absolute; cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg-input);
    border: 1px solid var(--border);
    transition: 0.3s; border-radius: 24px;
}
.slider:before {
    position: absolute; content: "";
    height: 16px; width: 16px;
    left: 3px; bottom: 3px;
    background: var(--text-dim);
    transition: 0.3s; border-radius: 50%;
}
.switch input:checked + .slider { background: var(--neon); border-color: var(--neon); }
.switch input:checked + .slider:before { transform: translateX(20px); background: var(--bg-base); }

/* BUTTONS */
.btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 20px; font-size: 13px; font-weight: 700;
    letter-spacing: 1px; border: none; border-radius: 8px;
    cursor: pointer; transition: all 0.2s ease;
    font-family: 'Inter', sans-serif; width: 100%;
}
.btn-start { background: var(--neon); color: var(--bg-base); }
.btn-start:hover:not(:disabled) {
    background: #00ff55;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
    transform: translateY(-1px);
}
.btn-stop { background: var(--error); color: var(--text); }
.btn-stop:hover:not(:disabled) {
    background: #ff4466;
    box-shadow: 0 0 20px rgba(255, 51, 85, 0.4);
    transform: translateY(-1px);
}
.btn-secondary {
    background: var(--bg-card-alt);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 10px 18px;
    font-size: 12px;
}
.btn-secondary:hover { background: var(--bg-hover); border-color: var(--neon); color: var(--neon); }
.btn:disabled { opacity: 0.35; cursor: not-allowed; background: var(--bg-card-alt); color: var(--text-muted); }

/* STATS */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stats-grid.compact { grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stat-card {
    background: var(--bg-card-alt);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    min-height: 82px;
    display: flex; flex-direction: column; justify-content: space-between;
    transition: all 0.2s ease;
}
.stats-grid.compact .stat-card { padding: 10px 12px; min-height: 70px; }
.stat-card:hover { border-color: #333; transform: translateY(-2px); }
.stat-top { display: flex; align-items: center; gap: 8px; }
.stat-icon { font-size: 14px; }
.stat-label { font-size: 10px; letter-spacing: 1.2px; color: var(--text-muted); font-weight: 600; }
.stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 20px; font-weight: 700; margin-top: 6px;
}
.stats-grid.compact .stat-value { font-size: 16px; }

/* LOG */
.log-card {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex; flex-direction: column;
    min-height: 400px; overflow: hidden;
}
.log-header { display: flex; align-items: center; padding: 14px 16px; gap: 10px; flex-wrap: wrap; }
.log-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.ghost-btn {
    background: var(--bg-card-alt);
    border: 1px solid var(--border);
    color: var(--text-dim);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 10px; font-weight: 700;
    letter-spacing: 1px; cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}
.ghost-btn:hover { background: var(--bg-hover); color: var(--neon); border-color: var(--neon); }
.log-divider { height: 1px; background: var(--border); margin: 0 16px; }
.log-body {
    flex: 1; overflow-y: auto;
    padding: 12px 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; line-height: 1.7;
    background: var(--bg-input);
    margin: 12px 16px 16px;
    border-radius: 6px;
    border: 1px solid var(--border);
    max-height: 500px;
    min-height: 200px;
}
.log-body::-webkit-scrollbar { width: 8px; }
.log-body::-webkit-scrollbar-track { background: var(--bg-card); }
.log-body::-webkit-scrollbar-thumb { background: var(--bg-hover); border-radius: 4px; }
.log-body::-webkit-scrollbar-thumb:hover { background: var(--neon-dark); }

.log-line { color: var(--text-dim); word-break: break-all; animation: fadeIn 0.2s ease; }
.log-line.success { color: var(--success); }
.log-line.error { color: var(--error); }
.log-line.warning { color: var(--warning); }
.log-line.info { color: var(--info); }
.log-line.primary { color: var(--neon); }
.log-line.muted { color: var(--text-muted); }

/* LOGIN */
.login-body {
    display: flex; align-items: center; justify-content: center;
    min-height: 100vh;
    background: radial-gradient(circle at 50% 30%, #0f1a0f 0%, #0a0a0a 60%);
}
.login-container { width: 100%; max-width: 420px; padding: 20px; }
.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: 0 0 60px rgba(0, 255, 65, 0.06);
    text-align: center;
}
.login-logo {
    width: 100px; height: 100px;
    margin: 0 auto 20px;
    background: var(--bg-input);
    border: 2px solid var(--neon);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.25);
    overflow: hidden;
    padding: 6px;
}
.login-card h1 { font-size: 24px; color: var(--neon); letter-spacing: 3px; font-weight: 700; margin-bottom: 6px; }
.login-subtitle { color: var(--text-muted); font-size: 12px; margin-bottom: 32px; letter-spacing: 1px; }
.login-form { text-align: left; }
.login-field { margin-bottom: 18px; }
.login-field label { display: block; color: var(--text-dim); font-size: 11px; margin-bottom: 6px; letter-spacing: 0.5px; }
.login-field input {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--text);
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    outline: none;
    transition: all 0.2s;
}
.login-field input:focus { border-color: var(--neon); box-shadow: 0 0 0 3px rgba(0, 255, 65, 0.12); }
.login-error { color: var(--error); font-size: 12px; min-height: 18px; margin-bottom: 12px; text-align: center; }
.btn-login { width: 100%; padding: 14px; font-size: 13px; letter-spacing: 2px; }
.btn-login:disabled { opacity: 0.6; cursor: wait; }
.login-footer { color: var(--text-muted); font-size: 11px; margin-top: 24px; }

/* ADMIN - USERS */
.user-table-container { padding: 0 16px 16px; overflow-x: auto; }
.user-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.user-table thead th {
    text-align: left; padding: 10px 8px;
    color: var(--text-muted); font-size: 10px; letter-spacing: 1px;
    font-weight: 600; border-bottom: 1px solid var(--border);
}
.user-table tbody td {
    padding: 10px 8px; border-bottom: 1px solid #1a1a1a;
    color: var(--text); font-family: 'JetBrains Mono', monospace; font-size: 11px;
}
.user-table tbody tr:hover { background: rgba(0, 255, 65, 0.03); }

.role-admin { color: var(--neon); background: rgba(0, 255, 65, 0.08); padding: 3px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; }
.role-user { color: var(--info); background: rgba(0, 204, 255, 0.08); padding: 3px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; }
.status-active { color: var(--success); font-size: 10px; }
.status-inactive { color: var(--error); font-size: 10px; }
.badge-online { color: var(--neon); font-size: 10px; }
.badge-offline { color: var(--text-muted); font-size: 10px; }
.action-cell { white-space: nowrap; }

.mini-btn {
    background: var(--bg-card-alt);
    border: 1px solid var(--border);
    border-radius: 5px;
    color: var(--text-dim);
    padding: 4px 8px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.15s;
    margin-right: 3px;
}
.mini-btn:hover { background: var(--bg-hover); color: var(--neon); border-color: var(--neon); }
.mini-btn.danger:hover { color: var(--error); border-color: var(--error); }

.sessions-list, .audit-list { padding: 0 16px 16px; max-height: 260px; overflow-y: auto; }
.session-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 0; border-bottom: 1px solid #1a1a1a;
    font-size: 12px; gap: 10px;
}
.session-item:last-child { border-bottom: none; }
.audit-item {
    display: grid;
    grid-template-columns: 60px 90px 80px 1fr;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid #141414;
    font-size: 10px;
    font-family: 'JetBrains Mono', monospace;
}
.audit-time { color: var(--text-muted); }
.audit-action { font-weight: 700; text-transform: uppercase; font-size: 9px; letter-spacing: 0.5px; }
.audit-action.success { color: var(--success); }
.audit-action.error { color: var(--error); }
.audit-action.info { color: var(--info); }
.audit-user { color: var(--neon); }
.audit-details { color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.input-select {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 10px 12px;
    color: var(--text);
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    outline: none;
}
.input-select:focus { border-color: var(--neon); }

/* ADMIN PAGE LAYOUT */
.content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 16px 24px 24px;
    max-width: 1600px;
    margin: 0 auto;
}

/* EMPTY STATE */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}
.empty-icon { font-size: 64px; margin-bottom: 20px; opacity: 0.5; }
.empty-state h2 { font-size: 20px; color: var(--text-dim); margin-bottom: 10px; font-weight: 600; }
.empty-state p { font-size: 13px; }

/* MODAL */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.show {
    display: flex;
    animation: fadeIn 0.15s ease;
}
.modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    width: 100%; max-width: 420px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 255, 65, 0.05);
}
.modal-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}
.modal-header h3 { font-size: 14px; color: var(--neon); font-weight: 700; letter-spacing: 1px; }
.modal-close {
    background: transparent; border: none;
    color: var(--text-muted); font-size: 16px;
    cursor: pointer; padding: 4px 8px;
    border-radius: 4px; transition: all 0.15s;
}
.modal-close:hover { background: var(--bg-hover); color: var(--error); }
.modal-body { padding: 20px; }
.modal-body label {
    display: block; font-size: 11px;
    color: var(--text-dim); margin-bottom: 8px; letter-spacing: 0.5px;
}
.modal-body input {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 12px 14px;
    color: var(--neon);
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}
.modal-body input:focus { border-color: var(--neon); box-shadow: 0 0 0 3px rgba(0, 255, 65, 0.12); }
.modal-hint { font-size: 10px; color: var(--text-muted); margin-top: 6px; }
.modal-footer {
    display: flex; justify-content: flex-end; gap: 8px;
    padding: 16px 20px;
    border-top: 1px solid var(--border);
}
.modal-footer .btn { width: auto; }

/* ============================================================
   ZAMANLAYICI
   ============================================================ */
.timer-section {
    margin: 0 16px 16px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.05), rgba(255, 204, 0, 0.02));
    border: 1px solid rgba(255, 204, 0, 0.2);
    border-radius: 8px;
}

.timer-duration-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.timer-duration-row input {
    width: 100px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 8px 10px;
    color: #ffcc00;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    outline: none;
    transition: all 0.2s;
}

.timer-duration-row input:focus {
    border-color: #ffcc00;
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.12);
}

.timer-display {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 12px;
}

.timer-countdown {
    font-family: 'JetBrains Mono', monospace;
    font-size: 32px;
    font-weight: 700;
    color: #ffcc00;
    text-align: center;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(255, 204, 0, 0.4);
    margin-bottom: 10px;
}

.timer-bar-wrap {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.timer-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00ff41, #00cc33);
    border-radius: 3px;
    transition: width 0.5s linear, background 0.3s;
}

.timer-status {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.timer-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.btn-timer-start {
    background: linear-gradient(135deg, #ffcc00, #ffaa00);
    color: #0a0a0a;
    font-size: 12px;
    padding: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-timer-start:hover:not(:disabled) {
    background: linear-gradient(135deg, #ffdd11, #ffbb00);
    box-shadow: 0 0 16px rgba(255, 204, 0, 0.4);
    transform: translateY(-1px);
}

.btn-timer-start:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    background: #2a2a2a;
    color: #4a4a4a;
}

.btn-timer-stop {
    background: transparent;
    color: #ff3355;
    font-size: 12px;
    padding: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 6px;
    border: 1px solid rgba(255, 51, 85, 0.4);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-timer-stop:hover:not(:disabled) {
    background: rgba(255, 51, 85, 0.1);
    border-color: #ff3355;
    box-shadow: 0 0 12px rgba(255, 51, 85, 0.25);
}

.btn-timer-stop:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.tab.timer-active .tab-name {
    color: #ffcc00;
}

.tab.timer-active .tab-status {
    background: #ffcc00;
    box-shadow: 0 0 8px #ffcc00;
    animation: pulse 1.5s infinite;
}

/* ============================================================
   BYTECODER LOGO
   ============================================================ */
.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(0, 255, 65, 0.5));
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { filter: drop-shadow(0 0 12px rgba(0, 255, 65, 0.5)); }
    50% { filter: drop-shadow(0 0 20px rgba(0, 255, 65, 0.9)); }
}

.brand-logo-small {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
    filter: drop-shadow(0 0 8px rgba(0, 255, 65, 0.4));
}

/* ============================================================
   GEÇİŞ EKRANI (Login → Panel)
   ============================================================ */
.transition-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 50% 50%, #0f1a0f 0%, #0a0a0a 70%);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 99999;
    overflow: hidden;
}

.transition-overlay.show {
    display: flex;
}

.transition-glow {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 65, 0.4) 0%, rgba(0, 255, 65, 0) 70%);
    animation: glowExpand 2s ease-out forwards;
    pointer-events: none;
}

@keyframes glowExpand {
    0% { width: 100px; height: 100px; opacity: 0; }
    30% { opacity: 1; }
    100% { width: 800px; height: 800px; opacity: 0; }
}

.transition-logo {
    width: 180px;
    height: 180px;
    object-fit: contain;
    animation: logoGrow 2s ease-out forwards;
    position: relative;
    z-index: 2;
    opacity: 0;
}

@keyframes logoGrow {
    0% { transform: scale(0.3); opacity: 0; filter: drop-shadow(0 0 0 rgba(0, 255, 65, 0)); }
    20% { opacity: 1; transform: scale(0.5); filter: drop-shadow(0 0 15px rgba(0, 255, 65, 0.6)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 50px rgba(0, 255, 65, 0.9)); }
    75% { transform: scale(1.3); filter: drop-shadow(0 0 80px rgba(0, 255, 65, 1)); }
    100% { transform: scale(1.5); opacity: 0.9; filter: drop-shadow(0 0 100px rgba(0, 255, 65, 1)); }
}

.transition-text {
    margin-top: 32px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #00ff41;
    text-shadow: 0 0 20px rgba(0, 255, 65, 0.8);
    animation: fadeInText 1s ease 0.5s forwards;
    opacity: 0;
    position: relative;
    z-index: 2;
}

@keyframes fadeInText {
    to { opacity: 1; }
}

.transition-text .dots {
    display: inline-block;
    animation: dotsAnim 1.5s steps(4, end) infinite;
    width: 20px;
    text-align: left;
    overflow: hidden;
    vertical-align: bottom;
}

@keyframes dotsAnim {
    0% { width: 0; }
    25% { width: 5px; }
    50% { width: 10px; }
    75% { width: 15px; }
    100% { width: 20px; }
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .tc-grid { grid-template-columns: 1fr; }
    .stats-grid.compact { grid-template-columns: repeat(2, 1fr); }
    .content { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .header-right a.btn,
    .header-right .btn {
        padding: 6px 10px !important;
        font-size: 10px !important;
        height: 34px !important;
    }
    .header-right .status-box,
    .header-right .clock-box {
        padding: 6px 10px !important;
        font-size: 11px !important;
        height: 34px !important;
    }
}
@media (max-width: 768px) {
    .global-bar { flex-direction: column; align-items: stretch; }
    .global-stats { justify-content: space-between; }
    .global-actions { justify-content: stretch; }
    .btn-global { flex: 1; }
    .tab-bar { padding: 8px 12px 0; }
    .tab-contents { padding: 0 12px 12px; }
    .header { flex-direction: column; align-items: stretch; gap: 12px; }
    .header-right { justify-content: space-between; }
    .stats-grid { grid-template-columns: 1fr; }
    .title-box h1 { font-size: 16px; }
    .transition-logo { width: 140px; height: 140px; }
    .transition-text { font-size: 11px; }
}