.authentication-wrapper {
display: flex;
flex-basis: 100%;
min-height: 100vh;
width: 100%;
}
.authentication-wrapper .authentication-inner {
width: 100%;
}
.authentication-wrapper.authentication-basic {
align-items: center;
justify-content: center;
overflow: hidden;
}
.authentication-wrapper.authentication-cover {
align-items: flex-start;
}
.authentication-wrapper.authentication-cover .authentication-inner {
height: 100vh;
}
.authentication-wrapper.authentication-basic .authentication-inner {
max-width: 25rem;
position: relative;
}

html:not([dir=rtl]) .authentication-wrapper.authentication-basic .authentication-inner:before {
left: -100px;
}
[dir=rtl] .authentication-wrapper.authentication-basic .authentication-inner:before {
right: -100px;
transform: rotate(90deg);
}

html:not([dir=rtl]) .authentication-wrapper.authentication-basic .authentication-inner:after {
right: 0;
}
[dir=rtl] .authentication-wrapper.authentication-basic .authentication-inner:after {
left: 0;
transform: rotate(180deg);
}
.authentication-wrapper.authentication-basic .authentication-inner .card {
z-index: 1;
}
.authentication-wrapper.authentication-basic .authentication-inner .card .app-brand {
margin-bottom: 2.5rem;
}
.authentication-wrapper .auth-input-wrapper .auth-input {
max-width: 50px;
padding-left: 0.4rem;
padding-right: 0.4rem;
font-size: 150%;
}

.authentication-cover-img {
margin-bottom: 1rem;
}

@media (max-width: 575.98px) {
.authentication-wrapper .auth-input-wrapper .auth-input {
  font-size: 1.125rem;
}
}
#twoStepsForm .fv-plugins-bootstrap5-row-invalid .form-control {
border-color: #ff5b5c;
}

.light-style .authentication-wrapper .authentication-bg {
background-color: #fff;
}

.dark-style .authentication-wrapper .authentication-bg {
background-color: rgb(39.6, 49.2, 67.6);
}

@media (min-height: 737px) {
.authentication-cover-img {
  margin-bottom: 3rem;
}
}

.login-box {
  width: 100%;
  max-width: 340px;
}
.login-box h4 {
  font-size: 1.1rem;
}
.login-box p {
  font-size: 0.85rem;
}
.login-box .form-label {
  font-size: 0.82rem;
  margin-bottom: 4px;
}
.login-box .form-check-label {
  font-size: 0.82rem;
}
.login-box .form-check-input {
  font-size: 0.82rem;
}
.login-box .form-control {
  font-size: 0.85rem;
  padding: 6px 10px;
}
.login-box .btn-primary {
  font-size: 0.88rem;
  padding: 8px;
}
.login-box .divider {
  margin: 12px 0 !important;
  font-size: 0.8rem;
}

.error-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #fff2f2;
  border: 1px solid #ffc9c9;
  border-left: 3px solid #e03131;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.8rem;
  color: #c92a2a;
}
.error-alert i {
  font-size: 1rem;
  flex-shrink: 0;
}

.field-error {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  font-size: 0.76rem;
  color: #e03131;
}
.field-error i {
  font-size: 0.85rem;
  flex-shrink: 0;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  font-size: 0.82rem;
  background: transparent;
}
.footer-link {
  color: #9aa0ac;
  text-decoration: none;
  white-space: nowrap;
}
.footer-link:hover {
  color: #343a40;
  text-decoration: underline;
}
.footer-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 0.82rem;
}

.social-login-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}
.social-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.google-btn {
  background-color: #ffffff;
  color: #3c4043;
  border: 1.5px solid #dadce0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.google-btn:hover {
  background-color: #f8f9fa;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  border-color: #c6c9cc;
}
.apple-btn {
  background-color: #000000;
  color: #ffffff;
  border: 1.5px solid #000000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
.apple-btn:hover {
  background-color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.social-btn:active {
  transform: scale(0.98);
}
