.er-wrapper-86e19813 {
    position: relative;
    /* Alignment is controlled via elementor responsive control text-align */
}

.er-trigger-86e19813 {
    background: none;
    border: none;
    padding: 0;
    color: #666;
    font-size: 14px;
    font-weight: normal;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.er-trigger-86e19813.er-type-button {
    background-color: #0073aa;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    border: none;
}

.er-trigger-icon-86e19813 {
    display: inline-flex;
    align-items: center;
}

.er-trigger-icon-86e19813 svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

/* Modal Overlay */
.er-popup-overlay-86e19813 {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    text-align: left; /* Reset text align for the popup content */
}

.er-popup-overlay-86e19813.is-open {
    opacity: 1;
    visibility: visible;
}

/* Modal Content */
.er-popup-content-86e19813 {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.er-popup-overlay-86e19813.is-open .er-popup-content-86e19813 {
    transform: translateY(0);
}

.er-popup-close-86e19813 {
    position: absolute;
    top: 15px !important; 
    right: 15px !important; 
    font-size: 35px !important; 
    padding: 0 !important;
    background: transparent;
    border: none;
    line-height: 1;
    cursor: pointer;
    color: #000;
    transition: color 0.3s ease, background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.er-popup-close-86e19813:hover {
    color: #333;
}

/* Animated Title Styles */
.er-popup-title-86e19813 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 22px;
    color: #333;
    display: block;
}

.ah-animated-86e19813-container {
    display: inline;
    position: relative;
    white-space: normal;
}

.ah-animated-86e19813 {
    display: inline;
}

.er-popup-title-86e19813 .ah-animated-86e19813,
.er-popup-title-86e19813 .ah-cursor-86e19813 {
    visibility: hidden;
}

.er-popup-title-86e19813.ah-initialized .ah-animated-86e19813,
.er-popup-title-86e19813.ah-initialized .ah-cursor-86e19813 {
    visibility: visible;
}

/* TYPEWRITER */
.ah-cursor-86e19813 {
    display: inline-block;
    animation: blink-86e19813 1s step-end infinite;
    margin-left: 2px;
    font-weight: 300;
    vertical-align: baseline;
}

@keyframes blink-86e19813 {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* WIPE (LTR - All Lines) */
.ah-type-wipe .ah-animated-86e19813 {
    display: inline-block;
    clip-path: inset(0 100% 0 0);
    vertical-align: top;
}

/* WIPE LINES (LTR - Line by Line) */
.ah-type-wipe-lines .ah-animated-86e19813 {
    display: inline;
}

.ah-animated-word-86e19813 {
    display: inline-block;
    white-space: pre;
}

.ah-animated-line-wrapper-86e19813 {
    display: inline-block;
    clip-path: inset(0 100% 0 0);
    white-space: normal;
}

/* REVEAL (LTR) */
.ah-type-reveal .ah-animated-86e19813 {
    display: inline-block;
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
}

/* KINETIC */
.ah-type-kinetic .ah-char-86e19813 {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px) rotate(-10deg) scale(0.8);
    transition: all cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ah-type-kinetic .ah-char-86e19813.ah-in {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
}

/* FADE UP */
.ah-type-fade-up .ah-animated-86e19813 {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
}

/* ZOOM IN */
.ah-type-zoom-in .ah-animated-86e19813 {
    display: inline-block;
    opacity: 0;
    transform: scale(0.5);
}

.er-input-field-86e19813 {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px; 
    font-family: inherit;
    background-color: #fff;
    color: #333;
    box-sizing: border-box;
}

.er-message-input-86e19813 {
    resize: vertical;
    margin-bottom: 0px; 
}

/* Subtitle / HTML below fields */
.er-html-below-fields-86e19813 {
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 14px;
    color: #666;
    /* Ensure container allows alignment */
    text-align: inherit;
}

.er-html-below-fields-inner-86e19813 {
    display: inline-block; /* Requested inline-block */
    text-align: left; /* Keep text left aligned inside the inline-block */
}

/* Ensures the text alignment propagates correctly inside the popup for dynamic centering */
.er-wrapper-86e19813[style*="text-align: center;"] .er-popup-form-area-86e19813,
.er-wrapper-86e19813[style*="text-align: center"] .er-popup-form-area-86e19813 {
    text-align: center;
}

.er-wrapper-86e19813[style*="text-align: right;"] .er-popup-form-area-86e19813,
.er-wrapper-86e19813[style*="text-align: right"] .er-popup-form-area-86e19813 {
    text-align: right;
}

.er-submit-btn-wrapper-86e19813 {
    display: flex;
}

.er-submit-btn-86e19813 {
    display: inline-block; /* Reset from potential block display */
    padding: 12px 24px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: opacity 0.3s;
}

.er-submit-btn-86e19813.is-stretch {
    width: 100%;
    display: block;
}

.er-submit-btn-86e19813:hover {
    opacity: 0.9;
}

.er-submit-btn-86e19813:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.er-popup-success-area-86e19813 {
    text-align: center;
}

.er-popup-success-area-86e19813 h4 {
    margin-top: 0;
    color: #4CAF50;
}

.er-countdown-86e19813 {
    font-weight: bold;
}

/* Editor Preview Support */
.er-force-open-86e19813 {
    position: absolute !important;
    height: auto !important;
    min-height: 400px;
    padding: 40px 20px;
}
