/* ==========================================================================
   CUSTOM LEADS FORM FOR ELEMENTOR - MAIN STYLESHEET
   ========================================================================== */

.custom-leads-form-card {
    background-color: #eef4f8;
    border-radius: 16px;
    padding: 32px;
    width: 100% !important;
    max-width: 480px;
    margin: 0 auto;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    box-shadow: 0 10px 30px rgba(24, 43, 57, 0.04);
    position: relative;
    overflow: visible;
}

.custom-leads-form-title {
    color: #182b39;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 24px 0;
    line-height: 1.3;
    text-align: center;
}

/* Field Groups & Inputs */
.custom-leads-field-group {
    margin-bottom: 16px;
    position: relative;
    width: 100%;
}

.custom-leads-input,
.custom-leads-textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    background-color: #ffffff;
    border: 1px solid #d6e3e8;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 15px;
    color: #182b39;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    font-family: inherit;
    line-height: 1.4;
}

.custom-leads-textarea {
    resize: vertical;
    min-height: 100px;
}

.custom-leads-input::placeholder,
.custom-leads-textarea::placeholder {
    color: #a1bbc4;
    opacity: 1;
}

.custom-leads-input:focus,
.custom-leads-textarea:focus,
.custom-leads-flag-btn:focus {
    border-color: #0075f4;
    box-shadow: 0 0 0 3px rgba(0, 117, 244, 0.15);
    background-color: #ffffff;
}

/* Phone Group & Country Flag Selector */
.custom-leads-phone-group {
    display: flex !important;
    gap: 8px !important;
    position: relative;
    width: 100% !important;
}

