.exit-intent-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.exit-intent-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
}

.exit-intent-modal-container {
    position: relative;
    width: 90%;
    max-width: 500px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    z-index: 10000;
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.exit-intent-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 10001;
}

.exit-intent-modal-close:hover {
    color: #333;
}

.exit-intent-modal-content {
    padding: 40px;
}

.exit-intent-modal-header h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 10px;
    color: #2D3436;
    text-align: center;
}

.exit-intent-modal-header p {
    font-size: 16px;
    color: #636E72;
    text-align: center;
    margin-bottom: 30px;
}

.question-text {
    font-weight: 500;
    color: #2D3436;
    margin-bottom: 20px;
    line-height: 1.5;
    text-align: center;
}

.exit-intent-form .form-group {
    margin-bottom: 20px;
}

.exit-intent-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2D3436;
    margin-bottom: 8px;
}

.exit-intent-form input[type="email"],
.exit-intent-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E1E8EE;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.exit-intent-form input[type="email"]:focus,
.exit-intent-form textarea:focus {
    outline: none;
    border-color: #5867dd;
    box-shadow: 0 0 0 4px rgba(88, 103, 221, 0.1);
}

.field-error {
    display: none;
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
}

.privacy-group {
    margin-bottom: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #636E72;
    cursor: pointer;
    font-weight: 400;
    margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 2px solid #E1E8EE;
    border-radius: 4px;
    margin-top: 1px;
    cursor: pointer;
    accent-color: #5867dd;
}

.checkbox-label a {
    color: #5867dd;
    text-decoration: underline;
}

.exit-intent-modal-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.btn-submit-feedback {
    background: linear-gradient(135deg, #5867dd 0%, #3f4ead 100%);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit-feedback:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(88, 103, 221, 0.3);
}

.btn-skip-feedback {
    background: transparent;
    border: none;
    color: #A4B0BE;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s;
}

.btn-skip-feedback:hover {
    color: #636E72;
}

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

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

@media (max-width: 480px) {
    .exit-intent-modal-content {
        padding: 30px 20px;
    }
}
