/* ==============================================
   BEGEP CONVERSION v2.0 — Design Premium
   Inspiré Solarock : épuré, aéré, moderne
   Palette BEGEP: #0D47A1 (bleu), #F5A623 (or), #fff
   ============================================== */

:root {
    --begep-blue: #0D47A1;
    --begep-blue-dark: #0a3577;
    --begep-gold: #F5A623;
    --begep-gold-hover: #e8950f;
    --begep-text: #1a1a2e;
    --begep-text-light: #6b7280;
    --begep-bg: #ffffff;
    --begep-bg-soft: #f8fafc;
    --begep-border: #e2e8f0;
    --begep-success: #059669;
    --begep-error: #dc2626;
    --begep-radius: 12px;
    --begep-shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --begep-shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --begep-shadow-lg: 0 20px 50px rgba(0,0,0,0.15);
    --begep-shadow-xl: 0 25px 60px rgba(0,0,0,0.2);
    --begep-font: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ==========================================
   MODAL DEVIS GRATUIT
   ========================================== */
.begep-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.begep-modal.active {
    display: flex;
}

.begep-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 30, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: begepFadeIn 0.3s ease;
}

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

@keyframes begepSlideUp {
    from { opacity: 0; transform: translateY(24px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes begepSpin {
    to { transform: rotate(360deg); }
}

.begep-modal-container {
    position: relative;
    background: var(--begep-bg);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--begep-shadow-xl);
    animation: begepSlideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.begep-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: var(--begep-bg-soft);
    border: 1px solid var(--begep-border);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--begep-text-light);
    transition: all 0.2s;
    z-index: 1;
}

.begep-modal-close:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: var(--begep-error);
}

/* --- Modal Header --- */
.begep-modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.begep-modal-badge {
    display: inline-block;
    background: linear-gradient(135deg, #EBF5FF, #DBEAFE);
    color: var(--begep-blue);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 16px;
    font-family: var(--begep-font);
}

.begep-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--begep-text);
    line-height: 1.3;
    margin: 0 0 8px 0;
    font-family: var(--begep-font);
}

.begep-modal-subtitle {
    font-size: 14px;
    color: var(--begep-text-light);
    margin: 0;
    font-family: var(--begep-font);
}

.begep-modal-subtitle strong {
    color: var(--begep-blue);
}

/* --- Form Fields --- */
.begep-modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.begep-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.begep-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--begep-text);
    font-family: var(--begep-font);
}

.begep-field label span {
    color: var(--begep-error);
}

.begep-field-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.begep-modal-form input,
.begep-modal-form select,
.begep-modal-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--begep-border);
    border-radius: var(--begep-radius);
    font-size: 14px;
    font-family: var(--begep-font);
    color: var(--begep-text);
    background: var(--begep-bg);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    box-sizing: border-box;
}

.begep-modal-form input::placeholder,
.begep-modal-form textarea::placeholder {
    color: #94a3b8;
}

.begep-modal-form input:focus,
.begep-modal-form select:focus,
.begep-modal-form textarea:focus {
    border-color: var(--begep-blue);
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
}

.begep-modal-form textarea {
    resize: vertical;
    min-height: 80px;
}

.begep-modal-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

/* --- Submit Button --- */
.begep-modal-submit,
.begep-modal-submit:visited,
.begep-modal-submit:link {
    width: 100% !important;
    padding: 14px 24px !important;
    background: #0D47A1 !important;
    background-color: #0D47A1 !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--begep-radius) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    font-family: var(--begep-font) !important;
    cursor: pointer;
    transition: all 0.25s;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
    line-height: 1.4;
    box-sizing: border-box;
}

.begep-modal-submit:hover,
.begep-modal-submit:focus {
    background: #0a3577 !important;
    background-color: #0a3577 !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(13, 71, 161, 0.3);
}

.begep-modal-submit:active {
    transform: translateY(0);
}

.begep-spinner {
    animation: begepSpin 1s linear infinite;
}

/* --- Trust Badges --- */
.begep-modal-trust {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--begep-border);
}

.begep-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--begep-text-light);
    font-family: var(--begep-font);
    font-weight: 500;
}

/* --- Form Messages --- */
.begep-form-message {
    padding: 12px 16px;
    border-radius: var(--begep-radius);
    font-size: 14px;
    text-align: center;
    font-family: var(--begep-font);
}

.begep-form-message.success {
    background: #ecfdf5;
    color: var(--begep-success);
    border: 1px solid #a7f3d0;
}

.begep-form-message.error {
    background: #fef2f2;
    color: var(--begep-error);
    border: 1px solid #fecaca;
}

/* ==========================================
   WIDGET WHATSAPP AVEC INTERFACE DE CHAT
   ========================================== */
.begep-wa-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99997;
    font-family: var(--begep-font);
}

/* Bouton principal flottant */
.begep-wa-toggle {
    position: relative;
    width: 60px;
    height: 60px;
    background: #25D366;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    opacity: 0;
    transform: scale(0.8) translateY(20px);
}

