/* Popup Overlay */
.pdp-popup-overlay {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
    overflow: auto; /* Enable scroll if needed */
}

/* Popup Content */
.pdp-popup {
    background-color: #fff;
    margin: 10% auto; /* 10% from top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 400px; /* Could be more or less, depending on screen size */
    max-width: 80%;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s; /* Fade-in effect */
}

/* Close Button */
.pdp-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 15px;
}

.pdp-close:hover,
.pdp-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Fade-in Animation */
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}


/* Form elements styling */
#pdp-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 16px;
}
#pdp-form label span{
    color: red;
}

#pdp-form input[type="text"],
#pdp-form input[type="email"],
#pdp-form input[type="tel"] {
    width: 95%;
    padding: 10px 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#pdp-form button[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #002d62;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#pdp-form button[type="submit"]:hover {
    background-color: #005177;
}
