.wpdf-feedback-form {
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.wpdf-feedback-form p {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

[type="radio"]:checked,
[type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}

[type="radio"]:checked + label,
[type="radio"]:not(:checked) + label {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 18px;
    display: inline-block;
    color: #666;
}

[type="radio"]:checked + label:before,
[type="radio"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 1px solid #ddd;
    border-radius: 100%;
    background: #fff;
}

[type="radio"]:checked + label:after,
[type="radio"]:not(:checked) + label:after {
    content: '';
    width: 12px;
    height: 12px;
    background: #007cba; /* Original blue color */
    position: absolute;
    top: 3px; /* Adjusted this value for better alignment */
    left: 3px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

[type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}

[type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.5); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fff;
    margin: 10% auto; /* Centered with less top margin */
    padding: 10px 20px; /* Less padding */
    border: none;
    width: auto; /* Auto width to fit content */
    max-width: 400px; /* Maximum width */
    border-radius: 8px; /* Smooth corners */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Softer shadow */
    text-align: center;
    position: relative;
    animation: fadeInUp 0.3s ease-out; /* Smooth fade-in */
}

/* Add a fade-in and slide-up effect */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* The Close Button */
.close {
    color: #555;
    position: absolute;
    top: 5px; /* Adjusted closer to the top */
    right: 10px;
    font-size: 18px; /* Slightly smaller */
    font-weight: normal;
    transition: color 0.2s;
}

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

/* Customize the text inside the modal */
#modalMessage {
    font-size: 16px;
    color: #333;
    font-weight: bold;
    margin: 0; /* Remove margin */
    line-height: 2.4; /* Adjust line height */
}