.custom-leads-phone-input {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.custom-leads-country-selector {
    position: relative;
    flex-shrink: 0;
}

.custom-leads-flag-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: #ffffff;
    border: 1px solid #d6e3e8;
    border-radius: 8px;
    padding: 12px 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #182b39;
    outline: none;
    height: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.custom-leads-flag-btn:hover {
    border-color: #a1bbc4;
}

.custom-leads-arrow-down {
    transition: transform 0.2s ease;
    color: #5f7582;
}

.custom-leads-flag-btn[aria-expanded="true"] .custom-leads-arrow-down {
    transform: rotate(180deg);
}

/* Dropdown Wrapper & Search Box */
.custom-leads-country-dropdown-wrapper {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background-color: #ffffff;
    border: 1px solid #d6e3e8;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(24, 43, 57, 0.15);
    z-index: 9999;
    width: 250px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    animation: escDropdownFade 0.2s ease;
}

@keyframes escDropdownFade {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.custom-leads-country-search-box {
    padding: 8px;
    border-bottom: 1px solid #edf2f7;
    background-color: #f8fafc;
}

.custom-leads-country-search-input {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    font-size: 13px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    outline: none;
    color: #182b39;
}

.custom-leads-country-search-input:focus {
    border-color: #0075f4;
}

.custom-leads-country-dropdown {
    max-height: 220px;
    overflow-y: auto;
    margin: 0;
    padding: 4px 0;
    list-style: none;
}

.custom-leads-country-dropdown li {
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: #335472;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.custom-leads-country-dropdown li .country-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-leads-country-dropdown li .country-prefix {
    color: #a1bbc4;
    font-size: 12px;
    font-weight: 500;
}

.custom-leads-country-dropdown li:hover,
.custom-leads-country-dropdown li.selected {
    background-color: #f0f4f8;
    color: #0075f4;
    font-weight: 600;
}

/* Flag Icons */
.custom-leads-flag-icon {
    width: 20px;
    height: 15px;
    display: inline-block;
    border-radius: 2px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 1px rgba(0,0,0,0.3);
    flex-shrink: 0;
}

.custom-leads-flag-pe { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="600" fill="%23D91023"/><rect width="300" height="600" x="300" fill="%23FFFFFF"/></svg>'); }
.custom-leads-flag-co { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="600" fill="%23FCD116"/><rect width="900" height="300" y="300" fill="%23003893"/><rect width="900" height="150" y="450" fill="%23CE1126"/></svg>'); }
.custom-leads-flag-mx { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="600" fill="%23006847"/><rect width="600" height="600" x="300" fill="%23FFFFFF"/><rect width="300" height="600" x="600" fill="%23CE1126"/></svg>'); }
.custom-leads-flag-cl { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="300" fill="%23D52B1E" y="300"/><rect width="900" height="300" fill="%23FFFFFF"/><rect width="300" height="300" fill="%230039A6"/></svg>'); }
.custom-leads-flag-ar { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="600" fill="%2374ACDF"/><rect width="900" height="200" y="200" fill="%23FFFFFF"/></svg>'); }
.custom-leads-flag-br { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="600" fill="%23009739"/><polygon points="450,60 840,300 450,540 60,300" fill="%23FEDD00"/><circle cx="450" cy="300" r="140" fill="%23012169"/></svg>'); }
.custom-leads-flag-ec { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="600" fill="%23FFD100"/><rect width="900" height="300" y="300" fill="%230033A0"/><rect width="900" height="150" y="450" fill="%23DA291C"/></svg>'); }
.custom-leads-flag-bo { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="200" fill="%23D81E05"/><rect width="900" height="200" y="200" fill="%23FCD116"/><rect width="900" height="200" y="400" fill="%23007A3D"/></svg>'); }
.custom-leads-flag-py { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="200" fill="%23D52B1E"/><rect width="900" height="200" y="200" fill="%23FFFFFF"/><rect width="900" height="200" y="400" fill="%23003893"/></svg>'); }
.custom-leads-flag-uy { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="600" fill="%23FFFFFF"/><rect width="900" height="66" y="66" fill="%23003893"/><rect width="900" height="66" y="198" fill="%23003893"/><rect width="900" height="66" y="330" fill="%23003893"/><rect width="900" height="66" y="462" fill="%23003893"/></svg>'); }
.custom-leads-flag-ve { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="200" fill="%23FCD116"/><rect width="900" height="200" y="200" fill="%23003893"/><rect width="900" height="200" y="400" fill="%23CF142B"/></svg>'); }
.custom-leads-flag-gt { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="600" fill="%234997D0"/><rect width="300" height="600" x="300" fill="%23FFFFFF"/></svg>'); }
.custom-leads-flag-sv { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="200" fill="%230047AB"/><rect width="900" height="200" y="200" fill="%23FFFFFF"/><rect width="900" height="200" y="400" fill="%230047AB"/></svg>'); }
.custom-leads-flag-hn { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="200" fill="%2300B2E3"/><rect width="900" height="200" y="200" fill="%23FFFFFF"/><rect width="900" height="200" y="400" fill="%2300B2E3"/></svg>'); }
.custom-leads-flag-ni { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="200" fill="%230067C6"/><rect width="900" height="200" y="200" fill="%23FFFFFF"/><rect width="900" height="200" y="400" fill="%230067C6"/></svg>'); }
.custom-leads-flag-cr { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="600" fill="%23002B7F"/><rect width="900" height="400" y="100" fill="%23FFFFFF"/><rect width="900" height="200" y="200" fill="%23CE1126"/></svg>'); }
.custom-leads-flag-pa { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="450" height="300" fill="%23FFFFFF"/><rect width="450" height="300" x="450" fill="%23DA121A"/><rect width="450" height="300" y="300" fill="%23072357"/><rect width="450" height="300" x="450" y="300" fill="%23FFFFFF"/></svg>'); }
.custom-leads-flag-do { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="600" fill="%23002D62"/><rect width="450" height="300" x="450" fill="%23CE1126"/><rect width="450" height="300" y="300" fill="%23CE1126"/><rect width="450" height="300" x="450" y="300" fill="%23002D62"/><rect width="900" height="100" y="250" fill="%23FFFFFF"/><rect width="100" height="600" x="400" fill="%23FFFFFF"/></svg>'); }
.custom-leads-flag-pr { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="120" fill="%23ED0000"/><rect width="900" height="120" y="120" fill="%23FFFFFF"/><rect width="900" height="120" y="240" fill="%23ED0000"/><rect width="900" height="120" y="360" fill="%23FFFFFF"/><rect width="900" height="120" y="480" fill="%23ED0000"/><polygon points="0,0 450,300 0,600" fill="%230050F0"/></svg>'); }
.custom-leads-flag-cu { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="120" fill="%23002A8F"/><rect width="900" height="120" y="120" fill="%23FFFFFF"/><rect width="900" height="120" y="240" fill="%23002A8F"/><rect width="900" height="120" y="360" fill="%23FFFFFF"/><rect width="900" height="120" y="480" fill="%23002A8F"/><polygon points="0,0 450,300 0,600" fill="%23CF142B"/></svg>'); }
.custom-leads-flag-us { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="600" fill="%23B22234"/><path d="M0,92.3H900 M0,184.6H900 M0,276.9H900 M0,369.2H900 M0,461.5H900 M0,553.8H900" stroke="%23FFFFFF" stroke-width="46.15"/><rect width="360" height="323" fill="%233C3B6E"/></svg>'); }
.custom-leads-flag-ca { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="600" fill="%23FF0000"/><rect width="450" height="600" x="225" fill="%23FFFFFF"/></svg>'); }
.custom-leads-flag-es { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="600" fill="%23AA1523"/><rect width="900" height="300" y="150" fill="%23F1BF00"/></svg>'); }
.custom-leads-flag-gb { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="600" fill="%23012169"/><path d="M0,0 L900,600 M900,0 L0,600" stroke="%23FFFFFF" stroke-width="90"/><path d="M0,0 L900,600 M900,0 L0,600" stroke="%23C8102E" stroke-width="60"/><path d="M450,0 V600 M0,300 H900" stroke="%23FFFFFF" stroke-width="150"/><path d="M450,0 V600 M0,300 H900" stroke="%23C8102E" stroke-width="90"/></svg>'); }
.custom-leads-flag-de { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="200" fill="%23000000"/><rect width="900" height="200" y="200" fill="%23DD0000"/><rect width="900" height="200" y="400" fill="%23FFCE00"/></svg>'); }
.custom-leads-flag-fr { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="300" height="600" fill="%23002395"/><rect width="300" height="600" x="300" fill="%23FFFFFF"/><rect width="300" height="600" x="600" fill="%23ED2939"/></svg>'); }
.custom-leads-flag-it { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="300" height="600" fill="%23009246"/><rect width="300" height="600" x="300" fill="%23FFFFFF"/><rect width="300" height="600" x="600" fill="%23CE2B37"/></svg>'); }
.custom-leads-flag-pt { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="350" height="600" fill="%23006600"/><rect width="550" height="600" x="350" fill="%23FF0000"/></svg>'); }
.custom-leads-flag-nl { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="200" fill="%23AE1C28"/><rect width="900" height="200" y="200" fill="%23FFFFFF"/><rect width="900" height="200" y="400" fill="%2321468B"/></svg>'); }
.custom-leads-flag-ch { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 600"><rect width="600" height="600" fill="%23FF0000"/><rect width="120" height="360" x="240" y="120" fill="%23FFFFFF"/><rect width="360" height="120" x="120" y="240" fill="%23FFFFFF"/></svg>'); }
.custom-leads-flag-at { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="200" fill="%23ED2939"/><rect width="900" height="200" y="200" fill="%23FFFFFF"/><rect width="900" height="200" y="400" fill="%23ED2939"/></svg>'); }
.custom-leads-flag-be { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="300" height="600" fill="%23000000"/><rect width="300" height="600" x="300" fill="%23FDDA24"/><rect width="300" height="600" x="600" fill="%23EF3340"/></svg>'); }
.custom-leads-flag-se { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="600" fill="%23006AA7"/><rect width="120" height="600" x="280" fill="%23FECC00"/><rect width="900" height="120" y="240" fill="%23FECC00"/></svg>'); }
.custom-leads-flag-no { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="600" fill="%23EF2B2D"/><rect width="160" height="600" x="240" fill="%23FFFFFF"/><rect width="900" height="160" y="220" fill="%23FFFFFF"/><rect width="80" height="600" x="280" fill="%23002868"/><rect width="900" height="80" y="260" fill="%23002868"/></svg>'); }
.custom-leads-flag-dk { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="600" fill="%23C8102E"/><rect width="120" height="600" x="280" fill="%23FFFFFF"/><rect width="900" height="120" y="240" fill="%23FFFFFF"/></svg>'); }
.custom-leads-flag-fi { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="600" fill="%23FFFFFF"/><rect width="160" height="600" x="240" fill="%23003580"/><rect width="900" height="160" y="220" fill="%23003580"/></svg>'); }
.custom-leads-flag-pl { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="300" fill="%23FFFFFF"/><rect width="900" height="300" y="300" fill="%23DC143C"/></svg>'); }
.custom-leads-flag-cn { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="600" fill="%23DE2910"/></svg>'); }
.custom-leads-flag-jp { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="600" fill="%23FFFFFF"/><circle cx="450" cy="300" r="180" fill="%23BC002D"/></svg>'); }
.custom-leads-flag-kr { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="600" fill="%23FFFFFF"/><circle cx="450" cy="300" r="150" fill="%23CD2E3A"/></svg>'); }
.custom-leads-flag-in { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="200" fill="%23FF9933"/><rect width="900" height="200" y="200" fill="%23FFFFFF"/><rect width="900" height="200" y="400" fill="%23128807"/></svg>'); }
.custom-leads-flag-au { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="600" fill="%2300008B"/></svg>'); }
.custom-leads-flag-nz { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="600" fill="%2300247D"/></svg>'); }
.custom-leads-flag-ae { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="200" fill="%2300732F"/><rect width="900" height="200" y="200" fill="%23FFFFFF"/><rect width="900" height="200" y="400" fill="%23000000"/><rect width="250" height="600" fill="%23FF0000"/></svg>'); }
.custom-leads-flag-sa { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="600" fill="%23006C35"/></svg>'); }
.custom-leads-flag-il { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="600" fill="%23FFFFFF"/><rect width="900" height="80" y="80" fill="%230038B8"/><rect width="900" height="80" y="440" fill="%230038B8"/></svg>'); }
.custom-leads-flag-za { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="300" fill="%23E03C31"/><rect width="900" height="300" y="300" fill="%23001489"/></svg>'); }
.custom-leads-flag-tr { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="600" fill="%23E30A17"/><circle cx="360" cy="300" r="150" fill="%23FFFFFF"/><circle cx="390" cy="300" r="120" fill="%23E30A17"/></svg>'); }
.custom-leads-flag-ru { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="200" fill="%23FFFFFF"/><rect width="900" height="200" y="200" fill="%230039A6"/><rect width="900" height="200" y="400" fill="%23D52B1E"/></svg>'); }

/* ==========================================================================
   SUBMIT BUTTON & WRAPPER STYLING (FORCE 100% WIDTH & CENTERED ALIGNMENT)
   ========================================================================== */

.custom-leads-submit-wrapper {
    margin-top: 24px !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

.custom-leads-submit-btn {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    background-color: #0075f4;
    color: #ffffff;
    border: none !important;
    border-radius: 50px !important;
    padding: 14px 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
    gap: 10px;
    font-family: inherit;
    box-sizing: border-box !important;
    margin: 0 auto !important;
}

.custom-leads-submit-btn .btn-text {
    text-align: center !important;
    width: 100% !important;
    display: block !important;
}

.custom-leads-submit-btn:hover {
    background-color: #005ec4;
    box-shadow: 0 4px 12px rgba(0, 117, 244, 0.25);
}

.custom-leads-submit-btn:active {
    transform: scale(0.99);
}

.custom-leads-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Spinner Animation */
.spinner {
    animation: rotate 1.5s linear infinite;
}

.spinner .path {
    stroke: #ffffff;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

@keyframes dash {
    0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
    100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}

/* Error Message */
.custom-leads-error-msg {
    margin-top: 12px;
    padding: 10px 14px;
    background-color: #fff0f0;
    border-left: 3px solid #da3737;
    border-radius: 4px;
    color: #da3737;
    font-size: 14px;
}

/* Success State Screen */
.custom-leads-success-state {
    text-align: center;
    padding: 32px 16px;
    animation: escSuccessPop 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes escSuccessPop {
    0% { opacity: 0; transform: scale(0.92); }
    100% { opacity: 1; transform: scale(1); }
}

.custom-leads-success-icon-wrapper {
    margin-bottom: 20px;
}

.custom-leads-success-check {
    width: 64px;
    height: 64px;
    display: inline-block;
}

.custom-leads-success-title {
    color: #182b39;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.custom-leads-success-description {
    color: #5f7582;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   STRICT RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 767px) {
    .custom-leads-form-card {
        padding: 24px 18px;
        border-radius: 12px;
        max-width: 100% !important;
    }
    
    .custom-leads-form-title,
    .custom-leads-success-title {
        font-size: 20px;
    }
    
    .custom-leads-flag-btn {
        padding: 12px 8px;
    }

    .custom-leads-prefix-code {
        font-size: 13px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .custom-leads-form-card {
        max-width: 460px;
        padding: 28px;
    }
}

@media (min-width: 1024px) and (max-width: 1280px) {
    .custom-leads-form-card {
        max-width: 480px;
    }
}

@media (min-width: 1920px) {
    .custom-leads-form-card {
        max-width: 500px;
    }
}
