.text-bg-primary {
  color: #ffffff !important;
  background-color: RGBA(var(--bs-amsila-rgb), var(--bs-bg-opacity, 1)) !important;
}

.box-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
}

.logo-lg {
  width: 120px;
  text-align: center;
}

.nav-link.active {
  background-color: #13405a;
  color: #fff;
}

.text-titlecase {
  text-transform: capitalize;
}

/* OTP */
.otp-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 20px 0 20px;
  flex-wrap: wrap;
}

.otp-input {
  width: 50px;
  height: 55px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  background: #ffffff;
  color: #1a202c;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.otp-input:focus {
  border-color: #3182ce;
  box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
  background: #f7fafc;
  transform: translateY(-1px);
}

.otp-input:hover:not(:focus) {
  border-color: #cbd5e0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.otp-input.filled {
  border-color: #38a169;
  background: #f0fff4;
  color: #2d3748;
}

.otp-input.error {
  border-color: #e53e3e;
  background: #fef5e7;
  animation: shake 0.3s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.dark .otp-input {
  background: #2d3748;
  border-color: #4a5568;
  color: #e2e8f0;
}

.dark .otp-input:focus {
  border-color: #63b3ed;
  background: #1a202c;
  box-shadow: 0 0 0 3px rgba(99, 179, 237, 0.1);
}

.dark .otp-input.filled {
  border-color: #68d391;
  background: #1a202c;
}

.dark .otp-input.error {
  border-color: #fc8181;
  background: #2d3748;
}

/* Responsive design */
@media (max-width: 480px) {
  .otp-container {
    gap: 8px;
  }
  
  .otp-input {
    width: 42px;
    height: 48px;
    font-size: 18px;
  }
}

@media (max-width: 360px) {
  .otp-container {
    gap: 6px;
  }
  
  .otp-input {
    width: 38px;
    height: 44px;
    font-size: 16px;
  }
}

.otp-input {
  opacity: 0;
  animation: slideIn 0.3s ease-out forwards;
}

.otp-input:nth-child(1) { animation-delay: 0.1s; }
.otp-input:nth-child(2) { animation-delay: 0.15s; }
.otp-input:nth-child(3) { animation-delay: 0.2s; }
.otp-input:nth-child(4) { animation-delay: 0.25s; }
.otp-input:nth-child(5) { animation-delay: 0.3s; }
.otp-input:nth-child(6) { animation-delay: 0.35s; }

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

.otp-form-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.otp-success {
  animation: successPulse 0.6s ease-in-out;
}

@keyframes successPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.otp-loading .otp-input {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}