.dgf-feedback-overlay {
display: flex;
align-items: center;
justify-content: center;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7);
z-index: 999999;
opacity: 0;
visibility: hidden;
transition: opacity 0.4s ease-in-out, visibility 0.4s;
}
.dgf-feedback-overlay.dgf-feedback-active {
opacity: 1;
visibility: visible;
} .dgf-feedback-modal {
background: #fff;
border-radius: 8px;
max-width: 500px;
width: 90%;
max-height: 90vh;
overflow-y: auto;
position: relative;
padding: 30px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
transform: scale(0.7) translateY(-20px);
opacity: 0;
transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
opacity 0.4s ease-in-out;
}
.dgf-feedback-overlay.dgf-feedback-active .dgf-feedback-modal {
transform: scale(1) translateY(0);
opacity: 1;
} .dgf-feedback-close {
position: absolute;
top: 15px;
right: 15px;
background: none;
border: none;
font-size: 28px;
line-height: 1;
cursor: pointer;
color: #999;
padding: 0;
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
transition: color 0.2s ease;
}
.dgf-feedback-close:hover {
color: #333;
background-color: #ffffff
} .dgf-feedback-title {
margin: 0 0 20px 0;
font-size: 24px;
font-weight: 600;
color: #333;
} .dgf-feedback-form {
display: block;
}
.dgf-feedback-field {
margin-bottom: 20px;
}
.dgf-feedback-field label {
display: block;
margin-bottom: 8px;
font-weight: 500;
color: #333;
font-size: 14px;
}
.dgf-feedback-field input[type="text"],
.dgf-feedback-field input[type="email"],
.dgf-feedback-field textarea {
width: 100%;
padding: 12px;
border: 1px solid #ddd;
border-radius: 8px;
font-size: 16px;
font-family: inherit;
transition: border-color 0.2s ease;
box-sizing: border-box;
}
.dgf-feedback-field input:focus,
.dgf-feedback-field textarea:focus {
outline: none;
border-color: #4a90e2;
}
.dgf-feedback-field textarea {
resize: vertical;
min-height: 100px;
} .dgf-feedback-privacy {
margin-bottom: 20px;
padding: 15px;
background-color: #f8f9fa;
border-radius: 4px;
}
.dgf-feedback-checkbox-label {
display: flex;
align-items: flex-start;
cursor: pointer;
font-size: 14px;
color: #555;
}
.dgf-feedback-checkbox-label input[type="checkbox"] {
margin-right: 10px;
margin-top: 2px;
cursor: pointer;
}
.dgf-feedback-checkbox-label span {
line-height: 1.5;
}
.dgf-feedback-checkbox-label a {
color: #555555;
text-decoration: none;
}
.dgf-feedback-checkbox-label a:hover {
text-decoration: underline;
} .dgf-feedback-actions {
margin-top: 25px;
}
.dgf-feedback-submit {
width: 100%;
padding: 12px 24px;
background-color: #f36805;
color: #fff;
border: none;
border-radius: 25px;
font-size: 16px;
font-weight: 500;
cursor: pointer;
transition: background-color 0.2s ease;
}
.dgf-feedback-submit:hover {
background-color: #000000c2;
}
.dgf-feedback-submit:disabled {
background-color: #ccc;
cursor: not-allowed;
} .dgf-feedback-message {
margin-top: 15px;
padding: 12px;
border-radius: 4px;
font-size: 14px;
}
.dgf-feedback-message.dgf-feedback-error {
background-color: #fee;
color: #c33;
border: 1px solid #fcc;
}
.dgf-feedback-message.dgf-feedback-success-msg {
background-color: #efe;
color: #3c3;
border: 1px solid #cfc;
} .dgf-feedback-success {
text-align: center;
padding: 20px 0;
}
.dgf-feedback-success-icon {
width: 60px;
height: 60px;
margin: 0 auto 20px;
background-color: #4caf50;
color: #fff;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 36px;
font-weight: bold;
}
.dgf-feedback-success h3 {
margin: 0 0 10px 0;
font-size: 22px;
color: #333;
}
.dgf-feedback-success p {
margin: 0 0 25px 0;
color: #666;
font-size: 14px;
}
.dgf-feedback-close-success {
padding: 10px 30px;
background-color: #f36805;
color: #fff;
border: none;
border-radius: 25px;
font-size: 14px;
cursor: pointer;
transition: background-color 0.2s ease;
}
.dgf-feedback-close-success:hover {
background-color: #000000c2;
} .dgf-feedback-form.dgf-feedback-loading .dgf-feedback-submit {
position: relative;
color: transparent;
}
.dgf-feedback-form.dgf-feedback-loading .dgf-feedback-submit::after {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 16px;
height: 16px;
margin-top: -8px;
margin-left: -8px;
border: 2px solid #fff;
border-top-color: transparent;
border-radius: 50%;
animation: dgf-feedback-spin 0.6s linear infinite;
}
@keyframes dgf-feedback-spin {
to {
transform: rotate(360deg);
}
} @media (max-width: 600px) {
.dgf-feedback-modal {
padding: 20px;
width: 95%;
}
.dgf-feedback-title {
font-size: 20px;
}
}