/* =========================================
   La Jima Checkout Design → Fluent Forms
   Floating label animation + clean design
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700&family=Nunito+Sans:wght@400;500;600&display=swap');

/* --- Remove all wrapper backgrounds --- */
.fluentform_wrapper_3 {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

/* --- Form: no card, no bg --- */
.fluentform_wrapper_3 .fluent_form_3 {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    font-family: 'Raleway', sans-serif;
}

/* --- Fieldset reset --- */
.fluentform_wrapper_3 fieldset {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* --- Hide legend --- */
.fluentform_wrapper_3 .ff_screen_reader_title {
    display: none !important;
}

/* --- Column containers (2-col rows) --- */
.fluentform_wrapper_3 .ff-t-container.ff-column-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.fluentform_wrapper_3 .ff-t-cell {
    flex-basis: auto !important;
}

/* --- Each field group: relative for floating label --- */
.fluentform_wrapper_3 .ff-el-group {
    position: relative;
    margin-bottom: 0;
    padding: 0;
}

/* --- Hide original label (JS moves it inside input-content) --- */
.fluentform_wrapper_3 .ff-el-input--label {
    display: none;
}

/* --- Input content wrapper: relative for label positioning --- */
.fluentform_wrapper_3 .ff-el-input--content {
    position: relative;
}

/* --- Floating label (injected by JS after input) --- */
.fluentform_wrapper_3 .ljco-float-label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    font-family: 'Nunito Sans', sans-serif;
    color: #707070;
    pointer-events: none;
    transition: all 0.15s ease;
    line-height: 1;
}

/* Label floats up on focus */
.fluentform_wrapper_3 .ff-el-form-control:focus ~ .ljco-float-label {
    top: 8px;
    transform: none;
    font-size: 11px;
    color: #EFB920;
}

/* Label stays up when input has value */
.fluentform_wrapper_3 .ff-el-form-control:not(:placeholder-shown) ~ .ljco-float-label {
    top: 8px;
    transform: none;
    font-size: 11px;
    color: #707070;
}

/* --- Text inputs, number inputs, email --- */
.fluentform_wrapper_3 .ff-el-form-control {
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #dedede;
    border-radius: 8px;
    padding: 22px 12px 8px;
    font-size: 14px;
    font-family: 'Nunito Sans', sans-serif;
    color: #34A853;
    min-height: 52px;
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.fluentform_wrapper_3 .ff-el-form-control:focus {
    border-color: #6366f1;
    box-shadow: none;
}

/* Hide original placeholder (label replaces it) */
.fluentform_wrapper_3 .ff-el-form-control::placeholder {
    color: transparent;
}

/* --- Select dropdown --- */
.fluentform_wrapper_3 select.ff-el-form-control {
    padding: 22px 36px 8px 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23707070' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
}

/* Select: label always floated when has a selected value */
.fluentform_wrapper_3 select.ff-el-form-control ~ .ljco-float-label {
    top: 8px;
    transform: none;
    font-size: 11px;
}

/* --- Name field nested container --- */
.fluentform_wrapper_3 .ff-name-field-wrapper .ff-t-container {
    display: flex;
    gap: 0;
}

.fluentform_wrapper_3 .ff-name-field-wrapper .ff-t-cell {
    width: 100%;
}

/* --- Submit button --- */
.fluentform_wrapper_3 .ff_submit_btn_wrapper {
    margin-top: 6px;
}

.fluentform_wrapper_3 .ff-btn-submit {
    width: 100%;
    color: #ffffff !important;
    border: none !important;
    border-radius: 9999px !important;
    padding: 16px 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    font-family: 'Raleway', sans-serif !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.2s;
    min-height: 54px;
}

.fluentform_wrapper_3 .ff-btn-submit:hover {
    background: #1f2937 !important;
}

/* --- Error messages --- */
.fluentform_wrapper_3 .ff-el-is-error .ff-el-form-control {
    border-color: #dc2626;
}

.fluentform_wrapper_3 .error.text-danger {
    font-size: 12px;
    color: #dc2626;
    margin-top: 4px;
    font-family: 'Nunito Sans', sans-serif;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 768px) {
    .fluentform_wrapper_3 .ff-t-container.ff-column-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

