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

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

  --bs-primary: #2473b5;
  --bs-primary-rgb: 36, 115, 181;
  --bs-secondary: #f58612;
  --bs-secondary-rgb: 245, 134, 18;
  --bs-accent: #00bc00;
  --bs-accent-rgb: 0, 188, 0;

  --bs-body-font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol";
}

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.svg") no-repeat center center fixed;
  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: #2473b5 !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: #f58612 !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-caixa {
  max-width: 150px;
  height: auto;
}

.logo-caixa-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%;
  }
}
.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);
  }
}
