body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}
/*TOAST*/


/* Toast container */
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 350px;
  }
  
  /* Toast notification */
  .toast {
    display: flex !important;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.3s ease-out forwards;
    min-width: 300px;
    position: relative;
  }
  
  @keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
  }
  
  .toast-icon {
    flex-shrink: 0;
    margin-right: 0.75rem;
    width: 20px;
    height: 20px;
  }
  
  .toast-content {
    flex: 1;
    font-size: medium;
  }
  
  .toast-close {
    background: none;
    border: none;
    padding: 0;
    margin-left: 0.75rem;
    cursor: pointer;
    color: #6b7280;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .toast-close:hover {
    color: #374151;
  }
  
  /* Progress bar for auto-close */
  .toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.7);
    width: 100%;
    transform-origin: left;
  }
  
  /* Toast types */
  .toast-info {
    background-color: #eff6ff;
    border-left: 4px solid #3b82f6;
    color: #1e40af;
  }
  
  .toast-info .toast-progress {
    background-color: #3b82f6;
  }
  
  .toast-error {
    background-color: #fef2f2;
    border-left: 4px solid #ef4444;
    color: #b91c1c;
  }
  
  .toast-error .toast-progress {
    background-color: #ef4444;
  }
  
  .toast-warning {
    background-color: #fffbeb;
    border-left: 4px solid #f59e0b;
    color: #b45309;
  }
  
  .toast-warning .toast-progress {
    background-color: #f59e0b;
  }
  
  .toast-success {
    background-color: #ecfdf5;
    border-left: 4px solid #10b981;
    color: #065f46;
  }
  
  .toast-success .toast-progress {
    background-color: #10b981;
  }
  
  /*TOAST*/

  .dfend {
    display: flex;
    justify-content: end;
    align-items: center;
  }





  /*SUCCESS AND ERROR MODAL*/


  /* Modal Arka Plan */
  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Kutusu */
.modal-box {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 400px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.modal-overlay.active .modal-box {
    transform: translateY(0);
}

/* Modal Üst Çizgi */
.modal-top-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 8px 8px 0 0;
}

.success .modal-top-border {
    background-color: #22c55e;
}

.warning .modal-top-border {
    background-color: #ef4444;
}

.info .modal-top-border {
  background-color: #4285f4;
}


/* Modal Kapatma Butonu */
.modal-box-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    font-size: 20px;
    line-height: 1;
}

.modal-box-close:hover {
    color: #6b7280;
}

/* Modal İçeriği */
.modal-box-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Modal İkon */
.modal-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.success .modal-icon {
    color: #22c55e;
    border: 2px solid #22c55e;
}

.warning .modal-icon {
    color: #ef4444;
    border: 2px solid #ef4444;
}

.info .modal-icon {
  color: #4285f4;
  border: 2px solid #4285f4;
}

/* Modal Başlık */
.modal-box-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
    text-align: center;
}

/* Modal Açıklama */
.modal-box-description {
    text-align: center;
    color: #6b7280;
    line-height: 1.5;
}

/* Modal Butonları */
.modal-box-actions {
    display: flex;
    gap: 12px;
    width: 100%;
    padding: 0 24px 24px;
}

.modal-btn {
    flex: 1;
    padding: 10px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
}

.modal-btn-secondary {
    background-color: white;
    border: 1px solid #d1d5db;
    color: #374151;
}

.modal-btn-secondary:hover {
    background-color: #f9fafb;
}

.modal-btn-primary {
    border: none;
    color: white;
}

.success .modal-btn-primary {
    background-color: #22c55e;
}

.success .modal-btn-primary:hover {
    background-color: #16a34a;
}

.warning .modal-btn-primary {
    background-color: #ef4444;
}

.warning .modal-btn-primary:hover {
    background-color: #dc2626;
}

.info .modal-btn-primary {
  background-color: #4285f4;
}

.info .modal-btn-primary:hover {
  background-color: #266ad6;
}

