.quick-phone-auth__modal {
  display: none;
  max-width: 420px;
  margin: 0 auto;
}

.quick-phone-auth__content {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  width: 100%;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.mfp-content .quick-phone-auth__modal {
  display: block;
}

.quick-phone-auth__close {
  position: absolute;
  right: 12px;
  top: 12px;
  background: none;
  border: none;
  font-size: 24px;
}

.quick-phone-auth__title {
  margin-top: 0;
  font-size: 1.4em;
}

.quick-phone-auth__label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.quick-phone-auth__step input[type="tel"],
.quick-phone-auth__step input[type="text"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 12px;
}

.quick-phone-auth__submit,
.quick-phone-auth__yandex,
.quick-phone-auth__resend {
  display: inline-block;
  background: #ff6a00;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 16px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

.quick-phone-auth__trigger {
  display: inline-block;
  margin-top: 12px;
  color: #ff6a00;
  text-decoration: underline;
  cursor: pointer;
}

.quick-phone-auth__trigger:hover,
.quick-phone-auth__trigger:focus {
  text-decoration: none;
}

.quick-phone-auth__resend[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.quick-phone-auth__channels {
  margin-bottom: 12px;
}

.quick-phone-auth__channel {
  margin-right: 10px;
}

.quick-phone-auth__error {
  margin-top: 12px;
  color: #c0392b;
}

.quick-phone-auth__timer {
  font-size: 0.9em;
  color: #666;
}

.quick-phone-auth__consent {
  display: flex;
  align-items: center;
  font-size: 0.85em;
  color: #555;
}

.quick-phone-auth__consent input {
  margin-right: 6px;
}

@media (max-width: 480px) {
  .quick-phone-auth__content {
    max-width: 100%;
    padding: 16px;
  }

  .quick-phone-auth__title {
    font-size: 1.2em;
  }
}
