.lead-modal-mask {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 2049;
}

/* =====================
   container
===================== */
.lead-form-container {
    position: fixed;
    top: 40px;                
    left: 50%;
    transform: translateX(-50%);
    font-family: "Microsoft YaHei", Arial, sans-serif;
    color: #333;
    width: 680px;              
    z-index: 2050;
}

.lead-form-container.is-hidden,
.lead-modal-mask.is-hidden {
  display: none;
}

/* =====================
   header
===================== */
.lead-form-header {
    position: relative;
    display: flex;
    align-items: center;
    height: 56px;
    background: #0b3d91;
    padding: 0 40px;
}

.lead-header-bar {
    width: 4px;
    height: 22px;
    background: #ffffff;
    margin-right: 12px;
}

.lead-header-title {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
}

.lead-header-icon {
    margin-left: auto;
    height: 46px;
    opacity: 0.9;
}


/* =====================
   content
===================== */
.lead-form-content {
    background: rgba(255,255,255,0.9);
    padding: 8px 40px;
}


/* =====================
   grey block
===================== */
.lead-form-block {
    background: #f2f2f2;
    padding: 14px 32px;
    margin-bottom: 16px;
}

/* =====================
   input
===================== */
.lead-input-wrap {
    flex: 1;
    width: auto;
    display: flex;
}

.lead-input-wrap input {
    width: 100%;
}


/* =====================
   form
===================== */
.lead-form-group {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}

.lead-form-group:last-child {
    margin-bottom: 0;
}

.lead-form-group label {
    width: 90px;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    font-weight: bold;
}

/* field */
.lead-field {
    flex: 1;
    display: flex;
    align-items: center;
}

.lead-field input {
    flex: 1;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #ccc;
    font-size: 14px;
    box-sizing: border-box;
}

.lead-field select {
    flex: 1;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #ccc;
    font-size: 14px;
    box-sizing: border-box;
}

/* =====================
   verify
===================== */
.lead-verify-btn {
    margin-left: 12px;
    width: 120px;
    height: 36px;
    background-color: #ff4d1a;
    border: none;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

/* =====================
   privacy
===================== */
.lead-privacy-title {
    font-size: 15px;
    font-weight: bold;
    margin: 12px 0 6px;
    color: #333;
}

.lead-privacy-text {
    font-size: 13px;
    line-height: 1.6;
    color: #444; 
}

.lead-privacy-text strong {
    font-weight: bold;
}

/* =====================
   checkbox
===================== */
.lead-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: 10px;
    font-size: 12px;
}

.lead-checkbox-group input {
    margin-top: 2px;
}

.lead-checkbox-group a {
    color: #ff6600;
    text-decoration: none;
    font-weight: bold;
}

/* =====================
   submit
===================== */
.lead-submit-btn {
    width: 100%;
    height: 48px;
    margin-top: 18px;
    background: #0b3d91;
    color: #ffffff;
    border: none;
    border-radius: 0;
    font-size: 16px;
    cursor: pointer;
}

.lead-cancel-btn {
    width: 100%;
    height: 48px;
    margin-top: 10px;

    background: #ffffff;
    color: #0b3d91;

    border: 1px solid #0b3d91;
    border-radius: 0;

    font-size: 16px;
    cursor: pointer;
}

.lead-cancel-btn:hover {
    background: #f3f6fb;
}

.lead-submit-btn:disabled,
.lead-verify-btn:disabled {
    background: #999;
    cursor: not-allowed;
}

.lead-error-msg {
    color: #d60000;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 12px;
    padding: 10px 12px;
    border: 1px solid #d60000;
    background: #fff5f5;
    display: none;
}

.lead-input-error {
    border: 1px solid #d60000 !important;
    background-color: #fffafa;
}

select.lead-input-error {
    border: 1px solid #d60000 !important;
    background-color: #fffafa;
}