.begep-wa-toggle.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.begep-wa-toggle:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.begep-wa-toggle::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.3);
    animation: begepPulse 2s infinite;
}

@keyframes begepPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0; }
}

.begep-wa-toggle .begep-wa-icon {
    display: block;
    transition: opacity 0.2s, transform 0.2s;
}

.begep-wa-toggle .begep-wa-close {
    position: absolute;
    opacity: 0;
    transform: rotate(-90deg);
    transition: opacity 0.2s, transform 0.2s;
}

.begep-wa-toggle.active .begep-wa-icon {
    opacity: 0;
    transform: rotate(90deg);
}

.begep-wa-toggle.active .begep-wa-close {
    opacity: 1;
    transform: rotate(0);
}

.begep-wa-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 20px;
    background: #dc2626;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    animation: begepBounce 2s infinite;
}

@keyframes begepBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Fenêtre de chat */
.begep-wa-chat {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    max-width: calc(100vw - 48px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    transform-origin: bottom right;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
}

.begep-wa-chat.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: all;
}

/* Header du chat */
.begep-wa-chat-header {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.begep-wa-agent {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.begep-wa-avatar {
    position: relative;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.begep-wa-avatar svg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.begep-wa-status {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #25D366;
    border: 2px solid #128C7E;
    border-radius: 50%;
}

.begep-wa-info {
    flex: 1;
    min-width: 0;
}

.begep-wa-name {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.begep-wa-online {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

.begep-wa-minimize {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.begep-wa-minimize:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Corps du chat */
.begep-wa-chat-body {
    background: #ECE5DD url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="pattern" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M25 25 L25 75 L75 75 L75 25 Z" fill="none" stroke="%23D9D9D9" stroke-width="0.5" opacity="0.08"/></pattern></defs><rect width="100" height="100" fill="url(%23pattern)"/></svg>');
    padding: 20px;
    min-height: 240px;
    max-height: 400px;
    overflow-y: auto;
}

.begep-wa-message-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.begep-wa-message {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.begep-wa-message-bubble {
    background: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    max-width: 85%;
    position: relative;
}

.begep-wa-message-bubble::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 8px 8px 0;
    border-color: transparent #fff transparent transparent;
}

.begep-wa-message-bubble p {
    margin: 0 0 6px 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--begep-text);
}

.begep-wa-message-bubble p:last-child {
    margin-bottom: 0;
}

.begep-wa-message-meta {
    font-size: 13px !important;
    color: var(--begep-text-light) !important;
}

.begep-wa-message-time {
    font-size: 11px;
    color: #667781;
    padding-left: 14px;
}

/* Footer du chat */
.begep-wa-chat-footer {
    background: #fff;
    padding: 12px;
    border-top: 1px solid #e9edef;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.begep-wa-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.begep-wa-quick-reply {
    background: #fff;
    border: 1.5px solid #e9edef;
    color: var(--begep-text);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.begep-wa-quick-reply:hover {
    background: #f0f2f5;
    border-color: #25D366;
    color: #25D366;
}

.begep-wa-start-chat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: #fff !important;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
}

.begep-wa-start-chat:hover {
    background: #1fb855;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    color: #fff !important;
}

/* ==========================================
   BANNIERE CONVERSION (style cookie-consent)
   ========================================== */

/* Bouton de réactivation de la bannière */
.begep-banner-toggle {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    z-index: 99996;
    background: linear-gradient(135deg, var(--begep-blue) 0%, var(--begep-blue-dark) 100%);
    color: #fff;
    border: none;
    border-radius: 12px 12px 0 0;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--begep-font);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 -4px 20px rgba(13, 71, 161, 0.3);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    white-space: nowrap;
}

.begep-banner-toggle.visible {
    transform: translateX(-50%) translateY(0);
}

.begep-banner-toggle:hover {
    transform: translateX(-50%) translateY(-4px);
    box-shadow: 0 -8px 30px rgba(13, 71, 161, 0.4);
    background: linear-gradient(135deg, var(--begep-blue-dark) 0%, var(--begep-blue) 100%);
}

.begep-banner-toggle svg {
    animation: begepBounceArrow 2s ease-in-out infinite;
}

@keyframes begepBounceArrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.begep-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99998;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.begep-banner.visible {
    transform: translateY(0);
}

.begep-banner.dismissed {
    transform: translateY(100%);
}

.begep-banner-inner {
    background: var(--begep-bg);
    border-top: 3px solid var(--begep-blue);
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.12);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    max-width: 1400px;
    margin: 0 auto;
}

.begep-banner-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
}

.begep-banner-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #EBF5FF, #DBEAFE);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.begep-banner-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--begep-text);
    margin: 0 0 4px 0;
    line-height: 1.4;
    font-family: var(--begep-font);
}

.begep-banner-desc {
    font-size: 13px;
    color: var(--begep-text-light);
    margin: 0;
    line-height: 1.5;
    font-family: var(--begep-font);
}

.begep-banner-desc strong {
    color: var(--begep-text);
}

.begep-banner-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.begep-banner-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--begep-blue);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--begep-font);
    cursor: pointer;
    transition: all 0.25s;
    white-space: nowrap;
}

