/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Font Faces */
@font-face {
  font-family: MontserratBold;
  src: url(../fonts/Montserrat-Bold.ttf);
  font-display: swap;
}

@font-face {
  font-family: MontserratSemiBold;
  src: url(../fonts/Montserrat-SemiBold.ttf);
  font-display: swap;
}

@font-face {
  font-family: MontserratMedium;
  src: url(../fonts/Montserrat-Medium.ttf);
  font-display: swap;
}

@font-face {
  font-family: MontserratNormal;
  src: url(../fonts/Montserrat-Regular.ttf);
  font-display: swap;
}

/* Main Layout Containers */
.payment {
  padding-top: 18px;
  padding-bottom: 76px;
  min-height: 100vh;
}

.payment-container {
  max-width: 470px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* Page Title */
.paymentTitle {
  font-family: MontserratMedium;
  text-align: center;
  font-weight: 500;
  font-size: 24px;
  line-height: 100%;
  margin-bottom: 31px;
}

/* Form Styles */
.form {
  font-family: sans-serif;
  padding: 28px 19px 41px 19px;
  border: 2px solid #e3e3e3;
  border-radius: 15px;
}

.form-div {
}

.form label {
  font-family: MontserratNormal, sans-serif;
  font-weight: 400;
  display: block;
  font-size: 16px;
  color: #000;
  margin-bottom: 10px;
}

input[type="text"] {
  font-family: MontserratNormal, sans-serif;
  font-weight: 400;
  width: 100%;
  padding: 15px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  color: #000;
}

input[type="tel"] {
  font-family: MontserratNormal, sans-serif;
  font-weight: 400;
  width: 100%;
  padding: 15px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  color: #000;
  margin: 2px 0px;
}

/* Phone Input Container */
.phone-input-container {
  display: flex;
  align-items: center;
  width: 100%;
}

.country-selector {
  position: relative;
  min-width: 100px;
  margin-right: 8px;
}

.selected-country {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  padding: 15px 10px;
  background-color: #f5f5f5;
}

.country-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 200px;
  max-height: 250px;
  overflow-y: auto;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  z-index: 10;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.country-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.country-option:hover {
  background-color: #f5f5f5;
}

.country-option.selected {
  background-color: #f0f0f0;
  font-weight: 500;
}

.country-code {
  color: #666;
  font-size: 0.9em;
}

/* Button Styles */
.submit-button {
  width: 100%;
  padding: 21px 0px;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 19px;
  cursor: pointer;
  margin-top: 24px;
  background-color: #399CFF;
  font-family: MontserratSemiBold, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}

/* Privacy Policy Container */
.privacy-policy-container {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}

#privacyCheckbox {
  width: 25px;
  height: 25px;
  accent-color: #007bff;
}

.privacy-label > span {
  color: #ff8461;  
}

.privacy-label {
  font-size: 13px !important;
  font-family: MontserratNormal, sans-serif;
  font-weight: 400;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Error Messages */
.error-message,
.warning-p {
  color: #cb0000;
  font-size: 14px;
  margin-top: 5px;
  font-family: MontserratNormal, sans-serif;
  font-weight: 400;
}

/* Footer Styles */
footer {
  background-color: #000;
  padding-top: 17px;
  padding-bottom: 22px;
  color: #fff;
  text-align: center;
}

.footer-container {
  max-width: 375px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 22px;
  padding-right: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.footer-title {
  font-family: MontserratMedium, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}

.contact {
  font-family: MontserratBold, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 100%;
}

.address,
.disclaimer {
  font-family: MontserratNormal, sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 100%;
}

.disclaimer {
  text-align: center;
}

/* Utility Classes */
.mt-17 {
  margin-top: 17px;
}


.payment__help {
  border-radius: 20px;
  padding: 22px 20px 30px 20px;
  border: 2px solid var(--color-grey-89, #e3e3e3);
}

.payment__help-text {
  font-size: 18px;
  font-family: MontserratNormal, sans-serif;
  max-width: 236px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  margin-bottom: 23px;
}
.payment__btn--admin {
  background-color: #d1444e;
  border: 1px solid #d1444e;
}


.payment__btn--telegram {
  border: 1px solid #3a9cff;
}

.payment__btn {
  display: flex;
  justify-content: center;
  padding: 20px;
  width: 100%;
  background-color: #D1434E;
  border-radius: 10px;
  font-family: MontserratSemiBold, sans-serif;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 18px;
}

.payment__helpContainer {
  max-width: 369px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.thankYou {
  padding-top: 93px;
  min-height: 100vh;
  padding-bottom: 93px;
}
.thankYouContainer {
  max-width: 331px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 55px;
}
.thankYouTitle {
  font-family: MontserratBold;
  font-weight: 700;
  font-size: 35px;
  line-height: 100%;
  text-align: center;
  margin-top: 29px;
  margin-bottom: 17px;
}

.thankYouText {
  font-family: MontserratMedium, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}

/* Media Queries */
@media (max-width: 480px) {
  .paymentTitle {
    font-size: 22px;
  }
}
     .subscription-select {
        width: 100%;
        padding: 14px;
        border: 1px solid #ccc;
        border-radius: 8px;
        font-size: 16px;
        margin-top: 8px;
        background-color: #fff;
        cursor: pointer;
      }
      
      .subscription-select:focus {
        outline: none;
        border-color: #007bff;
      }
      
      .select-container {
        margin-bottom: 20px;
      }