body.dpfpa-restricted > *:not(#dpfpa-overlay):not(script):not(link):not(style) {
filter: blur(12px);
pointer-events: none;
user-select: none;
}
#dpfpa-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 999999;
display: flex;
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.4);
overflow-y: auto;
padding: 20px;
box-sizing: border-box;
}
#dpfpa-popup {
background: #fff;
border-radius: 12px;
padding: 40px;
max-width: 480px;
width: 100%;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
animation: dpfpa-slide-in 0.35s ease-out;
}
@keyframes dpfpa-slide-in {
from {
opacity: 0;
transform: translateY(30px) scale(0.96);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}
.dpfpa-popup-title {
margin: 0 0 8px;
font-size: 24px;
font-weight: 700;
color: #1a1a1a;
}
.dpfpa-popup-desc {
margin: 0 0 24px;
color: #555;
font-size: 15px;
line-height: 1.5;
}
.dpfpa-form-field {
margin-bottom: 16px;
}
.dpfpa-form-field label {
display: block;
margin-bottom: 6px;
font-weight: 600;
font-size: 14px;
color: #333;
}
.dpfpa-req {
color: #e74c3c;
}
.dpfpa-form-field input[type="text"],
.dpfpa-form-field input[type="email"],
.dpfpa-form-field input[type="tel"],
.dpfpa-form-field textarea,
.dpfpa-form-field select {
width: 100%;
padding: 10px 14px;
border: 1px solid #ddd;
border-radius: 6px;
font-size: 15px;
font-family: inherit;
transition: border-color 0.2s;
box-sizing: border-box;
}
.dpfpa-form-field input:focus,
.dpfpa-form-field textarea:focus,
.dpfpa-form-field select:focus {
outline: none;
border-color: #2563eb;
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.dpfpa-form-field textarea {
min-height: 80px;
resize: vertical;
}
.dpfpa-checkbox-label {
display: flex !important;
align-items: flex-start;
gap: 8px;
font-weight: 400 !important;
cursor: pointer;
}
.dpfpa-checkbox-label input[type="checkbox"] {
margin-top: 3px;
}
.dpfpa-submit-wrap {
margin-top: 24px;
}
#dpfpa-submit {
width: 100%;
padding: 12px;
background: #2563eb;
color: #fff;
border: none;
border-radius: 6px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: background 0.2s;
}
#dpfpa-submit:hover {
background: #1d4ed8;
}
#dpfpa-submit:disabled {
opacity: 0.6;
cursor: not-allowed;
}
#dpfpa-error {
margin-top: 12px;
padding: 10px 14px;
background: #fef2f2;
border: 1px solid #fecaca;
border-radius: 6px;
color: #dc2626;
font-size: 14px;
}
@media (max-width: 520px) {
#dpfpa-popup {
padding: 24px;
}
}