/************* BASE CSS *************/

@font-face {
  font-family: 'VodafoneRG';
  src: url('../fonts/vodafone/Vodafone.ttf') format('truetype');
  src: url('../fonts/vodafone/Vodafone.woff') format('woff');
  src: url('../fonts/vodafone/Vodafone.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'VodafoneRG';
  padding-bottom: 40px;
}

/************* HEADER CSS *************/

.header {
  display: flex;
  height: 72px;
  background-color: #fff;
  justify-content: space-between;
}

.header-section-one {
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 20px;
}

.red-logo {
  width: 48px;
  height: 48px;
}

.header-section-two {
  display: flex;
  gap: 23px;
  padding-right: 21px;
  align-items: center;
}


/************* BANNER CSS *************/

.secure-info {
  display: flex;
  justify-content: center;
  background-color: #333333;
  gap: 8px;
  align-items: center;
  padding: 8px 8px;
}

.secure-info-title {
  color: #fff;
  font-size: 14px;
  line-height: 18px;
}

.banner-image-area {
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 333px;
  height: 100%;
  overflow: hidden;
  padding: 52px 64px;
}

.banner-image-text {
  display: flex;
  gap: 24px;
  flex-direction: column;
  justify-content: center;
  z-index: 1000;
}

.banner-text-title {
  color: #fff;
  font-size: 40px;
  line-height: 48px;
}

.banner-text-description {
  color: #fff;
  font-size: 18px;
  line-height: 26px;
}

.banner-img {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/************* ERROR CSS *************/

.error {
  margin: 35px 16px;
}

.error-area {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8px 32px;
  text-align: center;
}

.error-text {
  margin-top: 8px;
  font-size: 28px;
  line-height: 32px;
  color: #262626;
}

.error-btn {
  margin-top: 32px;
  max-width: 310px;
  width: 100%;
  height: 44px;
  background-color: #e60000;
  padding: 8px 20px;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  line-height: 28px;
}

/************* SECTİON CSS *************/

.section {
  display: flex;
  flex-direction: column;
  margin-top: 35px;
  justify-content: center;
  align-items: center;
}

.section-title {
  font-size: 28px;
  font-weight: bold;
  line-height: 32px;
  color: #0d0d0d;
}

.section-service-text {
  font-size: 20px;
  line-height: 28px;
  color: #0d0d0d;
  margin-top: 24px;
  text-align: center;
}

.section-cost-area {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 16px;
  text-align: center;
}

.section-cost-title {
  font-size: 24px;
  line-height: 28px;
  color: #0d0d0d;
}

.cost {
  color: #000;
  font-weight: bold;
}

.section-info-area {
  display: flex;
  align-items: center;
  margin-top: 16px;
  gap: 2px;
  text-align: center;
}

.section-info-title {
  font-size: 20px;
  line-height: 28px;
  color: #0d0d0d;
}

.section-info-example-two {
  text-align: center;
  font-size: 24px;
  line-height: 28px;
  color: #0d0d0d;
}

.section-info-example-three {
  font-size: 18px;
  line-height: 26px;
  color: #4a4d4e;
  margin-top: 8px;
  text-align: center;
}

.section-info-example-four {
  font-size: 20px;
  line-height: 28px;
  color: #0d0d0d;
  margin-top: 24px;
  text-align: center;
}

.agreement {
  text-decoration: underline;
  cursor: pointer;
}

/************* INCORRECT PASSWORD CSS *************/

.incorrect-pass {
  margin: 0 auto;
  width: 342px;
  margin-top: 25px;
}

.incorrect-head {
  display: flex;
  padding-top: 6px;
  padding-bottom: 6px;
  background-color: #e60000;
  justify-content: center;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

.incorrect-description {
  padding: 16px 21px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #e60000;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  font-size: 16px;
  line-height: 22px;
  text-align: center;
  color: #333;
}

/************* OTP CSS *************/

.otp-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  max-width: 564px;
  margin: 40px auto;
}

.otp-header {
  font-size: 20px;
  font-weight: bold;
  line-height: 28px;
}

.otp-text {
  font-size: 20px;
  line-height: 26px;
  color: #333;
}

.otp-password {
  margin-top: 16px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 8px;
}

.otp-input {
  width: 51px;
  height: 44px;
  font-size: 24px;
  border: 1px solid #999999;
  border-radius: 6px;
  text-align: center;
  box-sizing: border-box;
}

.otp-timer {
  font-weight: bold;
  color: #666666;
  font-size: 18px;
  line-height: 20px;
}

.resender {
  text-decoration: underline;
  font-size: 14px;
  line-height: 28px;
  cursor: pointer;
}

.send-button-area {
  padding: 10px 20px 20px;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  background-color: #FFFFFF;
  box-sizing: border-box;
}

.send-button {
  cursor: pointer;
  color: white;
  border: 0;
  height: 44px;
  border-radius: 6px;
  transition: background-color 0.3s, transform 0.2s;
  font-size: 20px;
  line-height: 28px;
  padding: 8px 20px;
  width: 100%;
  max-width: 564px;
}

.send-button:active {
  transform: scale(0.98);
}

.send-button:disabled {
  transition: none;
}

/************* MEDIA QUARIES *************/

@media (max-width: 768px) {
  .header {
    height: 56px;
  }

  .header-section-one {
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 16px;
  }

  .red-logo {
    width: 32px;
    height: 32px;
  }

  .banner-image-area {
    padding: 24px 30px;
    min-height: 200px;
  }

  .banner-image-text {
    gap: 16px;
  }

  .container {
    margin: 8px 4px 34px;
  }

  .section {
    margin-top: 0px;
    padding-left: 3px;
    padding-right: 2px;
  }

  .section-title {
    font-size: 18px;
    line-height: 24px;
  }

  .section-service-text {
    font-size: 18px;
    line-height: 23px;
  }

  .section-cost-title {
    font-size: 18px;
    line-height: 20px;
  }

  .section-info-area,
  .section-info-example-two {
    font-size: 18px;
    line-height: 20px;
  }

  .section-info-example-three,
  .section-info-example-four {
    font-size: 14px;
    line-height: 16px;
  }

  .banner-text-title {
    font-size: 20px;
    line-height: 24px;
  }

  .banner-text-description {
    font-size: 14px;
    line-height: 18px;
  }

  .coin-logo,
  .info-logo {
    display: none;
  }

  .incorrect-pass {
    width: auto;
  }

  .error-text {
    font-size: 22px;
    line-height: 18px;
  }

  .error-btn {
    font-size: 16px;
  }

  .otp-container {
    padding-left: 20px;
    padding-right: 20px;
    gap: 12px;
    margin-top: 24px;
  }

  .otp-header {
    font-size: 18px;
    line-height: 28px;
  }

  .send-button,
  .otp-input,
  .otp-text {
    font-size: 16px;
    line-height: 26px;
  }

  .otp-password {
    gap: 7px;
    margin-top: 0px;
  }

  .otp-timer {
    font-size: 18px;
    line-height: 20px;
    margin-top: 2px;
  }

  .resender {
    font-size: 14px;
    line-height: 28px;
    margin-top: -8px;
  }

  .send-button {
    font-size: 20px;
    line-height: 28px;
  }

  .otp-input {
    width: 45px;
    height: 39px;
  }
}

@media (max-width: 375px) {
  body {
    padding-bottom: 30px;
  }

  .container {
    margin: 4px 2px 34px;
  }

  .section-info-area {
    margin-top: 8px;
  }

  .banner {
    display: none;
  }

  .section-title {
    font-size: 18px;
    line-height: 24px;
  }

  .section-service-text {
    font-size: 14px;
    line-height: 22px;
    margin-top: 8px;
  }

  .section-cost-title {
    font-size: 16px;
    line-height: 20px;
  }

  .section-info-title {
    font-size: 14px;
    line-height: 22px;
  }

  .section-info-example-three {
    font-size: 13px;
    line-height: 18px;
    margin-top: 4px;
  }

  .section-info-example-four {
    font-size: 13px;
    line-height: 16px;
    margin-top: 8px;
  }

  .otp-container {
    margin: 12px auto;
    padding-left: 6px;
    padding-right: 6px;
    gap: 4px;
  }

  .otp-header {
    font-size: 15px;
    line-height: 20px;
  }

  .otp-text {
    font-size: 14px;
    line-height: 20px;
  }

  .otp-input {
    width: 40px;
    height: 36px;
    font-size: 18px;
  }

  .otp-timer {
    font-size: 14px;
    line-height: 18px;
  }

  .send-button-area {
    padding: 8px 12px 12px;
  }

  .send-button {
    height: 40px;
    font-size: 16px;
    line-height: 24px;
    padding: 6px 16px;
  }

  .incorrect-description {
    font-size: 14px;
    line-height: 18px;
    padding: 12px 16px;
  }
}

@media (max-width: 320px) {
  .container {
    margin: 2px 1px 34px;
  }

  .section-info-area {
    margin-top: 6px;
  }

  .section-title {
    font-size: 16px;
    line-height: 22px;
  }

  .otp-input {
    width: 32px;
    height: 30px;
    font-size: 14px;
  }

  .send-button {
    height: 36px;
    font-size: 14px;
    line-height: 20px;
  }

  .otp-header {
      line-height: 16px;
  }

  .incorrect-pass {
    margin-top: 6px;
  }
  .incorrect-head{
    padding-top: 3px;
    padding-bottom: 3px;
  }

  .incorrect-description{
    font-size: 13px;
    line-height: 16px;
    padding: 6px 4px;
  }
}

.debug-info {
  border: 1px solid #333333;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  margin: 0 auto;
  width: 90%;
  padding: 10px;
  background: #ccc;
}

#loadingOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 9999;
  display: none;
}

#loadingOverlay .spinner {
  position: absolute;
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  background: url("../img/vdf-speechmark.png") no-repeat center center;
  background-size: contain;
}
