/* --------------- */
/* ADMİN PANEL KULLANICI TABLOSU */
/* --------------- */
.user-management-widget {
    overflow-x: auto; /* Küçük ekranlarda tablo taşarsa kaydırma çubuğu çıkar */
}

.user-table {
    width: 100%;
    border-collapse: collapse; /* Kenarlıkları birleştir */
    margin-top: 1rem;
    font-size: 0.95rem;
}

.user-table th,
.user-table td {
    border: 1px solid #ddd;
    padding: 0.75rem;
    text-align: left;
}

.user-table th {
    background-color: #f4f6f8;
    font-weight: 600;
}

/* Tablodaki satırların arkaplan rengi (zebra deseni) */
.user-table tbody tr:nth-of-type(even) {
    background-color: #f9f9f9;
}

/* Rol değiştirme select kutusu */
.role-select {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
}

/* Devre dışı bırakılmış select (Adminler için) */
.role-select:disabled {
    background-color: #eee;
    color: #777;
    cursor: not-allowed;
}

/* Yüklenme ve başarı mesajları için */
.user-table-status {
    margin-top: 1rem;
    font-weight: 600;
}
.user-table-status.success {
    color: #28a745; /* Yeşil */
}

/* Geri bildirim tablosundaki mesaj sütununun genişliğini sınırlar */
.feedback-table .feedback-message-column {
    width: 40%; /* Genişliği ayarla */
}

/* Mesaj hücresi için stiller */
.feedback-message-cell {
    max-width: 300px; /* Maksimum genişlik */
    white-space: pre-wrap; /* Satır sonlarını koru */
    word-wrap: break-word; /* Uzun kelimeleri kır */
    vertical-align: top; /* İçeriği üste yasla */
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Durum select kutusu için (admin.js'de oluşturulacak) */
.feedback-status-select {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
}

/* Geri bildirim silme butonu */
.btn-delete-feedback {
    background-color: #dc3545; /* Kırmızı */
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}
.btn-delete-feedback:hover {
    background-color: #c82333;
}