/* MOU Otomasyon Sistemi - CSS Dosyası */

/* Genel Stiller */
body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.container, .container-fluid {
    padding-bottom: 30px;
}

/* Başlık ve Metin Stilleri */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #212529;
}

.text-primary {
    color: #007bff !important;
}

.text-success {
    color: #28a745 !important;
}

.text-warning {
    color: #ffc107 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-info {
    color: #17a2b8 !important;
}

/* Navbar Stilleri */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar .dropdown-menu {
    border-radius: 0.25rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar .dropdown-item:hover {
    background-color: #f8f9fa;
}

.navbar .nav-link {
    font-weight: 500;
}

.navbar .nav-item.active .nav-link {
    color: #fff !important;
    font-weight: 600;
}

/* Kart Stilleri */
.card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.card-header {
    border-top-left-radius: 0.5rem !important;
    border-top-right-radius: 0.5rem !important;
    font-weight: 600;
}

.card-header.bg-primary {
    background-color: #007bff !important;
}

.card-header.bg-success {
    background-color: #28a745 !important;
}

.card-header.bg-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

.card-header.bg-danger {
    background-color: #dc3545 !important;
}

.card-header.bg-info {
    background-color: #17a2b8 !important;
}

.card-header.bg-secondary {
    background-color: #6c757d !important;
}

.card-header.bg-dark {
    background-color: #343a40 !important;
}

.card-footer {
    border-bottom-left-radius: 0.5rem !important;
    border-bottom-right-radius: 0.5rem !important;
    background-color: rgba(0, 0, 0, 0.03);
}

/* Buton Stilleri */
.btn {
    border-radius: 0.3rem;
    font-weight: 500;
    padding: 0.375rem 1rem;
    transition: all 0.2s;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #212529;
}

.btn-warning:hover {
    background-color: #e0a800;
    border-color: #d39e00;
    color: #212529;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

.btn-info {
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.btn-info:hover {
    background-color: #138496;
    border-color: #117a8b;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

.btn-sm {
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
}

.btn-lg {
    font-size: 1.25rem;
    padding: 0.5rem 1rem;
}

.btn-block {
    width: 100%;
}

/* Form Stilleri */
.form-control {
    border-radius: 0.3rem;
    border: 1px solid #ced4da;
    padding: 0.375rem 0.75rem;
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-group {
    margin-bottom: 1.25rem;
}

label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Tablo Stilleri */
.table {
    background-color: #fff;
    margin-bottom: 1rem;
}

.table th {
    font-weight: 600;
    background-color: #f8f9fa;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #dee2e6;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

.thead-light th {
    background-color: #f8f9fa;
    color: #495057;
    border-color: #dee2e6;
}

/* Badge ve Etiket Stilleri */
.badge {
    font-weight: 500;
    padding: 0.25em 0.5em;
    border-radius: 0.25rem;
}

.badge-primary {
    background-color: #007bff;
}

.badge-success {
    background-color: #28a745;
}

.badge-warning {
    background-color: #ffc107;
    color: #212529;
}

.badge-danger {
    background-color: #dc3545;
}

.badge-info {
    background-color: #17a2b8;
}

.badge-secondary {
    background-color: #6c757d;
}

.badge-light {
    background-color: #f8f9fa;
    color: #212529;
}

.badge-dark {
    background-color: #343a40;
}

/* Uyarı Kutuları */
.alert {
    border: none;
    border-radius: 0.4rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.alert-primary {
    background-color: #cfe2ff;
    color: #084298;
}

.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
}

.alert-danger {
    background-color: #f8d7da;
    color: #842029;
}

.alert-info {
    background-color: #cff4fc;
    color: #055160;
}

/* Liste Grup Stilleri */
.list-group-item {
    border: 1px solid rgba(0, 0, 0, 0.125);
    padding: 0.75rem 1.25rem;
}

.list-group-item:first-child {
    border-top-left-radius: 0.35rem;
    border-top-right-radius: 0.35rem;
}

.list-group-item:last-child {
    border-bottom-left-radius: 0.35rem;
    border-bottom-right-radius: 0.35rem;
}

.list-group-item.active {
    background-color: #007bff;
    border-color: #007bff;
}

.list-group-item-action:hover {
    background-color: #f8f9fa;
}

/* Jumbotron Stilleri */
.jumbotron {
    background-color: #e9ecef;
    border-radius: 0.5rem;
    padding: 2rem;
}

/* Breadcrumb Stilleri */
.breadcrumb {
    background-color: #f8f9fa;
    border-radius: 0.35rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
}

.breadcrumb-item.active {
    color: #6c757d;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
}

/* Footer Stilleri */
footer {
    background-color: #f8f9fa;
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid #dee2e6;
}

footer a {
    color: #007bff;
    text-decoration: none;
}

footer a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Progress Bar Stilleri */
.progress {
    height: 1rem;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    background-color: #e9ecef;
}

.progress-bar {
    background-color: #007bff;
}

.progress-bar-striped {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-size: 1rem 1rem;
}

/* Responsive Tasarım için Ek Stiller */
@media (max-width: 767.98px) {
    .container, .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
    
    .btn {
        padding: 0.25rem 0.75rem;
    }
}

/* Admin Paneli Özel Stilleri */
.admin-dashboard .card {
    height: 100%;
}

.admin-dashboard .card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Özel Animasyonlar */
.fade-in {
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Bildirim Badge Stilleri */
.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.15rem 0.4rem;
    font-size: 0.7rem;
    border-radius: 50%;
    background-color: #dc3545;
    color: white;
}

/* Dil Seçim Dropdown Stilleri */
.language-selector .dropdown-item.active {
    background-color: #007bff;
}

/* Sayfa Geçiş Efektleri */
.page-transition {
    transition: opacity 0.3s ease-in-out;
}

.page-transition.fade-out {
    opacity: 0;
}

.page-transition.fade-in {
    opacity: 1;
}

/* Yardım İkonları */
.help-icon {
    color: #17a2b8;
    cursor: pointer;
    margin-left: 0.25rem;
}

.help-icon:hover {
    color: #138496;
}

/* Dosya Yükleme Alanı Stilleri */
.custom-file-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-file-input:focus ~ .custom-file-label {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Üst Navbar Dropdown Menüsü Stilleri */
.dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    font-weight: 400;
}

.dropdown-item:hover {
    background-color: rgba(0, 123, 255, 0.1);
}

/* Profil Fotoğrafı Stilleri */
.profile-image {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.profile-image-small {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}