* {
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.body {
  background: aliceblue !important;
  height: 100vh;
  display: flex;
}

.login {
  position: relative;
  background-image: url("/idp/static/images/login_bg.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
  animation-name: background_movement;
  animation-duration: 18s;
  animation-iteration-count: infinite;
  animation-fill-mode: forwards;
  background-color: #e8edee;
  background-repeat: repeat;
  background-position: 0 0;
  animation-timing-function: linear;
  min-height: 100vh;
  padding: 50px;
}

@keyframes background_movement {
  0% {
    background-size: 100% 100%;
    background-position: 0 0;
  }

  30% {
    background-position: -180px -180px;
  }

  50% {
    background-size: 120% 120%;
    background-position: -80px -180px;
  }

  100% {
    background-size: 100% 100%;
    background-position: 0 0;
  }
}

.login::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #e8edee;
  opacity: 0.4;
  z-index: 2;
}

.service-description {
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40%;
  color: #ffffff;
  text-align: center;
}

.service-description h1 {
  color: #04adc3;
  z-index: 3;
}

.login-form {
  position: relative;
  margin: auto;
  padding: 70px;
  background-color: white;
  border-radius: 35px;
  width: 90%;
  max-width: 850px;
  overflow: hidden;
  z-index: 3;
}

.login-form::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/idp/static/images/frame.png") center/cover no-repeat;
  opacity: 0.4;
  z-index: -1;
}

.max-width-verify-email {
  max-width: 650px;
}

.login-form-wrapper {
  width: 100%;
  flex-grow: 1;
}

.text-decoration {
  text-decoration: underline;
}

.social-media-icon {
  width: 30px;
  height: 30px;
}

.content-wrapper {
  width: 100%;
  max-width: 900px;
}

.otp-input {
  width: 50px;
  height: 50px;
}

.icon-color,
.login-form .forgot-link,
.login-form .text-center,
.login-form p,
.login-form a,
.login-form .text-center a,
.login-title .text-center a {
  color: #04adc3;
}

.error-placeholder {
  transition: all 0.2s ease;
}

.alert {
  font-size: 12px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto 0.5rem auto;
  text-align: center;
  border: none;
  padding: 10px;
}

@media (min-width: 501px) and (max-width: 992px) {
  .alert {
    margin: 0 !important;
    max-width: 345px !important;
  }
}

.alert-success {
  margin-top: 20px;
  color: #0f5132;
  background-color: #d1e7dd;
  border-color: #badbcc;
}

.alert-danger {
  color: #842029;
  background-color: #f8d7da;
  border-color: #f5c2c7;
}

.alert-success .custom-close {
  background-color: #2e8b57;
}

.alert-danger .custom-close {
  background-color: #dc3545;
}

.art-input_wrapper {
  display: flex;
  align-items: center;
  border: none;
  border-bottom: 2px solid #d9d9d9;
  border-radius: 0;
  padding: 10px;
  background-color: transparent;
  box-shadow: none;
  margin-bottom: 25px;
  width: 100%;
  gap: 8px;
}

.art-input {
  border: none;
  background-color: transparent;
  box-shadow: none;
  font-weight: 500;
  width: 100%;
}

.art-password {
  padding-right: 40px;
}

.art-input:focus {
  outline: none;
}

.profile-recovery .art-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.art-button.art-button-outline {
  background-color: transparent;
  border: 1px solid #04adc3;
  color: #04adc3;
}

.recovery-modal .modal-content {
  background-color: #ffffff;
  border: none;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
}

.recovery-modal .modal-body {
  padding: 32px 32px 28px;
}

.recovery-modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #e0a100;
  background-color: #fff6db;
}

.recovery-modal .recovery-modal-title {
  font-size: 22px;
  font-weight: 500;
  color: #1f2933;
  margin-bottom: 10px;
}

.recovery-modal .recovery-modal-text {
  color: #52606d;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 26px;
}

.recovery-modal .recovery-modal-text strong {
  color: #1f2933;
}

.recovery-modal-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.art-button.recovery-danger {
  background-color: #d64545;
}

.art-button.recovery-danger:hover {
  background-color: #b93838;
}

.recovery-note {
  background-color: #e8f7f9;
  border-radius: 4px;
  padding: 12px 15px;
  color: #1f2933;
}

.recovery-workspace {
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  padding: 12px 15px;
  cursor: pointer;
  color: #1f2933;
}

.recovery-workspace input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 0;
  border: 1.5px solid #04adc3;
  border-radius: 3px;
  background-color: #ffffff;
  cursor: pointer;
}

.recovery-workspace input[type="checkbox"]:checked {
  background-color: #04adc3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-6.5'/%3E%3C/svg%3E");
  background-size: 100% 100%;
}

