/*
 * LiorBank shared visual system
 * Inspired by the supplied reference while preserving the LiorBank teal palette.
 */
.lior-modern {
    --lior-primary: #08bdb7;
    --lior-primary-dark: #087f7a;
    --lior-primary-deep: #075f5b;
    --lior-primary-soft: rgba(8, 189, 183, 0.12);
    --lior-primary-softer: rgba(8, 189, 183, 0.06);
    --lior-ink: #162c3a;
    --lior-muted: #6d7f89;
    --lior-surface: #ffffff;
    --lior-surface-soft: #f4f8f8;
    --lior-border: rgba(24, 80, 82, 0.13);
    --lior-shadow-sm: 0 8px 24px rgba(19, 67, 69, 0.07);
    --lior-shadow: 0 16px 38px rgba(19, 67, 69, 0.10);
    --lior-radius-sm: 10px;
    --lior-radius: 18px;
    --lior-radius-lg: 24px;
    --toast-magic-success: #08bdb7;
    --toast-magic-success-rgb: 8, 189, 183;
    color: var(--lior-ink);
    background-color: var(--lior-surface-soft);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.lior-modern::selection,
.lior-modern *::selection {
    color: #fff;
    background: var(--lior-primary);
}

.lior-modern h1,
.lior-modern h2,
.lior-modern h3,
.lior-modern h4,
.lior-modern h5,
.lior-modern h6 {
    color: var(--lior-ink);
    letter-spacing: -0.015em;
}

.lior-modern p,
.lior-modern .content {
    color: var(--lior-muted);
}

.lior-modern a,
.lior-modern button,
.lior-modern .btn,
.lior-modern .form-control,
.lior-modern .form-select {
    transition: color .2s ease, background-color .2s ease, border-color .2s ease,
        box-shadow .2s ease, transform .2s ease;
}

/* Shared navigation */
.lior-modern .headbg .navbg,
.lior-app .headbg .container {
    border: 1px solid rgba(8, 189, 183, 0.10);
    box-shadow: var(--lior-shadow-sm);
}

.lior-public .headbg .navbg {
    border-radius: var(--lior-radius-lg);
}

.lior-modern .headermenu .dropdown-menu {
    padding: 8px;
    border: 1px solid var(--lior-border);
    border-radius: 14px;
    box-shadow: var(--lior-shadow);
    overflow: hidden;
}

.lior-modern .headermenu .dropdown-menu .dropdown-item {
    border-radius: 9px;
}

.lior-modern .headermenu .dropdown-menu .dropdown-item:hover,
.lior-modern .headermenu .dropdown-menu .dropdown-item:focus,
.lior-modern .headermenu .dropdown-menu .dropdown-item.active {
    color: var(--lior-primary-dark) !important;
    background: var(--lior-primary-soft) !important;
}

.lior-modern .headermenu .dropdown-menu .beta-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.lior-modern .headermenu .beta-menu-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 39px;
    min-height: 20px;
    padding: 2px 7px;
    border: 1px solid rgba(8, 189, 183, .24);
    border-radius: 999px;
    color: var(--lior-primary-dark);
    background: var(--lior-primary-soft);
    font-size: 9px;
    line-height: 1;
    letter-spacing: .08em;
    font-weight: 900;
}

