*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Barlow Semi Condensed', sans-serif;
}
body {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: #f0f0f0; /* фон страницы */
}

.photo {
    flex: 1.1;
    height: 100vh; /* Высота 100% высоты экрана */
    background-image: url(/static/images/For_flexible_singles.png);
    background-size: cover; /* Масштабирование изображения, чтобы оно покрывало весь блок */
    background-position: center; /* Центрирование изображения */
    background-repeat: no-repeat; /* Изображение не повторяется */
}

.photo_aff {
    flex: 1.1;
    height: 100vh; /* Высота 100% высоты экрана */
    background-image: url(/static/images/authorization/Pavilion-Club.jpg);
    background-size: cover; /* Масштабирование изображения, чтобы оно покрывало весь блок */
    background-position: center; /* Центрирование изображения */
    background-repeat: no-repeat; /* Изображение не повторяется */
}


.photo_vip {
    flex: 1.1;
    height: 100vh; /* Высота 100% высоты экрана */
    background-image: url(/static/images/authorization/For_flexible_singles.png);
    background-size: cover; /* Масштабирование изображения, чтобы оно покрывало весь блок */
    background-position: center; /* Центрирование изображения */
    background-repeat: no-repeat; /* Изображение не повторяется */
}



.wrapper {
    height: 100vh;
    flex: 1;
    flex-direction: column;
    box-sizing: border-box;
    display:flex;
    align-items:center;
}
.main-cont {
    width: 70%;
    height: 125vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.wrapper h1{
  font-size: 20px;
  text-align: center;
  font-weight:normal;
  font-family: 'Barlow Semi Condensed', sans-serif;
}
.wrapper .input-box{
  position: relative;
  width: 100%;
  height: 50px;

  margin: 30px 0;
}
.input-box input{
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  border: 1px solid black;
  border-radius: 10px;
  font-size: 16px;
  color: black;
  padding: 10px;
}
.input-box input::placeholder{
  color: black;
}
.input-box i{
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  pointer-events: none; /* Щоб іконка не блокувала кліки */
}
.input-box svg {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  pointer-events: none; /* Щоб іконка не блокувала кліки */
}
.wrapper .remember-forgot{
  display: flex;
  justify-content: space-between;
  font-size: 14.5px;
  margin: -15px 0 15px;
}
.remember-forgot label input{
  accent-color: black;
  margin-right: 3px;

}
.remember-forgot a{
  color: black;
  text-decoration: none;

}
.remember-forgot a:hover{
  text-decoration: underline;
}
.wrapper .btn{
  width: 100%;
  height: 45px;
  background-color: transparent;
  border: none;
  outline: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 16px;
  color: #333;
  border: 1px solid #EFD173;
  font-weight: normal;
  transition: transform 0.3s; /* Плавний перехід */
}
.btn:hover {
   box-shadow: 0 0 10px rgba(0, 0, 0, .1);
   transform: scale(1.05); /* Збільшення розміру при наведенні */
}
.wrapper .register-link{
  font-size: 14.5px;
  text-align: center;
  margin: 20px 0 15px;

}
.register-link p a{
  color: black;
  text-decoration: none;
  font-weight: 600;
}
.register-link p a:hover{
  text-decoration: underline;
}

.go_home {
    color: black;
    transition: transform 0.3s; /* Плавний перехід */
}
.go_home:hover{
    transform: scale(1.01); /* Збільшення розміру при наведенні */
}

.firs-and-last-name {
    display: flex;
    gap:2%;
    align-items: flex-start;
}
.register-inp {
    margin:2% 0 2% 0 !important;
}

.field-col {
    flex: 1;
}

.input-label {
    font-size: 13px;
    color: #5F5F5F;
    margin: 0 0 6px 2px;
}
.selector-reg {

}

/*error message*/
.error-message {
    color: red;  /* Колір тексту */
    font-size: 16px;  /* Розмір шрифту */
    font-weight: bold;  /* Насиченість шрифту */
    text-align: center;
    margin-top: 20px;
    /* Додаткові стилі, які вам можуть знадобитися */
}

.bottom-text {
    color: #A1A1A1;
    font-size: 10px;
    align-self:center;
    width: 70%;
}

.selector {
    margin:0;
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    border: 1px solid black;
    border-radius: 10px;
    font-size: 16px;
    color: black;
    padding: 10px;
}
        .stripe-button {
            display: inline-block;
            background-color: #6772e5;
            color: white;
            font-size: 16px;
            padding: 9px 35px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            transition: background-color 0.3s ease;
            text-decoration: none; /* Видалити підкреслення для посилання */
            text-align: center; /* Центрувати текст всередині кнопки */
            margin-bottom: 10px;
            margin-top: 15px;
        }

        .stripe-button:hover {
            background-color: #5469d4;
        }

        .stripe-button:active {
            background-color: #3c4db7;
        }

        .stripe-button:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(50, 115, 220, 0.5);
        }

.black-buttons{
    background: #202226;
    padding-left: 21px;
    padding-right: 20px;
    text-align: center;
}
.black-buttons:hover{
    background: black;
}

/* Modal window */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}
.modal-content {
    background-color: #E1DFDF;
    margin: 10% auto;
    padding: 20px;
    border-radius: 50px;
    width: 40%;
    height: auto;
    font-family: 'Barlow Semi Condensed', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: left;
    position: relative; /* Встановлено для позиціонування кнопки закриття */
}
.modal-content h2{
  font-weight:normal;
  font-family: 'Prata', serif !important;
}
.close {
    position: absolute; /* Встановлюємо абсолютне позиціонування для кнопки закриття */
    top: 20px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-content input,
.modal-content li{
    width: 100%;
    padding: 10px 15px 10px 15px;
    border: 1px solid #EFD173 !important;
    border-radius: 15px !important;
    font-family: 'Barlow Semi Condensed', sans-serif !important;
    font-weight: normal !important;
    color: #5F5F5F !important;
    font-size: 15px !important;
    background: transparent !important;
    outline: none; /* Відключення синьої рамки в деяких браузерах */
}

.modal-content input:focus{
    border: 1px solid #EFD173 !important; /* Залишаємо такий же колір бордера при фокусі */
    box-shadow: 0 0 5px #5F5F5F; /* Додаємо тінь при фокусі */
}

.modal-btn{
  width: 100%;
  height: 45px;
  background: opacity;
  border: none;
  outline: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 16px;
  color: #333;
  border: 1px solid #EFD173;
  font-weight: normal;
  transition: transform 0.3s; /* Плавний перехід */
  background: #EFD173;
  color: white;

}
.modal-btn:hover {
   box-shadow: 0 0 10px rgba(0, 0, 0, .1);
   transform: scale(1.05); /* Збільшення розміру при наведенні */
}

@media (max-width: 1000px) {
.photo {
    display:none;
 }
 .modal-content{
    width: 60%;
 }
 .photo_aff{
    display:none;
 }
 .photo_vip{
    display:none;
 }

}

@media (max-width: 600px) {
    .main-cont {
        width:90%;
    }
    .modal-content{
        width: 80%;
    }
}

