* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    height: 100vh;
    overflow-y: hidden;
}

section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}

.section_left {
    width: 50%;
    height: 100vh;
    background: linear-gradient(to bottom,
            #73AFF3 0%,
            #A58AE8 31%,
            #BE78E3 65%,
            #D766DD 100%);
    justify-content: center;
    align-items: center;

}

.section_left h1 {
    font-size: 64px;
    color: #fff;
    font-weight: 800;
    margin-top: 180px;
    margin-left: 162px;
}

.section_left p {
    font-size: 32px;
    color: #fff;
    margin-top: 138px;
    margin-left: 90px;

}

.btn {
    font-size: 20px;
    color: #fff;
    font-weight: 700;
    margin-top: 10%;
    margin-left: 35%;
    padding: 10px;
    width: 179px;
    height: 44px;
    border: 1px solid #fff;
    border-radius: 35px;
    cursor: pointer;
    background: linear-gradient(to right,
            #73AFF3 0%,
            #A58AE8 31%,
            #BE78E3 65%,
            #D766DD 100%);
}



.section_right {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    width: 50%;
    height: 100vh;
    margin-top: 40px;
    margin-left: 10%;
    position: relative;
    top: 10px;
    margin-left: 5%;
  

}

.border-wrapper {
    width: 90%;
    max-width: 450px;
    border-radius: 35px;
    padding: 2px;
    /* border qalınlığı */
    background: linear-gradient(to right, #FF0000, #FFB618, #3BA637, #73AFF3);
    display: inline-block;
}

.inner-box {
    border-radius: 31px;
    /* wrapper radius - padding */
    background: white;
    padding: 20px 20px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;

}

.inner-box a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000;
    margin-left: 20%;
}

.inner-box img {
    position: absolute;
   width: 89px;
    left: -8px;
    top: -9px;
}



.section_right_2 {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
    width: 400px;
    max-width: 500px;

}
.link_to_forgot{
    margin-right: 3rem;
}
.section_right_2 input {
    margin-top: 5%;
    outline: none;
    border: none;
    padding: 10px;
    font-size: 20px;
    width: 90%;
    border-radius: 15px;
    background-color: #F5F5F5;
}

.section_right_3 {
    display: inline-block;
    width: 100%;
    margin-top: 90px;
    font-size: 15px;
    color: #6E666F;
    text-align: center;



}

.section_right_3 a {
    display: flex;
    flex-direction: column;
    color: #6E666F;
    margin-top: 5%;
    text-decoration: underline;
    text-decoration-color: #D9D9D9;
    text-decoration-thickness: 2px;


}

.section_right_3 button {
    margin-top: 20px;
    background: linear-gradient(to right, #0088FF, #73AFF3);
    color: white;
    margin-right: 4rem;
    border: none;
    padding: 20px 80px;
    border-radius: 35px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 700;


}



.log_in {
    display: inline-block;
    text-align: center;
    width: 30vw;
    margin-left: 10%;
    color: #0088FF;
    font-weight: 700;
    font-size: 20px;
}

.actions {
    display: flex;
    gap: 10%;
    align-items: center;
    width: 100%;
    margin-top: 30px;
     overflow-y: hidden;
}

.back,
.next {
    width: 20%;
    margin-left: 50px;
    margin-top: 5px;
    display: flex;
    justify-content: space-around;
}

.back button {
    width: 100px;
    background-color: #73AFF3;
    margin-left: 5%;
    margin-top: 5%;
    height: 40px;
    border-radius: 35px;
    cursor: pointer;
    border: none;
    outline: none;
    font-size: 20px;

}
.back button:hover,
.next button:hover{
    box-shadow: 0 0 15px 4px blue;
}

.back button a {
    font-size: 20px;
    text-decoration: none;
    color: #fff;
}


.next button {
    width: 100px;
    height: 40px;
    margin-left: 5%;
    margin-top: 5%;
    height: 40px;
    border-radius: 35px;
    cursor: pointer;
    border: none;
    outline: none;
    font-size: 20px;
    color: #fff;
    background-color: #49D987;
    border-radius: 35px;

}

.next button a {
    font-size: 20px;
    text-decoration: none;
    color: #fff;
}
/* ===================== 1024px (Planşetlər - Horizontal) ===================== */
@media (max-width: 1024px) {
  section {
    flex-direction: column;
    height: auto;
  }

  .section_left {
    width: 100%;
    height: 50vh;
    text-align: center;
  }

  .section_left h1 {
    font-size: 48px;
    margin: 100px auto 20px auto;
  }

  .section_left p {
    font-size: 24px;
    margin: 40px auto;
  }

  .btn {
    margin: 20px auto;
    display: block;
    width: 200px;
    font-size: 18px;
  }

  .section_right {
    width: 100%;
    height: auto;
    margin: 40px auto;
    align-items: center;
  }

  .border-wrapper {
    width: 80%;
  }

  .section_right_2 {
    width: 80%;
  }

  .section_right_3 button {
    padding: 15px 60px;
  }

  .actions {
    flex-direction: row;
    justify-content: center;
    gap: 5%;
  }
}

/* ===================== 768px (Planşetlər və böyük telefonlar) ===================== */
@media (max-width: 768px) {
  body {
    overflow-y: auto;
  }

  section {
    flex-direction: column;
    height: auto;
  }

  .section_left {
    width: 100%;
    height: 45vh;
    text-align: center;
  }

  .section_left h1 {
    font-size: 42px;
    margin: 80px auto 10px auto;
  }

  .section_left p {
    font-size: 20px;
    margin: 20px auto;
  }

  .btn {
    font-size: 16px;
    width: 160px;
    margin: 20px auto;
  }

  .section_right {
    width: 100%;
    height: auto;
    margin: 30px auto;
    align-items: center;
  }

  .border-wrapper {
    width: 90%;
  }

  .inner-box {
    font-size: 18px;
  }

  .section_right_2 {
    width: 90%;
  }

  .section_right_2 input {
    width: 100%;
    font-size: 18px;
  }

  .section_right_3 {
    font-size: 14px;
  }

  .section_right_3 button {
    width: 80%;
    font-size: 18px;
    padding: 15px 40px;
    margin: 30px auto;
  }

  .log_in {
    width: 80%;
    font-size: 18px;
    margin: 20px auto;
  }

  .actions {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .back,
  .next {
    width: 60%;
    margin: 0;
    justify-content: center;
  }

  .back button,
  .next button {
    width: 120px;
    font-size: 18px;
  }
}

/* ===================== 480px (Telefonlar) ===================== */
@media (max-width: 480px) {
  body {
    overflow-y: auto;
  }

  section {
    flex-direction: column;
    height: auto;
  }

  .section_left {
    width: 100%;
    height: auto;
    padding: 40px 0;
    text-align: center;
  }

  .section_left h1 {
    font-size: 34px;
    margin: 20px auto;
  }

  .section_left p {
    font-size: 18px;
    margin: 10px auto;
  }

  .btn {
    width: 140px;
    height: 40px;
    font-size: 15px;
    margin: 15px auto;
  }

  .section_right {
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 0 10px;
    align-items: center;
  }

  .border-wrapper {
    width: 95%;
  }

  .inner-box {
    font-size: 16px;
  }

  .inner-box img {
    width: 60px;
    top: -5px;
    left: -5px;
  }

  .section_right_2 {
    width: 95%;
  }

  .section_right_2 input {
    width: 100%;
    font-size: 16px;
    padding: 8px 10px;
  }

  .section_right_3 {
    font-size: 13px;
  }

  .section_right_3 button {
    width: 90%;
    font-size: 16px;
    padding: 10px 30px;
  }

  .log_in {
    width: 100%;
    font-size: 16px;
    margin: 20px auto;
  }

  .actions {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .back,
  .next {
    width: 70%;
    justify-content: center;
  }

  .back button,
  .next button {
    width: 100px;
    height: 35px;
    font-size: 16px;
  }
}

/* ===================== 320px və aşağı (Kiçik telefonlar) ===================== */
@media (max-width: 320px) {
  .section_left h1 {
    font-size: 28px;
  }

  .section_left p {
    font-size: 16px;
  }

  .btn {
    width: 120px;
    height: 35px;
    font-size: 14px;
  }

  .section_right_2 input {
    font-size: 14px;
    padding: 6px 8px;
  }

  .section_right_3 button {
    width: 100%;
    font-size: 14px;
    padding: 10px;
  }

  .log_in {
    font-size: 14px;
  }

  .back button,
  .next button {
    width: 80px;
    font-size: 14px;
  }
}
