/* Общие стили блока */
.section_home__form {
    padding-top: 10px;
    text-align: center;
    display: flex;
    justify-content: center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.section_home__form .form {
gap:20px;
}

.section_home__form .reg-form {
    max-width: 1136px;
    margin-bottom: 32px;
    display: flex;
    align-items: stretch;
    width: 100%;
    border-radius: 20px;
    transition: height 0.3s ease;
    flex-direction: column;
}

.section_home__form .title-reg-bonus {
    font-weight: 700;
    font-size: 32px;
    line-height: 42px;
    margin-bottom: 8px;
    color: #fff;
    text-align: center;
    font-family: "Roboto";
}

.section_home__form .text-reg-bonus {
    position: relative;
    font-size: 16px;
    color: #bec2c9;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}




.section_home__form .form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 746px;
    margin: 0 auto;
}

.section_home__form .form {
    display: flex;
    justify-content: center;
    flex-basis: 100%;
}

.section_home__form .form input,
.section_home__form .btn-currency  {

    padding: 0 12px;
    height: 56px;
    line-height: 1.85;
    border-radius: 16px;
    background: none #fff;
    border: 2px solid #fff;
    color: #020304;
    font-size: 13px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    align-content: center;
}
.currency-input__field{
border:none !important;
}
.section_home__form .form input:hover,
.section_home__form .btn-currency:hover {
    border: solid 1px #4374f6;
}

.section_home__form .btn-currency {
    flex-basis: 25%;
    position: relative;
    text-transform: uppercase;
    color: black;
    display: flex;
    align-items: center;
}

.section_home__form .btn-currency::after {
    content: "❮";
    position: absolute;
    right: 5px;
    font-size: 0.7rem;
    transform: rotate(-90deg) translateY(-50%);
    color: #bec2c9;
}

.section_home__form .label-checkbox {
    display: flex;
    width: 100%;
    margin: 0 auto;
    position: relative;
    min-height: 18px;
    text-align: left;
    margin: 15px 0;
}

.section_home__form .label-checkbox a {
    text-decoration: underline;
}

.section_home__form .checkbox {
    display: none;
    height: 0;
    width: 0;
}

.section_home__form .checker {
    display: inline-block;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
    text-align: left;
    letter-spacing: normal;
    position: relative;
}



.section_home__form .open-an-account {
   animation: btn-gradient 1.5s linear infinite;
    background: linear-gradient(93.45deg, #cfa200, #cfa200 5%, #f9cc2d 30%, #fff3ca 50%, #f9cc2d 70%, #cfa200 95%, #cfa200);
    background-size: 200% 100%;
    color: #141416;
    width: 100%;
    min-height: 60px;
    display: flex;
    color:black;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    width: 100%;
    padding: 5px 20px;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0.2px;
    font-style: normal;
    margin: 7px 0 20px;
    font-family: "Roboto";
}

.section_home__form .open-an-account:hover {
    color: #fff;
    background-color: #5d89fc;
    border: none;
}

.section_home__form .recaptcha {
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: #696e7e;
    text-align: center;
    font-family: "Roboto";
}

.section_home__form .reg-form__blocks {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 68px;
}

.section_home__form .reg-form__form-bonus {
    max-width: calc(25% - 10px);
    display: flex;
    align-items: center;
    min-height: 88px;
    padding: 12px;
    background-color: #1e2026;
    border-radius: 16px;
}

.section_home__form .wr-img-bonus {

    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-right: 12px;
}

.section_home__form .wr-img-bonus img {
    object-fit: contain;
    max-width: 64px;
    border-radius: 16px;
}

.section_home__form .title-block {
    font-size: 20px;
    font-weight: 500;
    line-height: 33px;
    font-family: "Roboto";
}

.section_home__form .text-block {
    font-size: 12px;
    line-height: 18px;
    color: #bec2c9;
    letter-spacing: -0.2px;
}

.section_home__form .reg_form-wr-content {
    text-align: left;
}

/* Мобильные стили */
@media (max-width: 1280px) {
    .section_home__form .reg-form__blocks {
        max-width: 960px;
        flex-wrap: wrap;
    }
    .section_home__form .reg-form__form-bonus {
        max-width: calc(50% - 10px);
    }
	.form-container{
		padding-right:5%;
		padding-left:5%;
	}
}

@media (max-width: 768px) {
	
    .section_home__form .reg-form {
        align-items: stretch;
        max-width: 450px;
    }
    .section_home__form .form {
        flex-wrap: wrap;
    }
    .section_home__form .form input,
    .section_home__form .btn-currency {
        flex-basis: 100%;
    }
    .section_home__form .reg-form__form-bonus {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .section_home__form .title-block {
        font-size: 18px;
    }
    .section_home__form .reg-form {
        max-width: 100%;
    }
    .currency-select-wrapper{
   max-width: 100% !important;
    }
}

.label-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox {
    position: absolute;
    opacity: 0;
}

.checkbox__input-default {
    width: 16px;
    height: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: inline-block;
    margin-right: 8px;
    transition: background-color 0.2s ease;
}

.checkbox:checked + .checkbox__input-default {
    background-color: #007bff;
    border-color: #007bff;
}
.section_home__form .checkbox:checked + .checkbox__input-default {
    background-color: #007bff;
    border-color: #007bff; 
    box-shadow: inset 0 0 0 2px white;
}
.section_home__form .checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: all;
    width: 18px;
    height: 18px;
    z-index: 1;
    cursor: pointer;
}


.text-reg-bonus::before {
    content: "";
    background: url(
"/wp-content/uploads/2024/12/download.svg") !important;
    background-repeat: no-repeat !important;
    width: 24px;
    height: 24px;
    display: block;
}

@media (max-width: 576px) {
    .section_home__form .form {
        .currency-input__field {
            width: 100% !important;
        }
    }
    .registration-form-nomodal__element--country {
        max-width: 100% !important; 
    }
}

    .section_home__form .reg-form__blocks {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .section_home__form .reg-form__form-bonus {
        width: calc(50% - 10px); /* same width */
        height: 120px; /* same height, adjust as needed */
        max-width: none;
    }
}
.label-checkbox {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    white-space: normal; /* Allow text to wrap */
}

.checkbox__input-default {
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
    flex-shrink: 0;
    background-color: transparent;
}

.checkbox:checked + .checkbox__input-default {
    background-color: #4374f6;
    border-color: #4374f6;
}

.checkbox__input-default::after {
    /* Tick icon inside checkbox */
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background-image: url("data:image/svg+xml,%3Csvg fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 13l4 4L19 7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    opacity: 0;
    transform: translate(-50%, -50%);
}

.checkbox:checked + .checkbox__input-default::after {
    opacity: 1;
}

.checker p {
    margin: 0;
    white-space: normal; /* Allow text to wrap */
    font-size: 14px;
    line-height: 1.4;
    color: #fff;
}

/* Input стилі */
.currency-select-wrapper {
  position: relative;
  display: inline-block;
  width: 100%; /* Автоматична ширина */
  max-width: 300px; /* Максимальна ширина */
  font-family: Arial, sans-serif;
}

.currency-input {
  padding: 0 12px;
  height: 56px;
  line-height: 1.85;
  border-radius: 16px;
  background: #fff;
  border: 2px solid #fff;
  color: #020304;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  cursor: pointer;
}

.currency-input__field {
  background: none;
  border: none;
  outline: none;
  font-weight: 700;
  color: #020304;
  cursor: pointer;
}

.currency-input__button {
  background: none;
  border: none;
  font-size: 12px;
  color: #020304;
  cursor: pointer;
}

/* Dropdown стилі */
.currency-dropdown {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 100%; /* Підлаштування під ширину input */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(60px, 1fr)); /* Адаптивна ширина валют */
  gap: 6px;
  background-color: #fff;
  border: 2px solid #fff;
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  max-height: 216px;
  overflow-y: auto;
}

.currency-option {
  background: #e9eaf4 !important;
  border-radius: 12px;
color: #323542 !important;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 0;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
border:none !important;
}

.currency-option:hover,
.currency-option--selected {
  background-color: #4874f2;
  color: #fff;
}
.currency-option--selected{
    background-color: #4874f2 !important;
}
.input__native{
width: 100% !important
}
@media (max-width: 576px) {
.registration-form-nomodal__element--country{
max-width:100% !important
}
}
.input__focus-container{
border-radius:16px !important;
}

.currency-select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 300px;
    font-family: Arial, sans-serif;
}
.option:active, .option:focus, .option:hover {
    background-color: white !important;
    color: #fcfcfc;
}