/* İkonlar */
.icon-check {
    width: 24px;
    height: 24px;
}

.icon-warning {
    width: 24px;
    height: 24px;
}

.icon-info {
  width: 24px;
  height: 24px;
}

/*SUCCESS AND ERROR MODAL*/


/*LOADER MODAL*/
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgb(255 255 255 / 50%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f4f6;
  border-top: 5px solid #4361ee;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loaded .loader-overlay {
  display: none;
}

/*LOADER MODAL*/



/*TABLE CSS*/
:root {
  --primary-color: #4361ee;
  --primary-light: #eef2ff;
  --border-color: #e9ecef;
  --secondary-color: #3f37c9;
  --success-color: #4cd97b;
  --warning-color: #ff9e00;
  --danger-color: #e63946;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --dark: #343a40;
  --login: #9b59b6;
  --info: #4895ef;
  --success: #2ecc71;
  --danger: #f72585;
  --efatura-color: #2196F3;
  --efatura-light: #e3f2fd;
  --earsiv-color: #4CAF50;
  --earsiv-light: #e8f5e9;
  --eirsaliye-color: #ff9800;
  --eirsaliye-light: #fff8e1;
  --esmm-color: #9c27b0;
  --esmm-light: #f3e5f5;
  --emm-color: #3f51b5;
  --emm-light: #e8eaf6;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --border-radius: 10px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}
.search-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
}

.search-input {
  height: 50px;
  border-radius: 25px;
  padding-left: 45px;
  border: 1px solid #e0e0e0;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.search-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.15);
  border-color: var(--primary-color);
}

.search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #adb5bd;
}

.table-container {
  overflow-x: auto;
  border-radius: var(--border-radius);
}

.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.data-table thead th {
  background-color: #f8f9fa;
  color: #495057;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  padding: 1rem;
  border-bottom: 1px solid #e9ecef;
  position: relative;
  white-space: nowrap;
}

.data-table tbody tr {
  transition: var(--transition);
}

.data-table tbody tr:hover {
  background-color: rgba(67, 97, 238, 0.03);
}

.data-table tbody td {
  padding: 0.6rem;
  vertical-align: middle;
  border-bottom: 1px solid #e9ecef;
  color: #495057;
}

.sort-icon {
  font-size: 0.7rem;
  margin-left: 5px;
  color: #adb5bd;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  border-radius: 50px;
  transition: var(--transition);
}

.status-active {
  background-color: rgba(76, 217, 123, 0.15);
  color: var(--success-color);
}

.status-danger {
  background-color: rgba(217, 76, 76, 0.15);
  color: #d94c4c;
}
.status-success {
  background-color: rgba(76, 217, 117, 0.15);
  color: #74d94c;
}

.status-icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 158, 0, 0.15);
  color: var(--warning-color);
  font-size: 1rem;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 5px;
  transition: var(--transition);
  background-color: var(--primary-color);
  color: white;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.action-btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

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

.pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-top: 1px solid #e9ecef;
}

.pagination-info {
  color: #6c757d;
  font-size: 0.875rem;
  font-weight: 500;
}

.pagination {
  margin-bottom: 0;
}

.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 3px;
  padding: 0;
  border-radius: 50% !important;
  font-size: 0.875rem;
  color: #495057 !important;
  border: 1px solid #dee2e6;
  transition: var(--transition);
}

.page-link:hover {
  background-color: #e9ecef;
  color: var(--primary-color);
  border-color: #dee2e6;
}

.page-item.active .page-link {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white !important;
}

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



.empty-state-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}

.empty-state-icon {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(67, 97, 238, 0.1);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  font-size: 3rem;
}

.empty-state-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 0.75rem;
}

.empty-state-description {
  font-size: 1rem;
  color: #6c757d;
  max-width: 500px;
  margin-bottom: 2rem;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  border-radius: 5px;
  font-weight: 500;
  transition: var(--transition);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
}

.btn-outline-secondary {
  color: #6c757d;
  border-color: #ced4da;
  border-radius: 5px;
  padding: 0.6rem 1.5rem;
  font-weight: 500;
  transition: var(--transition);
}

