/*
 * Super Enquetes Dinâmicas - Frontend Stylesheet v2.1.0 (Ajustado para visibilidade dos checkboxes)
 * Design: Modern Dark Tech - Enhanced Edition
 * Atualizado com estilos para Políticas de Privacidade e Segurança
 */

/* --- Estilos Gerais do Contêiner --- */
.sed-enquete-container {
    border: 1px solid rgba(147, 51, 234, 0.4);
    padding: 35px;
    margin-bottom: 30px;
    font-family: 'JetBrains Mono', 'Fira Code', 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #0a0a0f 0%, #0f0f1e 25%, #1a1a2e 75%, #16213e 100%);
    border-radius: 20px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 8px 32px rgba(147, 51, 234, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 -1px 0 rgba(147, 51, 234, 0.1);
    position: relative;
    overflow: hidden;
    color: #e2e8f0;
    backdrop-filter: blur(20px);
}

.sed-enquete-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #a855f7, #c084fc, #e879f9, #8b5cf6);
    background-size: 300% 100%;
    animation: shimmer 4s linear infinite;
    z-index: 1;
}

.sed-enquete-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

@keyframes shimmer {
    0% { background-position: -300% 0; }
    100% { background-position: 300% 0; }
}

/* --- Barra de Progresso da Meta --- */
.sed-goal-container {
    margin: 0 auto 30px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.6) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.sed-goal-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    animation: scan 3s infinite;
}

@keyframes scan {
    0% { left: -100%; }
    100% { left: 100%; }
}

.sed-goal-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 15px;
    font-size: 0.9em;
    color: #cbd5e1;
    position: relative;
    z-index: 2;
}

.sed-goal-header .goal-title {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(45deg, #a855f7, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sed-goal-header .goal-progress-text {
    font-weight: 800;
    color: #f1f5f9;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.sed-goal-bar-wrapper {
    width: 100%;
    height: 24px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.7));
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        inset 0 2px 8px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    position: relative;
    z-index: 2;
}

.sed-goal-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    border-radius: 12px;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.sed-goal-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%);
    transform: translateX(-100%);
    animation: goal-shimmer 3s infinite;
}

@keyframes goal-shimmer {
    100% { transform: translateX(100%); }
}

.sed-goal-achieved {
    font-weight: bold;
    color: #4ade80;
    text-shadow: 0 0 15px rgba(74, 222, 128, 0.7);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 15px rgba(74, 222, 128, 0.7); }
    to { text-shadow: 0 0 25px rgba(74, 222, 128, 1); }
}

/* --- Lista de Participações Recentes --- */
.sed-recent-participations {
    border: 1px solid rgba(139, 92, 246, 0.4);
    padding: 25px;
    margin-bottom: 30px;
    max-height: 280px;
    overflow-y: auto;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.7));
    border-radius: 16px;
    backdrop-filter: blur(20px);
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.sed-recent-participations::-webkit-scrollbar {
    width: 8px;
}

.sed-recent-participations::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
    border-radius: 4px;
}

.sed-recent-participations::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #8b5cf6, #a855f7);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.sed-recent-participations::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #a855f7, #c084fc);
}

.sed-recent-participations .sed-loading-text,
.sed-recent-participations .sed-no-participants {
    margin: 0;
    color: #a855f7;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 1.5px;
    text-align: center;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.sed-participation-item {
    padding: 15px 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    font-size: 0.95em;
    line-height: 1.6;
    transition: all 0.3s ease;
    position: relative;
}

.sed-participation-item:last-child {
    border-bottom: none;
}

.sed-participation-item:hover {
    transform: translateX(5px);
    padding-left: 10px;
}

.sed-participation-item .flag {
    margin-right: 15px;
    font-size: 1.5em;
    vertical-align: middle;
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.6));
}

.sed-participation-item .name {
    font-weight: 700;
    color: #f1f5f9;
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.sed-participation-item .state {
    font-weight: 500;
    color: #94a3b8;
    margin-left: 10px;
    font-size: 0.9em;
}

.sed-participation-item .phrase {
    color: #cbd5e1;
    font-style: italic;
    margin-top: 5px;
    opacity: 0.9;
}

/* --- Estilos de Formulário (Passos e Campos) --- */
.sed-form-step {
    display: none;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.sed-form-step.is-active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.sed-form-field {
    margin-bottom: 25px;
    position: relative;
}

.sed-participation-form label,
.sed-verify-code-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: #e2e8f0;
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

/* --- Inputs de Texto e E-mail --- */
.sed-participation-form input[type="text"],
.sed-participation-form input[type="email"],
.sed-verify-code-form input[type="text"] {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 1.1em;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.6));
    color: #f1f5f9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.sed-participation-form input:focus,
.sed-verify-code-form input:focus {
    border-color: #8b5cf6;
    box-shadow:
        0 0 0 4px rgba(139, 92, 246, 0.2),
        0 8px 32px rgba(139, 92, 246, 0.3),
        inset 0 2px 4px rgba(0, 0, 0, 0.3);
    outline: none;
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.8));
}

