/* Spilos Şube - Premium Design - Dark/Glassmorphism */

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

:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-card: rgba(17, 24, 39, 0.7);
    --bg-sidebar: rgba(15, 23, 42, 0.95);
    --bg-input: rgba(30, 41, 59, 0.6);
    --accent-primary: #6366f1;
    --accent-secondary: #06b6d4;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --border-color: rgba(148, 163, 184, 0.1);
    --gradient-bg: linear-gradient(135deg, #0a0e1a 0%, #1e1b4b 50%, #0a0e1a 100%);
    --radius-md: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--gradient-bg);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Layout */
.app-layout { display: flex; min-height: 100vh; }
.sidebar {
    width: 260px;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    padding: 24px;
    display: flex;
    flex-direction: column;
}
.main-content { flex: 1; padding: 30px; }

/* Dashboard Cards */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 30px; }
.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--radius-md);
    transition: transform 0.2s;
}
.stat-card:hover { transform: translateY(-5px); }
.stat-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.stat-icon { font-size: 24px; }
.stat-label { color: var(--text-secondary); font-size: 14px; font-weight: 500; }
.stat-value { font-size: 28px; font-weight: 800; color: var(--text-primary); }

/* Tables */
.panel { background: var(--bg-card); border-radius: var(--radius-md); border: 1px solid var(--border-color); margin-bottom: 30px; overflow: hidden; }
.panel-header { padding: 20px 24px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
.panel-title { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; }
.data-table th { padding: 16px 24px; color: var(--text-secondary); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid var(--border-color); }
.data-table td { padding: 16px 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); font-size: 14px; }
.data-table tr:hover { background: rgba(255, 255, 255, 0.02); }

/* Badges */
.badge { padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.badge-success { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.badge-warning { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.badge-danger { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.badge-info { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }

/* Forms & Buttons */
.btn { padding: 10px 20px; border-radius: 8px; font-weight: 600; cursor: pointer; border: none; transition: 0.2s; font-size: 14px; }
.btn-primary { background: var(--accent-primary); color: white; }
.btn-primary:hover { background: #4f46e5; }
.btn-danger { background: #ef4444; color: white; }

/* Login */
.login-wrapper { display: flex; justify-content: center; align-items: center; min-height: 100vh; }
.login-card { background: var(--bg-card); width: 100%; max-width: 400px; padding: 40px; border-radius: var(--radius-md); border: 1px solid var(--border-color); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; color: var(--text-secondary); font-size: 13px; }
.form-group input { width: 100%; padding: 12px; background: var(--bg-input); border: 1px solid var(--border-color); border-radius: 8px; color: white; font-size: 15px; }

/* Sidebar Nav */
.nav-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: var(--text-secondary); text-decoration: none; border-radius: 8px; margin-bottom: 4px; transition: 0.2s; }
.nav-item:hover, .nav-item.active { background: rgba(99, 102, 241, 0.1); color: var(--accent-primary); }
.nav-label { font-size: 11px; text-transform: uppercase; color: #475569; margin: 20px 0 10px 16px; font-weight: 700; }
