:root {
    --primary-color: #4f46e5;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #1e293b;
}

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

/* Navigasyon Çubuğu */
.navbar {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-weight: 500;
}

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

.card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

/* Tablolar (Mobil Uyumlu) */
.table-responsive {
    overflow-x: auto;
}

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

th, td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
}

th {
    background: #f1f5f9;
    font-weight: 600;
}

/* Form Elemanları */
input, select, textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    box-sizing: border-box;
}

button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: opacity 0.2s;
}

button:hover {
    opacity: 0.9;
}

/* Ticket Durum Rozetleri */
.badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}
.status-acik { background: #dcfce7; color: #166534; }
.status-yapiliyor { background: #fef3c7; color: #92400e; }
.status-tamamlandi { background: #dbeafe; color: #1e40af; }
.status-destek_lazim { background: #fee2e2; color: #991b1b; }

/* Mesajlaşma Alanı (Chat) */
.chat-container {
    height: 400px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    padding: 15px;
    border-radius: 8px;
    background: #fdfdfd;
}

.message-item {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 8px;
    background: #f1f5f9;
}

@media (max-width: 768px) {
    .navbar { flex-direction: column; text-align: center; }
    .navbar div { margin-top: 10px; }
}