/* Vayu Blocks – Deactivation Feedback Popup */

/* Overlay */
.vayu-df-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.60);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Modal box */
.vayu-df-modal {
    background: #ffffff;
    border-radius: 6px;
    width: 100%;
    max-width: 520px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: vayuDfIn 0.22s ease;
}

@keyframes vayuDfIn {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Header */
.vayu-df-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 22px;
    border-bottom: 1px solid #f0f0f0;
}
.vayu-df-header strong {
    font-size: 0.9em;
    letter-spacing: 0.06em;
    color: #1e1e1e;
    text-transform: uppercase;
}
.vayu-df-icon {
    display: flex;
    align-items: center;
}

/* Body */
.vayu-df-body {
    padding: 22px 24px 16px;
    font-size: 14px;
}
.vayu-df-body > p {
    margin: 0 0 16px;
    font-size: 0.95em;
    color: #333;
    font-weight: 500;
    line-height: 1.5;
}

/* Reasons list */
.vayu-df-reasons {
    list-style: none;
    margin: 0;
    padding: 0;
}
.vayu-df-reasons li {
    margin-bottom: 10px;
}
.vayu-df-reasons label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9em;
    color: #444;
}
.vayu-df-reasons input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: #7B68EE !important;
    flex-shrink: 0;
    cursor: pointer;
    margin: 0;
}
.vayu-df-reasons label:hover span {
    color: #1e1e1e;
}

/* Detail textarea */
.vayu-df-detail {
    margin-top: 12px;
}
.vayu-df-detail textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.875em;
    resize: vertical;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.vayu-df-detail textarea:focus {
    border-color: #7B68EE !important;
    outline: none;
}

/* Footer */
.vayu-df-footer {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 24px 20px;
    border-top: 1px solid #f5f5f5;
}

.vayu-df-submit-btn.button-primary {
    background-color: #7B68EE !important;
    border-color: #7B68EE !important;
    color: #fff !important;
    padding: 8px 18px !important;
    font-size: 0.9em !important;
    height: auto !important;
    line-height: 1.5 !important;
    border-radius: 8px !important;
    cursor: pointer;
    transition: background-color 0.2s;
}
.vayu-df-submit-btn.button-primary:hover:not(:disabled) {
    background-color: #6254d4 !important;
    border-color: #5347b8 !important;
}
.vayu-df-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.vayu-df-skip-link {
    font-size: 0.875em;
    color: #555;
    text-decoration: none;
}
.vayu-df-skip-link:hover {
    color: #6254d4;
    text-decoration: underline;
}
