/* ============================================================
   ESTILOS PARA EL FLUJO DE PUBLICACIÓN
   Agrega este archivo a tu base.html:
   <link rel="stylesheet" href="{% static 'negocios/css/publicar_extras.css' %}">
   ============================================================ */

/* ---- Enlace "volver" dentro de los formularios de creación ---- */
.crear-back-link {
    margin-bottom: 18px;
}
.crear-back-link a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-mid);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    background: var(--bg-subtle);
    border: 1.5px solid var(--border-light);
    transition: all 0.2s ease;
}
.crear-back-link a:hover {
    color: var(--primary);
    border-color: var(--primary);
}

/* ---- Tarjeta contenedora de formularios ---- */
.crear-card {
    padding: 28px;
}
.crear-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1.5px solid var(--border-light);
}
.crear-header-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 14px;
}
.crear-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.crear-header p {
    font-size: 0.87rem;
    color: var(--text-light);
}

/* ---- Banner informativo ---- */
.plan-info-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(14,165,233,0.07);
    border: 1.5px solid rgba(14,165,233,0.2);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.82rem;
    color: var(--text-mid);
    margin-bottom: 22px;
}
.plan-info-banner i { color: var(--primary); font-size: 0.9rem; }

/* ---- Formulario de publicación ---- */
.pub-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 20px;
}
.pub-form .form-group > label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-dark);
}
.pub-form .form-group > label .req {
    color: #ef4444;
    font-size: 0.75rem;
}
.field-hint {
    font-size: 0.77rem;
    color: var(--text-light);
    margin-top: 2px;
}
.form-error {
    font-size: 0.78rem;
    font-weight: 600;
    color: #ef4444;
    display: block;
}

/* ---- Grid de radio buttons "chips" ---- */
.radio-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.radio-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 50px;
    border: 1.5px solid var(--border-light);
    background: var(--bg-card);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-mid);
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}
.radio-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.radio-chip input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.radio-chip:has(input[type="radio"]:checked) {
    border-color: var(--primary);
    background: rgba(14,165,233,0.08);
    color: var(--primary);
    box-shadow: 0 0 0 2px rgba(14,165,233,0.15);
}

/* ---- Página "límite alcanzado" ---- */
.limite-box {
    text-align: center;
    max-width: 480px;
    margin: 60px auto;
    padding: 40px 28px;
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.limite-box .limite-icon {
    font-size: 3rem;
    color: #f59e0b;
    margin-bottom: 16px;
}
.limite-box h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.limite-box p {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.6;
    margin-bottom: 22px;
}
