/* css/modulos/colabora.css - vFINAL USER (Share + Email Fixes) */

/* Reutilizamos variables del root si existen, o definimos fallback */
.colabora-content {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.colabora-header h2 {
    font-family: 'Crimson Pro', serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: #2d5a27; /* Verde Jueblo */
    margin-bottom: 10px;
}

.colabora-header p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

/* MENÚ DE OPCIONES */
.colabora-menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.colabora-btn {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid #f1f2f6;
    padding: 18px 25px;
    border-radius: 50px; /* Píldora */
    text-decoration: none;
    color: #333;
    font-weight: 700;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 4px 0 #f1f2f6;
    text-align: left;
}

.colabora-btn:hover {
    border-color: #2d5a27;
    color: #2d5a27;
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #dcfce7;
    background-color: #f9fff9;
}

.colabora-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #dcfce7;
}

.colabora-btn i {
    font-size: 1.3rem;
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

/* Estilo específico para hover del botón Difundir (Azul) */
.colabora-btn.share-btn:hover {
    border-color: #3498db;
    color: #3498db;
    box-shadow: 0 6px 0 #e1f0fa;
    background-color: #f0f8ff;
}

/* FORMULARIOS INTERNOS */
.colabora-form-container {
    display: none; /* Oculto por defecto */
    text-align: left;
    animation: fadeIn 0.3s ease-out;
}

.colabora-form-container.active {
    display: block;
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: #2d5a27;
    font-size: 0.9rem;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #eee;
    border-radius: 15px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s;
    background: #fafafa;
    box-sizing: border-box;
    color: #333;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: #2d5a27;
    background: #fff;
    outline: none;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

/* Checkbox personalizado simple */
.check-label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.85rem;
    color: #666;
    cursor: pointer;
    line-height: 1.4;
}

.check-input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: #2d5a27;
}

/* Radio Buttons */
.radio-group {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}
.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 600;
}
.radio-input {
    width: 18px;
    height: 18px;
    accent-color: #2d5a27;
}

/* Botones de acción */
.btn-submit-colabora {
    background: #2d5a27;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 4px 0 #1e3d1a;
    text-transform: uppercase;
    margin-top: 15px;
}

.btn-submit-colabora:active {
    transform: translateY(2px);
    box-shadow: none;
}

.btn-back-colabora {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #999;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    margin-bottom: 20px;
    background: none;
    border: none;
    padding: 0;
}
.btn-back-colabora:hover { color: #2d5a27; }

/* MENSAJES DE FEEDBACK CON ASPA */
.msg-feedback {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: left;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.msg-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.msg-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

.msg-close {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.6;
    padding: 0 0 0 15px;
    line-height: 1;
}
.msg-close:hover { opacity: 1; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }