body {
    font-family: Verdana, sans-serif;
    margin: 10px;
    background-color: #f4f4f4;
    
}

/* Genel Container Stili (index.php için) */
.container {
    background: #fff;
    padding: 10px;
    border-radius: 50px;
    box-shadow: 9 5px 5px rgba(0,0,0,0.1);
    max-width: 1400px;
    margin: 20px auto;
    
}

/* Admin Paneli Container Stili (dashboard.php için) */
.admin-container {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    max-width: 1400px;
    margin: 20px auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1px;
    border-spacing: 5; /* Hücreler arasındaki boşluğu kaldır */
    border: 1px solid #ccc; /* Tablo kenarlığı */
}

th, td {
    border: none;
    padding: 8px;
    text-align: left;
    font-size: var(--record-font-size);
    width: 33.33%;
    vertical-align: top; /* Dikey hizalama */
    text-align: center; /* Metni ortala */
}

th {
    background-color: #f2f2f2;
}

.btn {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    background-color: #007bff;
    border: none;
}

.btn-success {
    background-color: #28a745;
}

.btn-danger {
    background-color: #dc3545;
}

.btn-primary {
    background-color: #007bff;
}

.logout-container {
    text-align: right;
    margin-bottom: 10px;
}

.category-container {
    display: flex;
    flex-wrap: wrap;
}

.category-column {
    width: 48%;
    margin-right: 2%;
}

.category-column:nth-child(2n) {
    margin-right: 0;
}

h2 {
    font-size: var(--category-font-size);
}

.search-container {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.search-container input[type="text"] {
    padding: 10px;
    font-size: 1.1em;
    border-radius: 5px;
    border: 1px solid #ddd;
    width: 50%;
}

.contact-row.hidden {
    display: none;
}

.category-column.hidden {
    display: none;
}

/* Admin panel form elemanları */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="color"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ddd;
    box-sizing: border-box; /* padding ve border kutuya dahil */
}

/* Admin panelindeki tabloyu sıkıştırma */
.admin-table-container {
    max-width: 100%;
    overflow-x: auto;
}

.admin-table-container table {
    width: 100%;
}

.admin-table-container th,
.admin-table-container td {
    white-space: nowrap;
}

.admin-table-container table th:nth-child(1),
/* Ad sütunu */
.admin-table-container table td:nth-child(1) {
    width: 150px;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-table-container table th:nth-child(2),
/* Görev sütunu */
.admin-table-container table td:nth-child(2),
.admin-table-container table th:nth-child(3),
/* Telefon sütunu */
.admin-table-container table td:nth-child(3),
.admin-table-container table th:nth-child(4),
/* Kategori sütunu */
.admin-table-container table td:nth-child(4),
.admin-table-container table th:nth-child(5),
/* Sıra sütunu */
.admin-table-container table td:nth-child(5),
.admin-table-container table th:nth-child(6),
/* İşlemler sütunu */
.admin-table-container table td:nth-child(6) {
    width: 100px;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* index.php tablosu için bir satır gri bir satır beyaz stil */
.container table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
    /* Çift sayılı satırlar için */
}

.container table tbody tr:nth-child(odd) {
    background-color: #ffffff;
    /* Tek sayılı satırlar için */
}