/* Estilos para el sistema de cuestionarios con tema naranja */
.spc-contenedor-naranja {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 30px 0;
}

.spc-seccion-naranja {
    flex: 1;
    min-width: 300px;
    background: linear-gradient(135deg, #d35400, #e67e22);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(211, 84, 0, 0.3);
    border: 2px solid #a04000;
    color: white;
}

.spc-titulo-naranja {
    color: #fff;
    border-bottom: 3px solid #a04000;
    padding-bottom: 15px;
    margin-top: 0;
    text-align: center;
    font-size: 28px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.spc-subtitulo-naranja {
    color: #fff;
    border-bottom: 2px solid #a04000;
    padding-bottom: 10px;
    margin-top: 0;
}

.spc-tarjeta-cuestionario {
    background: linear-gradient(135deg, #e67e22, #f39c12);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(211, 84, 0, 0.3);
    border: 2px solid #a04000;
}

.spc-titulo-cuestionario {
    color: #fff;
    margin-top: 0;
    font-size: 22px;
}

.spc-descripcion-cuestionario {
    color: #fdebd0;
    font-style: italic;
    margin-bottom: 20px;
}

.spc-tarjeta-pregunta {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    border: 1px solid rgba(160, 64, 0, 0.4);
}

.spc-texto-pregunta {
    color: #fff;
    margin-top: 0;
    font-size: 18px;
}

.spc-opciones {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spc-opcion-naranja {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(160, 64, 0, 0.4);
}

.spc-opcion-naranja:hover {
    background: rgba(160, 64, 0, 0.3);
    transform: translateX(5px);
}

.spc-opcion-naranja input {
    margin-right: 12px;
    accent-color: #a04000;
}

.spc-texto-opcion {
    color: #fdebd0;
    font-size: 16px;
}

.spc-boton-naranja {
    background: linear-gradient(135deg, #a04000, #d35400);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
    font-size: 16px;
    border: 1px solid #783600;
}

.spc-boton-naranja:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(160, 64, 0, 0.4);
    background: linear-gradient(135deg, #d35400, #e67e22);
}

.spc-boton-principal {
    background: linear-gradient(135deg, #a04000, #d35400);
    padding: 15px 30px;
    font-size: 18px;
    display: block;
    margin: 25px auto;
    text-align: center;
}

.spc-mensaje-exito {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(46, 204, 113, 0.3);
    text-align: center;
    font-weight: bold;
}

.spc-mensaje-error {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(231, 76, 60, 0.3);
    text-align: center;
    font-weight: bold;
}

.spc-mensaje-info {
    background: rgba(241, 196, 15, 0.2);
    color: #f1c40f;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(241, 196, 15, 0.3);
    text-align: center;
}

/* Estilos para administración */
.spc-admin-container {
    margin: 20px 0;
}

.spc-admin-section {
    background: linear-gradient(135deg, #d35400, #e67e22);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(211, 84, 0, 0.3);
    border: 2px solid #a04000;
    color: white;
}

.spc-admin-section h3 {
    color: #fff;
    border-bottom: 2px solid #a04000;
    padding-bottom: 10px;
    margin-top: 0;
}

.spc-form-group {
    margin-bottom: 20px;
}

.spc-label-naranja {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #fff;
}

.spc-input-naranja,
.spc-textarea-naranja {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(160, 64, 0, 0.4);
    border-radius: 8px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.spc-input-naranja::placeholder,
.spc-textarea-naranja::placeholder {
    color: #fdebd0;
}

.spc-input-naranja:focus,
.spc-textarea-naranja:focus {
    outline: none;
    border-color: #a04000;
    box-shadow: 0 0 10px rgba(160, 64, 0, 0.3);
}

.spc-input-opcion {
    padding: 10px 12px;
    border: 1px solid rgba(160, 64, 0, 0.4);
    border-radius: 6px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    flex-grow: 1;
}

.spc-input-opcion::placeholder {
    color: #fdebd0;
}

.spc-radio-naranja {
    accent-color: #a04000;
}

.spc-pregunta-item {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    border: 1px solid rgba(160, 64, 0, 0.4);
}

.spc-opciones-container {
    margin-top: 20px;
}

.spc-opcion-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    gap: 10px;
}

.spc-add-opcion {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.3);
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
}

.spc-add-opcion:hover {
    background: rgba(52, 152, 219, 0.3);
}

.spc-boton-secundario {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(160, 64, 0, 0.4);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    margin-right: 10px;
}

.spc-boton-secundario:hover {
    background: rgba(160, 64, 0, 0.3);
}

.spc-admin-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    overflow: hidden;
}

.spc-admin-table th,
.spc-admin-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(160, 64, 0, 0.4);
    color: #fdebd0;
}

.spc-admin-table th {
    background: rgba(160, 64, 0, 0.3);
    color: #fff;
    font-weight: bold;
}

.spc-admin-table tr:hover {
    background: rgba(160, 64, 0, 0.2);
}

.spc-estado {
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}

.spc-activo {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
}

.spc-inactivo {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

.spc-boton-eliminar {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
    padding: 8px 15px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
}

.spc-boton-eliminar:hover {
    background: rgba(231, 76, 60, 0.3);
}

@media (max-width: 768px) {
    .spc-contenedor-naranja {
        flex-direction: column;
    }
    
    .spc-opcion-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .spc-opcion-item input[type="text"] {
        margin-left: 0;
        margin-top: 5px;
        width: 100%;
    }
}