.begep-banner-btn-primary:hover {
    background: var(--begep-blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(13, 71, 161, 0.3);
}

.begep-banner-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    background: #25D366;
    color: #fff !important;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--begep-font);
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    white-space: nowrap;
}

.begep-banner-btn-whatsapp:hover {
    background: #1fb855;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    color: #fff !important;
}

.begep-banner-dismiss {
    background: none;
    border: 1.5px solid var(--begep-border);
    color: var(--begep-text-light);
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    font-family: var(--begep-font);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.begep-banner-dismiss:hover {
    border-color: #cbd5e1;
    background: var(--begep-bg-soft);
    color: var(--begep-text);
}

/* ==========================================
   POPUP EXIT-INTENT
   ========================================== */
.begep-exit-popup {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.begep-exit-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 30, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: begepFadeIn 0.3s ease;
}

.begep-exit-card {
    position: relative;
    background: var(--begep-bg);
    max-width: 420px;
    width: 100%;
    border-radius: 20px;
    padding: 36px 32px;
    text-align: center;
    box-shadow: var(--begep-shadow-xl);
    animation: begepSlideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.begep-exit-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    background: var(--begep-bg-soft);
    border: 1px solid var(--begep-border);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--begep-text-light);
    transition: all 0.2s;
}

.begep-exit-close:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: var(--begep-error);
}

/* --- Exit Header --- */
.begep-exit-header {
    margin-bottom: 24px;
}

.begep-exit-icon-wrap {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #EBF5FF, #DBEAFE);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.begep-exit-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--begep-text);
    margin: 0 0 8px 0;
    line-height: 1.3;
    font-family: var(--begep-font);
}

.begep-exit-desc {
    font-size: 14px;
    color: var(--begep-text-light);
    line-height: 1.6;
    margin: 0;
    font-family: var(--begep-font);
}

.begep-exit-desc strong {
    color: var(--begep-blue);
}

/* --- Exit Form --- */
.begep-exit-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.begep-exit-form input,
.begep-exit-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--begep-border);
    border-radius: var(--begep-radius);
    font-size: 14px;
    font-family: var(--begep-font);
    color: var(--begep-text);
    background: var(--begep-bg);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    box-sizing: border-box;
}

.begep-exit-form input::placeholder {
    color: #94a3b8;
}

.begep-exit-form input:focus,
.begep-exit-form select:focus {
    border-color: var(--begep-blue);
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
}

.begep-exit-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

.begep-exit-submit,
.begep-exit-submit:visited {
    width: 100% !important;
    padding: 14px 24px !important;
    background: #0D47A1 !important;
    background-color: #0D47A1 !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--begep-radius) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    font-family: var(--begep-font) !important;
    cursor: pointer;
    transition: all 0.25s;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
}

.begep-exit-submit:hover,
.begep-exit-submit:focus {
    background: #0a3577 !important;
    background-color: #0a3577 !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(13, 71, 161, 0.3);
}

.begep-exit-note {
    font-size: 11px;
    color: #9ca3af;
    margin: 16px 0 0 0;
    font-family: var(--begep-font);
}

.begep-exit-message {
    padding: 12px 16px;
    border-radius: var(--begep-radius);
    font-size: 14px;
    font-family: var(--begep-font);
}

.begep-exit-message.success {
    background: #ecfdf5;
    color: var(--begep-success);
    border: 1px solid #a7f3d0;
}

.begep-exit-message.error {
    background: #fef2f2;
    color: var(--begep-error);
    border: 1px solid #fecaca;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 640px) {
    .begep-modal-container {
        padding: 28px 20px;
        border-radius: 16px;
        max-height: 92vh;
    }

    .begep-modal-title {
        font-size: 20px;
    }

    .begep-field-group {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .begep-modal-trust {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .begep-exit-card {
        padding: 28px 20px;
        border-radius: 16px;
    }

    .begep-exit-title {
        font-size: 18px;
    }

    .begep-banner-inner {
        flex-direction: column;
        padding: 20px;
        gap: 16px;
    }

    .begep-banner-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .begep-banner-title {
        font-size: 15px;
    }

    .begep-banner-desc {
        font-size: 12px;
    }

    .begep-banner-actions {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .begep-banner-btn-primary,
    .begep-banner-btn-whatsapp,
    .begep-banner-dismiss {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .begep-wa-widget {
        bottom: 16px;
        right: 16px;
    }

    .begep-wa-toggle {
        width: 54px;
        height: 54px;
    }

    .begep-wa-chat {
        width: calc(100vw - 32px);
        max-width: none;
        bottom: 70px;
        right: -8px;
    }

    .begep-wa-chat-body {
        max-height: 300px;
    }

    .begep-wa-quick-replies {
        flex-direction: column;
    }

    .begep-wa-quick-reply {
        width: 100%;
        text-align: center;
    }

    .begep-banner-toggle {
        padding: 8px 16px;
        font-size: 12px;
    }

    .begep-banner-toggle svg {
        width: 16px;
        height: 16px;
    }
}
