/*!
 * Bootstrap  v5.3.7 (https://getbootstrap.com/)
 * Copyright 2011-2025 The Bootstrap Authors
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
 */
.ciam-otp {
  background: linear-gradient(180deg, #00225e 0%, #001131 100%);
  color: #fffffc;
  font-family: "Nunito", sans-serif;
  position: relative;
  width: 100%;
}

[dir="rtl"] .ciam-otp {
  background: linear-gradient(-180deg, #00225e 0%, #001131 100%);
}

.ciam-otp .ciam-otp__header {
  width: 100%;
}

.ciam-otp .ciam-otp__back-link {
  color: #ffffff;
  font-family: "Nunito", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: opacity 0.2s ease-in-out;
}

.ciam-otp .ciam-otp__back-link:hover, .ciam-otp .ciam-otp__back-link:focus-visible {
  color: #ffffff;
  opacity: 0.8;
}

.ciam-otp .ciam-otp__back-link .ciam-otp__back-icon {
  fill: #ffffff;
  height: 16px;
  width: 16px;
}

.ciam-otp .ciam-otp__content-wrapper {
  max-width: 580px;
  padding-bottom: 2rem;
  padding-top: 1rem;
}

@media (min-width: 768px) {
  .ciam-otp .ciam-otp__content-wrapper {
    padding-bottom: 150px;
    padding-top: 40px;
  }
}

.ciam-otp .ciam-otp__title {
  color: #ffffff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 120%;
  letter-spacing: -0.4px;
}

@media (min-width: 768px) {
  .ciam-otp .ciam-otp__title {
    font-size: 40px;
  }
}

.ciam-otp .ciam-otp__subtitle {
  color: #e0edff;
  font-family: "Nunito", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .ciam-otp .ciam-otp__subtitle {
    font-size: 1.125rem;
  }
}

.ciam-otp .ciam-otp__subtitle .ciam-otp__phone-number {
  color: #ffffff;
  font-weight: 700;
}

.ciam-otp .ciam-otp__inputs {
  align-items: center;
  display: flex;
}

.ciam-otp .ciam-otp__digit-input {
  appearance: none;
  background: #FFF;
  border: 2px solid #67F7FE;
  border-radius: 12px;
  box-shadow: 0 0 8px 4px rgba(100, 198, 246, 0.4) inset;
  caret-color: #00225e;
  color: #00225e;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  height: 56px;
  outline: none;
  padding: 0;
  transition: all 0.2s ease-in-out;
  width: 48px;
}

@media (min-width: 768px) {
  .ciam-otp .ciam-otp__digit-input {
    border-radius: 16px;
    font-size: 2rem;
    height: 64px;
    width: 83px;
  }
}

.ciam-otp .ciam-otp__digit-input::placeholder {
  color: #00225e;
  opacity: 0.8;
}

.ciam-otp .ciam-otp__digit-input:focus {
  border-color: #59b2ff;
  box-shadow: 0 0 16px rgba(89, 178, 255, 0.8), inset 0 2px 4px rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.ciam-otp .ciam-otp__digit-input:not(:placeholder-shown) {
  background: #ffffff;
}

.ciam-otp .ciam-otp__resend-container {
  font-size: 0.9375rem;
}

@media (min-width: 768px) {
  .ciam-otp .ciam-otp__resend-container {
    font-size: 1rem;
  }
}

.ciam-otp .ciam-otp__resend-container .ciam-otp__resend-text {
  color: #ffffff;
}

.ciam-otp .ciam-otp__resend-container .ciam-otp__countdown-timer {
  color: #fdb913;
  font-weight: 700;
}

.ciam-otp .ciam-otp__resend-container .ciam-otp__resend-btn {
  color: #ffffff;
  font-weight: 600;
  transition: opacity 0.2s ease-in-out;
  text-decoration: none;
}

.ciam-otp .ciam-otp__resend-container .ciam-otp__resend-btn:hover {
  color: #fdb913;
  opacity: 0.9;
}

.ciam-otp .ciam-otp__submit-btn {
  align-items: center;
  background-color: rgba(0, 24, 64, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  box-shadow: inset 0 0 12px rgba(0, 60, 150, 0.4);
  color: #ffffff;
  display: inline-flex;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.2px;
  min-height: 52px;
  padding: 0.75rem 2rem;
  transition: all 0.3s ease-in-out;
  position: relative;
}

.ciam-otp .ciam-otp__submit-btn .light-top {
  position: absolute;
  top: -5px;
  width: 60px;
  height: 8px;
  opacity: 0;
}

.ciam-otp .ciam-otp__submit-btn .light-bottom {
  position: absolute;
  bottom: -5px;
  width: 60px;
  height: 8px;
  opacity: 0;
}

@media (min-width: 768px) {
  .ciam-otp .ciam-otp__submit-btn {
    font-size: 1.125rem;
    min-height: 58px;
  }
}

.ciam-otp .ciam-otp__submit-btn:disabled {
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.4);
  cursor: not-allowed;
  opacity: 0.6;
}

.ciam-otp .ciam-otp__submit-btn:not(:disabled) {
  background: linear-gradient(180deg, #001E60 0%, #003DA6 100%);
  border: 2px solid #67F7FE;
  box-shadow: 0 0 4px 4px rgba(19, 235, 255, 0.4) inset, 0 4px 4px 0 rgba(1, 29, 121, 0.4);
  color: #ffffff;
}

[dir="rtl"] .ciam-otp .ciam-otp__submit-btn:not(:disabled) {
  background: linear-gradient(-180deg, #001E60 0%, #003DA6 100%);
}

.ciam-otp .ciam-otp__submit-btn:not(:disabled) .light-top,
.ciam-otp .ciam-otp__submit-btn:not(:disabled) .light-bottom {
  opacity: 1;
}

.ciam-otp .ciam-otp__submit-btn:not(:disabled):hover, .ciam-otp .ciam-otp__submit-btn:not(:disabled):focus-visible {
  background: linear-gradient(180deg, #0066ed 0%, #0044b3 100%);
  border-color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 102, 237, 0.6);
  transform: translateY(-1px);
}

[dir="rtl"] .ciam-otp .ciam-otp__submit-btn:not(:disabled):hover, [dir="rtl"] .ciam-otp .ciam-otp__submit-btn:not(:disabled):focus-visible {
  background: linear-gradient(-180deg, #0066ed 0%, #0044b3 100%);
}

.ciam-otp .ciam-otp__help {
  font-size: 16px;
  margin-top: 40px;
  line-height: 1.5;
}

.ciam-otp .ciam-otp__help .ciam-otp__help-text {
  color: #ffffff;
  font-weight: 400;
  margin-right: 0.75rem;
}

[dir="rtl"] .ciam-otp .ciam-otp__help .ciam-otp__help-text {
  margin-right: 0;
  margin-left: 0.75rem;
}

.ciam-otp .ciam-otp__help .ciam-otp__help-link {
  border-bottom: 2px solid #ffffff;
  color: #ffffff;
  font-weight: 700;
  padding-bottom: 2px;
  text-decoration: none;
  transition: opacity 0.2s ease-in-out;
}

.ciam-otp .ciam-otp__help .ciam-otp__help-link:hover, .ciam-otp .ciam-otp__help .ciam-otp__help-link:focus-visible {
  color: #ffffff;
  opacity: 1;
}
