@import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");

:root {
  --border-color: #e8e8e8;
  --body: 1rem;
}

h1 {
  font-weight: bold;
}

body {
  font-family: "Ubuntu", sans-serif;
  /* letter-spacing: 0.45px; */
  background-color: var(--primary-color);
  background-image: url("https://cdn6.godcstatic.com/virtual_grandslam2026/staticfiles/background-login.png");
  background-repeat: no-repeat;
  /* background-position: center center; */
  background-position: 50% 0%;
  background-attachment: fixed;
  background-size: cover;
  color: #ffffff;
}

body.thanks_page {
  /*background-image: url("https://cdn6.godcstatic.com/virtual_grandslam2026/staticfiles/background.png");*/
  background-image: url("https://cdn6.godcstatic.com/virtual_grandslam2026/staticfiles/thankyoulogin.jpeg");
}

::-webkit-input-placeholder {
  color: var(--primary-color) !important;
  opacity: 1 !important;
  text-transform: capitalize !important;
  border-left: 0 !important;
  padding-left: 0px !important;
}

::-moz-placeholder {
  color: var(--primary-color) !important;
  opacity: 1 !important;
  text-transform: capitalize !important;
  border-left: 0 !important;
  padding-left: 0px !important;
}

:-ms-input-placeholder {
  color: var(--primary-color) !important;
  opacity: 1 !important;
  text-transform: capitalize !important;
  border-left: 0 !important;
  padding-left: 0px !important;
}

:-moz-placeholder {
  color: var(--primary-color) !important;
  opacity: 1 !important;
  text-transform: capitalize !important;
  border-left: 0 !important;
  padding-left: 0px !important;
}

.form-control,
.form-select {
  border: 1px solid #fff !important;
  font-family: "Ubuntu", sans-serif;
  font-size: 1rem;
  color: var(--primary-color);
  border-radius: 0;
  font-weight: 500;
}

.form-control:focus,
.form-select:focus {
  color: var(--primary-color);
  border-color: white;
}

.btn {
  font-weight: 400;
  font-size: 1rem;
  border-radius: 0;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
}
.btn:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.mandatoryfield {
  margin-top: 20px;
  font-size: 20px;
  color: #000;
  font-weight: 500;
}

.dc-mw-400 {
  width: 100%;
  max-width: 400px;
  font-family: "Ubuntu", sans-serif;
}

.dc-mw-600 {
  width: 100%;
  max-width: 600px;
}

.input-group-text {
  border-color: var(--border-color);
  background-color: var(--white);
  font-family: "Ubuntu", sans-serif;
}

.header_part {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 30px 30px;
  padding: 1.5vw;
}

.ace_logo {
  max-width: 10vw;
}

.right_logo {
  max-width: 12vw;
  min-width: 100px;
}

.login_bg {
  background-color: rgb(1 64 127 / 60%);
  border-radius: 30px;
  padding: 2rem 1rem;
  border: 2px solid rgb(255 255 255 / 40%);
}

.user-icon {
  background-image: url(img/user.png);
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 50%;
  left: 10px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
}

.email-icon {
  background-image: url(img/mail.png);
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 50%;
  left: 10px;
  width: 18px;
  height: 15px;
  transform: translateY(-50%);
}

.user-icon + .form-control,
.email-icon + .form-control {
  padding-left: 35px;
}

.dc-mw-thanks {
  width: 100%;
  max-width: 100%;
  font-family: "Ubuntu", sans-serif;
  margin: 0 auto;
  background-color: rgb(255 255 255 / 60%);
  border-radius: 30px;
  padding: 2rem 1rem;
  border: 2px solid rgb(255 255 255 / 40%);
  text-align: center;
  font-size: 2vw;
  margin-top: 40px;
}

body.thanks_page .header_part {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
}

.thank_box h1 {
  font-size: 2.7vw;
  font-weight: 400;
  margin-bottom: 2vw;
  line-height: 1;
}

.thank_box h1 strong {
  font-weight: 500 !important;
  text-transform: uppercase;
}

.thank_box p {
  font-size: 1.6vw;
  font-weight: 400;
  margin-bottom: 2vw;
  line-height: 1;
}

.thank_box p:last-child {
  margin-bottom: 0;
}

.thank_box p span {
  font-weight: 500;
}

@media screen and (max-width: 767px) and (orientation: portrait) {
  /* body {
        background-image: url("https://cdn6.godcstatic.com/virtual_grandslam2026/staticfiles/background.png");
    }

    body.thanks_page {
        background-image: url("https://cdn6.godcstatic.com/virtual_grandslam2026/staticfiles/background.png");
    } */

    body{
      background-image: url("https://cdn6.godcstatic.com/virtual_grandslam2026/staticfiles/login-bg-mobile.png");
    }
    body.thanks_page{
      /*background-image: url("https://cdn6.godcstatic.com/virtual_grandslam2026/staticfiles/login-bg-mobile.png");*/
      background-image: url("https://cdn6.godcstatic.com/virtual_grandslam2026/staticfiles/thankyoumobilebg.jpeg");
    }
    
    .login_form{
      margin-top: 25px;
    }

  .thank_box h1 {
    font-size: 5.7vw;
    margin-bottom: 30px;
  }

  .thank_box p {
    font-size: 4.4vw;
    font-weight: 400;
    margin-bottom: 30px;
    line-height: 1.3;
  }

  .thank_box p br {
    display: none !important;
  }

  .dc-mw-thanks {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .header_part {
    padding: 15px 20px;
  }
}

/* Timer css */

#timer {
  font-size: 3rem;
  font-weight: 600;
  display: inline-flex;
  border: 2px solid rgba(0, 0, 0, 0.6);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  padding: 5px 8px;
}

#timer div {
  display: inline-block;
  min-width: 90px;
}

#timer div span {
  display: block;
  font-size: 0.35em;
  font-weight: 400;
}

h4 {
  font-size: 3vw;
}

@media only screen and (max-width: 1600px) {
  #timer {
    font-size: 3.2vw;
  }
}

@media only screen and (max-width: 991px) {
  #timer {
    font-size: 2em;
  }

  #timer div {
    min-width: 60px;
  }

  #timer div span {
    font-size: 0.35em;
  }
}

@media only screen and (max-width: 991px) {
  .left_part_text h4 {
    font-size: 5vw;
    margin-top: 30px;
  }
}

@media only screen and (max-width: 600px) {
  .left_part_text h4 {
    font-size: 6vw;
    margin-top: 20px;
  }

  #timer {
    font-size: 3.5em;
  }
}
