/* Genel Stiller */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Sidebar Stiller */
.sidebar {
    background-color: #fff;
    border-right: 1px solid #dee2e6;
    min-height: 100vh;
    padding: 1rem;
}

.sidebar .nav-link {
    color: #666;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    margin-bottom: 0.25rem;
}

.sidebar .nav-link:hover {
    background-color: #f8f9fa;
    color: #333;
}

.sidebar .nav-link.active {
    background-color: #e9ecef;
    color: #333;
    font-weight: 500;
}

/* Dashboard Header */
.dashboard-header {
    background-color: #fff;
    border-bottom: 1px solid #dee2e6;
    padding: 1rem;
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    font-size: 1.5rem;
    margin: 0;
    color: #333;
}

/* Özet Kartları */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.summary-card {
    background: linear-gradient(135deg, #2193b0, #6dd5ed);
    border-radius: 15px;
    padding: 1.5rem;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.summary-card.card-green {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

.summary-card.card-orange {
    background: linear-gradient(135deg, #f46b45, #eea849);
}

.summary-card::before {
    content: '\f52f'; /* fa-gas-pump */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    bottom: 10px;
    font-size: 3rem;
    opacity: 0.2;
    transform: rotate(-15deg);
}

.summary-card.card-green::before {
    content: '\f018'; /* fa-road */
}

.summary-card.card-orange::before {
    content: '\f53a';
}

.summary-card .card-icon {
    font-size: 2.5rem;
    opacity: 0.8;
}

.summary-card .card-info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.card-info h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.card-info p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.summary-card .card-info .d-flex.flex-column {
    gap: 0.5rem;
}

.summary-card .card-info .d-flex.flex-column h3 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.summary-card .card-info .d-flex.flex-column p {
    font-size: 0.8rem;
    opacity: 0.8;
}

.summary-card .card-info .d-flex.flex-column div:last-child {
    margin-bottom: 0;
}

.summary-card .card-info ul {
    gap: 0.5rem;
    display: flex;
    flex-direction: row;
    width: 100%;
}

.summary-card .card-info ul li {
    margin-bottom: 0;
    margin-right: 20px;
}

.summary-card .card-info ul li:last-child {
    margin-right: 0;
}

.summary-card .card-info ul li h3 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.summary-card .card-info ul li p {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Accordion Stiller */
.accordion-button {
    background-color: #fff;
    border: 1px solid #dee2e6;
    padding: 1rem;
    width: 100%;
    text-align: left;
    color: #333;
    font-weight: 500;
    border-radius: 0.375rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.accordion-button:hover {
    background-color: #f8f9fa;
}

.accordion-button.active {
    background-color: #e9ecef;
}

.accordion-content {
    display: none;
    padding: 1rem;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

.accordion-content.active {
    display: block;
}

/* Form Stiller */
.form-control {
    border-color: #dee2e6;
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
}

.form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25);
}

.form-label {
    color: #666;
    margin-bottom: 0.5rem;
}

/* Tablo Stiller */
.table {
    background-color: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
}

.table th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    color: #666;
    font-weight: 500;
    padding: 0.75rem;
    cursor: pointer;
}

.table th:hover {
    background-color: #e9ecef;
}

.table td {
    padding: 0.75rem;
    border-bottom: 1px solid #dee2e6;
    color: #333;
}

/* Pagination Stiller */
.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    gap: 4px;
}

.page-item {
    margin: 0;
}

.page-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    font-size: 14px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background-color: #fff;
    text-decoration: none;
}

.page-link:hover {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #333;
}

.page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

.page-item.disabled .page-link {
    color: #adb5bd;
    pointer-events: none;
    background-color: #fff;
    border-color: #dee2e6;
}

/* Para Birimi */
.currency {
    font-weight: 500;
    color: #198754;
}

.total-amount {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

/* Avans Listesi */
.avans-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.avans-list li {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.avans-list li:last-child {
    border-bottom: none;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -250px;
        top: 0;
        bottom: 0;
        z-index: 1000;
        transition: all 0.3s;
    }

    .sidebar.active {
        left: 0;
    }

    .summary-cards {
        width: calc(100% + 10px);
        margin-left: -5px;
        margin-right: -5px;
    }

    .summary-card {
        width: 100%;
    }
}

/* Footer */
.footer {
    background-color: #fff;
    border-top: 1px solid #dee2e6;
    padding: 1rem;
    margin-top: 2rem;
    text-align: center;
    color: #666;
}

/* Üst Menü Stilleri */
.btn-toolbar {
    gap: 0.5rem;
}

.btn-toolbar .btn-link {
    color: #666;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
}

.btn-toolbar .btn-link:hover {
    color: #333;
    background-color: #f8f9fa;
}

.btn-toolbar .btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

.btn-toolbar .dropdown-toggle {
    color: #666;
    padding: 0.375rem 0.75rem;
}

.btn-toolbar .dropdown-toggle:hover {
    color: #0d6efd;
}

.btn-toolbar .dropdown-menu {
    min-width: 200px;
    padding: 0.5rem;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-toolbar .dropdown-item {
    padding: 0.5rem 1rem;
    color: #666;
}

.btn-toolbar .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #0d6efd;
}

.btn-toolbar .dropdown-item i {
    width: 20px;
    text-align: center;
}

/* Footer Stilleri */
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.mt-10 {
    flex: 1;
}

footer {
    margin-top: auto;
}

/* Vize Sayfaları Stilleri */
.vize-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.vize-form .form-group {
    margin-bottom: 1.5rem;
}

.vize-form label {
    font-weight: 600;
    color: #333;
}

.vize-form .form-control {
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 0.5rem;
}

.vize-form .form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.vize-form .btn {
    padding: 0.5rem 1rem;
    font-weight: 600;
}

.vize-form .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.vize-form .btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

.vize-form .btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.vize-form .btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

/* Vize Listesi Stilleri */
.vize-listesi {
    margin-top: 20px;
}

.vize-listesi .table {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.vize-listesi .table th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
}

.vize-listesi .table td {
    vertical-align: middle;
}

.vize-listesi .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.vize-listesi .btn i {
    margin-right: 5px;
}

/* Vize Detay Stilleri */
.vize-detay {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.vize-detay h2 {
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #dee2e6;
}

.vize-detay .detay-item {
    margin-bottom: 15px;
}

.vize-detay .detay-item label {
    font-weight: 600;
    color: #666;
    margin-bottom: 5px;
    display: block;
}

.vize-detay .detay-item .value {
    font-size: 1.1rem;
    color: #333;
}

.vize-detay .btn-group {
    margin-top: 20px;
}

.vize-detay .btn {
    margin-right: 10px;
}

/* Vize Kalan Gün Stilleri */
.vize-kalan-gun {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.vize-kalan-gun.bg-success {
    background-color: #28a745 !important;
    color: #fff;
}

.vize-kalan-gun.bg-warning {
    background-color: #ffc107 !important;
    color: #212529;
}

.vize-kalan-gun.bg-danger {
    background-color: #dc3545 !important;
    color: #fff;
}

.accordion-item {
  border: none !important;
}

.card-orange .card-icon i {
    color: #ff6b35;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    z-index: 1;
    position: relative;
}
  
.summary-card.card-purple {
    background-color: #6f42c1;
    color: white;
} 