body {
    margin: 0;
    font-family: sans-serif;
    background: url('../media/background.png') no-repeat center center/cover;
  }

.phone_inp {
    width: 100%;
}
.iti {
    width: 400px !important;
  }
  
  .iti input {
    width: 100% !important;
    box-sizing: border-box;
  }
  .input-wrapper {
    width: 100%;
  }
  
.iti__search-input {
    display: none !important;
  }

  .iti__country-name {
    display: none !important;
  }
 
  
  .iti__country {
    padding: 4px 6px !important;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  
  .iti__country-list {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .iti__dropdown {
    left: 0 !important;
  }
  .iti__flag-box {
    margin-right: 5px !important;
  }
  
  
  .container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 0 16px; /* 👈 Добавлен отступ по бокам */
    box-sizing: border-box;
  }
  
  .form-box {
    background: white;
    border-radius: 10px;
    padding: 30px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  



  
  a {
    text-decoration: none;
  }
  
  
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .header .lang-btn,
  .header .back-btn {
    background: transparent;
    border: 1px solid #ccc;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 5px;
  }
  
 
  .password-wrapper {
    position: relative;
  }
  
  .password-wrapper .toggle-password {
    margin-top: 5px;
    height: 24px;
    width: 24px;
    position: absolute;
    right: 12px;
    top: 12px;
    cursor: pointer;
  }
  
  
  .country-label {
    font-size: 14px;
    margin-top: 10px;
    display: block;
  }
  
  .phone-group {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .phone-group .flag {
    background: #eee;
    padding: 10px;
    border-radius: 6px;
  }
  
  .btn {
    font-size: 17px;
    font-weight: 500;
    width: 100%;
    padding: 12px;
    background: #FFDB1C;
    color: black;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
  }
  .input_span {
    color: rgb(121, 124, 130);
    font-size: 15px;
   
  }
  
  .input_width,
  form input,
  form select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 12px;
    margin: 8px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: #f3f4f6;
    font-size: 14px;
  }
  
  
  
  .dropdown-container label {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
  }

  .dropdown-container select {
    width: 100%;
    background: #f3f4f6;
    border: none;
    padding: 12px;
    font-size: 14px;
    font-weight: normal;
    appearance: none;
    border-radius: 6px;
  }
  select option {
    color: rgb(121, 124, 130);
    font-family: 'Arial', sans-serif; /* Шрифт */
    font-size: 15px; /* Размер шрифта */
    background-color: #f3f4f6; /* Цвет фона */
  }
  select:focus {
    outline: none;
    box-shadow: none;
  }
  select:invalid {
    color: #797c82;
  }
  /* Адаптивность формы регистрации */
@media (max-width: 768px) {
  .form-box {
    padding: 20px;
    margin: 0 15px;
    box-sizing: border-box;
  }

  .form-box h2 {
    font-size: 20px;
  }

  form input,
  form select,
  .input_width {
        padding-right: 20px;
  }

  .iti {
    width: 100% !important;
  }

  .btn {
    font-size: 16px;
    padding: 10px;
  }

  .header {
    gap: 10px;
  }

  .header h2 {
    font-size: 20px;
  }

  .header .lang-btn,
  .header .back-btn {
    padding: 6px 10px;
  }

  .toggle-password {
    top: 10px;
    right: 10px;
  }
}

  
  