.cill-form-container form.was-validated input:invalid,
.cill-form-container form.was-validated textarea:invalid,
.cill-form-container form.was-validated select:invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + .75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.cill-form-container .invalid-feedback {
    display: none;
    width: 100%;
    margin-top: .25rem;
    font-size: 13px;
    color: #dc3545;
    font-family: 'Inter', sans-serif;
}

.cill-form-container form.was-validated input:invalid~.invalid-feedback,
.cill-form-container form.was-validated textarea:invalid~.invalid-feedback,
.cill-form-container form.was-validated select:invalid~.invalid-feedback {
    display: block;
}

.cill-form-container .form-control {
    border-radius: 8px;
    padding: 14px 16px;
    border: 1px solid #E2EAF3;
    background-color: #F8FAFC;
    color: #0B1F3A;
    font-family: 'Opensans-Regular', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.cill-form-container .form-control:focus {
    outline: none;
    border-color: #062D91;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(6, 45, 145, 0.1);
}

.cill-form-container .form-control::placeholder {
    color: #94A3B8;
    opacity: 1;
}

.cill-form-group {
    margin-bottom: 20px;
}

.cill-form-group label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #062D91;
    font-size: 12px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cill-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background: #062D91;
    color: #ffffff !important;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border-radius: 10px;
    padding: 6px 6px 6px 32px;
    border: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(6, 45, 145, 0.15);
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

.cill-submit-btn:hover {
    background: #04207a;
    box-shadow: 0 15px 35px rgba(6, 45, 145, 0.25);
}

.cill-btn-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #ffffff;
    border-radius: 8px;
    margin-left: 20px;
    color: #062D91;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.cill-btn-icon-box svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.cill-lead-form-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
    border: 1px solid #E3EAF3;
}

.cill-form-container::after {
    content: "";
    display: table;
    clear: both;
}

.cill-spinner {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 2px solid #ffffff;
    width: 16px;
    height: 16px;
    animation: cill-spin 0.8s linear infinite;
    display: inline-block;
    margin-right: 8px;
}

@keyframes cill-spin {
    0% {
        transform: rotate(0deg);
    }

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

.cill-spinner.d-none {
    display: none;
}

.cill-alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
}

.cill-alert-danger {
    background-color: #fde8e8;
    color: #9b1c1c;
    border: 1px solid #fbd5d5;
}

.cill-alert-success {
    background-color: #edfdfd;
    color: #036666;
    border: 1px solid #c4f1f1;
}

.cill-required {
    color: #dc3545;
    margin-left: 2px;
    font-weight: 700;
}
