/* Estilo Base do Container do Formulário */
.wwp-form-container {
    background: rgba(100, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 2rem;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    margin: 0 auto;
}
.wwp-form-group {
    margin-bottom: 1.2rem;
}
.wwp-form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.wwp-form-group input {
    width: 100%;
    padding: 0.7rem !important;
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 10px !important;
    color: #fff !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box;
}
.wwp-form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
    font-weight: 500 !important;
}
.wwp-form-group input:focus {
    color: #00ff00 !important;
    background: rgba(34, 41, 34, 0.5) !important;
    border: 1px solid #00ff00 !important;
    outline: none !important;
    animation: wwp-glow 800ms ease-out infinite alternate;
}
@keyframes wwp-glow {
    from {
        border-color: #00ff00;
        box-shadow: 0 0 5px rgba(0, 255, 0, 0.2), inset 0 0 5px rgba(0, 255, 0, 0.1), 0 2px 0 #000;
    }
    to {
        border-color: #00ff88;
        box-shadow: 0 0 20px rgba(0, 255, 0, 0.6), inset 0 0 10px rgba(0, 255, 0, 0.4), 0 2px 0 #000;
    }
}
.wwp-submit-button {
    color: #fff !important;
    position: relative !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    text-transform: uppercase !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
    transition: all 0.3s ease !important;
    border: none !important;
    width: 100% !important;
    margin-top: 1rem !important;
    background: transparent !important;
    cursor: pointer;
}
.wwp-submit-button::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background-image: linear-gradient(90deg, rgba(33, 33, 33) 21%, rgb(18, 255, 0) 50%, rgb(33, 33, 33) 80%);
    background-size: 250%;
    background-position: left;
    transition: all 0.5s ease;
}
.wwp-submit-button:hover {
    transform: scale(1.05) !important;
}
.wwp-submit-button:hover::before {
    background-position: right;
}
.wwp-submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.wwp-form-message {
    padding: 10px;
    margin-top: 15px;
    border-radius: 5px;
    text-align: center;
    display: none;
    font-weight: bold;
}
.wwp-form-message.error { 
    background: #c00 !important; /* Prioridade alta para erro */
    color: #fff !important; 
}
.wwp-form-message.success { 
    background-color: var(--bg-color, #1ec900);
    color: var(--font-color, #002428);
}

.wwp-popup-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7); z-index: 10000; display: flex;
    justify-content: center; align-items: center; opacity: 0;
    visibility: hidden; transition: opacity 0.3s ease;
}
.wwp-popup-overlay.active { opacity: 1; visibility: visible; }
.wwp-popup-content {
    background: #1f1f1f; padding: 30px; border-radius: 10px;
    color: #fcfcfc; border: 1px solid #1ec900;
    box-shadow: 0 0 20px rgba(30, 201, 0, 0.5); text-align: center;
    max-width: 90%; width: 400px; transform: scale(0.9);
    transition: transform 0.3s ease;
}
.wwp-popup-overlay.active .wwp-popup-content { transform: scale(1); }
.wwp-popup-close {
    margin-top: 20px; padding: 8px 20px; background: #1ec900;
    color: #002428; border: none; border-radius: 5px;
    cursor: pointer; font-weight: bold;
}