/* assets/css/style.css */

/* Genel Ayarlar */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* Kartlar */
.card {
    border: none;
    border-radius: 10px;
    margin-bottom: 20px;
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
    font-weight: 600;
}

/* Form Elemanları */
.form-control:focus,
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Butonlar */
.btn {
    border-radius: 6px;
    font-weight: 500;
    padding: 8px 16px;
}

.btn-lg {
    padding: 12px 24px;
    font-size: 1.1rem;
}

/* Badge Durumlar */
.badge {
    padding: 6px 12px;
    font-weight: 500;
    font-size: 0.85rem;
}

/* Tablo */
.table {
    font-size: 0.95rem;
}

.table th {
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
}

.table-hover tbody tr:hover {
    background-color: #f8f9fa;
    cursor: pointer;
}

/* Responsive Tablo */
.table-responsive {
    border-radius: 8px;
}

/* Alert */
.alert {
    border-radius: 8px;
    border: none;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Login Sayfası */
.min-vh-100 {
    min-height: 100vh;
}

.bg-light {
    background-color: #f8f9fa !important;
}

/* İstatistik Kartları */
.card h3 {
    font-weight: 700;
    margin-bottom: 5px;
}

.card p {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Custom Colors */
.bg-primary {
    background-color: #0d6efd !important;
}

.bg-success {
    background-color: #198754 !important;
}

.bg-danger {
    background-color: #dc3545 !important;
}

.bg-warning {
    background-color: #ffc107 !important;
}

.bg-info {
    background-color: #0dcaf0 !important;
}

.bg-secondary {
    background-color: #6c757d !important;
}

.bg-dark {
    background-color: #212529 !important;
}

/* Text Colors */
.text-primary {
    color: #0d6efd !important;
}

.text-success {
    color: #198754 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-warning {
    color: #ffc107 !important;
}

.text-muted {
    color: #6c757d !important;
}

/* Shadow */
.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Spacing */
.mt-4 {
    margin-top: 1.5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.p-0 {
    padding: 0 !important;
}

/* Border */
.border-bottom {
    border-bottom: 1px solid #dee2e6 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .container-fluid {
        padding: 15px;
    }
    
    .card-body {
        padding: 15px;
    }
    
    .table {
        font-size: 0.85rem;
    }
    
    .btn {
        font-size: 0.9rem;
    }
    
    h4, h5 {
        font-size: 1.2rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Animasyonlar */
.card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.15) !important;
}

.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

/* Loading State */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Form Validation */
.was-validated .form-control:valid {
    border-color: #198754;
}

.was-validated .form-control:invalid {
    border-color: #dc3545;
}

/* Talep Kodu Vurgusu */
.alert-success h3 {
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

/* Fiyat Tablosu */
.table-primary {
    background-color: rgba(13, 110, 253, 0.1) !important;
}

.table-success {
    background-color: rgba(25, 135, 84, 0.1) !important;
}

.table-light {
    background-color: #f8f9fa !important;
}

/* Print Stilleri */
@media print {
    .navbar,
    .btn,
    form {
        display: none !important;
    }
    
    .card {
        border: 1px solid #dee2e6 !important;
        box-shadow: none !important;
        page-break-inside: avoid;
    }
}

/* Mobil için Düzenlemeler */
@media (max-width: 576px) {
    .row.g-3 {
        row-gap: 15px;
    }
    
    .col-md-3,
    .col-md-6,
    .col-md-8 {
        width: 100%;
    }
    
    .d-grid.gap-2 button {
        margin-bottom: 10px;
    }
}

/* Dark Mode Hazırlığı (İsteğe bağlı) */
@media (prefers-color-scheme: dark) {
    /* Dark mode stilleri buraya eklenebilir */
}

/* Ekstra Özelleştirmeler */
.navbar-brand {
    font-weight: 600;
    font-size: 1.1rem;
}

.form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
}

small.text-muted {
    font-size: 0.85rem;
}

small.text-danger {
    font-size: 0.85rem;
}

/* Başarı Mesajı Animasyonu */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert {
    animation: slideDown 0.3s ease-out;
}

/* Hover Efektleri */
.table tbody tr {
    transition: background-color 0.2s ease;
}

a {
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    text-decoration: none;
}

/* Required Field İşareti */
.text-danger {
    font-weight: 600;
}

/* Card Header İkonlar */
.card-header h5,
.card-header h6 {
    display: flex;
    align-items: center;
}

/* Buton Grupları */
.btn-group .btn {
    margin-right: 5px;
}

.btn-group .btn:last-child {
    margin-right: 0;
}

/* Footer (eğer eklerseniz) */
footer {
    margin-top: 50px;
    padding: 20px 0;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    text-align: center;
    color: #6c757d;
}
```

---
