/* Toast Container */
#toast-container {
  position: fixed;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 5px;
}

/* Toast Box */
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  min-width: 300px;
  max-width: 500px;
  animation: fadeIn 0.3s ease;
  border-left: 4px solid transparent;
}

.toast.hide {
  animation: fadeOut 0.3s ease forwards;
}

/* Toast Icon */
.toast-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Toast Message */
.toast-message {
    font-size: 14px;
    color: #495057;
    line-height: 1.5;
    max-width: 100%;
    white-space: break-spaces;
    overflow: auto;
}

/* Error/Warning Toast */
.toast.error .toast-icon {
  color: #f06548;
}

.toast.error {
  border-left-color: #f06548;
}

/* Success Toast */
.toast.success .toast-icon {
  color: #0ab39c;
}

.toast.success {
  border-left-color: #0ab39c;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.9);
  }
}


.bg-opacity-25 {
    background-color: rgba(var(30,33,41), .25) !important;
}
.bg-dark {
    --bs-bg-rgb-color: var(30,33,41);
}
.page-loader {
    background-color: var(--bs-body-bg);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

@media (max-width: 600px){
  .company-name-header {
    display: none;
  }
  .header-item {
    height: 70px;
  }
}


.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 45%;
    background: none;
    border: none;
    color: darkgrey;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: color 0.2s ease;
    font-size: 0.775rem;
}

.password-toggle2 {
    position: absolute;
    right: 5rem;
    top: 24%;
    background: none;
    border: none;
    color: darkgrey;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: color 0.2s ease;
    font-size: 0.775rem;
}

.password-toggle3 {
    position: absolute;
    right: 0.75rem;
    top: 56%;
    background: none;
    border: none;
    color: darkgrey;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: color 0.2s ease;
    font-size: 0.775rem;
}


.password-strength {
    margin-top: 0.775rem;
    padding: 0.775rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.strength-title {
    font-size: 0.775rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
}

.strength-bar {
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    border-radius: 2px;
    transition: all 0.3s ease;
    width: 0%;
}

.requirements-list {
    list-style: none;
    padding: 0;
}

.requirement-item.invalid {
    color: #6b7280;
}

.requirement-item.valid {
    color: #22c55e;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}
.requirement-item.invalid .requirement-icon {
    background: #ef4444;
    color: white;
}
.requirement-item.valid .requirement-icon {
    background: #22c55e;
    color: white;
}

.requirement-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: all 0.3s ease;
}

.fa-eye:before {
    content: "\f06e";
}

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



  /*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*/


.td-ks {
    max-width: 450px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

tbody tr {
  transition: background-color 0.6s ease;
}

tbody tr:hover {
  background-color: #f0f0f0;
  cursor: pointer;
}

.fs-65{
    font-size: 0.650rem;
}

.bsk-w {
    max-width: 90px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.link-h {
    color: inherit;
}
.link-h:hover {
    transition: color .2s ease;
    color: #1B84FF !important;
}

.tsip-w {
    max-width: 250px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.transaction-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 3px;
}

.bg-hvr {
    transition: background-color 0.6s ease;
}
.bg-hvr:hover {
    background-color: #f0f0f0;
    cursor: pointer;
}