/* Asigură că HTML și body au o înălțime de 100% */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #6c757d !important;
  font-family: "Inter", sans-serif;
  font-size: 16px;
}

.bg-color {
  background-color: #f8f7f6;
}

.container-left {
  max-width: 500px;
  border: 0px solid red;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  color: #6c757d;
  /* Gray color for the separator */
}

.breadcrumb-item.active {
  font-weight: bold !important;
}
.order-summary {
  min-height: 100vh; /* Pentru desktop */
}

/* Pentru mobile (dimensiuni mai mici de 768px) */
@media (max-width: 768px) {
  .order-summary {
    min-height: auto; /* Elimină înălțimea minimă */
    height: auto; /* Înălțimea devine dependentă de conținut */
    padding-bottom: 5px;
  }
  .order-summary-content {
    padding-top: 10px !important;
  }
}

.col-right {
  border: 0px solid #f3f1ee;
}

.small-font {
  font-size: 0.8rem;
}

.btn-primary {
  background-color: #0083ca;
  padding: 3px;
}

.password-input-container {
  position: relative;
}

.password-input {
  padding-right: 32px;
}

.toggle-password {
  position: absolute;
  top: 15px;
  right: 10px;
  cursor: pointer;
  z-index: 9999;
}

.switch_account_login,
.cursor-pointer {
  cursor: pointer;
}

/* Custom Checkbox Styling */
.custom-checkbox .form-check-input {
  width: 25px;
  height: 25px;
  border-radius: 4px;
}

.custom-checkbox .form-check-label {
  margin-left: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #555;
}

.custom-checkbox .form-check-input:checked {
  background-color: #0083ca;
  border-color: #0083ca;
}

.white-box {
  background: #fff;
  box-shadow: 0 4px 3px rgba(145, 171, 159, 0.14);
  border-radius: 4px;
  margin: 0px;
}
.huge {
  font-family: "Gabarito", cursive;
  font-size: 8.5rem;
  font-weight: 600;
  min-width: 80px;
}

.spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

#order-summary-mobile {
  -webkit-transform: translate3d(0, 0, 0);
  will-change: transform;
}

@media (max-width: 768px) {
  .col-right {
      visibility: hidden !important;
      height: 0;
      overflow: hidden;
  }

  #order-summary-mobile {
      visibility: visible !important;
      display: block !important;
      position: relative;
  }
}


@media (min-width: 769px) {
  .col-right {
    display: block !important;
  }

  #order-summary-mobile {
    display: none !important;
  }
}

#confirmation-container {
  display: none;  /* Keep it hidden initially */
  opacity: 0;  /* Ensure it's not visible */
  min-height: 1px; /* Prevent Safari from removing it */
  -webkit-transform: translate3d(0, 0, 0); /* Force Safari to keep it in memory */
  will-change: transform;
  position: relative !important;
  z-index: 9999;
}


.confirmation-visible{
  display: block !important;
  opacity: 1 !important;
  min-height: 1px; /* Ensure Safari doesn’t remove it */
  -webkit-transform: translate3d(0, 0, 0); /* Prevents Safari from reoptimizing */
  will-change: transform;
  position: relative !important;
}
