@charset "UTF-8";
/* Сброс стилей и базовые настройки */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  background-color: transparent;
  color: #333;
  line-height: 1.5;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* Скрываем секцию шаблонов */
.section_templates {
  display: none !important;
}

/* Стили для блока авторизации */
.section_authorization.block {
  background-color: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.section_authorization h1 {
  color: #1a1a1a;
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 700;
}

.section_authorization .description {
  color: #666;
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.5;
}

/* Кнопка ВКонтакте */
.vk-auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4a76a8 0%, #3d6391 100%);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(74, 118, 168, 0.25);
  width: 100%;
  max-width: 280px;
}

.vk-auth-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(74, 118, 168, 0.35);
  background: linear-gradient(135deg, #3d6391 0%, #2c4a6e 100%);
}

.vk-auth-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(74, 118, 168, 0.25);
}

.vk-logo {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background-color: white;
  border-radius: 4px;
  padding: 2px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Стили для секции голосования */
.section_vote.form-vote {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  margin-top: 1em; /* отступ секции сверху */
}

.container {
  width: 100%;
}

/* Стили для формы голосования */
.form {
  background-color: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
  margin-bottom: 16px;
}

.action_shortlist_vote h1 {
  color: #1a1a1a;
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

.action_shortlist_vote .description {
  color: #666;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.5;
}

/* Стили для радиокнопок */
.form__radio_btns {
  margin: 20px 0;
}

.radio {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 12px;
  padding: 16px;
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: #fafafa;
  font-size: 15px;
  font-weight: 500;
}

.radio:hover {
  border-color: #4a76a8;
  background-color: #f8fafd;
  transform: translateX(2px);
}

.radio__input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.radio__checkmark {
  position: relative;
  height: 20px;
  width: 20px;
  background-color: white;
  border: 2px solid #ccc;
  border-radius: 50%;
  margin-right: 12px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.radio__input:checked ~ .radio__checkmark {
  border-color: #4a76a8;
  background-color: white;
}

.radio__input:checked ~ .radio__checkmark:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #4a76a8;
}

.radio__input:focus ~ .radio__checkmark {
  box-shadow: 0 0 0 3px rgba(74, 118, 168, 0.2);
}

/* Кнопка голосования */
.button.form__button {
  background: linear-gradient(135deg, #4CAF50 0%, #3d8b40 100%);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  margin-top: 20px;
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.25);
}

.button.form__button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.35);
  background: linear-gradient(135deg, #3d8b40 0%, #2d682f 100%);
}

.button.form__button:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(76, 175, 80, 0.25);
}