.btn-outline-secondary:hover {
  background-color: #f8f9fa;
  color: #495057;
}
.action-buttons {
  display: flex;
  gap: 1rem;
}


/* işlemler buttonu css */

.popover-menu {
  position: absolute; /* Fixed position relative to viewport */
  z-index: 9999; /* Very high z-index */
  width: 200px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.95);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.popover-menu.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.popover-menu-header {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f1f1;
}

.popover-menu-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6c757d;
  margin: 0;
}

.popover-menu-items {
  padding: 8px 0;
}

.popover-menu-item {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 10px 16px;
  color: #495057;
  text-decoration: none;
  transition: var(--transition);
}

.popover-menu-item:hover {
  background-color: rgba(67, 97, 238, 0.05);
  color: var(--primary-color);
}

.popover-menu-item i {
  margin-right: 12px;
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.popover-menu-item span {
  font-size: 0.875rem;
  font-weight: 500;
}

.popover-menu-divider {
  height: 1px;
  background-color: #f1f1f1;
  margin: 8px 0;
}

.popover-menu-item.danger {
  color: var(--danger-color);
}

.popover-menu-item.danger:hover {
  background-color: rgba(230, 57, 70, 0.05);
}

.popover-menu-item.success {
  color: var(--success-color);
}

.popover-menu-item.success:hover {
  background-color: rgba(57, 230, 200, 0.05);
}

@media (max-width: 768px) {  
  .data-table thead th,
  .data-table tbody td {
      padding: 0.75rem;
  }
  
  .action-btn {
      padding: 0.4rem 0.8rem;
      font-size: 0.8rem;
  }

  .empty-state-container {
      padding: 2rem 1rem;
  }

  .empty-state-icon {
      width: 100px;
      height: 100px;
      font-size: 2.5rem;
  }

  .empty-state-title {
      font-size: 1.25rem;
  }

  .empty-state-description {
      font-size: 0.9rem;
  }

  .action-buttons {
      flex-direction: column;
      gap: 0.5rem;
  }

  .action-btn {
      width: 34px;
      height: 34px;
  }

  .action-btn i {
      font-size: 1rem;
  }

  .popover-menu {
      width: 180px;
  }
}



/*TABLE CSS*/



/*modal loader*/

.modal-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none; /* Başlangıçta gizli */
  z-index: 1050;
}

.spinner-border {
  width: 3rem;
  height: 3rem;
}

/*modal loader*/



/*firma düzenle modal css*/

.form-label {
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.section-title {
  background-color: #f8f9fa;
  padding: 10px 15px;
  margin-bottom: 15px;
  font-weight: 600;
  border-radius: 4px;
}

.image-container {
  position: relative;
  width: 100%;
  height: 200px;
  border: 1px dashed #ced4da;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-bottom: 10px;
  cursor: pointer;
}

.image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.image-container .placeholder-text {
  color: #6c757d;
  text-align: center;
  padding: 20px;
}

.image-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 5px;
}

.file-input {
  display: none;
}

.form-row {
  display: flex;
  margin-bottom: 15px;
  align-items: center;
}

.form-row .form-label {
  width: 150px;
  padding-right: 15px;
  margin-bottom: 0;
}

.form-row .form-control {
  flex: 1;
}

.form-row .colon {
  margin-right: 10px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .form-row {
      flex-direction: column;
      align-items: flex-start;
  }

  .form-row .form-label {
      width: 100%;
      text-align: left;
      margin-bottom: 5px;
  }
  .form-row .colon {
      display: none;
  }
}

/*firma düzenle modal css*/




/*genel*/

.form-control:focus {
  box-shadow: none !important;
  border-color: var(--primary-color) !important;
}

.select2-container .select2-selection--single {
  height: 43px !important;
}
.select2-container .select2-selection--single {
  line-height: 42px !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 42px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 43px !important;
}
@media (max-width: 768px){
  .select2-container {
    width: 100% !important;
  }
}


