/* Keep existing modal styling */
#price-gate-modal {
    display: none;
    position: fixed;
    z-index: 999999 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    transition: opacity 0.3s ease-in-out;
}

.price-modal-hidden {
    opacity: 0;
    pointer-events: none;
}

.price-modal-visible {
    display: block !important;
    opacity: 1;
}

.price-modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.modal-title {
    font-size: 25px;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
}

.price-gate-modal button {
    background: #ae2024;
    border-radius: 50px;
    margin-bottom: 30px;
    padding: 15px 30px;
    font-size: 1.2em;
}

/* Close button */
.price-modal-close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
}
.price-modal-close:hover,
.price-modal-close:focus {
    color: #000;
}

/* Form layout */
.wgphl-unlock-form { width: 100%; text-align: center; }
.wgphl-unlock-form label { display: none; }
.wgphl-unlock-form .wgphl-tos { text-align: left; font-size: 14px; }
.wgphl-unlock-form .wgphl-tos-label { display: block; margin-bottom: 15px; }

#wgphl-modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 15px;
}
#wgphl-modal-body input[type="text"],
#wgphl-modal-body input[type="email"],
#wgphl-modal-body input[type="tel"] {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 50px;
    padding-left: 20px;
}
#wgphl-modal-body button[type="submit"] {
    width: 250px;
    max-width: 100%;
    background: #ae2024;
    border-radius: 50px;
    margin-bottom: 30px;
    padding: 15px 30px;
    font-size: 1.2em;
    margin: 15px auto;
    font-weight: 700;
    line-height: 20px;
}

/* Trigger button */
#wgphl-open-modal {
    display: inline-block;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    background: #ae2024;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
}
#wgphl-open-modal:hover {
    background: #8c1a1d;
}
#wgphl-open-modal:focus {
    outline: 2px solid #ae2024;
    outline-offset: 2px;
}