.recovery-workspace input[type="checkbox"]:focus-visible {
  outline: 2px solid #04adc3;
  outline-offset: 2px;
}

.profile-recovery .recovery-hint {
  font-size: 13px;
  color: #6c757d;
}

.art-button {
  background-color: #04adc3;
  border-radius: 4px;
  border: none;
  padding: 10px 15px;
  font-size: 16px;
  width: fit-content;
  color: #ffffff;
}


.logo-container {
  height: 100px;
  width: 250px;
  margin-bottom: 20px;
  z-index: 3;
}

.logo-container img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.login-title {
  color: #04adc3;
  font-weight: 600;
}

.success-image-wrapper img {
  height: 50%;
  width: 70px;
  margin-bottom: 20px;
}

p,
a {
  color: white;
  z-index: 3;
}

.profile-recovery {
  color: #1f2933;
}

.profile-recovery p,
.profile-recovery a {
  color: inherit;
}

#deletedTenantModal .modal-content {
  background-color: #ffffff;
  color: #1f2933;
}

#deletedTenantModal .modal-header,
#deletedTenantModal .modal-footer {
  background-color: #ffffff;
}

#deletedTenantModal .modal-title,
#deletedTenantModal .modal-body p,
#deletedTenantModal .modal-body strong {
  color: #1f2933;
}

#deletedTenantModal .btn-outline-secondary {
  color: #6c757d;
}

.qr-content {
  border: 1px solid #d9d9d9;
}

.link-wrapper {
  max-width: 700px;
}

.error-border {
  border: 1px solid red;
}

.error-border-bottom {
  border-bottom: 1px solid #dc3545 !important;
}

.error-message {
  font-size: 12px;
  margin-top: -15px;
  word-wrap: break-word;
  white-space: normal;
  width: 350px;
  margin-bottom: 8px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 1000;
}