.nav-tabs {
  border-bottom: 2px solid #dee2e6;
}

.nav-tabs .nav-link {
  margin-bottom: -2px;
  border: none;
  color: #212529;
  font-weight: 500;
  padding: 12px 20px;
  transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
  color: #495057;
  border-color: transparent;
}

.nav-tabs .nav-link.active {
  color: #0d6efd;
  background-color: transparent;
  border-bottom: 2px solid #0d6efd;
}

.tab-content {
  padding: 25px 0;
}

.content-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 20px;
  margin-bottom: 20px;
}

.content-card h5 {
  margin-bottom: 15px;
  color: #495057;
  font-weight: 600;
}

.form-label {
  font-weight: 500;
  color: #495057;
}

.tab-pane {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.badge-custom {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 10px;
}

.table-custom th {
  font-weight: 600;
  color: #495057;
}



.card-container-custom-card {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.custom-card-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  width: 300px;
  overflow: hidden;
  border: 1px dashed #ced4da;
}

.card-header-custom-card {
  padding: 15px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-title-custom-card {
  font-weight: bold;
  color: #333;
  font-size: 16px;
}

.card-actions-custom-card {
  display: flex;
  gap: 10px;
}

.action-btn-custom-card {
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.edit-btn-custom-card {
  color: #4285f4;
  background-color: #e8f0fe;
}

.delete-btn-custom-card {
  color: #ea4335;
  background-color: #fce8e6;
}

.card-body-custom-card {
  padding: 15px;
}

.custom-card-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.custom-card-label {
  font-weight: bold;
  color: #333;
}

.custom-card-value {
  text-align: right;
  color: #555;
}

.required-field::after {
  content: " *";
  color: red;
}



.alert-container {
  width: 100%;
}

.alert-custom {
  display: flex;
  align-items: flex-start;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  animation: slideInDown 0.5s ease;
}

.alert-warning {
  background-color: #fff8e1;
  color: #856404;
  border-left: 4px solid #ffc107;
}

.alert-icon {
  font-size: 24px;
  margin-right: 15px;
  color: #ffc107;
}

.alert-content {
  flex: 1;
}

.alert-heading {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

b, strong {
  font-weight: 700 !important;
}

.spinner-border {
  width: 1rem !important;
  height: 1rem !important;
}


.validation-box {
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  background-color: #fafafa;
}

.requirement {
  margin: 8px 0;
  color: #e74c3c;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.requirement i {
  margin-right: 8px;
  font-size: 16px;
}

.requirement.valid {
  color: #2ecc71;
}


.checkbox-container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 16px;
  cursor: pointer;
  font-size: 16px;
  user-select: none;
  color: #444;
  transition: color 0.2s;
}

/* Hide the default checkbox */
.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 22px;
  width: 22px;
  background-color: #fff;
  border: 2px solid #ddd;
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
}

/* On mouse-over, add a light blue border */
.checkbox-container:hover input ~ .checkmark {
  border-color: #4361ee;
}

/* When the checkbox is checked, add a blue background */
.checkbox-container input:checked ~ .checkmark {
  background-color: #4361ee;
  border-color: #4361ee;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.checkbox-container .checkmark:after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Style for the checkbox label when checked */
.checkbox-container input:checked ~ .checkbox-text {
  color: #4361ee;
  font-weight: 500;
}

/* Ripple effect */
.checkbox-container .checkmark:before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  background-color: rgba(67, 97, 238, 0.1);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.3s ease-out;
}

.checkbox-container input:checked ~ .checkmark:before {
  transform: scale(1);
  opacity: 0;
  transition: transform 0.4s ease-out, opacity 0.4s ease-out 0.1s;
}





/* Custom radio buttons */
.custom-radio {
  display: block;
  position: relative;
  padding: 16px 16px 16px 50px;
  margin-bottom: 12px;
  border-radius: var(--border-radius);
  background-color: #fff;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  cursor: pointer;
}

.custom-radio:hover {
  border-color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(67, 97, 238, 0.15);
}

.custom-radio input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.radio-checkmark {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  height: 22px;
  width: 22px;
  background-color: #fff;
  border: 2px solid #ced4da;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.custom-radio:hover .radio-checkmark {
  border-color: var(--primary-color);
}

.custom-radio input:checked ~ .radio-checkmark {
  background-color: #fff;
  border-color: var(--primary-color);
}

.radio-checkmark:after {
  content: "";
  position: absolute;
  display: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-color);
}

.custom-radio input:checked ~ .radio-checkmark:after {
  display: block;
}

.custom-radio-label {
  font-weight: 500;
  margin-bottom: 0;
  color: #495057;
}

.custom-radio input:checked ~ .custom-radio-label {
  color: var(--primary-color);
  font-weight: 600;
}

.date-info {
  display: flex;
  flex-direction: column;
}
.date-value {
  font-weight: 500;
  color: #495057;
}
.date-value-bt {
  font-size: 0.7rem;
  color: #6c757d;
  margin-top: 6px;
}

.log-info {
  display: flex;
  flex-direction: column;
}
.log-description {
  font-weight: 600;
  color: var(--dark);
  font-size: 1rem;
}
.log-details {
  font-size: 0.9rem;
  color: #6c757d;
  margin-top: 6px;
}

.type-badge {
  padding: 4px 4px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.75rem;
  display: inline-block;
  text-align: center;
  min-width: 100px;
}
.badge-login {
  background-color: rgba(155, 89, 182, 0.15);
  color: var(--login);
  border: 1px solid rgba(155, 89, 182, 0.3);
}
.badge-insert {
  background-color: rgba(46, 204, 113, 0.15);
  color: var(--success);
  border: 1px solid rgba(46, 204, 113, 0.3);
}
.badge-update {
  background-color: rgba(72, 149, 239, 0.15);
  color: var(--info);
  border: 1px solid rgba(72, 149, 239, 0.3);
}
.badge-delete {
  background-color: rgba(247, 37, 133, 0.15);
  color: var(--danger);
  border: 1px solid rgba(247, 37, 133, 0.3);
}


.form-check-input {
  width: 18px;
  height: 18px;
  margin-top: 0.2em;
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.form-check-label {
  font-weight: 400;
  padding-left: 4px;
}

.type-checkboxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.type-checkbox-item {
  display: flex;
  align-items: center;
}

.type-checkbox-item .form-check-input {
  margin-right: 8px;
}



.quick-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.date-filter-buttons {
  display: flex;
  gap: 8px;
}

.date-filter-btn {
  background-color: white;
  color: #6c757d;
  border: 1px solid #dee2e6;
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.date-filter-btn:hover {
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.date-filter-btn.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.records-dropdown {
  position: relative;
}

.records-dropdown-btn {
  background-color: white;
  color: #6c757d;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 6px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.records-dropdown-btn:hover {
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.records-dropdown-btn i {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.records-dropdown-btn[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.records-dropdown-menu {
  min-width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  margin-top: 4px;
}

.records-dropdown-item {
  padding: 8px 16px;
  font-size: 0.9rem;
  color: #495057;
  transition: all 0.2s ease;
}

.records-dropdown-item:hover {
  background-color: var(--primary-light);
  color: var(--primary-color);
}

.records-dropdown-item.active {
  background-color: var(--primary-color);
  color: white;
}

@media (max-width: 768px) {
  .quick-filter-bar {
      flex-direction: column;
      gap: 12px;
      align-items: flex-start;
  }
  
  .date-filter-buttons {
      width: 100%;
      overflow-x: auto;
      padding-bottom: 4px;
  }
  
  .records-dropdown {
      align-self: flex-end;
  }
}


.dfspb {
  display: flex;
  justify-content: space-between;
  align-items: center;
}




.service-tabs {
  display: flex;
  overflow-x: auto;
  margin-bottom: 20px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--border-color);
}

.service-tabs::-webkit-scrollbar {
  height: 4px;
}

.service-tabs::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.service-tabs::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.service-tabs::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

.service-tab {
  padding: 10px 20px;
  margin-right: 8px;
  border-radius: 8px 8px 0 0;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-color);
  border-bottom: none;
  position: relative;
  background-color: #f8f9fa;
}

.service-tab:hover {
  background-color: #f1f3f9;
}

.service-tab.active {
  background-color: white;
  border-bottom: 2px solid white;
  margin-bottom: -1px;
}

.service-tab.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
}

.service-tab.efatura.active::after {
  background-color: var(--efatura-color);
}

.service-tab.earsiv.active::after {
  background-color: var(--earsiv-color);
}

.service-tab.eirsaliye.active::after {
  background-color: var(--eirsaliye-color);
}

.service-tab.esmm.active::after {
  background-color: var(--esmm-color);
}

.service-tab.emm.active::after {
  background-color: var(--emm-color);
}

.service-tab-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.service-tab-icon.efatura {
  background-color: var(--efatura-light);
  color: var(--efatura-color);
}

.service-tab-icon.earsiv {
  background-color: var(--earsiv-light);
  color: var(--earsiv-color);
}

.service-tab-icon.eirsaliye {
  background-color: var(--eirsaliye-light);
  color: var(--eirsaliye-color);
}

.service-tab-icon.esmm {
  background-color: var(--esmm-light);
  color: var(--esmm-color);
}

.service-tab-icon.emm {
  background-color: var(--emm-light);
  color: var(--emm-color);
}

.service-content {
  display: none;
}

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

@media (max-width: 768px) {
  .service-box {
      padding: 16px;
  }
}




.radio-style-2 .custom-radio-btn label {
  display: flex;
  align-items: center;
  padding-left: 50px;
  position: relative;
}

.radio-style-2 .custom-radio-btn label::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #ced4da;
  background-color: white;
  transition: all 0.3s ease;
}

.radio-style-2 .custom-radio-btn input[type="radio"]:checked + label::before {
  border-color: #4361ee;
  background-color: white;
}

.radio-style-2 .custom-radio-btn input[type="radio"]:checked + label::after {
  content: '';
  position: absolute;
  left: 21px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #4361ee;
  animation: none;
}

.custom-radio-btn {
  display: inline-flex;
  margin-right: 15px;
  margin-bottom: 15px;
  position: relative;
}

.custom-radio-btn input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.required-note {
  color: red;
  font-size: 12px;
  margin-top: 2px;
}



.results-container {
  position: absolute;
  background: white;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  width: 100%;
}

.result-item {
  padding: 8px 12px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.result-item:hover {
  background-color: #f5f5f5;
}

.result-item.highlighted {
  background-color: #e3f2fd;
}

.result-item + .result-item {
  border-top: 1px solid #eee;
}

.loading-receiver {
  padding: 8px 12px;
  text-align: center;
  color: #666;
}

.results-container::-webkit-scrollbar {
  width: 8px;
}

.results-container::-webkit-scrollbar-track {
  background: #EDF2F7;
  border-radius: 4px;
}

.results-container::-webkit-scrollbar-thumb {
  background-color: #3a7bd5;
  border-radius: 4px;
  border: 2px solid #EDF2F7;
}

.results-container::-webkit-scrollbar-thumb:hover {
  background-color: #3a7bd5;
}


.search-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: var(--gray-50);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.results-count {
    font-weight: 600;
    color: var(--primary-color);
}
/*genel*/



.bg-teal { background-color: #20c997; color: white; }
.bg-lavender { background-color: #b57edc; color: white; }
.bg-darkblue { background-color: #003366; color: white; }
.bg-orange { background-color: #fd7e14; color: white; }
.bg-silver { background-color: #c0c0c0; color: black; }
.bg-rose { background-color: #ff4d6d; color: white; }
.bg-aqua { background-color: #00ffff; color: black; }
.bg-lime { background-color: #32cd32; color: white; }