﻿/* ============================================================
   FORMULARIO CURSO - Estilos del Shortcode
   ============================================================ */

/* ── Variables de color ── */
:root {
  --mpol-navy: #1a2744;
  --mpol-orange: #f07c1e;
  --mpol-orange2: #e86a00;
  --mpol-white: #ffffff;
  --mpol-gray-bg: #f5f5f5;
  --mpol-gray-lt: #fafafa;
  --mpol-gray-bd: #e0e0e0;
  --mpol-text: #333333;
  --mpol-text-sm: #666666;
  --mpol-radius: 8px;
  --mpol-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ──────────────────────────────────
   SIDEBAR
   ────────────────────────────────── */
.mpol-sidebar {
  top: 24px;
  padding-bottom: 40px;
}

.mpol-sidebar__card {
  background: var(--mpol-white);
  border-radius: var(--mpol-radius);
  box-shadow: var(--mpol-shadow);
  padding: 24px;
}

.mpol-sidebar__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--mpol-navy);
  margin: 0 0 16px;
}

/* Formulario */
.mpol-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.mpol-form__group {
  width: 100%;
}

.mpol-form__checkbox-group {
  margin: 4px 0;
}

.mpol-form__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--mpol-text-sm);
  line-height: 1.4;
}

.mpol-form__checkbox {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--mpol-orange);
  flex-shrink: 0;
}

.mpol-form__checkbox-label a {
  color: var(--mpol-orange);
  text-decoration: underline;
  transition: color 0.2s;
}

.mpol-form__checkbox-label a:hover {
  color: var(--mpol-orange2);
}

.mpol-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mpol-form__input,
.mpol-form__select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--mpol-gray-bd);
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--mpol-text);
  background: var(--mpol-white);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}

.mpol-form__input:focus,
.mpol-form__select:focus {
  border-color: var(--mpol-orange);
}

.mpol-form__input::placeholder {
  color: #aaa;
}

.mpol-form__btn {
  background: var(--mpol-orange);
  color: var(--mpol-white);
  border: none;
  border-radius: 6px;
  padding: 13px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.1s;
}

.mpol-form__btn:hover {
  background: var(--mpol-orange2);
}

.mpol-form__btn:active {
  transform: scale(0.98);
}

/* Mensaje de confirmación tras envío */
.mpol-form.confirmacion {
  background-color: #ffa500;
  color: #000;
  padding: 30px;
  border-radius: 6px;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Includes list */
.mpol-includes__title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--mpol-text);
  margin: 0 0 10px;
}

.mpol-includes__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mpol-includes__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--mpol-text-sm);
  padding: 5px 0;
  border-bottom: 1px solid var(--mpol-gray-bg);
}

.mpol-includes__item:last-child {
  border-bottom: none;
}

.mpol-includes__icon {
  font-size: 1rem;
  flex-shrink: 0;
}

/* ──────────────────────────────────
   RESPONSIVE
   ────────────────────────────────── */
@media (max-width: 600px) {
  .mpol-form__row {
    grid-template-columns: 1fr;
  }
  
  .mpol-sidebar {
    padding-bottom: 20px;
  }
}
