/*
 * Custom Bootstrap theme overrides for Bewtech
 * Docs: https://getbootstrap.com/docs/5.3/customize/color/
 */

:root {
  --color-light: #ffffff;
  --color-dark: #00234e;

  --bs-primary: #3AD6CA;
  --bs-primary-rgb: 36, 115, 181;
  --bs-secondary: #F97716;
  --bs-secondary-rgb: 245, 134, 18;
  --bs-accent: #00bc00;
  --bs-accent-rgb: 0, 188, 0;

  --bs-body-font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body,
html {
  margin: 0;
  padding: 0;
  background-color: var(--bs-primary);
  color: var(--color-light);
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: var(--bs-body-font-family);
  background: url("../images/bg-desktop.svg") center bottom fixed no-repeat;
  background-size: cover;
}

.text-primary {
  color: var(--bs-primary) !important;
}

.text-secondary {
  color: var(--bs-secondary) !important;
}

.text-accent {
  color: var(--bs-accent) !important;
}

.text-dark {
  color: var(--color-dark) !important;
}

.bg-primary {
  background-color: var(--bs-primary) !important;
}

.bg-secondary {
  background-color: var(--bs-secondary) !important;
}

.bg-accent {
  background-color: var(--bs-accent) !important;
}

.btn {
  min-width: 250px;
}

.btn-primary {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #2269a3 !important;
  border-color: #3AD6CA !important;
}

.btn-secondary {
  background-color: var(--bs-secondary) !important;
  border-color: var(--bs-secondary) !important;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: #d6750e !important;
  border-color: #F97716 !important;
}

.btn-accent {
  background-color: var(--bs-accent) !important;
  border-color: var(--bs-accent) !important;
}

.btn-accent:hover,
.btn-accent:focus {
  background-color: rgb(3, 182, 3) !important;
  border-color: #00bc00 !important;
}

.logo-title {
  max-width: 280px;
  height: auto;
}

.logo-title-small {
  max-width: 200px;
  height: auto;
}

.logo-client {
  max-width: 150px;
  height: auto;
}

.logo-client-header {
  max-width: 120px;
  height: auto;
}

.example-photo {
  width: 30%;
  height: auto;
}
.icon {
  max-height: 20px;
}

.progress {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

@media (max-width: 576px) {
  .example-photo {
    width: 28%;
  }

  body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: var(--bs-body-font-family);
    background: url("../images/bg.svg") center bottom fixed no-repeat;
    background-size: cover;
  }
}
.spinner-border-sm {
  width: 1rem;
  height: 1rem;
  border-width: 0.15em;
}

.credential-card {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Toast Customization */
.toast-container {
  z-index: 9999 !important;
  margin-bottom: 1rem;
}

.toast {
  min-width: 300px;
  max-width: 500px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  font-size: 0.95rem;
}

.toast-body {
  padding: 0.75rem;
}

@media (max-width: 576px) {
  .toast {
    min-width: 250px;
    max-width: calc(100vw - 3rem);
  }
}
/* Cropper Modal Customization */
#cropModal .modal-content {
  background-color: #1a1a1a !important;
}

#cropModal .modal-header {
  padding: 1rem 1.5rem;
}

#cropModal .modal-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.crop-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.crop-controls {
  padding: 0 1rem;
}

.crop-controls .btn {
  min-width: 45px;
  height: 45px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

#cropModal .modal-footer .btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
}

/* Ajustes para mobile */
@media (max-width: 768px) {
  .crop-container {
    max-height: calc(100vh - 240px) !important;
  }
  
  .crop-controls .btn {
    min-width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  #cropModal .modal-title {
    font-size: 1.1rem;
  }
}