/* === GATED PDF PLUGIN - FULL THEME MATCH v1.1 === */

/* PDF BUTTON */
.gpd-pdf-btn {
    background: linear-gradient(135deg, #1E3A8A 0%, #3D9DA8 100%) !important;
    color: white !important;
    padding: 14px 28px !important;
    border-radius: 12px !important;
    border: none !important;
    font: 600 16px/1 'Poppins', sans-serif !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(30,58,138,0.2) !important;
    position: relative;
    overflow: hidden;
}

.gpd-pdf-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 24px rgba(30,58,138,0.3) !important;
    background: linear-gradient(135deg, #16306b 0%, #2a7a85 100%) !important;
}

.gpd-pdf-btn::before {
    content: "PDF";
    font-size: 11px;
    font-weight: 700;
    background: rgba(255,255,255,0.25);
    padding: 3px 7px;
    border-radius: 6px;
    margin-right: 8px;
}

/* POPUP OVERLAY */
.gpd-popup {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.88);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.gpd-popup.show { 
    display: flex; 
    animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* FORM CONTAINER */
.gpd-form {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    width: 90%; 
    max-width: 440px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    position: relative;
    animation: popupScale 0.4s ease;
}
@keyframes popupScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* CLOSE BUTTON */
.gpd-close {
    position: absolute; 
    top: 16px; right: 20px;
    font-size: 32px; 
    font-weight: 300; 
    color: #ccc;
    cursor: pointer; 
    transition: all 0.3s;
    line-height: 1;
}
.gpd-close:hover { 
    color: #1E3A8A; 
    transform: rotate(90deg); 
}

/* FORM TITLE */
.gpd-form h3 {
    margin: 0 0 1.8rem; 
    font: 700 1.6rem 'Poppins', sans-serif; 
    color: transparent;
    background: linear-gradient(135deg, #1E3A8A, #3D9DA8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

/* INPUT FIELDS */
.gpd-form input[type="text"],
.gpd-form input[type="email"],
.gpd-form input[type="tel"] {
    width: 100%; 
    padding: 14px 16px; 
    margin: 11px 0;
    border: 1.5px solid #e0e0e0; 
    border-radius: 10px; 
    font: 500 15px 'Poppins', sans-serif;
    transition: all 0.3s;
    background: #fdfdfd;
}
.gpd-form input:focus {
    border-color: #1E3A8A !important;
    box-shadow: 0 0 0 3px rgba(30,58,138,0.1) !important;
    outline: none;
}

/* CHECKBOX & TERMS */
.gpd-form label {
    display: flex; 
    align-items: center; 
    font: 500 13.5px 'Poppins', sans-serif; 
    color: #555; 
    margin: 14px 0;
    cursor: pointer;
}
.gpd-form input[type="checkbox"] { 
    margin-right: 10px; 
    width: 18px; height: 18px;
    accent-color: #1E3A8A;
    cursor: pointer;
}
.gpd-form a { 
    color: #1E3A8A; 
    text-decoration: underline; 
    font-weight: 600;
}

/* SUBMIT BUTTON */
.gpd-form button {
    background: linear-gradient(135deg, #1E3A8A 0%, #3D9DA8 100%);
    color: white; 
    border: none; 
    padding: 15px;
    width: 100%; 
    border-radius: 12px; 
    font: 600 16px 'Poppins', sans-serif;
    cursor: pointer; 
    margin-top: 12px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(30,58,138,0.2);
}
.gpd-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30,58,138,0.3);
}
.gpd-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* MOBILE */
@media (max-width: 480px) {
    .gpd-form {
        padding: 2rem;
        margin: 20px;
    }
    .gpd-form h3 {
        font-size: 1.4rem;
    }
}