.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-style {
    width: 100%;
    min-width: 100%; /* Geniş tablolar için */
    border-collapse: collapse;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.6);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.table-style thead {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.table-style thead th {
    padding: 1.5rem 2rem;
    text-align: left;
    font-weight: 700;
    color: #1e293b;
    font-size: 1.1rem;
    border-bottom: 2px solid #e2e8f0;
    white-space: normal;
    word-break: keep-all;
}

.table-style tbody td {
    padding: 1.5rem 2rem;
    color: #1e293b;
    font-weight: 600;
    font-size: 1rem;
    border-bottom: 1px solid #f1f5f9;
    white-space: nowrap;
}

.table-style tbody tr:hover {
    background-color: #f8fafc;
}

/* Buton ortak stil */
.btn-detay,
.btn-aktif,
.btn-pasif {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    color: white;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    user-select: none;
    margin-right: 0.5rem;
}

/* Detay Gör butonu */
.btn-detay {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

/* Aktif butonu (yeşil) */
.btn-aktif {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Pasif butonu (kırmızı) */
.btn-pasif {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
}

/* Responsive mobilde butonlar alt alta */
@media (max-width: 600px) {
    .btn-detay,
    .btn-aktif,
    .btn-pasif {
        display: block;
        margin-bottom: 0.5rem;
        width: fit-content;
    }
}

/* Küçük ekranlarda tablo min-width azaltılabilir */
@media (max-width: 768px) {
    .table-style {
        min-width: 100%;
    }
}