/* Buttons and controls */
.lior-modern .sitebtn,
.lior-modern .yellowbtn,
.lior-modern .btn-primary,
.lior-modern .yellow-btn {
    border: 1px solid transparent;
    border-radius: var(--lior-radius-sm);
    background: linear-gradient(135deg, #19cec8 0%, var(--lior-primary) 55%, #079c97 100%);
    box-shadow: 0 10px 22px rgba(8, 189, 183, 0.22);
    color: #fff;
    font-weight: 700;
}

.lior-modern .sitebtn:hover,
.lior-modern .sitebtn:focus,
.lior-modern .yellowbtn:hover,
.lior-modern .yellowbtn:focus,
.lior-modern .btn-primary:hover,
.lior-modern .btn-primary:focus {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 13px 26px rgba(8, 189, 183, 0.28);
}

.lior-modern .borderbtn,
.lior-modern .btn-outline-primary {
    color: var(--lior-primary-dark);
    border: 1px solid rgba(8, 189, 183, 0.48);
    border-radius: var(--lior-radius-sm) !important;
    background: #fff;
    font-weight: 700;
}

.lior-modern .borderbtn:hover,
.lior-modern .borderbtn:focus,
.lior-modern .btn-outline-primary:hover,
.lior-modern .btn-outline-primary:focus {
    color: var(--lior-primary-deep);
    border-color: var(--lior-primary);
    background: var(--lior-primary-soft);
}

.lior-modern .form-control,
.lior-modern .form-select,
.lior-modern select.form-control,
.lior-modern .siteformbg .form-control,
.lior-modern .login-form .form-control {
    min-height: 46px;
    color: var(--lior-ink);
    border: 1px solid var(--lior-border);
    border-radius: var(--lior-radius-sm);
    background-color: #fff;
}

.lior-modern textarea.form-control {
    min-height: 118px;
}

.lior-modern .form-control:focus,
.lior-modern .form-select:focus,
.lior-modern select.form-control:focus {
    border-color: var(--lior-primary);
    box-shadow: 0 0 0 4px var(--lior-primary-soft) !important;
}

.lior-modern .input-group-text,
.lior-modern .siteformbg .input-group-text,
.lior-modern .login-form .input-group-text {
    border-color: var(--lior-border);
    background: var(--lior-surface-soft);
}

.lior-app .profile-phone-input {
    display: grid;
    grid-template-columns: minmax(118px, 34%) minmax(0, 1fr);
    gap: 10px;
}

.lior-app .profile-phone-input .iti,
.lior-app .profile-phone-input .profile-dial-code {
    width: 100%;
}

.lior-app .profile-address-input {
    min-height: 46px;
    resize: vertical;
}

.lior-app .toast-container {
    z-index: 12000;
    font-family: "Mulish", sans-serif;
}

.lior-app .toast-container.theme-minimal .toast-item {
    border-radius: 14px;
    border-color: var(--lior-border);
    box-shadow: 0 18px 50px rgba(12, 48, 50, .18);
}

.lior-modern .alert {
    border-width: 1px;
    border-radius: 12px;
    box-shadow: none;
}

.lior-modern .alert-success,
.lior-modern .bg-success-subtle {
    color: var(--lior-primary-deep);
    border-color: rgba(8, 189, 183, .22);
    background: var(--lior-primary-soft);
}

/* Authenticated application surfaces */
.lior-app .pagecontent {
    background-color: var(--lior-surface-soft);
}

.lior-app .topbanner {
    overflow: hidden;
}

.lior-app .topbanner .h2,
.lior-app .innerpagecontent .h2 {
    letter-spacing: -0.025em;
}

.lior-app .gridparentbox {
    padding-top: 34px;
}

.lior-app .panelcontentbox {
    border: 1px solid var(--lior-border);
    border-radius: var(--lior-radius);
    background: var(--lior-surface);
    box-shadow: var(--lior-shadow-sm);
}

.lior-app .heading-box {
    padding: 20px 24px;
    color: var(--lior-ink);
    border-color: var(--lior-border);
    background: linear-gradient(180deg, #fff 0%, #fbfdfd 100%);
    font-size: 18px;
    font-weight: 800;
}

.lior-app .panelcontentbox > .heading-box:first-child {
    border-radius: var(--lior-radius) var(--lior-radius) 0 0;
}

.lior-app .usermenu .header-verification-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    margin-top: 8px;
    padding: 5px 9px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.lior-app .usermenu .header-verification-badge i {
    width: auto !important;
    margin: 0 !important;
    font-size: 12px;
    text-align: initial;
}

.lior-app .usermenu .header-verification-badge.is-verified {
    border-color: rgba(22, 163, 74, .2);
    background: #ecfdf3;
    color: #15803d;
}

.lior-app .usermenu .header-verification-badge.is-unverified {
    border-color: rgba(220, 38, 38, .16);
    background: #fff1f2;
    color: #be123c;
}

.lior-app .contentbox,
.lior-app .contentpanel,
.lior-app .tablepanelbox {
    padding: 24px;
}

.lior-app .profiletablebox {
    border-color: var(--lior-border);
}

.lior-app .tablepanelbox .table-responsive {
    border-color: var(--lior-border);
    border-radius: 14px;
    background: #fff;
}

.lior-app .sitetable thead tr th {
    color: var(--lior-ink);
    border-color: var(--lior-border) !important;
    background: #eef8f7;
    font-size: 13px;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.lior-app .sitetable tbody tr td {
    border-top: 1px solid rgba(24, 80, 82, 0.08);
}

.lior-app .sitetable tbody tr:hover,
.lior-app .table tbody tr:hover {
    background: var(--lior-primary-softer);
}

.lior-app .tabbanner {
    gap: 6px;
    padding: 6px;
}

.lior-app .tabbanner li a,
.lior-app .historytab .tabbanner li a {
    padding: 10px 16px;
    border-radius: 9px !important;
}

.lior-app .innerpagegrid .tabbanner li a.active,
.lior-app .tabbanner li a.active {
    color: var(--lior-primary-dark) !important;
    border-bottom: 0 !important;
    background: var(--lior-primary-soft) !important;
    font-weight: 800;
}

.lior-app .progress {
    overflow: hidden;
    border-radius: 999px;
    background: #e8f0f0;
}

.lior-app .progress-bar {
    background-color: var(--lior-primary);
}

.lior-app .pagination {
    gap: 5px;
}

.lior-app .pagination .page-link {
    min-width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--lior-ink);
    border-color: var(--lior-border);
    border-radius: 9px !important;
    background: #fff;
}

.lior-app .pagination .page-item.active .page-link,
.lior-app .pagination .page-link:hover {
    color: #fff;
    border-color: var(--lior-primary);
    background: var(--lior-primary);
}

.lior-app .modal-content {
    border: 1px solid var(--lior-border);
    border-radius: var(--lior-radius);
    box-shadow: 0 24px 70px rgba(12, 48, 50, .22);
}

.lior-app .modal-header,
.lior-app .modal-footer {
    border-color: var(--lior-border);
}

.lior-app .badge {
    border-radius: 999px;
    padding: .45em .75em;
}

/* Public site and authentication */
.lior-public .homebannerbg .h1 {
    letter-spacing: -0.035em;
}

.lior-public .coinsbox,
.lior-public .feature .boxbg,
.lior-public .coinpricebox,
.lior-public .contactbox,
.lior-public .tabboxbg,
.lior-public .whiteboxbg,
.lior-public .applycardbg .card {
    border: 1px solid var(--lior-border);
    border-radius: var(--lior-radius);
    background: var(--lior-surface);
    box-shadow: var(--lior-shadow-sm);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.lior-public .feature .boxbg,
.lior-public .applycardbg .card {
    overflow: hidden;
}

.lior-public .feature .boxbg:hover,
.lior-public .applycardbg .card:hover,
.lior-public .coinpricebox:hover {
    transform: translateY(-3px);
    border-color: rgba(8, 189, 183, .30);
    box-shadow: var(--lior-shadow);
}

/* Keep feature-card hover content readable over the shared surface override. */
.lior-public .feature .boxbg:hover {
    background: linear-gradient(135deg, #22d2cc 0%, var(--lior-primary) 58%, #079c97 100%);
}

.lior-public .feature .boxbg:hover .h5,
.lior-public .feature .boxbg:hover p,
.lior-public .feature .boxbg:hover .content {
    color: #fff;
}

.lior-public .faq .accordion-item {
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid var(--lior-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(19, 67, 69, .05);
}

.lior-public .faq .accordion-button,
.lior-public .faq .accordion-button:not(.collapsed) {
    margin-top: 0;
    border-radius: 0;
}

.lior-public .faq .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #18c9c3, #079f9a);
}

.lior-public .footer-gray-bg {
    position: relative;
}

.lior-modern .footer-gray-bg p,
.lior-modern .footer-gray-bg .content,
.lior-modern footer .ftext {
    color: #fff;
}

.lior-auth .login-form {
    border: 1px solid var(--lior-border);
    border-radius: var(--lior-radius);
    box-shadow: var(--lior-shadow);
}

.lior-auth .login-form .heading-title {
    border-color: var(--lior-border);
}

.lior-auth .notestitle {
    color: var(--lior-ink);
    border-color: rgba(8, 189, 183, .18);
    background: var(--lior-primary-soft);
}

@media (max-width: 991.98px) {
    .lior-public .headbg .navbg,
    .lior-app .headbg .container {
        border-radius: 18px;
    }

    .lior-app .gridparentbox {
        padding-top: 26px;
    }

    .lior-app .contentbox,
    .lior-app .contentpanel,
    .lior-app .tablepanelbox {
        padding: 20px;
    }
}

@media (max-width: 767.98px) {
    .lior-modern {
        --lior-radius: 14px;
        --lior-radius-lg: 18px;
    }

    .lior-app .contentbox,
    .lior-app .contentpanel,
    .lior-app .tablepanelbox,
    .lior-app .heading-box {
        padding: 16px;
    }

    .lior-app .tabbanner {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .lior-app .tabbanner::-webkit-scrollbar {
        display: none;
    }

    .lior-app .tabbanner li a,
    .lior-app .historytab .tabbanner li a {
        white-space: nowrap;
    }

    .lior-auth .login-form {
        box-shadow: var(--lior-shadow-sm);
    }

    .lior-app .profile-phone-input {
        grid-template-columns: 1fr;
    }

}
