/* Genel Ayarlar */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
}

/* Header */
header {
    background: linear-gradient(90deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    padding: 15px 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8em;
    font-weight: bold;
}

/* Butonlar */
.button {
    padding: 5px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.user-actions .button {
    background-color: #d3d3d3;
    color: #333;
    margin-left: 10px;
    transition: background-color 0.3s;
}

.user-actions .button:hover {
    background-color: #b0b0b0;
}

/* Düzenle ve Sil Butonları */
.edit-button {
    background-color: #4CAF50; /* Yeşil */
    color: white;
    margin-right: 4px;
}

.edit-button:hover {
    background-color: #45a049;
}

.delete-button {
    background-color: #f44336; /* Kırmızı */
    color: white;
}

.delete-button:hover {
    background-color: #d32f2f;
}

/* Sayfa Yapısı */
.container {
    padding: 20px;
    max-width: 800px; /* Maksimum genişlik */
    margin: 0 auto; /* Ortaya hizalama */
}

h1, h2 {
    font-weight: 600;
}

/* Listeleme */
.list {
    margin-bottom: 30px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 12px; /* Daha küçük font */
}

table th, table td {
    padding: 4px 6px; /* Daha dar hücre boşlukları */
    border-bottom: 1px solid #ddd;
    text-align: left;
    vertical-align: middle;
    min-height: 25px; /* Daha dar satır yüksekliği */
    height: 25px;
}

table th {
    background-color: #f7f7f7;
    font-weight: 600;
}

table td img {
    width: 25px; /* Daha küçük fotoğraf boyutu */
    height: auto;
    border-radius: 3px;
}

/* Linkler ve Hover Efektleri */
a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Modal Genel Yapısı */
.modal {
    display: none; /* Başlangıçta gizli */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4); /* Yarı saydam arka plan */
}

/* Modal İçeriği */
.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
}

/* Kapatma Butonu */
.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Modal İçindeki Form Stili */
.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #333;
}

.modal-content form label {
    display: block;
    font-weight: bold;
    margin: 10px 0 5px;
}

.modal-content form input[type="text"],
.modal-content form input[type="number"],
.modal-content form input[type="file"],
.modal-content form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.modal-content form button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.modal-content form button:hover {
    background-color: #45a049;
}
