* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: #e0e0e0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
}
      .register-form {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
  }
  .form-frame {
    background: #fff;
    padding: 40px 50px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    width: 50%;              /* половина экрана */
    min-width: 700px;        /* чтобы не была слишком узкой на телефонах */
  }
  .form-frame h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #1565c0;
    font-size: 2em;
  }
  .input-group {
    margin-bottom: 20px;
  }
  .input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
  }
  .input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 16px;
  }
  .hint {
    font-size: 13px;
    color: #666;
    margin-top: 3px;
  }
  .error {
    color: red;
    font-size: 13px;
    display: none;
  }
  .buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
  }
  .btn {
    padding: 12px 25px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
  }
  .btn-register {
    background: #1565c0;
    color: #fff;
  }
  .btn-clear {
    background: #ccc;
    color: #000;
  }

        .header {
            display: flex;
            align-items: center;
            justify-content: space-between; /* Равномерное распределение элементов по ширине */
            padding: 20px;
            background-color: #616161; /* Цвет фона заголовка */
            color: #fff; /* Цвет текста */
        }
        .logo-container {
            display: flex;
            align-items: center;
        }
        .logo {
            width: 100px; /* Размер иконки */
            height: auto;
            margin-right: 20px;
        }
        .studio-name {
            font-size: 48px;
            margin-right: 20px;
            margin-left: 160px; /* Отступ от левого края */
        }
        .links {
            text-align: right;
            padding: 20px;
        }
        .links a {
            color: #fff; /* Цвет ссылок */
            text-decoration: none; /* Убираем подчеркивание ссылок */
            margin-left: 20px;
        }
        .links a:hover {
            color: #ccc; /* Цвет ссылки при наведении */
        }

.two-blocks {
  display: flex;
  justify-content: center;   /* выравниваем оба блока по центру страницы */
  align-items: flex-start;   /* выравниваем по верхней линии */
  gap: 40px;                 /* расстояние между блоками */
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 20px 50px;  /* отступы сверху и снизу */
}

.two-blocks {
  display: flex;
  justify-content: center;   /* центрируем по горизонтали */
  align-items: flex-start;   /* выравниваем по верхнему краю */
  gap: 40px;                 /* расстояние между блоками */
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 20px 50px;  /* отступ сверху/снизу */
  flex-wrap: wrap;           /* разрешаем перенос блоков */
}

.block {
  flex: 1;
  min-width: 300px;
  max-width: 450px;
  background: #e3f2fd;
  border-left: 4px solid #1565c0;
  padding: 25px 30px;
  border-radius: 15px;
  color: #37474f;
  font-size: 16px;
  line-height: 1.6em;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Заголовки */
.block h3 {
  margin-bottom: 15px;
  color: #1565c0;
  font-size: 1.3em;
}

/* Списки */
.block ul {
  list-style: none;
  padding-left: 0;
}

.block li {
  margin-bottom: 10px;
  font-weight: 500;
}

/* --- Адаптив --- */
@media (max-width: 900px) {
  .two-blocks {
    flex-direction: column;  /* блоки становятся друг под другом */
    align-items: center;     /* центрируем по горизонтали */
  }

  .block {
    max-width: 600px;        /* чтобы не были слишком узкими */
    width: 100%;
  }
}


/* Контейнер формы */
.auth-form {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 60px;     /* высота хедера */
  padding-bottom: 50px;  /* высота футера, чтобы не перекрывал форму */
}

/* Форма */
.form-frame {
  background: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
}

.form-frame h2 {
  text-align: center;
  color: #1565c0;
  margin-bottom: 30px;
  font-size: 1.8em;
  font-weight: 600;
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  color: #37474f;
  font-weight: 500;
}

.input-group input {
  width: 100%;
  padding: 12px;
  border: 2px solid #bbdefb;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.input-group input:focus {
  outline: none;
  border-color: #1e88e5;
  box-shadow: 0 0 8px rgba(30, 136, 229, 0.2);
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.checkbox-group input {
  margin-right: 10px;
  accent-color: #1e88e5;
}

.checkbox-group label {
  color: #546e7a;
  font-weight: 500;
}

.buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.btn {
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-login {
  background: #84b4eb;
  color: white;
}

.btn-login:hover {
  background: #1565c0;
}

.btn-register {
  background: white;
  color: #84b4eb;
  border: 2px solid #84b4eb;
}

.btn-register:hover {
  background: #e3f2fd;
}

.forgot-password {
  text-align: center;
  color: #1e88e5;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-top: 10px;
}

.forgot-password:hover {
  color: #0d47a1;
  text-decoration: underline;
}

footer {
    background: #616161;
    color: white;
    padding: 40px 0 30px;
    margin-top: auto;
}

.contact-info {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info h3 {
    margin-bottom: 25px;
    font-size: 1.8em;
    font-weight: 500;
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.contact-details p {
    margin: 8px 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-details i {
    margin-right: 10px;
    font-size: 1.2em;
}
.copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    color: #e3f2fd;
}
