/* Modal auth — alineado con .modal-content del sitio */
.kp-auth-modal .modal-dialog {
  max-width: 420px;
  width: auto;
  margin: 24px auto;
}
.kp-auth-modal .modal-content {
  background-color: #141414;
  border: 1px solid #282828;
  border-radius: 6px;
  color: #eee;
}
.kp-auth-modal .modal-header {
  padding: 15px;
  border-bottom: 1px solid #282828;
  position: relative;
}
.kp-auth-modal .modal-header .close {
  position: absolute;
  right: 12px;
  top: 12px;
  color: #ccc;
  opacity: 1;
  text-shadow: none;
  font-size: 20px;
  margin-top: 0;
}
.kp-auth-modal .modal-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  padding-right: 28px;
  color: #fff;
}
.kp-auth-modal .modal-body {
  padding: 15px;
  overflow: hidden;
}
.kp-auth-modal .modal-footer {
  border-top: 1px solid #282828;
  padding: 12px 15px 15px;
}.kp-auth-social-row {
  display: flex;
  gap: 10px;
  margin: 0 0 14px;
}
.kp-auth-social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  max-height: 52px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  text-decoration: none !important;
  transition: background 0.15s, border-color 0.15s;
}
.kp-auth-social-btn:hover,
.kp-auth-social-btn:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.kp-auth-social-btn svg,
.kp-auth-modal svg.kp-oauth-ico {
  display: block;
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  flex-shrink: 0;
}
.kp-auth-sep {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  color: #888;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.kp-auth-sep::before,
.kp-auth-sep::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #333;
}
.kp-auth-sep-dot {
  width: 8px;
  height: 8px;
  border: 1px solid #555;
  border-radius: 50%;
}
.kp-auth-email-btn.btn-block {
  width: 100%;
  display: block;
  white-space: normal;
  line-height: 1.35;
  padding: 10px 14px;
}
.kp-auth-foot {  margin-top: 14px;
  font-size: 13px;
  color: #999;
  text-align: center;
  line-height: 1.5;
}
.kp-auth-foot a,
.kp-auth-link-btn {
  color: #ff9800;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: inherit;
}
.kp-auth-legal {
  margin-top: 12px;
  font-size: 11px;
  color: #777;
  line-height: 1.45;
  text-align: center;
}
.kp-auth-legal a {
  color: #ff9800;
}
.kp-auth-legal a {
  color: #ff9800;
}

/* Formulario registro modal — mismo look que #Registro / crear-cuenta */
.kp-reg-form label {
  display: block;
  color: #bbb;
  font-weight: 600;
  margin: 10px 0 6px;
  font-size: 13px;
}
.kp-reg-form .form-control,
.kp-reg-form input.form-control,
.kp-reg-form select.form-control {
  background: #2b2b31 !important;
  border: 1px solid #3a3a42 !important;
  color: #eee !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  height: 42px;
  min-height: 42px;
  padding: 8px 12px;
}
.kp-reg-form .input-group .form-control {
  border-radius: 0 !important;
}
.kp-reg-form .input-group .form-control:first-child {
  border-top-left-radius: 4px !important;
  border-bottom-left-radius: 4px !important;
}
.kp-reg-form .input-group .form-control:last-child {
  border-top-right-radius: 4px !important;
  border-bottom-right-radius: 4px !important;
}
.kp-reg-form .form-control:hover,
.kp-reg-form .form-control:focus {
  background: #2b2b31 !important;
  border-color: #ff9800 !important;
  outline: 0;
  box-shadow: none !important;
}
.kp-reg-form .form-control::placeholder {
  color: #888;
  opacity: 1;
}
.kp-reg-form .form-control.is-oauth-locked,
#Register .form-control.is-oauth-locked,
#Register #email[readonly] {
  background: #23232a !important;
  color: #aaa !important;
  cursor: not-allowed;
  opacity: 0.95;
  border-color: #3a3a42 !important;
}
#Register.is-oauth-complete #reg-password-fields,
#Register.is-oauth-complete #register-social-row {
  display: none !important;
}
.kp-reg-form .reg-birth-hint {
  color: #888;
  font-size: 12px;
  margin: 0 0 10px;
}
.kp-reg-form select.form-control {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 36px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23bbb' d='M1.4.6L6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 12px 8px !important;
  cursor: pointer;
}
.kp-reg-form select.form-control option {
  background: #2b2b31;
  color: #eee;
}
.kp-reg-form .input-group {
  margin-bottom: 12px;
  width: 100%;
}
.kp-reg-form .input-group-addon {
  background: #23232a !important;
  border: 1px solid #3a3a42 !important;
  color: #bbb !important;
  width: 42px;
  min-width: 42px;
  text-align: center;
  padding: 8px 10px;
}
.kp-reg-form .input-group-addon:first-child {
  border-right: 0 !important;
}
.kp-reg-form .reg-birth-selects {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}
.kp-reg-form .reg-birth-selects .form-control {
  width: 100%;
  min-width: 0;
  border-radius: 4px !important;
}
.kp-reg-form .reg-birth-hint {
  color: #888;
  font-size: 12px;
  margin: 0 0 10px;
}
.kp-reg-form .reg-check {
  position: relative;
  display: block;
  margin: 12px 0;
  clear: both;
}
.kp-reg-form .reg-check label.kp-auth-check {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400 !important;
  color: #ccc;
  margin: 0 !important;
  cursor: pointer;
}
.kp-reg-form .reg-check a {
  color: #ff9800;
}
@media (max-width: 480px) {
  .kp-reg-form .reg-birth-selects {
    grid-template-columns: 1fr;
  }
}

#Register.kp-auth-modal .modal-dialog {
  max-width: 420px;
}
.kp-oauth-profile-block {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #2f2f35;
}
.kp-oauth-profile-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0;
}
.kp-oauth-profile-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #1a1a20;
  border: 1px solid #2f2f35;
  border-radius: 8px;
}
.kp-oauth-profile-item strong {
  display: block;
  color: #eee;
  font-size: 14px;
}
.kp-oauth-profile-item span {
  font-size: 12px;
  color: #888;
}
.kp-oauth-link-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.kp-oauth-unlink-panel {
  margin-top: 10px;
  padding: 12px;
  background: rgba(255, 152, 0, 0.06);
  border: 1px solid rgba(255, 152, 0, 0.25);
  border-radius: 8px;
}
.kp-oauth-unlink-panel[hidden] {
  display: none !important;
}
