

/* Start:/local/components/bussitora/auth/templates/.default/style.css?17925168208384*/
/**
 * Стили компонента bussitora:auth (РЛФ 2026).
 * Светлая эстетика Российского Лаунж Фестиваля: чистый белый, мягкие линии и фирменный розовый акцент.
 */

.rlf-auth-scope {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: calc(100vh - 120px);
  padding: 40px 16px;
  box-sizing: border-box;
}

.rlf-auth-scope * {
  box-sizing: border-box;
}

/* Карточка авторизации */
.rlf-auth-card {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border: 1px solid var(--line, #e7e7ef);
  border-radius: var(--radius, 20px);
  padding: 36px 32px;
  box-shadow: 0 10px 40px rgba(39, 32, 51, 0.06);
  text-align: center;
  animation: rlf-appear 0.25s ease-out;
}

@keyframes rlf-appear {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Шапка */
.rlf-auth-header {
  margin-bottom: 28px;
}

.rlf-auth-logo {
  width: 120px;
  height: auto;
  max-height: 65px;
  object-fit: contain;
  margin: 0 auto 24px;
  display: block;
}

.rlf-auth-badge-wrap {
  margin-bottom: 20px;
}

.rlf-auth-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: var(--ink, #40404a);
  margin: 0 0 12px;
}

.rlf-auth-subtitle {
  font-size: 13px;
  color: var(--muted, #767682);
  line-height: 1.5;
  margin: 0;
  min-height: 20px;
}

/* Переключатель способа входа: Телефон / Почта */
.rlf-auth-tabs {
  display: flex;
  background: #f4f4f7;
  border-radius: 14px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 22px;
  border: 1px solid #eaeaf0;
}

.rlf-auth-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
  border: none;
  background: transparent;
  color: var(--muted, #767682);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.rlf-auth-tab:hover:not(:disabled) {
  color: var(--ink, #40404a);
}

.rlf-auth-tab.is-active {
  background: #ffffff;
  color: var(--pink, #d93080);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.rlf-auth-tab .tab-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  stroke: currentColor;
}

.rlf-auth-tab:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Информационный баннер при регистрации по email */
.rlf-auth-info-banner {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  background: #fdf5f8;
  border: 1px solid #ffd6e6;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.45;
  color: #8c2149;
  text-align: left;
  margin-bottom: 8px;
}

.rlf-auth-info-banner .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--pink, #d93080);
}

/* Ошибки */
.field-error-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fdf0f4;
  border: 1px solid #f9ccd9;
  border-radius: 10px;
  color: #b32658;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 20px;
  text-align: left;
}

.field-error-box .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #d93080;
}

/* Формы */
.rlf-auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.rlf-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.name-input,
.email-input,
.phone-input {
  width: 100%;
  height: 52px;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  color: var(--ink, #40404a);
  background: #ffffff;
  border: 1.5px solid var(--line, #e7e7ef);
  border-radius: 12px;
  padding: 12px 16px;
  letter-spacing: 0.2px;
  outline: none;
  transition: border-color .18s, box-shadow .18s, background-color .18s;
  box-sizing: border-box;
}

.name-input:focus,
.email-input:focus,
.phone-input:focus {
  background: #ffffff;
  border-color: var(--pink, #d93080);
  box-shadow: 0 0 0 3px rgba(217, 48, 128, 0.15);
}

.name-input::placeholder,
.email-input::placeholder,
.phone-input::placeholder {
  color: #a0a0ad;
  font-weight: 400;
  letter-spacing: normal;
}

/* Шаг 2: Ввод кода */
.rlf-target-phone {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: #f6f6f9;
  border-radius: 10px;
  font-size: 13px;
  gap: 8px;
}

.rlf-target-phone .phone-text {
  font-weight: 700;
  color: var(--ink, #40404a);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rlf-target-phone .text-btn,
.rlf-target-phone .btn-link {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  color: var(--pink, #d93080);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: opacity .15s;
}

.rlf-target-phone .text-btn:hover,
.rlf-target-phone .btn-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.rlf-channel-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 2px 0;
}

.badge-email {
  background: #eef2ff;
  color: #4f46e5;
  border: 1px solid #c7d2fe;
}

.badge-tg {
  background: #e7f5fd;
  color: #0088cc;
}

.badge-max {
  background: #fff4e5;
  color: #e67e00;
}

.badge-sms {
  background: var(--pale, #ffebf3);
  color: var(--pink, #d93080);
}

/* 4 ячейки кода */
.rlf-code-boxes {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 10px 0 16px;
}

.rlf-code-box {
  width: 54px;
  height: 62px;
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: var(--ink, #40404a);
  background: #ffffff;
  border: 1.5px solid var(--line, #e7e7ef);
  border-radius: 12px;
  outline: none;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}

.rlf-code-box:focus {
  border-color: var(--pink, #d93080);
  box-shadow: 0 0 0 3px rgba(217, 48, 128, 0.15);
  transform: translateY(-1px);
}

.rlf-code-box.filled {
  border-color: #f4a4ca;
}

/* Повторная отправка */
.rlf-resend-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 6px 0 16px;
}

.email-fallback-btn,
.rlf-resend-area .email-fallback-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--pink, #d93080) !important;
  background: var(--pale, #ffebf3) !important;
  border: 1px solid #ffd1e5 !important;
  border-radius: 8px;
  cursor: pointer;
  padding: 8px 24px !important;
  margin: 6px 0 0 !important;
  text-decoration: none !important;
  box-sizing: border-box;
  transition: none !important;
}

.email-fallback-btn:hover,
.email-fallback-btn:focus,
.email-fallback-btn:active,
.rlf-resend-area .email-fallback-btn:hover,
.rlf-resend-area .email-fallback-btn:focus,
.rlf-resend-area .email-fallback-btn:active {
  text-decoration: none !important;
  color: var(--pink, #d93080) !important;
  background: var(--pale, #ffebf3) !important;
  border-color: #ffd1e5 !important;
  outline: none !important;
  box-shadow: none !important;
}

.rlf-fade-in {
  animation: rlf-fade-in-anim 0.22s ease-out;
}

@keyframes rlf-fade-in-anim {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Шаг 3: Успех */
.rlf-auth-success {
  text-align: center;
  padding: 16px 0;
}

/* Шаг 4: Авторизован */
.rlf-auth-authorized {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 0;
}

/* Подвал */
.rlf-auth-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line, #e7e7ef);
  font-size: 11px;
  color: var(--muted, #767682);
  text-align: center;
}

/* Адаптив под мобильные устройства */
@media (max-width: 480px) {
  .rlf-auth-scope {
    padding: 20px 12px;
    min-height: calc(100vh - 80px);
  }

  .rlf-auth-card {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .rlf-auth-title {
    font-size: 21px;
  }

  .rlf-code-boxes {
    gap: 8px;
  }

  .rlf-code-box {
    width: 48px;
    height: 56px;
    font-size: 22px;
  }
}

/* End */
/* /local/components/bussitora/auth/templates/.default/style.css?17925168208384 */
