/* Deactivation Feedback Popup */

.iafwzdesk-deactivate-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

.iafwzdesk-deactivate-overlay.iafwzdesk-deactivate-visible {
    display: flex;
    animation: iafwzdeskDeactivateFadeIn 0.2s ease;
}

@keyframes iafwzdeskDeactivateFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.iafwzdesk-deactivate-modal {
    background: #ffffff;
    width: 480px;
    max-width: 95%;
    max-height: calc(100vh - 80px);
    border-radius: 8px;
    border-top: 4px solid #2271b1;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: iafwzdeskDeactivateSlideUp 0.25s ease;
}

@keyframes iafwzdeskDeactivateSlideUp {
    from { transform: translateY(30px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.iafwzdesk-deactivate-header {
    padding: 18px 25px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.iafwzdesk-deactivate-title {
    font-size: 16px;
    font-weight: 700;
    color: #1d2327;
    margin: 0 0 4px;
    padding-right: 30px;
}

.iafwzdesk-deactivate-subtitle {
    font-size: 13px;
    color: #50575e;
    margin: 0;
}

.iafwzdesk-deactivate-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 22px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}

.iafwzdesk-deactivate-close:hover {
    color: #2271b1;
}

.iafwzdesk-deactivate-body {
    position: relative;
    flex: 1 1 auto;
    overflow: hidden;
    text-align: center;
}

.iafwzdesk-deactivate-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 36px;
    height: 36px;
    border: 3px solid #e0e0e0;
    border-top-color: #2271b1;
    border-radius: 50%;
    animation: iafwzdeskDeactivateSpin 0.8s linear infinite;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    z-index: 1;
}

@keyframes iafwzdeskDeactivateSpin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.iafwzdesk-deactivate-iframe {
    display: block;
    width: 100%;
    height: 370px;
    border: none;
}

.iafwzdesk-deactivate-footer {
    text-align: center;
    border-top: 1px solid #eee;
    padding: 12px 25px;
}

.iafwzdesk-deactivate-skip {
    background: none;
    border: none;
    color: #787c82;
    cursor: pointer;
    font-size: 13px;
    padding: 0;
}

.iafwzdesk-deactivate-skip:hover {
    color: #1d2327;
    text-decoration: underline;
}
