/* Bank Transfer — customer-facing styles (finish step, customer panel, public page). */

.booknetic_bt_finish,
.booknetic_bt_page {
    margin: 16px auto 0;
    max-width: 520px;
    width: 100%;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-align: left;
    box-sizing: border-box;
}

.booknetic_bt_finish *,
.booknetic_bt_page * {
    box-sizing: border-box;
}

/* The finish panel has a fixed height; when it hosts the bank transfer
   container, top-align the content and let it scroll inside the panel. */
.booknetic_appointment_finished.booknetic_bt_takeover {
    justify-content: flex-start;
    overflow-y: auto;
    padding: 24px 16px;
}

.booknetic_appointment_finished.booknetic_bt_takeover .booknetic_bt_finish {
    margin: 14px auto 0;
}

.booknetic_bt_card {
    background: #f7f8fa;
    border: 1px solid #e6e8ee;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 16px;
}

.booknetic_bt_card_title {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 600;
    color: #2c2c39;
}

.booknetic_bt_instructions {
    margin: 0 0 12px;
    color: #5c5c6e;
    font-size: 13px;
    line-height: 1.6;
}

.booknetic_bt_methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.booknetic_bt_method {
    background: #fff;
    border: 1px solid #e6e8ee;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 13px;
    color: #2c2c39;
    line-height: 1.7;
}

.booknetic_bt_method span {
    color: #8a8a99;
    display: inline-block;
    min-width: 110px;
}

.booknetic_bt_method_desc {
    margin-top: 6px;
    color: #5c5c6e;
    font-size: 12px;
}

.booknetic_bt_form {
    background: #fff;
    border: 1px solid #e6e8ee;
    border-radius: 10px;
    padding: 18px 20px;
}

.booknetic_bt_field {
    margin-bottom: 14px;
}

.booknetic_bt_field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #2c2c39;
}

.booknetic_bt_field input,
.booknetic_bt_field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d9dce5;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    color: #2c2c39;
    background: #fff;
}

.booknetic_bt_field input:focus,
.booknetic_bt_field textarea:focus {
    outline: none;
    border-color: #4040e8;
}

/* Matches Booknetic's .booknetic_btn_primary */
.booknetic_bt_submit {
    height: 36px;
    background-color: #6C70DC;
    color: #FFF;
    border: 0 none;
    border-radius: 2px;
    padding: 5px 18px;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    text-transform: uppercase;
    letter-spacing: initial;
    cursor: pointer;
}

.booknetic_bt_submit:hover {
    background-color: #5b5fcf;
}

.booknetic_bt_submit:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.booknetic_bt_form_msg {
    margin-bottom: 12px;
    padding: 9px 12px;
    border-radius: 8px;
    background: #fdecea;
    color: #b3261e;
    font-size: 12px;
}

.booknetic_bt_success {
    text-align: center;
    padding: 20px;
    color: #1e7d34;
}

.booknetic_bt_success h3 {
    margin: 0 0 6px;
}

.booknetic_bt_notice {
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.booknetic_bt_notice--error {
    background: #fdecea;
    color: #b3261e;
}

.booknetic_bt_notice--success {
    background: #e7f6ec;
    color: #1e7d34;
}

.booknetic_bt_notice--info {
    background: #e8f0fe;
    color: #1a56c4;
}

/* Customer panel button */
.booknetic_bank_transfer_btn {
    border: 0;
    cursor: pointer;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #eef0fb;
    color: #4040e8;
    margin-left: 4px;
}

.booknetic_bank_transfer_btn.is-pending {
    background: #fff4e0;
    color: #c47d10;
}

.booknetic_bank_transfer_btn.is-rejected {
    background: #fdecea;
    color: #b3261e;
}

/* Customer panel popup */
.booknetic_bt_modal_overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 20, 35, .55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.booknetic_bt_modal {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow: auto;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.booknetic_bt_modal_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e6e8ee;
    font-weight: 600;
    color: #2c2c39;
}

.booknetic_bt_modal_close {
    border: 0;
    background: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #8a8a99;
}

.booknetic_bt_modal_body {
    padding: 20px;
}
