html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Detay partial kutusu */
.detail-partial-box {
    background-color: #f8f9fa !important; /* Ana tabloya göre bir ton koyu */
    border-left: 4px solid rgba(13,110,253,0.2); /* Hafif mavi çizgi */
    border-radius: 0.375rem;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.06);
    margin: 8px 0 12px 0;
    padding: 12px 16px;
}

/* Başlık */
.detail-partial-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #495057;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding-bottom: 4px;
    margin-bottom: 10px;
}

/* Küçük tablo görünümü */
.detail-partial-box table {
    font-size: 0.875rem;
}

.detail-partial-box thead {
    background-color: #ffffff;
    border-bottom: 2px solid rgba(0,0,0,0.05);
}

.detail-partial-box tbody tr {
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
/* Araç tablosu işlemleri - pastel tarz */
.vehicle-action-btn {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    transition: all 0.15s ease-in-out;
}

    .vehicle-action-btn:hover {
        background-color: #e9ecef;
        color: #212529;
        border-color: #adb5bd;
    }

    .vehicle-action-btn i {
        font-size: 0.9rem;
    }
.customer-row {
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

    /* Hover olunca satır daha belirgin olsun */
    .customer-row:hover {
        background-color: #f9fafb;
        transition: background-color 0.2s ease-in-out;
    }

    /* Son satırın altına çizgi ekleme */
    .customer-row:last-of-type {
        border-bottom: none;
    }

/* Detay satırı daha yumuşak dursun */
.details-row {
    background-color: #f8f9fa;
}
.customer-row:nth-child(even) {
    background-color: #f9fafb; /* çok açık gri */
}

.customer-row:nth-child(odd) {
    background-color: #ffffff; /* beyaz */
}

/* Hover efektiyle biraz vurgulama */
.customer-row:hover {
    background-color: #f1f3f5; /* soft gri ton */
    transition: background-color 0.2s ease-in-out;
}
/* Şirket seçimi için sade ama şık select tasarımı */
.company-select {
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 6px 30px 6px 10px;
    font-size: 0.9rem;
    color: #495057;
    appearance: none; /* tarayıcı varsayılan okunu kaldır */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%236c757d' viewBox='0 0 16 16'%3e%3cpath d='M1.5 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 14px;
    transition: all 0.2s ease-in-out;
}

    .company-select:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.15rem rgba(13,110,253,.15);
        outline: none;
    }

    /* Hover efekti */
    .company-select:hover {
        border-color: #adb5bd;
    }

    /* "Seçiniz" option'ı için gri ton */
    .company-select option[value=""] {
        color: #6c757d;
    }
/* Modern sade form stili */
.modern-select,
.modern-input {
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #fff;
}

    .modern-select:focus,
    .modern-input:focus {
        border-color: #6c757d;
        box-shadow: 0 0 0 0.15rem rgba(108, 117, 125, 0.2);
        outline: none;
    }

/* Tüm input/select yüksekliklerini eşitle */
.form-select-sm,
.form-control-sm {
    height: 36px !important;
}

/* Label’ları hizala */
.form-label {
    margin-bottom: 4px;
    color: #495057;
    font-weight: 500;
}

/* Buton uyumu */
.btn-outline-success {
    border-width: 1px;
    font-size: 0.85rem;
}

/* Dikey hizalamayı düzgün göster */
@media (min-width: 992px) {
    .align-items-end > .col-md-4 {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }
}
.form-select, .form-control {
    border-radius: 6px;
    border: 1px solid #dcdcdc;
}

label.form-label {
    color: #333;
}

.card-header {
    font-size: 1.1rem;
}
/* === NAVBAR === */
.navbar {
    background-color: #f1f3f6 !important; /* açık gri ton */
    border-bottom: 1px solid #d0d5da;
}

    .navbar a.nav-link {
        color: #1e293b !important;
        font-weight: 500;
    }

        .navbar a.nav-link:hover,
        .navbar a.nav-link.active {
            background-color: #dbeafe !important;
            color: #0d6efd !important;
            border-radius: 4px;
            transition: 0.2s;
        }

    /* === DROPDOWN === */
    .navbar .dropdown-menu {
        background-color: #f8fafc;
        border: 1px solid #d1d5db;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }

    .navbar .dropdown-item {
        color: #1e293b;
    }

        .navbar .dropdown-item:hover {
            background-color: #e2e8f0;
            color: #0d6efd;
        }

/* === SIDEBAR === */
.main-sidebar {
    background-color: #2f3640 !important; /* koyu gri */
    color: #e4e6eb;
}

    .main-sidebar .nav-link {
        color: #d1d5db !important;
        font-weight: 500;
    }

        .main-sidebar .nav-link:hover {
            background-color: #3b4252 !important;
            color: #ffffff !important;
        }

    .main-sidebar .nav-item.menu-open > a {
        background-color: #1e40af !important;
        color: #ffffff !important;
    }

    .main-sidebar .nav-treeview {
        background-color: #3a3f47 !important;
    }

.nav-treeview .nav-link.active {
    background-color: #2563eb !important;
    color: #fff !important;
}

/* === LOGO ve USER PANEL === */
.brand-link {
    background-color: #1e293b !important;
    color: #ffffff !important;
    font-weight: 600;
    border-bottom: 1px solid #334155;
}

.user-panel .info a {
    color: #f1f5f9 !important;
    font-weight: 600;
}

    .user-panel .info a:hover {
        color: #60a5fa !important;
    }

/* === FOOTER === */
.main-footer {
    background-color: #f8f9fa !important;
    color: #6b7280 !important;
    border-top: 1px solid #d1d5db;
}

/* === GENEL === */
body {
    background-color: #f3f4f6;
}

table td, table th {
    vertical-align: middle !important;
}