/* WhatsApp Lead Collector – Form Styles */

.wlc-wrap {
    font-family: inherit;
    max-width: 420px;
    margin: 0 auto;
    padding: 4px 0;
}

/* ── Header ── */
.wlc-header {
    text-align: center;
    margin-bottom: 20px;
}

.wlc-wa-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    margin-bottom: 10px;
}

.wlc-title {
    font-size: 22px !important;
    font-weight: 800 !important;
    margin: 0 0 8px !important;
    color: inherit !important;
    line-height: 1.25 !important;
}

.wlc-subtitle {
    font-size: 13px !important;
    color: #777 !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

/* ── Fields ── */
.wlc-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wlc-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.wlc-field label {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #555 !important;
    margin: 0 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.wlc-field input[type="text"],
.wlc-field input[type="email"],
.wlc-field input[type="tel"] {
    width: 100% !important;
    height: 42px !important;
    padding: 0 12px !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    background: #fff !important;
    color: #333 !important;
    box-sizing: border-box !important;
    outline: none !important;
    transition: border-color 0.2s !important;
    box-shadow: none !important;
}

.wlc-field input:focus {
    border-color: #25D366 !important;
    box-shadow: 0 0 0 3px rgba(37,211,102,0.12) !important;
}

/* ── Phone unified bar ── */
.wlc-phone-wrap {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #fff !important;
    height: 46px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s !important;
}

.wlc-phone-wrap:focus-within {
    border-color: #25D366 !important;
    box-shadow: 0 0 0 3px rgba(37,211,102,0.12) !important;
}

.wlc-phone-prefix {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    padding: 0 8px 0 12px !important;
    background: #f7f7f7 !important;
    border-right: 1px solid #e0e0e0 !important;
    white-space: nowrap !important;
}

.wlc-phone-prefix select {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 14px !important;
    color: #333 !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    width: auto !important;
    box-shadow: none !important;
    -webkit-appearance: auto !important;
    appearance: auto !important;
}

.wlc-phone-divider {
    display: none !important;
}

.wlc-phone-wrap input[type="tel"] {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    flex: 1 1 auto !important;
    width: 0 !important;
    min-width: 0 !important;
    height: 100% !important;
    padding: 0 12px !important;
    font-size: 14px !important;
    background: transparent !important;
    color: #333 !important;
    display: block !important;
}

/* ── Notice ── */
.wlc-notice {
    font-size: 13px;
    min-height: 0;
    padding: 0;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.wlc-notice.wlc-success {
    background: #edfff5;
    border: 1px solid #25D366;
    color: #0d6c39;
    padding: 10px 14px;
}

.wlc-notice.wlc-error {
    background: #fff0f0;
    border: 1px solid #f5a7a7;
    color: #c0392b;
    padding: 10px 14px;
}

.wlc-notice.wlc-warning {
    background: #fffbee;
    border: 1px solid #f0c040;
    color: #7a5800;
    padding: 10px 14px;
}

/* ── Submit button ── */
.wlc-btn {
    width: 100% !important;
    height: 46px !important;
    background: #25D366 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    letter-spacing: 0.3px !important;
    transition: background 0.2s, transform 0.1s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.wlc-btn:hover:not(:disabled) {
    background: #1da851 !important;
}

.wlc-btn:active:not(:disabled) {
    transform: scale(0.98) !important;
}

.wlc-btn:disabled {
    background: #a8e6c1 !important;
    cursor: not-allowed !important;
}

/* ── Privacy note ── */
.wlc-privacy {
    font-size: 11px !important;
    color: #aaa !important;
    text-align: center !important;
    margin: 2px 0 0 !important;
}

/* ── Success state ── */
.wlc-success-state {
    text-align: center;
    padding: 24px 16px;
}

.wlc-success-state .wlc-check {
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 12px;
    color: #fff;
}

.wlc-success-state h4 {
    font-size: 16px !important;
    font-weight: 600 !important;
    margin: 0 0 6px !important;
    color: #222 !important;
}

.wlc-success-state p {
    font-size: 13px !important;
    color: #777 !important;
    margin: 0 !important;
}
