@import url('styles.css');

body {
    background-color: rgba(226, 232, 240, 1) !important;
}

.auth-container {
    display: flex;
    align-items: center;
    background-color: var(--background-color-primary);
    border-radius: var(--radius-xl);
    padding: 60px;
    margin: 64px 120px;
}

.auth-card {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
    border-right: 1px solid black;
    padding: 72px 0;
    padding-right: 24px;
}

.auth-logo {
    width: 60px;
    height: 60px;;
}

.auth-logo img {
    width: 60px;
}

.auth-title {
    font-size: var(--text-size-md);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.auth-form-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-legal {
    padding: 8px 0;
    font-size: var(--text-size-xs);
    color: rgba(51, 51, 51, 1);
}

.auth-legal .auth-link {
    color: rgba(17, 17, 17, 1)
}

.auth-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.auth-switch-link {
    margin-left: unset;
}

.auth-social {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-left: 24px;
}

.auth-social-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border-color-tertiary);
    border-radius: var(--radius-sm);
    padding: 16px;
    background-color: transparent;

}

.auth-social-icon {
    height: 16px;
    width: 16px;
}

/*
*========
*
*========
*/

.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 32px;
    min-height: calc(100vh - 72px);
    padding-top: 32px;
}

.auth-back-link {
    width: 500px;
    margin-left: 0;
}

.auth-main {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 24px;
    width: 500px;
    padding: 60px;
    border-radius: var(--radius-xl);
    background-color: rgba(238, 242, 247, 1);
}

.auth-main .auth-header {
    display: flex;
    align-items: center; 
    text-align: center;
    flex-direction: column;
    gap: 12px;
}

.auth-icon-wrapper.icon-wrapper {
    padding: 16px;
}

.auth-text {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 8px;
}

.auth-main .auth-title {
    font-size: 20px;
    color: rgba(55, 65, 81, 1);
}

.auth-description {
    color: rgba(71, 85, 105, 1);
    margin: 0;
}

.auth-form {
    width: 100%;
}

.auth-help {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    background-color: rgba(226, 232, 240, 1);
    border-radius: var(--radius-xl);
    padding: 24px 16px;
}

.auth-help-title {
    font-size: var(--text-size-xxs);
}

.auth-help-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: var(--text-size-xxs);
}

.auth-inputs {
    display: flex;
    gap: 12px;
}

.auth-inputs .auth-input {
    height: 48px;
    flex: 1;
}

.auth-input::-webkit-inner-spin-button,
.auth-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

[dir="rtl"] .auth-card {
    padding-left: 24px;
    border-right: 0;
    border-left: 1px solid black;
}

[dir="rtl"] .auth-social {
    padding-right: 24px;
    padding-left: 0;
}

[dir="rtl"] .auth-inputs {
    flex-direction: row-reverse;
}

.auth-inputs input {
    text-align: center;
}

/* Mobile */
@media (max-width: 600px) {
  /* Mobile CSS */
  .auth-container {
    padding: 24px;
    margin: 0;
    min-height: 100vh;
    border-radius: 0;
    flex-direction: column;
  }
  .auth-card {
    border: none;
    padding-right: 0;
  }
  [dir="rtl"] .auth-card {
    padding-left: 0;
    border-left: none;
  }
  .auth-actions {
    flex-direction: column-reverse;
  }
  .auth-switch-link {
    justify-content: center;
  }
  .auth-submit {
    width: 100%;
  }
  .auth-social {
    padding-left: 0;
  }
  .auth-wrapper {
    padding-left: 16px;
    padding-right: 16px;
  }
  .auth-main {
    width: 100%;
    padding: 32px 20px;
  }
  .auth-back-link {
    width: 100%;
  }
}

/* Tablet */
@media (min-width: 601px) and (max-width: 1024px) {
  /* Tablet CSS */
  .auth-container {
    padding: 48px;
    flex-direction: column;
  }
  .auth-card {
    border: none;
    padding-right: 0;
  }
  [dir="rtl"] .auth-card {
    padding-left: 0;
    border-left: none;
  }
  .auth-actions {
    flex-direction: column-reverse;
  }
  .auth-switch-link {
    justify-content: center;
  }
  .auth-submit {
    width: 100%;
  }
  .auth-social {
    padding-left: 0;
  }
  .auth-main,
  .auth-back-link {
    width: 100%;
    max-width: 500px;
  }
}

/* Desktop */
@media (min-width: 1025px) {
  /* Desktop CSS */
}

#otpPage {
    background-color: unset;
    box-shadow: unset;
    padding: 0;
    max-width: 100% !important;
}