:root {
    /* RAL 2005 - Luminous Orange Temelli Renk Paleti */
    --primary-color: #ff2300; /* RAL 2005 Yaklaşık Değeri */
    --primary-hover: #e62000;
    --secondary-color: #334155;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --bg-color: #f1f5f9;
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Navigasyon Çubuğu */
.navbar {
    background: #1e293b; /* Daha ağır durması için koyu lacivert/siyah seçildi */
    border-bottom: 4px solid var(--primary-color); /* RAL 2005 vurgusu */
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.navbar a {
    color: #f1f5f9;
    text-decoration: none;
    margin: 0 10px;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Konteyner ve Kartlar */
.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}

.card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

/* İstatistik Kartları Özel Vurgu */
.stat-card {
    border-top: 4px solid var(--primary-color) !important;
}

/* Tablolar */
.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

th {
    background: #f8fafc;
    color: var(--secondary-color);
    text-align: left;
    padding: 12px;
    font-weight: 600;
    border-bottom: 2px solid #e2e8f0;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

td {
    padding: 14px 12px;
    border-bottom: 1px solid #f1f5f9;
}

tr:hover td {
    background-color: #fcfcfc;
}

/* Form Elemanları */
input, select, textarea {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 35, 0, 0.1);
}

button, .btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.2s, transform 0.1s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

button:hover {
    background: var(--primary-hover);
}

button:active {
    transform: translateY(1px);
}

/* Ticket Durum Rozetleri */
.badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    display: inline-block;
}
.status-acik { background: #fff1f0; color: #ff2300; border: 1px solid #ffccc7; }
.status-yapiliyor { background: #fffbe6; color: #d48806; border: 1px solid #ffe58f; }
.status-tamamlandi { background: #f6ffed; color: #389e0d; border: 1px solid #b7eb8f; }
.status-destek_lazim { background: #fff1f0; color: #cf1322; border: 1px solid #ffa39e; }

/* Dashboard Filtre Butonları (Nav-Pill) */
.nav-pill.active {
    background: var(--primary-color) !important;
    color: white !important;
}

@media (max-width: 768px) {
    .navbar { flex-direction: column; padding: 1rem; }
    .navbar div { margin-top: 15px; display: flex; flex-wrap: wrap; justify-content: center; }
    .card { padding: 15px; }
}