@charset "utf-8";
/* CSS Document – DSI Tyres Teachers' Day – Media Queries */

/*==========  Non-Mobile First Method  ==========*/

@media only screen and (max-width: 1920px) {
  .desktop-logo-wrap {
    max-width: 320px;
  }
}

@media only screen and (max-width: 1536px) {
  .form-wrapper {
    max-width: 430px;
  }
}

@media only screen and (max-width: 1399px) {
  .form-wrapper {
    max-width: 410px;
  }
}

@media only screen and (max-width: 1280px) {
  .right-form-col {
    padding: 40px 25px;
  }

  .form-wrapper {
    max-width: 400px;
  }

  .desktop-logo-wrap {
    max-width: 290px;
  }
}

@media only screen and (max-width: 1199px) {
  .right-form-col {
    padding: 36px 22px;
  }

  .form-wrapper {
    max-width: 390px;
  }

  .desktop-logo-wrap {
    max-width: 275px;
  }

  .vehicle-icon-img {
    width: 34px;
    height: 34px;
  }
}

@media only screen and (max-width: 1024px) {
  .right-form-col {
    padding: 32px 20px;
  }

  .form-wrapper {
    max-width: 370px;
  }

  .desktop-logo-wrap {
    max-width: 260px;
  }

  .selection-group {
    gap: 8px;
  }

  .selection-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .vehicle-icon-img {
    width: 32px;
    height: 32px;
  }
}

@media only screen and (max-width: 991px) {
  .right-form-col {
    padding: 30px 20px;
  }

  .form-wrapper {
    max-width: 360px;
  }

  .desktop-logo-wrap {
    max-width: 250px;
  }

  .selection-group {
    gap: 8px;
  }

  .selection-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .vehicle-icon-img {
    width: 30px;
    height: 30px;
  }

  .btn-action {
    height: 48px;
    font-size: 16px;
  }

  .btn-getcode {
    box-shadow: 0 10px 18px rgba(10, 92, 177, 0.28);
  }

  .desktop-logo-wrap{
    max-width: 280px;
  }
  
}

@media (min-width: 768px) {
  /* Left column: Fully backgrounded graphic filling screen */
  .left-banner-col {
    min-height: 100vh;
    min-height: 100dvh;
    background-image: url('../images/top_bg.jpg');
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    position: relative;
  }

  /* Right column: Centered form and logo */
  .right-form-col {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    background-color: var(--white);
  }

  .form-wrapper {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .desktop-logo {
    width: 100%;
    height: auto;
  }
}

@media only screen and (max-width: 767px) {
  .main-screen-wrapper {
    background-color: var(--white);
  }

  .main-screen-row {
    min-height: 100vh;
    min-height: 100dvh;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }

  .left-banner-col {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
  }

  .mobile-banner-wrap {
    position: relative;
    width: 100%;
    line-height: 0;
  }

  .mobile-banner-img {
    width: 100%;
    height: 74vh;
    min-height: 280px;
    max-height: 671px;
    display: block;
    object-fit: cover;
    object-position:bottom;
  }

  .mobile-logo-wrap {
    position: absolute;
    top: 6.5%;
    left: 50%;
    transform: translateX(-50%);
    width: 63%;
    max-width: 270px;
    z-index: 2;
    pointer-events: none;
    text-align: center;
  }

  .mobile-logo {
    width: 100%;
    height: auto;
  }

  .right-form-col {
    width: 100%;
    max-width: 480px;
    margin-top: -100px;
    padding: 10px 30px 45px;
    z-index: 4;
  }

  .form-wrapper {
    width: 100%;
  }

  /* Selection group on mobile */
  .selection-group {
    gap: 10px;
  }

  .selection-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .vehicle-icon-img {
    width: 34px;
    height: 34px;
  }

  /* Inputs */
  .custom-input {
    height: 52px;
    font-size: 15.5px;
  }

  /* Buttons */
  .btn-submit {
    min-width: 168px;
    height: 48px;
  }

  .btn-action {
    height: 48px;
    font-size: 16px;
  }

  /* Code card */
  .code-value {
    font-size: 20px;
    letter-spacing: 2px;
  }
}

@media only screen and (max-width: 575px) {
  .right-form-col {
    padding: 8px 22px 40px;
    margin-top: -91px;
    z-index: 4;
  }

  .mobile-banner-img {
    height: 67vh;
    min-height: 240px;
    max-height: 571px;
  }

  .mobile-logo-wrap {
    top: 6%;
    width: 65%;
    max-width: 240px;
  }

  .selection-group {
    gap: 8px;
  }

  .selection-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .vehicle-icon-img {
    width: 30px;
    height: 30px;
  }

  .btn-action {
    height: 48px;
    font-size: 15.5px;
    border-radius: 24px;
  }

  .code-value {
    font-size: 18px;
    letter-spacing: 2px;
  }

  .code-hint {
    font-size: 11px;
  }

    #codeModal .modal-dialog{
    padding: 0 16px;
  }

  p{
    font-size: 12px;
  }

}

@media only screen and (max-width: 480px) {
  .right-form-col {
    padding: 6px 18px 36px;
    margin-top: -51px;
    z-index: 4;
  }

  .mobile-banner-img {
    height: 54vh;
    min-height: 220px;
    max-height: 471px;
  }

  .mobile-logo-wrap {
    width: 67%;
    max-width: 220px;
  }

  .selection-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }

  .vehicle-icon-img {
    width: 28px;
    height: 28px;
  }

  .selection-badge {
    width: 18px;
    height: 18px;
    top: 6px;
    right: 6px;
  }

  .selection-option {
    min-height: 120px;
  }
}

@media only screen and (max-width: 460px) {
  .selection-group {
    gap: 7px;
  }
}

@media only screen and (max-width: 375px) {
  .right-form-col {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 28px;
  }

  .mobile-logo-wrap {
    top: 5.5%;
    width: 68%;
    max-width: 210px;
  }

  .mobile-banner-img {
    min-height: 200px;
    max-height: 445px;
  }

  .selection-group {
    gap: 6px;
  }


  .selection-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .vehicle-icon-img {
    width: 26px;
    height: 26px;
  }

  .selection-option {
    min-height: 112px;
  }

  .selection-caption {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .custom-input {
    height: 48px;
    font-size: 15px;
    border-radius: 12px;
  }

  .btn-submit {
    min-width: 155px;
    height: 45px;
    font-size: 16px;
  }

  .btn-action {
    height: 45px;
    font-size: 15px;
  }

  .code-value {
    font-size: 16px;
    letter-spacing: 1.5px;
  }

  #codeModal .otp_modal_content{
    padding: 60px 14px;
  }
}

@media only screen and (max-width: 360px) {
  .right-form-col {
    padding-left: 14px;
    padding-right: 14px;
  }

  .selection-icon {
    width: 40px;
    height: 40px;
  }

  .vehicle-icon-img {
    width: 24px;
    height: 24px;
  }
}

@media only screen and (max-width: 320px) {
  .right-form-col {
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 24px;
  }

  .mobile-logo-wrap {
    width: 72%;
  }

  .selection-group {
    gap: 5px;
  }

  .selection-option {
    min-height: 108px;
    border-radius: 12px;
    gap: 7px;
  }

  .selection-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .vehicle-icon-img {
    width: 22px;
    height: 22px;
  }

  .selection-label {
    font-size: 9px;
  }

  .selection-badge {
    width: 16px;
    height: 16px;
    top: 5px;
    right: 5px;
  }

  .btn-action {
    height: 46px;
    font-size: 14.5px;
  }

  .code-value {
    font-size: 14px;
    letter-spacing: 1px;
  }
}
