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;
}
.datepicker {
    z-index: 9999 !important; /* Modal üzerinde görünmesi için */
}

.table-responsive {
    padding: 0;
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: none;
}


#toast-container > div {
    opacity: 1;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Breadcrumb ve Content Header Stilleri */
.content-header {
    padding: 15px 0;
    margin-bottom: 20px;
}

.content-header .row {
    align-items: center;
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #6c757d;
    font-weight: bold;
}

.breadcrumb-item a {
    color: #106cb6;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #0d5a9c;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #495057;
    font-weight: 500;
}

/* İlk breadcrumb item'ın altı çizgisini kaldır */
.breadcrumb-item:first-child a {
    text-decoration: none !important;
}

.breadcrumb-item:first-child a:hover {
    text-decoration: none !important;
    color: #0d5a9c;
}

/* Butonların sağa hizalanması */
.content-header .float-sm-right {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 576px) {
    .content-header .float-sm-right {
        justify-content: flex-start;
        margin-top: 10px;
    }
}

/* btn-custom-lightblue global tanımı */
:root {
    --lightblue-primary: #106cb6;
    --lightblue-secondary: #2980b9;
    --lightblue-light: #85c1e9;
    --lightblue-dark: #0d5a9c;
}

.btn-custom-lightblue {
    background-color: var(--lightblue-primary);
    border-color: var(--lightblue-primary);
    color: white;
}

.btn-custom-lightblue:hover,
.btn-custom-lightblue:focus,
.btn-custom-lightblue:active {
    background-color: var(--lightblue-dark);
    border-color: var(--lightblue-dark);
    color: white;
}

.btn-outline-lightblue {
    border-color: var(--lightblue-primary);
    color: var(--lightblue-primary);
}

.btn-outline-lightblue:hover,
.btn-outline-lightblue:focus,
.btn-outline-lightblue:active {
    background-color: var(--lightblue-primary);
    border-color: var(--lightblue-primary);
    color: white;
}

/* Card hover efektini kapat */
.card:hover {
    transform: none !important;
}

.no-spinner::-webkit-inner-spin-button,
.no-spinner::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.no-spinner {
    -moz-appearance: textfield;
}

.amount-wrapper {
    display: flex;
    align-items: stretch;
    width: 100%;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    overflow: hidden;
    background-color: #ffffff;
    transition: all 0.2s ease;
    min-height: calc(1.5em + 0.75rem + 2px);
}

.amount-wrapper:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.amount-input {
    flex: 1;
    border: none;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    outline: none;
    color: #111827;
    background-color: #ffffff;
    height: calc(1.5em + 0.75rem + 2px);
}

.amount-input::placeholder {
    color: #9ca3af;
}

.amount-wrapper .select2-container {
    min-width: 120px;
    height: calc(1.5em + 0.75rem + 2px);
}

.amount-wrapper .select2-container--bootstrap-5 .select2-selection,
.amount-wrapper .select2-container--default .select2-selection--single {
    border: none;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    background-color: #f9fafb;
    border-radius: 0;
    display: flex;
    align-items: center;
    font-size: 1rem;
    line-height: 1.5;
    color: #374151;
}

.amount-wrapper .select2-container--bootstrap-5 .select2-selection--single,
.amount-wrapper .select2-container--default .select2-selection--single {
    height: calc(1.5em + 0.75rem + 2px);
}

.amount-wrapper .select2-container--bootstrap-5 .select2-selection__arrow,
.amount-wrapper .select2-container--default .select2-selection__arrow {
    height: calc(1.5em + 0.75rem + 2px);
    right: 0.5rem;
}

.amount-wrapper .select2-container--bootstrap-5 .select2-selection__rendered,
.amount-wrapper .select2-container--default .select2-selection__rendered {
    padding: 0;
    line-height: 1.5;
}

.amount-wrapper .select2-container--bootstrap-5.select2-container--focus .select2-selection,
.amount-wrapper .select2-container--bootstrap-5.select2-container--open .select2-selection,
.amount-wrapper .select2-container--default.select2-container--focus .select2-selection,
.amount-wrapper .select2-container--default.select2-container--open .select2-selection {
    border: none;
    background-color: #f9fafb;
}

.currency-dropdown-open .select2-dropdown .select2-results__option--highlighted,
.currency-dropdown-open .select2-dropdown .select2-results__option[aria-selected=true],
.currency-dropdown-open .select2-dropdown .select2-results__option.select2-results__option--selected {
    background-color: #e9ecef !important;
    color: #212529 !important;
}