.loader {
  width: 60px;
  aspect-ratio: 2;
  --_g: no-repeat radial-gradient(circle closest-side, #2382f0 90%, #0000);
  background: var(--_g) 0% 50%, var(--_g) 50% 50%, var(--_g) 100% 50%;
  background-size: calc(100% / 3) 50%;
  animation: l3 1s infinite linear;
}

@keyframes l3 {
  20% {
    background-position: 0% 0%, 50% 50%, 100% 50%;
  }

  40% {
    background-position: 0% 100%, 50% 0%, 100% 50%;
  }

  60% {
    background-position: 0% 50%, 50% 100%, 100% 0%;
  }

  80% {
    background-position: 0% 50%, 50% 50%, 100% 100%;
  }
}

.contact-box {
  background-color: #f8f9fa;
  border: 1px solid #e5e7eb;
}

.contact-box a {
  text-decoration: none;
  color: #0d6efd;
}

.contact-box a:hover {
  text-decoration: underline;
}

.workspace-button{
  color: #ffff !important;
  text-decoration: none;
}

@media (min-width: 501px) and (max-width: 992px) {
  .login-form {
    border-radius: 35px !important;
  }

  .upper-form {
    margin: auto;
    gap: 40px !important;
  }

  .lower-form {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1rem;
    padding-right: 0;
    text-align: center;
  }

  .art-input_wrapper {
    width: 100% !important;
  }
}

@media (max-width: 769px) {
  .login-form-wrapper {
    width: 80% !important;
    padding: 0 !important;
    gap: 0 !important;
  }

  .upper-form {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .upper-form img {
    display: none;
  }

  .form {
    margin: 0 auto;
  }

  .lower-form {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1rem;
    padding-right: 0;
    text-align: center;
  }

  .login-form {
    padding: 40px 20px;
    width: 80% !important;
    border-radius: 0;
  }

  .login {
    background-size: cover;
    padding: 0 10px;
  }
}

@media (max-width: 500px) {
  .login {
    padding: 0;
    margin: 0;
    background: none !important;
  }

  .login-form {
    padding: 0;
    border-radius: 0;
    width: 100%;
  }

  .lower-form {
    display: flex;
    flex-direction: column !important;
    margin-top: 0 !important;
  }

  .login-form-wrapper {
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .form {
    width: 100%;
    margin: 0 auto;
  }

  .upper-form {
    gap: 0;
    padding: 0;
    width: 100%;
  }

  .login {
    padding: 0;
    margin: 0;
    background: none !important;
  }

  .login::before {
    background-color: white;
  }

  .art-input_wrapper {
    width: 100%;
    padding-left: 5px;
    padding-right: 5px;
  }

  .art-input {
    width: 100%;
  }

  .art-button {
    padding: 6px 25px;
  }

  .email {
    padding: 0 !important;
  }

  .login-title {
    font-size: 24px !important;
  }

  .login-description {
    font-size: 14px !important;
    padding: 0 10px;
  }
}

@media (max-width: 768px) {

  .snackbar {
    gap: 0;
  }
  
  .otp-input {
    padding: 0;
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 335px) {
  .art-input::placeholder {
    font-size: 0.55rem !important;
  }
}

@media (min-width: 336px) and (max-width: 449px) {
  .art-input::placeholder {
    font-size: 0.75rem;
  }
}

.snackbar {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: white;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  min-width: 300px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

.snackbar.show {
  opacity: 1;
  visibility: visible;
}

.snackbar.success {
  background-color: #28a745;
}

.snackbar.error {
  background-color: #dc3545;
}

.snackbar .close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.btn.btn-primary,
.btn.btn-primary:focus,
.btn.btn-primary:visited {
  background-color: #04adc3;
  border: none;
  color: white;
}

.custom-close {
  width: 15px;
  height: 15px;
  font-size: 8px;
  background-color: #ff0000;
  border-radius: 50%;
  color: #ffffff;
  opacity: 0.7;
  padding: 3px;
  margin-left: auto;
  margin-right: 3px;
  font-weight: 500;
  background-image: none;
  position: relative;
}

.custom-close::before {
  content: "x";
  color: #ffffff;
  font-size: 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
}

[v-cloak] {
  display: none !important;
}

.input-tab {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.art-select-wrapper {
  margin: 15px 0 20px;
  position: relative;
}

.art-select-wrapper .fa-house-user {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: #04adc3;
  pointer-events: none;
  z-index: 2;
}

.custom-dropdown-btn {
  background: #fff;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 40px 12px 40px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.art-select-wrapper :focus,
.art-select-wrapper :hover {
  outline: none;
  border-color: #04adc3;
}

.custom-dropdown-menu {
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(4, 173, 195, 0.12);
  background: #f8fcfe;
  margin-top: 4px !important;
  min-width: 100%;
  border: 1px solid #04adc3;
  padding: 8px;
  max-height: 200px;
}

.scrollbar-wrapper {
  max-height: 164px;
  overflow-y: auto;
  padding-right: 4px;
}

.scrollbar-wrapper::-webkit-scrollbar {
  width: 6px;
}

.scrollbar-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.scrollbar-wrapper::-webkit-scrollbar-thumb {
  background-color: #c4e0f4;
  border-radius: 10px;
  border: 2px solid #f8fcfe;
  background-clip: padding-box;
}

.scrollbar-wrapper {
  scrollbar-color: #c4e0f4 #f8fcfe;
  scrollbar-width: thin;
}

.custom-dropdown-menu .dropdown-item {
  font-size: 15px;
  color: #333;
  padding: 10px 20px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.custom-dropdown-menu .dropdown-item:hover,
.custom-dropdown-menu .dropdown-item:focus {
  background-color: #e6f7ff;
  border-radius: 8px;
  color: #04adc3;
}

.nav-underline .nav-link {
  font-size: 1.5rem;
  color: #6c757d;
  font-weight: 600;
  padding: 0.5rem 1rem;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
  position: relative;
}

.nav-underline .nav-link:not(.active):hover {
  color: #393c3f;
  border-color: transparent;
}

.nav-underline .nav-link.active {
  color: #04adc3;
  font-weight: 600;
}

.nav-underline .nav-link.active::after {
  content: "";
  width: 100%;
  left: 0;
  bottom: 0;
  height: 2px;
  background-color: #04adc3;
  transition: background-color 0.2s ease-in-out;
}

.nav-underline .nav-link .fa-solid {
  color: #6c757d;
  transition: color 0.2s ease-in-out;
}

.nav-underline .nav-link.active .fa-solid {
  color: #04adc3;
}

.nav-underline .nav-link:not(.active):hover .fa-solid {
  color: #5a6268;
}

.visually-hidden-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.tab-description-container {
  position: relative;
  height: 1.5rem;
  min-height: 1.5rem;
  margin-bottom: 2rem;
}

.tab-description-container h6 {
  position: absolute;
}

.img_accepted {
  width: 100px;
  height: auto;
}

@media (min-width: 770px) and (max-width: 875px) {
  .sub-title {
    font-size: 16px;
  }
}

@media (min-width: 300px) and (max-width: 900px) {
  .input-placeholder::placeholder {
    font-size: 12px;
  }
  .art-input {
    font-size: 12px;
  }
}

@media (min-width: 770px) and (max-width: 1024px) {
  .login-form {
    padding: 40px 30px;
  }
}
