html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus, .form-select:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #1a74b3;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.nav-tabs .nav-link.active {
  color: #ffffff !important;
  background-color: #1a74b3;
  border-color: transparent;
  border-radius: 0;
}

.nav-tabs .nav-link {
  border-color: #e9ecef #e9ecef #dee2e6;
}

:root {
  --bs-primary: #1a74b3;
}

.btn-primary {
  color: #fff;
  background-color: #1a74b3;
  border-color: #1a74b3;
}

.btn-primary:hover {
  background-color: #1a74b3;
  border-color: #1a74b3;
}

.text-primary {
  color: #1a74b3 !important;
}

.form-check-input:checked {
  background-color: #1a74b3;
  border-color: #1a74b3;
}

.card {
  border-radius: 20px !important;
}

.field-validation-error {
  font-size: 14px !important;
}

.form-control, .form-select {
  border-radius: 10px !important;
  margin-bottom: 4px !important;
}

.form-control:focus, .form-select:focus {
  border-color: #1a74b3 !important;
}

.btn {
  padding: 10px 8px !important;
  border-radius: 10px !important;
  font-weight: 500 !important;
}

.alert {
  border-radius: 10px !important;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #1a74b3 !important;
}

.btn-check:focus+.btn-primary, .btn-primary:focus {
  background-color: #1a74b3;
  border-color: #1a74b3;
}

.dropdown-menu {
  border-radius: 10px !important;
}

.btn:focus.dropdown-toggle:focus {
  box-shadow: none !important;
}

.btn.dropdown-toggle {
  padding: 4px 4px !important;
}

.dropdown-toggle svg {
  margin-right: 4px !important;
}

.dropdown-item.active, .dropdown-item:active {
  background-color: #1a74b3 !important;
}

.language-picker {
  position: absolute;
  right: 20px;
  top: 20px;
}

@media (max-width: 576px) {
  
  .login-logo-wrapper {
    margin-top: 6rem !important;
  }
}

.nav-item .logout-button {
  background: #383838 !important;
  color: #fff !important;
  border-color: transparent;
  border-radius: 0;
}

.nav-item .logout-button:hover {
  border-color: transparent !important;
}

/* QR Code Styles */
.qr-code {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}
.qr-code img {
  width: 192px;
  height: 192px;
}
.code-box {
  font-family: monospace;
  font-size: 14px;
  padding: 10px 8px;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  display: inline-block;
}

@media (max-width: 420px) {
  .code-box {
    font-size: 12px;
  }
}