.yeekit-conversational-form-loader-wrap {
    box-sizing: border-box;
    max-width: 800px;
    margin: auto;
    padding: 0 40px;
}
/* --- full-screen container --- */
.yeekit-conversational-form-loader-container {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-y: hidden; /* ✅ Cho phép lăn chuột trong vùng này */
    overscroll-behavior: contain; /* Ngăn cuộn lan ra body */
    scroll-behavior: smooth; /* ✅ Cuộn mượt */
}
/* --- header section (intro page) --- */
.yeekit-conversational-form-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 35px;
    padding: 40px 0;
    height: fit-content;
    min-height: 100vh;
}
/* --- when clicking Start, header slides straight up --- */
.yeekit-conversational-form-loader-container.active .yeekit-conversational-form-header {
    opacity: 1;
}
.yeekit-conversational-form-header .yeekit-head-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.yeekit-conversational-form-header .yeekit-head-description {
    font-size: 21px;
}
.yeekit-conversational-form-btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 48px;
}
/* --- Start button --- */
.yeekit-conversational-btn {
    padding: 14px 36px;
    font-size: 1.1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background .3s;
}
.yeekit-conversational-form-btn-desc {
    margin-inline-start: 30px;
    font-size: 18px;
}
.yeekit-conversational-btn:hover {
   opacity: 0.8;
}
/* --- the actual form is initially hidden --- */
.yeekit-conversational-form-loader-container form {
    opacity: 1;
}
/* --- when clicking Start, form appears and header slides up --- */
.yeekit-conversational-form-loader-container.active form {
    opacity: 1;
    visibility: visible;
}
.yeekit-conversational-form-loader-container input[type="text"],
.yeekit-conversational-form-loader-container input[type="number"],
.yeekit-conversational-form-loader-container input[type="date"],
.yeekit-conversational-form-loader-container input[type="tel"],
.yeekit-conversational-form-loader-container input[type="email"],
.yeekit-conversational-form-loader-container input[type="url"],
.yeekit-conversational-form-loader-container input[type="password"],
.yeekit-conversational-form-loader-container input[type="file"],
.yeekit-conversational-form-loader-container textarea,
.yeekit-conversational-form-loader-container select {
    font-size: 30px !important;
    font-weight: 400;
    max-width: 100%;
    line-height: normal;
    background-color: transparent !important;
    border: none !important;
    height: 66px;
    border-radius: 0 !important;
    border-bottom: 1px solid !important;
    padding: 10px 0 !important;
    width: 100% !important;
    box-shadow: none !important;
}
.yeekit-conversational-form-loader-container .elementor-field-option {
    background-color: rgba(26, 61, 92, 0.025);
    border: 1px solid rgba(26, 61, 92, 0.1);
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 10px;
    position: relative;
    border-radius: 5px;
}
.yeekit-conversational-form-loader-container .elementor-field-option label {
    font-size: 30px;
    font-weight: 400;
    display: block;
    width: 100%;
    padding-left: 50px;
    display: block !important;
    padding: 15px;
    padding-left: 50px;
}
.yeekit-conversational-form-loader-container .elementor-field-option input {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    font-size: 36px;
}
.yeekit-conversational-form-loader-container .elementor-field-group{
    margin: 0 0 75px !important;
}
/* --- auto numbering for labels --- */
.yeekit-conversational-form-loader-container {
    counter-reset: field-counter; /* Khởi tạo bộ đếm */
}
.yeekit-conversational-form-loader-container .elementor-field-group label.elementor-field-label::before {
    counter-increment: field-counter; /* Tăng bộ đếm */
    content: counter(field-counter) ". "; /* Hiển thị số thứ tự */
    position: absolute;
    left: -36px;
    font-weight: 300;
}
.yeekit-conversational-form-loader-container .elementor-field-type-submit {
    padding: 30px 0 0;
    clear: both;
    align-items: flex-start !important;
}
.yeekit-conversational-form-loader-container form{
     padding-bottom: 50vh;
}
.yeekit-conversational-form-loader-container .elementor-field-label {
    font-weight: 400;
    font-size: 23px;
    margin-bottom: 11px;
}
/* --- progress bar at the footer --- */
.yeekit-conversational-form-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between; /* 🟢 chia 2 cột trái phải */
    align-items: center;
    z-index: 10000;
    background: #333;
    color: #fff;
}
.yeekit-conversational-form-footer-progress-status-percentage {
color: #fff;
}
.yeekit-conversational-form-footer-progress {
    width: 100%;
    text-align: center;
    font-size: 16px;
    color: #333;
}
.yeekit-conversational-form-footer-progress-status-percentage {
    font-weight: 500;
    margin-bottom: 5px;
}
.yeekit-conversational-form-footer-progress-bar {
    background: #e0e0e0;
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
    position: relative;
}
.yeekit-conversational-form-footer-progress-completed {
    background: linear-gradient(90deg, #0073aa, #00b3ff);
    width: 0%;
    height: 100%;
    border-radius: 10px;
    transition: width 0.4s ease;
}
.yeekit-conversational-final-message {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 35px;
    padding: 40px 0;
    height: fit-content;
    min-height: 100vh;
    font-size: 30px;
}
.yeekit-shiftenter-hint {
    width: 100%;
    display: block;
}
.yeekit-error-message {
    width: 100%;
    display: block;
    color: #e74c3c;
    font-size: 12px;
    margin-top: 4px;
    opacity: 0.9;
}
.yeekit-key-hint {
    color: #999;
    font-size: 12px;
    margin-left: 4px;
    opacity: 0.8;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    text-transform: uppercase;
    font-size: 17px;
    border: 1px solid #000;
    border-radius: 5px;
    padding: 3px 15px;
}
.yeekit-key-hint-text {
    display: none;
}
.elementor-field-option:hover .yeekit-key-hint-text{
    display: inline;
}
.yeekit-conversational-form-footer-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    padding-left: 50px;
}

.yeekit-nav-btn {
    border: none;
    border-radius: 6px;
    padding: 6px 15px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.yeekit-nav-btn:hover {
    opacity: 0.8;
}
.yeekit-conversational-form-footer {
    display: none;
}
@media (max-width: 500px) {
    .yeekit-conversational-form-loader-container .yeekit-head-description {
        font-size:16px
    }
    .yeekit-conversational-form-loader-container .elementor-field-label {
        padding-left: 40px;
    }
    .yeekit-conversational-form-loader-container .elementor-field-group label.elementor-field-label::before{
        left: 0px;
    }
    .yeekit-key-hint,.yeekit-conversational-form-btn-desc {
        display: none;
    }
}