/* --- Selects Melhorados --- */
.sed-select-wrapper {
    position: relative;
}

.sed-select-wrapper::after {
    content: '▼';
    font-size: 14px;
    color: #a855f7;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(168, 85, 247, 0.5));
}

.sed-select-wrapper:hover::after {
    color: #c084fc;
    transform: translateY(-50%) scale(1.1);
}

.sed-select-wrapper select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    padding: 16px 50px 16px 20px;
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 1.1em;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.7));
    color: #f1f5f9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    cursor: pointer;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

.sed-select-wrapper select:focus {
    border-color: #8b5cf6;
    box-shadow:
        0 0 0 4px rgba(139, 92, 246, 0.2),
        0 8px 32px rgba(139, 92, 246, 0.3),
        inset 0 2px 4px rgba(0, 0, 0, 0.3);
    outline: none;
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(15, 23, 42, 1), rgba(30, 41, 59, 0.9));
}

.sed-select-wrapper select option {
    background: #1e293b;
    color: #f1f5f9;
    padding: 10px;
    border: none;
    font-weight: 500;
}

.sed-select-wrapper select option:hover {
    background: #334155;
}

.sed-select-wrapper select option:checked {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
}

/* --- Código de Verificação --- */
.sed-verify-code-form input[name="sed_verify_code"] {
    text-align: center;
    font-size: 2em;
    letter-spacing: 1em;
    font-weight: 800;
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.7);
    font-family: 'JetBrains Mono', monospace;
}

.sed-verify-instructions {
    text-align: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(168, 85, 247, 0.15));
    border: 1px solid rgba(139, 92, 246, 0.5);
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 16px;
    color: #e2e8f0;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.sed-verify-instructions::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: instructionsGlow 4s infinite;
}

@keyframes instructionsGlow {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* --- Captcha --- */
.sed-captcha-wrapper {
    margin-bottom: 25px;
    min-height: 78px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.g-recaptcha,
.cf-turnstile {
    transform-origin: center;
    filter: brightness(0.9) contrast(1.2) saturate(1.1);
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
}

/* --- Mensagens do Formulário --- */
.sed-form-message {
    padding: 18px 25px;
    margin-bottom: 25px;
    border-radius: 12px;
    font-size: 0.95em;
    text-align: center;
    font-weight: 600;
    border: 1px solid;
    backdrop-filter: blur(10px);
}

.sed-form-message.success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.25), rgba(22, 163, 74, 0.2));
    color: #86efac;
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 8px 32px rgba(34, 197, 94, 0.3);
}

.sed-form-message.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(220, 38, 38, 0.2));
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.3);
}

