/**
 * Estilos para el área pública del plugin.
 */
.sorteos-mc-formulario-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.sorteos-mc-step {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sorteos-mc-step h2 {
    margin-top: 0;
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

.form-group input[type="checkbox"] {
    margin-right: 8px;
}

.form-actions {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
}

.sorteos-mc-btn {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.sorteos-mc-btn:hover {
    background-color: #005a87;
}

.sorteos-mc-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.sorteos-mc-btn-volver {
    background-color: #f0f0f0;
    color: #333;
}

.sorteos-mc-btn-volver:hover {
    background-color: #e0e0e0;
}

.sorteos-mc-error {
    color: #d32f2f;
    background-color: #ffebee;
    padding: 10px 15px;
    border-radius: 4px;
    margin-top: 15px;
    display: none;
}

.sorteos-mc-cabecera {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.sorteos-mc-cabecera h2 {
    color: #0073aa;
}

.sorteos-mc-cabecera p {
    margin: 8px 0;
    font-size: 16px;
}

.sorteos-mc-cabecera ul {
    margin: 10px 0;
    padding-left: 20px;
}

.sorteos-mc-cabecera li {
    margin-bottom: 5px;
}

.sorteos-mc-apoderado2-container {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

#sorteos-mc-apoderado2-form {
    margin-top: 20px;
    padding: 20px;
    background-color: #f0f7fc;
    border-radius: 4px;
}

#sorteos-mc-apoderado2-form h3 {
    margin-top: 0;
    font-size: 18px;
    color: #0073aa;
}

.sorteos-mc-success {
    text-align: center;
    padding: 30px 0;
}

.sorteos-mc-success h2 {
    color: #4caf50;
    font-size: 28px;
}

.sorteos-mc-success p {
    font-size: 18px;
    margin: 15px 0;
}

/* Tabla pública de estadísticas */
.sorteos-mc-public-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.sorteos-mc-public-table th,
.sorteos-mc-public-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
.sorteos-mc-public-table thead {
    background: #f3f3f3;
}

/* Responsive */
@media (max-width: 768px) {
    .sorteos-mc-formulario-container {
        padding: 10px;
    }
    
    .sorteos-mc-step {
        padding: 20px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .sorteos-mc-btn {
        width: 100%;
    }
}