/* Genel Sayfa Stilleri */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Yönetim Paneli Başlığı ve Navigasyon */
.management-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.management-title {
    font-size: 1.8em;
    color: #333;
    margin: 0;
}

.management-title a {
    color: inherit;
    text-decoration: none;
}

.management-nav a {
    margin-left: 15px;
    text-decoration: none;
    color: #007bff;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.2s, color 0.2s;
}

.management-nav a:hover {
    background-color: #f0f0f0;
}

.management-nav .logout-button {
    color: #dc3545;
    border: 1px solid #dc3545;
}

.management-nav .logout-button:hover {
    background-color: #dc3545;
    color: #fff;
}

/* Genel Buton Stilleri */
.button, button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1em;
    font-weight: bold;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
}

button:hover, .button:hover {
    background-color: #0056b3;
}

button.approve-button { background-color: #28a745; }
button.approve-button:hover { background-color: #218838; }

a.button.disabled, button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Form Stilleri */
form { margin-top: 20px; }
label { display: block; margin-bottom: 5px; font-weight: bold; }
input[type="text"], input[type="password"], select, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Önemli */
}
textarea { min-height: 100px; }
form button { width: 100%; }

/* Tablo Stilleri */
table { width: 100%; border-collapse: collapse; margin-top: 20px; }
th, td { padding: 12px 15px; text-align: left; border-bottom: 1px solid #ddd; }
th { background-color: #f0f0f0; font-weight: bold; }
tbody tr:hover { background-color: #f9f9f9; }

/* Hata Mesajları */
.error {
    color: #dc3545;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Başarı Mesajları */
.success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    transition: opacity 0.5s ease-in-out; /* Yumuşak kaybolma efekti için */
}

/* Sayfalama Stilleri */
.pagination { margin-top: 20px; display: flex; justify-content: space-between; align-items: center; }
.pagination-info { font-size: 0.9em; color: #666; }
.pagination-buttons a { margin-left: 10px; }