/* Genel Ayarlar */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f2f5;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 20px;
}

h1, h2 {
    color: #4a90e2;
}

a {
    text-decoration: none;
    color: #4a90e2;
}

/* Giriş Formu */
form {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

form label {
    margin-bottom: 10px;
    font-weight: bold;
}

form input[type="text"],
form input[type="password"],
form button {
    padding: 10px;
    font-size: 14px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

form input[type="text"]:focus,
form input[type="password"]:focus {
    border-color: #4a90e2;
    outline: none;
}

form button {
    background-color: #4a90e2;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

form button:hover {
    background-color: #357ABD;
}

/* Tablo Stili */
table {
    border-collapse: collapse;
    width: 100%;
    max-width: 800px;
    margin-top: 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

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

table th {
    background-color: #4a90e2;
    color: #fff;
    font-weight: bold;
}

table tr:hover {
    background-color: #f1f1f1;
}

table td:last-child a {
    color: #e74c3c;
    font-weight: bold;
}

table td:last-child a:hover {
    color: #c0392b;
}

/* Çıkış Yap Bağlantısı */
.logout {
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
}

.logout a {
    color: #e74c3c;
}

.logout a:hover {
    color: #c0392b;
}
/* Modal Stil Ayarları */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover {
    color: #000;
}

.modal-content form label {
    display: block;
    margin-top: 10px;
}

.modal-content form input[type="text"],
.modal-content form input[type="number"],
.modal-content form button {
    padding: 8px;
    width: 100%;
    margin-top: 5px;
    border-radius: 4px;
}
