/* Bootstrap CDN'yi HTML'de dahil ettiğiniz varsayılır: https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css */

/* Genel Stiller */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    background-color: #007bff;
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header .navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

/* Sidebar */
.sidebar {
    background-color: #343a40;
    color: white;
    min-height: 100vh;
    padding: 20px;
}

.sidebar a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #495057;
}

.sidebar a:hover {
    background-color: #495057;
}

/* Dashboard */
.dashboard {
    padding: 20px;
}

/* Tablo Stilleri */
.table {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.table th {
    background-color: #007bff;
    color: white;
}

.table td {
    vertical-align: middle;
}

/* Form ve Input Stilleri */
.form-control {
    border-radius: 5px;
    border: 1px solid #ced4da;
    padding: 10px;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

.btn {
    border-radius: 5px;
    padding: 10px 20px;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

/* Modal Stilleri */
.modal-content {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.modal-header {
    background-color: #007bff;
    color: white;
    border-bottom: none;
}

.modal-footer {
    border-top: none;
}

/* Denetleme Formu */
.audit-form .question {
    margin-bottom: 20px;
    padding: 15px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.audit-form input[type="radio"] {
    margin-right: 10px;
}

.photo-upload {
    margin-top: 10px;
}

/* Footer */
footer {
    background-color: #343a40;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .sidebar {
        position: static;
        width: 100%;
    }
    .container {
        padding: 10px;
    }
    .table {
        font-size: 0.9rem;
    }
    .modal-dialog {
        margin: 10px;
    }
}

/* Güvenlik ve Erişilebilirlik */
input, button {
    outline: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}