.wa-popup-container {
    display: flex;
    justify-content: flex-start;
}

.wa-popup-wrapper {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.wa-popup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #FF7A00;
    color: #FFFFFF;
    border: 2px solid #FF7A00;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
    box-sizing: border-box;
}

.wa-popup-btn svg {
    fill: currentColor;
    transition: fill 0.3s ease;
}

.wa-popup-btn:hover {
    background-color: #FFFFFF !important;
    color: #FF7A00 !important;
    border-color: #FF7A00 !important;
}

.wa-popup-btn:hover svg {
    fill: #FF7A00 !important;
}

.wa-popup-btn:active {
    transform: scale(0.98);
}

.wa-btn-icon {
    display: inline-flex;
    align-items: center;
}

.wa-welcome-label {
    position: absolute;
    bottom: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%);
    background-color: #FFFFFF;
    color: #555555;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
    animation: waLabelFloat 3s ease-in-out infinite;
}

.wa-welcome-label::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #FFFFFF transparent transparent transparent;
    transition: border-color 0.3s ease;
}

@keyframes waLabelFloat {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-6px);
    }
}

.wa-welcome-label.wa-label-hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(5px);
    pointer-events: none;
    animation: none;
}

.wa-popup-wrapper:hover .wa-welcome-label.wa-label-hidden {
    opacity: 1 !important;
    transform: translateX(-50%) translateY(-2px) !important;
    pointer-events: none;
    animation: waLabelFloat 3s ease-in-out infinite;
}

/* Modal Overlay Styles */
.wa-modal-overlay-3ac61df4 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 20px;
}

body.admin-bar .wa-modal-overlay-3ac61df4 {
    top: var(--wp-admin--admin-bar--height, 32px);
    height: calc(100vh - var(--wp-admin--admin-bar--height, 32px));
}
@media screen and (max-width: 782px) {
    body.admin-bar .wa-modal-overlay-3ac61df4 {
        top: 46px;
        height: calc(100vh - 46px);
    }
}

.wa-modal-content-3ac61df4 {
    background-color: #FFFFFF;
    width: 100%;
    max-width: 450px;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    box-sizing: border-box;
    animation: waPopupFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

@keyframes waPopupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.wa-modal-close-3ac61df4 {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #888888;
    line-height: 1;
}

.wa-modal-close-3ac61df4:hover {
    color: #333333;
}

.wa-modal-title-3ac61df4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 700;
    color: #FF7A00; /* Entire title must be orange */
    text-align: center;
}

.wa-modal-subtitle-3ac61df4 {
    font-size: 14px;
    color: #666666;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.4;
    text-align: center;
}

.wa-modal-pricing-3ac61df4 {
    color: #FF7A00; /* Must remain orange */
    font-size: 14px;
    text-align: center;
    margin: 15px 0;
    font-weight: 300; /* Light weight for "Nuestros planes comienzan..." */
}

.wa-bold-price-3ac61df4 {
    font-weight: 700; /* Bold weight for "$259 MXN" */
}

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

.wa-form-group-3ac61df4 label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #555555;
    margin-bottom: 8px;
}

.wa-form-group-3ac61df4 input[type="text"],
.wa-form-group-3ac61df4 input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #CCCCCC;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.wa-form-group-3ac61df4 input[type="text"]:focus,
.wa-form-group-3ac61df4 input[type="email"]:focus {
    border-color: #FF7A00;
    outline: none;
}

.wa-checkbox-group-3ac61df4 {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.wa-checkbox-group-3ac61df4 input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
}

.wa-checkbox-group-3ac61df4 label {
    font-size: 13px;
    color: #666666;
    line-height: 1.4;
    cursor: pointer;
    margin-bottom: 0;
}

.wa-form-submit-3ac61df4 {
    width: 100%;
    padding: 14px;
    background-color: #FF7A00;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.wa-form-submit-3ac61df4:hover {
    background-color: #E06C00;
}

.wa-form-submit-3ac61df4:disabled {
    background-color: #CCCCCC;
    cursor: not-allowed;
}

.wa-error-msg-3ac61df4 {
    margin-top: 15px;
    color: #D32F2F;
    font-size: 13px;
    background-color: #FEEBEE;
    padding: 8px 12px;
    border-radius: 4px;
    text-align: center;
}