.button.form__button:disabled {
  background: #cccccc;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Адаптивность */
@media (max-width: 768px) {
  .section_authorization.block,
  .form {
    padding: 20px;
    margin: 0 12px 12px 12px;
  }
  .section_authorization h1,
  .action_shortlist_vote h1 {
    font-size: 20px;
  }
  .vk-auth-btn {
    padding: 14px 20px;
    font-size: 15px;
  }
  .radio {
    padding: 14px;
    margin-bottom: 10px;
    font-size: 14px;
  }
  .button.form__button {
    padding: 14px 24px;
    font-size: 15px;
  }
}
@media (max-width: 480px) {
  .section_authorization.block,
  .form {
    padding: 16px;
    border-radius: 8px;
  }
  .section_authorization h1,
  .action_shortlist_vote h1 {
    font-size: 18px;
  }
  .vk-auth-btn {
    padding: 12px 16px;
    font-size: 14px;
  }
  .radio {
    padding: 12px;
    font-size: 14px;
  }
  .radio__checkmark {
    width: 18px;
    height: 18px;
    margin-right: 10px;
  }
}
/* VOTING result */
/* Стили для сообщений */
.form__input_error {
  color: #ff3333;
  font-size: 14px;
  margin: 8px 0;
  padding: 8px 12px;
  background-color: #ffebee;
  border: 1px solid #ffcdd2;
  border-radius: 6px;
}

.form__input_error-text {
  color: #dc3545;
  font-size: 14px;
  margin-top: 6px;
  display: block;
}

.result {
  padding: 12px 16px;
  border-radius: 8px;
  margin: 16px 0;
  font-size: 15px;
  font-weight: 500;
}

.result_success {
  color: #2e7d32;
  background-color: #e8f5e9;
  border: 1px solid #c8e6c9;
}

.result_error {
  color: #c62828;
  background-color: #ffebee;
  border: 1px solid #ffcdd2;
}

/* Анимация появления */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.result {
  animation: fadeIn 0.3s ease;
}

/* === Для раунда NOMINATION === */
/* Стили для формы номинации */
.form .logo {
  display: block;
  margin: 0 auto 24px auto;
  max-width: 160px;
  height: auto;
}

.action_longlist_vote {
  width: 100%;
}

.label-wrapper {
  margin-bottom: 16px;
}

.label-wrapper label {
  display: block;
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}

.field {
  margin-bottom: 4px;
  margin-top: 8px;
  width: 100%;
}

.form__input {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
  background-color: white;
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  transition: all 0.2s ease;
  outline: none;
}

.form__input:focus {
  border-color: #4a76a8;
  box-shadow: 0 0 0 3px rgba(74, 118, 168, 0.1);
}

.form__input::-moz-placeholder {
  color: #999;
}

.form__input::placeholder {
  color: #999;
}

.form__input:hover:not(:focus) {
  border-color: #ccc;
}

/* Для нескольких полей ввода */
.field + .field {
  margin-top: 8px;
}

/* Сообщения об ошибках валидации */
.form__input_error {
  color: #dc3545;
  font-size: 14px;
  margin: 8px 0;
  padding: 8px 12px;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 6px;
}

.form__input:invalid {
  border-color: #dc3545;
}

.form__input:invalid:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

textarea.form__input {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
  line-height: 1.5;
}

textarea.form__input:focus {
  min-height: 100px;
}

/* Адаптивность для формы номинации */
@media (max-width: 768px) {
  .form .logo {
    max-width: 140px;
    margin-bottom: 20px;
  }
  .label-wrapper label {
    font-size: 15px;
  }
  .form__input {
    padding: 12px 14px;
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .form .logo {
    max-width: 120px;
    margin-bottom: 16px;
  }
  .label-wrapper label {
    font-size: 14px;
  }
  .form__input {
    padding: 10px 12px;
    font-size: 14px;
  }
}
/* Общие стили для всех форм */
.form {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* === Yandex === */
/* Кнопка Яндекс авторизации - вариант 1 (простая) */
.yandex-auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FF3B30 0%, #FF9500 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(255, 59, 48, 0.25);
  width: 100%;
  max-width: 280px;
  gap: 10px;
}

.yandex-auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 59, 48, 0.35);
  background: linear-gradient(135deg, #E5352B 0%, #E68400 100%);
}

.yandex-auth-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(255, 59, 48, 0.25);
}

.yandex-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: white;
  color: #FF3B30;
  border-radius: 6px;
  font-weight: 900;
  font-size: 16px;
  line-height: 1;
}

/* Кнопка Яндекс ID - вариант 2 */
.yandex-id-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: white;
  color: #333;
  border: 2px solid #E6E6E6;
  border-radius: 12px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  max-width: 280px;
  gap: 12px;
}

.yandex-id-btn:hover {
  border-color: #FF3B30;
  background-color: #FFF5F5;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 59, 48, 0.1);
}

.yandex-id-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(255, 59, 48, 0.1);
}

.yandex-id-icon {
  flex-shrink: 0;
}

/* Кнопка с логотипом Яндекс - вариант 3 */
.yandex-logo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FF3B30;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  max-width: 280px;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(255, 59, 48, 0.25);
}

.yandex-logo-btn:hover {
  background: #E5352B;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 59, 48, 0.35);
}

.yandex-logo-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(255, 59, 48, 0.25);
}

.yandex-logo {
  flex-shrink: 0;
}

/* Адаптивность для кнопок Яндекс */
@media (max-width: 768px) {
  .yandex-auth-btn,
  .yandex-id-btn,
  .yandex-logo-btn {
    padding: 14px 24px;
    font-size: 15px;
    max-width: 260px;
  }
  .yandex-icon {
    width: 22px;
    height: 22px;
    font-size: 15px;
  }
}
@media (max-width: 480px) {
  .yandex-auth-btn,
  .yandex-id-btn,
  .yandex-logo-btn {
    padding: 12px 20px;
    font-size: 14px;
    max-width: 240px;
  }
  .yandex-icon {
    width: 20px;
    height: 20px;
    font-size: 14px;
  }
}