/* --- Botões --- */
.sed-submit-button,
.sed-verify-button,
.sed-back-button {
    border: none;
    padding: 18px 30px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.sed-submit-button:hover,
.sed-verify-button:hover,
.sed-back-button:hover {
    transform: translateY(-4px);
}

.sed-submit-button,
.sed-verify-button {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #c084fc 100%);
    color: white;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.5);
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.sed-submit-button:hover,
.sed-verify-button:hover {
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.6);
    background: linear-gradient(135deg, #a855f7 0%, #c084fc 50%, #e879f9 100%);
}

.sed-back-button {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    box-shadow: 0 8px 32px rgba(107, 114, 128, 0.4);
    border: 1px solid rgba(107, 114, 128, 0.3);
}

.sed-back-button:hover {
    box-shadow: 0 12px 40px rgba(107, 114, 128, 0.5);
    background: linear-gradient(135deg, #4b5563, #374151);
}

.sed-submit-button:disabled,
.sed-verify-button:disabled {
    background: linear-gradient(135deg, #475569, #334155);
    cursor: not-allowed;
    opacity: 0.5;
    transform: none;
    box-shadow: none;
}

.sed-verify-buttons {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

/* --- Contador Melhorado --- */
.sed-counter-container {
    text-align: center;
    margin: 40px 0 30px;
    position: relative;
}

.sed-counter-container h3 {
    margin-bottom: 20px;
    font-size: 1.5em;
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 30px rgba(139, 92, 246, 1);
    background: linear-gradient(45deg, #ffffff, #a855f7, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { text-shadow: 0 0 30px rgba(139, 92, 246, 1); }
    to { text-shadow: 0 0 50px rgba(168, 85, 247, 1); }
}

.sed-counter {
    font-size: 4em;
    font-weight: 900;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    padding: 30px 40px;
    border-radius: 24px;
    display: inline-block;
    letter-spacing: 6px;
    color: #f1f5f9;
    min-width: 200px;
    border: 2px solid rgba(139, 92, 246, 0.6);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 8px 32px rgba(139, 92, 246, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.1),
        inset 0 -2px 0 rgba(139, 92, 246, 0.2);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.8);
    font-family: 'JetBrains Mono', monospace;
}

.sed-counter::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(139, 92, 246, 0.2),
        transparent);
    animation: counterScan 4s infinite;
}

@keyframes counterScan {
    0% { left: -100%; }
    100% { left: 100%; }
}

.sed-counter::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

/* --- Compartilhamento --- */
.sed-share-buttons {
    margin-top: 35px;
    text-align: center;
    gap: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.sed-share-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
    padding: 15px 25px;
    text-decoration: none;
    border-radius: 12px;
    color: white !important;
    font-size: 1em;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sed-share-buttons a:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.sed-share-fb {
    background: linear-gradient(135deg, #4267B2, #365899, #2d4373);
    box-shadow: 0 8px 25px rgba(66, 103, 178, 0.5);
}

.sed-share-fb:hover {
    box-shadow: 0 12px 35px rgba(66, 103, 178, 0.7);
}

.sed-share-wa {
    background: linear-gradient(135deg, #25D366, #128C7E, #0d7377);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.sed-share-wa:hover {
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.7);
}

/* --- Honeypot (Anti-spam) --- */
.sed-honeypot-field {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

/* --- Políticas de Privacidade e Segurança (Ajustes nos Checkboxes) --- */
.sed-policy-fields-wrapper {
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.8));
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 16px;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.sed-policy-fields-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #a855f7);
    background-size: 200% 100%;
    animation: policyGlow 3s linear infinite;
}

@keyframes policyGlow {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.sed-policy-fields-wrapper h4 {
    margin: 0 0 20px 0;
    font-size: 1.2em;
    font-weight: 700;
    color: #f1f5f9;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
    background: linear-gradient(45deg, #f1f5f9, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

/* --- Campos Individuais de Política --- */
.sed-politica-privacidade,
.sed-politica-seguranca {
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.7), rgba(30, 41, 59, 0.6));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.sed-politica-privacidade:hover,
.sed-politica-seguranca:hover {
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2);
    transform: translateY(-2px);
}

.sed-politica-privacidade::before,
.sed-politica-seguranca::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #8b5cf6, #a855f7, #c084fc);
    border-radius: 0 0 2px 2px;
}

/* --- Label dos Checkboxes --- */
.sed-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 1.1em; /* Aumentado */
    line-height: 1.6;
    margin: 0;
    color: #f1f5f9; /* Mais claro */
    font-weight: 600; /* Mais bold */
    position: relative;
    z-index: 2;
}

/* --- Checkboxes Ocultos --- */
.sed-checkbox-label input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
}

/* --- Checkboxes Customizados (Ajustes para maior visibilidade) --- */
.sed-checkbox-custom {
    width: 26px; /* Aumentado */
    height: 26px; /* Aumentado */
    border: 3px solid #8b5cf6; /* Mais espesso e cor mais vibrante */
    border-radius: 8px; /* Mais arredondado */
    margin-right: 12px;
    margin-top: 2px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 2px rgba(139, 92, 246, 0.3); /* Adicionado glow externo */
}

.sed-checkbox-label input[type="checkbox"]:hover + .sed-checkbox-custom {
    border-color: #a855f7;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.3),
        0 0 12px rgba(139, 92, 246, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.sed-checkbox-label input[type="checkbox"]:checked + .sed-checkbox-custom {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    border-color: #c084fc;
    box-shadow:
        0 4px 15px rgba(139, 92, 246, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 3px rgba(139, 92, 246, 0.4); /* Glow mais intenso quando marcado */
}

.sed-checkbox-label input[type="checkbox"]:checked + .sed-checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 16px; /* Aumentado */
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* --- Links das Políticas --- */
.sed-checkbox-label a {
    color: #60a5fa !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    position: relative;
}

.sed-checkbox-label a:hover {
    color: #93c5fd !important;
    text-decoration: none !important;
    border-bottom: 1px solid #60a5fa;
    text-shadow: 0 0 8px rgba(96, 165, 250, 0.5);
}

.sed-checkbox-label a::after {
    content: ' ↗';
    font-size: 0.9em;
    opacity: 0.7;
}

/* --- Mensagens de Erro das Políticas --- */
.sed-politica-error {
    margin: 20px 0;
    padding: 0;
}

.sed-error-message {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(220, 38, 38, 0.2));
    color: #fca5a5;
    padding: 15px 20px;
    border: 1px solid rgba(239, 68, 68, 0.5);
    border-radius: 8px;
    font-size: 0.95em;
    line-height: 1.5;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
    backdrop-filter: blur(10px);
}

/* --- Responsividade das Políticas --- */
@media (max-width: 768px) {
    .sed-policy-fields-wrapper {
        margin: 25px 0;
        padding: 20px 15px;
        border-radius: 12px;
    }

    .sed-policy-fields-wrapper h4 {
        font-size: 1.1em;
        margin-bottom: 15px;
        letter-spacing: 1px;
    }

    .sed-politica-privacidade,
    .sed-politica-seguranca {
        margin: 15px 0;
        padding: 15px;
        border-radius: 10px;
    }

    .sed-checkbox-label {
        font-size: 1em;
        line-height: 1.5;
    }

    .sed-checkbox-custom {
        width: 24px;
        height: 24px;
        margin-right: 10px;
        margin-top: 3px;
    }

    .sed-checkbox-label input[type="checkbox"]:checked + .sed-checkbox-custom::after {
        font-size: 14px;
    }

    .sed-checkbox-label a {
        font-size: 0.95em;
        word-break: break-word;
    }
}

@media (max-width: 480px) {
    .sed-policy-fields-wrapper {
        margin: 20px 0;
        padding: 15px 12px;
        border-radius: 10px;
    }

    .sed-policy-fields-wrapper h4 {
        font-size: 1em;
        margin-bottom: 12px;
    }

    .sed-politica-privacidade,
    .sed-politica-seguranca {
        margin: 12px 0;
        padding: 12px;
        border-radius: 8px;
    }

    .sed-checkbox-label {
        font-size: 0.95em;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .sed-checkbox-custom {
        margin-right: 0;
        margin-top: 0;
        align-self: flex-start;
        width: 22px;
        height: 22px;
    }

    .sed-checkbox-label input[type="checkbox"]:checked + .sed-checkbox-custom::after {
        font-size: 12px;
    }
}

/* --- Responsividade Geral --- */
@media (max-width: 768px) {
    .sed-enquete-container {
        padding: 25px 15px;
        border-radius: 16px;
    }

    .sed-counter {
        font-size: 2.2em;
        padding: 20px 25px;
        min-width: 120px;
        letter-spacing: 3px;
        border-radius: 18px;
    }

    .sed-counter-container {
        margin: 30px 0 25px;
    }

    .sed-counter-container h3 {
        font-size: 1.2em;
        letter-spacing: 1.5px;
        margin-bottom: 15px;
    }

    .sed-share-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .sed-share-buttons a {
        width: 100%;
        max-width: 280px;
        padding: 12px 20px;
        font-size: 0.9em;
    }

    .sed-verify-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .sed-participation-form input[type="text"],
    .sed-participation-form input[type="email"],
    .sed-verify-code-form input[type="text"],
    .sed-select-wrapper select {
        padding: 14px 18px;
        font-size: 1em;
    }

    .sed-select-wrapper select {
        padding: 14px 45px 14px 18px;
    }
}

@media (max-width: 480px) {
    .sed-counter {
        font-size: 1.8em;
        padding: 15px 20px;
        min-width: 100px;
        letter-spacing: 2px;
        border-radius: 16px;
    }

    .sed-counter-container h3 {
        font-size: 1.1em;
        letter-spacing: 1px;
    }

    .sed-enquete-container {
        padding: 20px 12px;
        margin-bottom: 20px;
    }
}

/* --- Animações Gerais --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sed-enquete-container * {
    animation: fadeInUp 0.6s ease-out;
}



/* --- Checkbox Customizado (Fundo Verde ao Marcar) --- */
.sed-checkbox-custom {
    width: 26px;
    height: 26px;
    border: 3px solid #8b5cf6;
    border-radius: 8px;
    margin-right: 12px;
    flex-shrink: 0;
    transition: all 0.2s ease;
    background: rgba(15, 23, 42, 0.9);
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sed-checkbox-label:hover .sed-checkbox-custom {
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.5);
}

/* --- Fundo verde ao marcar --- */
.sed-checkbox-label input[type="checkbox"]:checked + .sed-checkbox-custom {
    background: linear-gradient(135deg, #48bb78, #38a169); /* Verde */
    border-color: #81c784;
    box-shadow: 0 0 0 3px rgba(72, 187, 120, 0.6);
}

.sed-checkbox-label input[type="checkbox"]:checked + .sed-checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

