/* ==========================================================================
   OLD SYSTEM (.rappel-* classes) — used by [rappel_btn] shortcode
   ========================================================================== */
.rappel-overlay {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 99998;
}
.rappel-popup {
    display: none !important;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 16px;
    padding: 0;
    z-index: 99999;
    max-width: 520px;
    width: 92%;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
    max-height: 90vh;
    overflow-y: auto;
}
.rappel-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #999;
    line-height: 1;
    font-family: inherit;
    z-index: 1;
    transition: color 0.2s;
}
.rappel-close:hover {
    color: #333;
}
.rappel-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 25px 30px 0;
}
.rappel-badge {
    background: #e8f4e8;
    color: #2d7d2d;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.rappel-intro {
    text-align: center;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    padding: 15px 30px 0;
    margin: 0;
}
.rappel-form {
    padding: 20px 30px 30px;
}
.rappel-field {
    margin-bottom: 15px;
}
.rappel-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
    color: #333;
}
.rappel-input-wrap {
    display: flex;
    align-items: center;
    border: 1.5px solid #d0d0d0;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.rappel-input-wrap:focus-within {
    border-color: #0855FE;
    box-shadow: 0 0 0 3px rgba(8, 85, 254, 0.12);
}
.rappel-icon {
    padding: 0 10px 0 14px;
    font-size: 16px;
    flex-shrink: 0;
}
.rappel-input-wrap input,
.rappel-input-wrap textarea {
    border: none;
    outline: none;
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    flex: 1;
    min-width: 0;
    background: transparent;
}
.rappel-field textarea {
    border: 1.5px solid #d0d0d0;
    border-radius: 8px;
    width: 100%;
    padding: 12px 15px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    resize: vertical;
    min-height: 80px;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}
.rappel-field textarea:focus {
    border-color: #0855FE;
    box-shadow: 0 0 0 3px rgba(8, 85, 254, 0.12);
}
.rappel-submit {
    display: block;
    width: 100%;
    padding: 14px 30px;
    background: #0855FE;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 5px;
}
.rappel-submit:hover {
    background: #0640CC;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 85, 254, 0.35);
}
.rappel-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}
.rappel-success {
    text-align: center;
    padding: 40px 30px;
}
.rappel-success p {
    font-size: 15px;
    color: #555;
    margin: 0;
}

/* ==========================================================================
   NEW SYSTEM (.bl-rappel-* classes) — used by [rappel_popup] shortcode
   ========================================================================== */
sr7-txt .bl-rappel-trigger-btn,
.bl-rappel-trigger-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: #0855FE;
    color: #fff !important;
    border: none !important;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer !important;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: 0 4px 15px rgba(8, 85, 254, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
    text-decoration: none;
    position: relative;
    z-index: 10;
    overflow: visible;
    pointer-events: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.bl-rappel-trigger-btn span {
    color: #fff !important;
}
.bl-rappel-trigger-btn:hover {
    background: #0640CC !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 85, 254, 0.45);
}
.bl-rappel-trigger-btn:active {
    transform: translateY(0);
}
.bl-rappel-trigger-btn:after {
    content: "\276F";
    font-size: 11px;
    margin-left: 2px;
}
.bl-rappel-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 99998;
}
.bl-rappel-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 16px;
    z-index: 99999;
    max-width: 520px;
    width: 92%;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
    max-height: 90vh;
    overflow-y: auto;
}
.bl-rappel-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #999;
    line-height: 1;
    font-family: inherit;
    z-index: 1;
    transition: color 0.2s;
}
.bl-rappel-close:hover {
    color: #333;
}
.bl-rappel-header {
    text-align: center;
    padding: 30px 30px 0;
}
.bl-rappel-header h3 {
    font-size: 20px;
    margin: 0 0 15px;
    color: #1a1a1a;
}
.bl-rappel-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.bl-rappel-badge {
    background: #e8f4e8;
    color: #2d7d2d;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.bl-rappel-badge svg {
    width: 14px;
    height: 14px;
}
.bl-rappel-body {
    padding: 25px 30px 30px;
}
.bl-rappel-desc {
    text-align: center;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}
.bl-rappel-global-error {
    display: none;
    background: #fee;
    color: #c00;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 13px;
    text-align: center;
}
.bl-rappel-row {
    display: flex;
    gap: 15px;
}
.bl-rappel-field {
    margin-bottom: 15px;
    flex: 1;
}
.bl-rappel-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
    color: #333;
}
.bl-rappel-optional {
    font-weight: 400;
    color: #999;
}
.bl-rappel-field input,
.bl-rappel-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid #d0d0d0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}
.bl-rappel-field input:focus,
.bl-rappel-field textarea:focus {
    border-color: #0855FE;
    box-shadow: 0 0 0 3px rgba(8, 85, 254, 0.12);
}
.bl-rappel-input-error,
.bl-rappel-field input.bl-rappel-input-error {
    border-color: #c00 !important;
}
.bl-rappel-field textarea {
    resize: vertical;
    min-height: 80px;
}
.bl-rappel-field-error {
    display: none;
    color: #c00;
    font-size: 12px;
    margin-top: 4px;
}
.bl-rappel-submit {
    display: block;
    width: 100%;
    padding: 14px 30px;
    background: #0855FE;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 5px;
}
.bl-rappel-submit:hover {
    background: #0640CC;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 85, 254, 0.35);
}
.bl-rappel-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}
.bl-rappel-success {
    display: none;
    text-align: center;
    padding: 40px 30px;
}
.bl-rappel-success-icon {
    font-size: 48px;
    color: #2d7d2d;
    margin-bottom: 15px;
}
.bl-rappel-success h4 {
    font-size: 22px;
    margin: 0 0 10px;
    color: #1a1a1a;
}
.bl-rappel-success p {
    font-size: 15px;
    color: #555;
    margin: 0;
}
@media (max-width: 600px) {
    .bl-rappel-row {
        flex-direction: column;
        gap: 0;
    }
    .bl-rappel-modal {
        padding: 0;
    }
    .bl-rappel-header {
        padding: 25px 20px 0;
    }
    .bl-rappel-body {
        padding: 20px 20px 25px;
    }
    .bl-rappel-badge {
        font-size: 12px;
        padding: 5px 10px;
    }
}
