.awd-exit-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.awd-exit-overlay.is-visible {
    display: flex;
}

.awd-exit-modal {
    position: relative;
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: awd-exit-slide-in 0.35s ease-out;
}

@keyframes awd-exit-slide-in {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.awd-exit-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 1.5rem 1.75rem 1.25rem;
}

.awd-exit-header h2 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.awd-exit-body {
    padding: 1.5rem 1.75rem 1.75rem;
    color: #333;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.awd-exit-body p {
    margin: 0 0 0.85rem;
    line-height: 1.6;
    font-size: 0.975rem;
    color: #4a5568;
}

.awd-exit-body p:last-of-type {
    margin-bottom: 1.25rem;
}

.awd-exit-cta {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.9rem 1.25rem;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.awd-exit-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    color: #fff;
}

.awd-exit-close {
    position: absolute;
    top: 0.65rem;
    right: 0.85rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem;
    opacity: 0.85;
    z-index: 1;
}

.awd-exit-close:hover {
    opacity: 1;
}

.awd-exit-dismiss {
    display: block;
    width: 100%;
    margin-top: 0.75rem;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0.35rem;
    font-family: inherit;
}

.awd-exit-dismiss:hover {
    color: #64748b;
}

@media (max-width: 480px) {
    .awd-exit-header h2 {
        font-size: 1.2rem;
    }

    .awd-exit-body {
        padding: 1.25rem 1.35rem 1.5rem;
    }
}
