/* Estilos para WordPress */
.wev-container {
    max-width: 500px;
    margin: 30px auto;
    padding: 0 15px;
}

.wev-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 40px 35px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
    border: 1px solid #e8e8e8;
}

.wev-card h2 {
    color: #1e1e1e;
    font-size: 24px;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.wev-subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
}

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

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

.wev-input-group {
    display: flex;
    gap: 10px;
}

.wev-input-group input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.wev-input-group input[type="email"]:focus {
    outline: none;
    border-color: #667eea;
}

.wev-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff !important;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.wev-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.wev-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.wev-btn-secondary {
    background: #f0f0f0;
    color: #333 !important;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.wev-btn-secondary:hover {
    background: #e0e0e0;
}

/* Modal */
.wev-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    animation: wevFadeIn 0.3s;
}

@keyframes wevFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.wev-modal-content {
    background: #fff;
    margin: 10% auto;
    padding: 0;
    width: 90%;
    max-width: 450px;
    border-radius: 15px;
    animation: wevSlideIn 0.3s;
}

@keyframes wevSlideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.wev-modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wev-modal-header h3 {
    margin: 0;
    color: #1e1e1e;
    font-size: 20px;
}

.wev-close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.wev-close:hover {
    color: #333;
}

.wev-modal-body {
    padding: 25px;
}

.wev-modal-body p {
    color: #555;
    font-size: 14px;
    margin-bottom: 20px;
}

.wev-code-input-group {
    margin: 20px 0;
}

#wev-codeInput {
    width: 100%;
    padding: 15px;
    font-size: 28px;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 10px;
    letter-spacing: 10px;
    font-weight: bold;
    font-family: monospace;
}

#wev-codeInput:focus {
    outline: none;
    border-color: #667eea;
}

.wev-modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.wev-modal-actions button {
    flex: 1;
}

.wev-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}

.wev-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wev-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 600px) {
    .wev-card {
        padding: 25px 20px;
    }
    
    .wev-input-group {
        flex-direction: column;
    }
    
    .wev-btn-primary,
    .wev-btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .wev-modal-actions {
        flex-direction: column;
    }
    
    .wev-modal-content {
        margin: 5% auto;
        width: 95%;
    }
}