:root {
  --primary-color: #1a4d2e;
  --secondary-color: #a3b8ab;
  --text-color-dark: #000000;
  --text-color-light: #fff;
  --background-light: #fff;
  --background-dark: #f2f4f7;
  --border-radius-large: 24px;
  --spacing-small: 16px;
  --spacing-medium: 24px;
  --spacing-large: 32px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

button {
  outline: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.comfortaa-uniquifier {
  font-family: "Comfortaa", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  width: 100%;
  height: 100%;
  background-color: var(--background-light);
}

.highlight-text {
  color: green;
}

.onboarding-wrapper {
  width: 100%;
  max-width: 500px;
  height: 100vh;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}


.onboarding-page {
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 0;
  bottom: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

.onboarding-page.active {
  display: flex;
}

.onboarding-media {
  width: 100%;
  height: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.onboarding-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.onboarding-content-text {
  padding: 0 var(--spacing-small);
  margin-top: var(--spacing-medium);
}

/* .onboarding-content-text h1 {
  font-size: 28px;
  margin-bottom: var(--spacing-small);
} */

.contentTitle {
  font-size: 30px;
  margin-bottom: var(--spacing-small);
}

.onboarding-content-text p {
  font-size: 16px;
  line-height: 1.5;
}

.slide-indicator {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.slide-indicator img {
  max-width: 80px;
  height: auto;
}

.navigation-buttons {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: var(--spacing-small);
  margin-top: var(--spacing-medium);
  margin-bottom: var(--spacing-medium);
}

.navigation-buttons--desktop {
  display: none;
}

.back-next {
  display: flex;
  gap: 5px;
}

.btn {
  height: 50px;
  border-radius: var(--border-radius-large);
  font-weight: 600;
  padding: 0 var(--spacing-medium);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-skip {
  width: 60px;
  background-color: var(--background-light);
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
}

.btn-next {
  width: 60px;
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

.btn-next img {
  width: 14px;
}

.btn-back {
  width: 60px;
  min-height: 52px;
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

.btn-back img {
  width: 14px;
  transform: rotate(180deg);
}


.full-screen-container {
  position: relative;
  width: 100%;
  height: 100%;
  background-image: url("/assets/onboardin/login.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  object-fit: cover;
  background-color: rgba(0, 0, 0, 0.4);
}

.backButton1 {
  position: absolute;
  width: 64px;
  height: 44px;
  border-radius: 20px;
  top: 40px;
  left: 12px;
  border: 1px solid #ffffff;
  background: none;
}

.backButton1 img {
  transform: rotate(180deg);
}

.overlay-content {
  width: 100%;
  height: 100%;
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-color-light);
  text-align: center;
  padding: 30px 0;

}

.page-text-area {
  max-width: 90%;
  margin-bottom: var(--spacing-large);
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 110px;
  gap: 10px;
}

.role-selection-area {
  display: flex;
  justify-content: center;
  margin-bottom: var(--spacing-medium);
  gap: 10px;
}

.btn-role {
  width: 50px;
  height: 50px;
  background-color: #1a4d2e;
  color: #fefefe;
  font-size: 14px;
}

.auth-buttons-group {
  width: 100%;
  max-width: 375px;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-small);
  margin-bottom: var(--spacing-medium);
  margin-top: 20px;
}

.btn-primary,
.btn-secondary {
  width: 100%;
  height: 54px;
  border-radius: var(--border-radius-large);
  font-size: 16px;
  font-weight: 700;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-color-light);
  border: 1px solid var(--text-color-light);
  padding: 16px 32px;
}

.social-login-section {
  width: 100%;
  max-width: 350px;
}

.divider-line {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 10px auto;
}

.divider-line::before,
.divider-line::after {
  content: "";
  flex: 1;
  height: 2px;
  background-color: #fefefeab;
}

.divider-text {
  white-space: nowrap;
  font-weight: 500;
  font-size: 14px;
  color: #fefefeab;
}

.divider-text--dark {
  color: var(--text-color-dark);
}

.social-icons-area {
  display: flex;
  justify-content: space-between;
  gap: var(--spacing-small);
  margin-top: var(--spacing-small);
}

.btn-social {
  flex: 1;
  height: 44px;
  background-color: var(--background-light);
  border: 1px solid var(--text-color-dark);
  border-radius: var(--border-radius-large);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-social--light {
  background-color: var(--background-light);
}

.btn-social img {
  height: 24px;
  width: 24px;
}

.auth-form-container {
  position: fixed;
  bottom: -1px;
  left: 50%;
  /* transform: translateX(-50%); <-- BU SƏTRİ SİLİN */
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 350px;
  border-top-left-radius: var(--border-radius-large);
  border-top-right-radius: var(--border-radius-large);
  background-color: var(--background-light);
  color: var(--text-color-dark);
  text-align: center;
  padding: var(--spacing-medium);
  padding-top: var(--spacing-large);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  /* HƏM X, HƏM DƏ Y OXUNU BİRLƏŞDİRİRİK: */
  transform: translate(-50%, 0);
  transition: transform 0.3s ease-out;
}

.auth-form-wrapper {
  width: 100%;
  height: 100%;
  max-height: 98%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.input-fields-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: var(--spacing-medium);
  width: 100%;
}

.input-field {
  width: 100%;
  height: 52px;
  background-color: var(--background-dark);
  padding: 0 20px;
  border: none;
  font-size: 16px;
}

.input-field--top {
  border-top-left-radius: var(--border-radius-large);
  border-top-right-radius: var(--border-radius-large);
}

.input-field--bottom {
  border-bottom-left-radius: var(--border-radius-large);
  border-bottom-right-radius: var(--border-radius-large);
}

.options-area {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: var(--spacing-small);
  font-size: 14px;
}

.options-area--spaced {
  justify-content: space-between;
}

.options-area a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 14px;
}

.back-button {
  position: absolute;
  top: 66px;
  left: 12px;
  border-width: 1px;
  border-style: solid;
  /* CSS-də border rənginin görünməsi üçün style mütləqdir */
  border-color: rgba(254, 254, 254, 1);
  width: 84px;
  height: 28px;
  z-index: 11;
  border-radius: 10px;
  display: flex;
  /* React Native-də elementlər default olaraq flex-dir */
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: none;
  color: rgba(254, 254, 254, 1);
}

.password-container {
  position: relative;
  width: 100%;
  /* Sizin dizayna uyğun tənzimlənə bilər */
}

#togglePassword {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  width: 20px;
  /* İkonun ölçüsü */
  opacity: 0.6;
}

#togglePassword:hover {
  opacity: 1;
}

@media screen and (max-width: 480px) {
  .onboarding-page {
    padding-bottom: 0;
    max-width: 100%;
    width: 100%;
  }

  .onboarding-content-text {
    margin-top: var(--spacing-medium);
    padding: 0 12px;
  }

  .navigation-buttons {
    padding: 0 12px;
    margin-top: 15px;
    margin-bottom: 20px;
  }

  .btn {
    height: 48px;
    padding: 16px 32px;
  }

  .btn-skip,
  .btn-next {
    width: 60px;
    height: 52px;
  }

  .page-text-area {
    padding-top: 90px;
  }

  .page-text-area p {
    color: #fefefeab;
    font-size: 16px;
    font-weight: 400;
  }

  .page-text-area h1 {
    font-size: 36px;
    font-weight: bold;
  }

  .btn-role {
    width: 106px;
    height: 52px;
    font-size: 16px;

  }

  .auth-buttons-group {
    max-width: 100%;
    padding: 0 12px;
  }

  .social-login-section {
    max-width: 100%;
    padding: 0 12px;
  }

  .social-icons-area {
    gap: 10px;
  }

  .auth-form-container {
    padding: 20px 15px;
  }

  .divider-line::before,
  .divider-line::after {
    content: "";
    flex: 1;
    height: 2px;
    background-color: #4e4c4cca;
  }

  .auth-form-wrapper {
    max-width: 100%;
  }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
  .onboarding-wrapper {
    padding: 0;
    max-width: 100%;
  }

  .navigation-buttons {
    padding: 0 15px;
  }

  .btn-role {
    width: 110px;
    height: 50px;
  }

  .social-icons-area {
    flex-direction: row;
    justify-content: center;
  }
}

@media screen and (min-width: 501px) and (min-height: 800px) {

  .onboarding-wrapper {
    max-width: 100%;
  }

  .onboarding-media {
    height: 70%;
  }

  .onboarding-media img {
    height: 100%;
  }

  .navigation-buttons button {
    height: 80px;
    width: 100px;
    font-size: 25px;
    border-radius: 40px;
  }

  .backButton1 {
    height: 60px;
    width: 80px;
    border: 2px solid #ffffff;
    border-radius: 40px;
  }

  .backButton1 img {
    width: 10px;
    transform: rotate(180deg);
  }

  .onboarding-content-text {
    margin-bottom: 200px;
  }

  .contentTitle {
    font-size: 50px;
  }

  .onboarding-content-text p {
    font-size: 30px;
  }

  .page-text-area {
    font-size: 24px;
    max-width: 70%;
  }

  .overlay-content {
    max-width: 100%;
  }

  .auth-buttons-group {
    width: 100% !important;
    max-width: 80%;
  }

  .auth-buttons-group button {
    width: 100%;
    height: 70px;
    border-radius: 30px;
    font-size: 22px;
  }

  .auth-form-container {
    max-width: 100%;
    height: 599px;
    border-radius: 40px 40px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: start;
  }

  .auth-form-wrapper {
    max-width: 100%;
    height: 100%;
    max-height: 98%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .auth-form-wrapper h1 {
    font-size: 40px;
  }

  .page-text-area p {
    opacity: 80%;
  }

  .auth-form-wrapper button {
    width: 70%;
  }

  .back-button {
    height: 48px;
    width: 144px;
    font-size: 20px;
    border-width: 1.5px;
    border-style: solid;
    border-radius: 17px;
  }

  .back-button img {
    width: 9px;
  }

  .input-fields-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  #togglePassword {
    right: 20px;
    width: 30px;
  }

  .auth-form-wrapper input[type="email"],
  .auth-form-wrapper input[type="password"],
  .auth-form-wrapper input[type="text"] {
    height: 80px;
    font-size: 22px;
  }

  .auth-form-wrapper input[type="checkbox"] {
    transform: scale(2);
    cursor: pointer;
  }

  .options-area--spaced {
    font-size: 25px;
  }

  .options-area--spaced label {
    display: flex;
    gap: 15px;
    justify-content: center;
  }

  .options-area--spaced a {
    font-size: 25px;
  }

  .auth-form-wrapper .auth-buttons-group {
    display: flex;
    align-items: center;
    max-width: 100%;
  }


}