/**
 * Parent theme compatibility fixes.
 *
 * Keep Zibll parent floating payment widgets and payment buttons intact.
 * This file is loaded after child visual styles and only restores parent-owned
 * payment UI areas; it does not change rehab knowledge-base pages.
 */

body.zibll-child-liquid-glass .float-right.float-right-wait-pay .wait-pay-btn,
body.zibll-child-liquid-glass .float-right-wait-pay .wait-pay-btn.float-btn {
    width: auto !important;
    min-width: 42px !important;
    min-height: 42px !important;
    height: auto !important;
    padding: 7px 6px !important;
    color: var(--this-color, #ffffff) !important;
    background: var(--this-bg, rgba(255, 82, 128, 0.9)) !important;
    border: 0 !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 24px rgba(255, 82, 128, 0.20) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

body.zibll-child-liquid-glass .float-right.float-right-wait-pay .wait-pay-btn *,
body.zibll-child-liquid-glass .float-right-wait-pay .wait-pay-btn.float-btn * {
    color: inherit !important;
}

body.zibll-child-liquid-glass .float-right.float-right-wait-pay .wait-pay-btn svg,
body.zibll-child-liquid-glass .float-right-wait-pay .wait-pay-btn.float-btn svg {
    max-width: none !important;
    max-height: none !important;
    fill: currentColor !important;
}

body.zibll-child-liquid-glass .float-right.float-right-wait-pay .hover-show-con.dropdown-menu,
body.zibll-child-liquid-glass .float-right-wait-pay .hover-show-con.dropdown-menu {
    width: 240px !important;
    max-width: calc(100vw - 24px) !important;
    padding: 10px !important;
    color: var(--main-color, #333333) !important;
    background: var(--main-bg-color, #ffffff) !important;
    border: 0 !important;
    border-radius: 10px !important;
    box-shadow: 0 12px 40px rgba(17, 24, 39, 0.16) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    overflow: visible !important;
}

body.zibll-child-liquid-glass .float-right-wait-pay .hover-show-con .order-item {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 8px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.72) !important;
}

body.zibll-child-liquid-glass.dark-theme .float-right-wait-pay .hover-show-con .order-item {
    background: rgba(30, 41, 59, 0.72) !important;
}

body.zibll-child-liquid-glass .float-right-wait-pay .order-thumb,
body.zibll-child-liquid-glass .float-right-wait-pay .order-thumb img {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border-radius: 8px !important;
    object-fit: cover !important;
}

body.zibll-child-liquid-glass .float-right-wait-pay .order-title {
    max-width: 120px !important;
    color: var(--main-color, #333333) !important;
}

body.zibll-child-liquid-glass .float-right-wait-pay .c-red,
body.zibll-child-liquid-glass .float-right-wait-pay .pay-mark {
    color: #ff3b66 !important;
}

body.zibll-child-liquid-glass .float-right-wait-pay .c-yellow,
body.zibll-child-liquid-glass .float-right-wait-pay .countdown-box {
    color: #f59e0b !important;
}

body.zibll-child-liquid-glass .float-right-wait-pay .but.c-red,
body.zibll-child-liquid-glass .float-right-wait-pay a.but.c-red {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 24px !important;
    padding: 3px 10px !important;
    color: #ff3b66 !important;
    background: rgba(255, 82, 128, 0.10) !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    white-space: nowrap !important;
}

body.zibll-child-liquid-glass .float-right-wait-pay .but.c-red:hover,
body.zibll-child-liquid-glass .float-right-wait-pay a.but.c-red:hover {
    color: #ffffff !important;
    background: rgba(255, 82, 128, 0.90) !important;
}
