/* Tùy chỉnh RIÊNG của trumclb, nạp SAU admin.css (bản clone kubank giữ nguyên).
   Chứa: canh logo thương hiệu trumclb cho vừa sidebar/header, và các bổ sung so với
   theme kubank (logo cổng nhận + QR nhanh ở bảng THÔNG TIN BANK NHẬN). */

/* --- Logo thương hiệu: logo trumclb có tỷ lệ ngang hơn logo kubank, giới hạn bề ngang
       để không tràn khỏi sidebar 280px và đè lên tab game. --- */
.sidebar__logo {
    display: flex;
    align-items: center;
}
.sidebar__logo img {
    height: auto;
    width: 190px;
    max-width: calc(100% - 10px);
    margin-top: 0;
}
@media (max-width: 768px) {
    .sidebar__logo img {
        width: 160px;
        margin-top: 0;
    }
}
.header__logo img.logo {
    width: 150px;
    height: auto;
}

/* --- Tab là LINK trên các trang KHÔNG phải trang chủ (CLTX, CLTX+2... trỏ về /?g=, và XS 3 MIỀN
       trỏ sang clmm-pro). Theme gốc chỉ style <button> nên <a> bị đổi màu — style khớp hệt button.
       TẠI SAO phải ghim nhiều trạng thái: trang khác KHÔNG có tab "active" (không panel, không home.js
       bật .active). Trước đây chỉ khai báo màu cho trạng thái thường + :hover, bỏ trống
       :visited/:focus/:active ⇒ sau khi BẤM một tab (link điều hướng), trình duyệt tự tô link ĐÃ THĂM
       bằng màu :visited và/hoặc giữ :focus ⇒ tab "tự nhảy màu", nhiều tab cùng sáng khác màu nhau.
       Ngoài ra :hover không chặn trên cảm ứng ⇒ chạm/tap làm tab "dính" màu vàng (sticky-hover) ⇒ cũng
       khiến nhiều tab cùng sáng. Khắc phục: GHIM mọi state về màu nghỉ #fff (giống kubank — sidebar
       cũng dùng #fff, chữ trắng trên nền tối trông "xám nhạt"), và CHỈ cho sáng vàng khi hover bằng
       con trỏ thật. Trang chủ dùng <button> (admin.css) nên KHÔNG bị ảnh hưởng, giữ nguyên. --- */
.profile__tabs li a {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    height: 50px;
    position: relative;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
    text-decoration: none;
}
/* Ghim màu nghỉ cho MỌI pseudo-state ⇒ click/điều hướng/focus không bao giờ làm link đổi màu. */
.profile__tabs li a,
.profile__tabs li a:link,
.profile__tabs li a:visited,
.profile__tabs li a:focus,
.profile__tabs li a:active {
    color: #fff;
    outline: none; /* không giữ khung focus sau khi bấm */
}
/* Chỉ highlight (vàng) khi hover bằng CHUỘT THẬT; cảm ứng không có hover ⇒ tap không bị dính màu. */
@media (hover: hover) and (pointer: fine) {
    .profile__tabs li a:hover {
        color: #fef142;
    }
}
.profile__tabs li a.tab-xs3mien::after {
    content: '↗';
    margin-left: 4px;
    font-size: 12px;
    opacity: 0.7;
}

/* --- Footer gọn trang chủ (thay khối SEO thô). Nền tối, nhỏ gọn; H1 thu nhỏ tinh tế vẫn đủ cho SEO. --- */
.app-footer {
    margin-top: 28px;
    padding: 28px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    background: #202024;
}
.app-footer .container-fluid { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.app-footer__top {
    display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-start;
    justify-content: space-between; padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.app-footer__brand img { opacity: 0.9; }
.app-footer__nav { display: flex; gap: 48px; flex-wrap: wrap; }
.app-footer__h { color: rgba(255, 255, 255, 0.5); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; margin: 0 0 10px; }
.app-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.app-footer__col a { color: rgba(255, 255, 255, 0.72); font-size: 13px; }
.app-footer__col a:hover { color: #fe9b21; }
.app-footer__h1 {
    margin: 18px 0 8px; font-size: 13px; font-weight: 500;
    color: rgba(255, 255, 255, 0.5); letter-spacing: 0.2px;
}
.app-footer__fine { margin: 0 0 6px; font-size: 12px; line-height: 1.7; color: rgba(255, 255, 255, 0.5); }
.app-footer__fine a { color: #fe9b21; }
.app-footer__copy { margin: 0; font-size: 12px; color: rgba(255, 255, 255, 0.5); }
@media (max-width: 768px) {
    .app-footer__nav { gap: 28px; }
    .app-footer__top { flex-direction: column; gap: 18px; }
}

/* --- Bảng quy đổi ký tự BIDV/VietinBank (modal) --- */
.bank-infos__note {
    padding: 12px 16px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}
.bank-infos__note a.lettermap-open {
    color: #fe9b21;
    text-decoration: underline;
    cursor: pointer;
}
.lettermap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-height: 56vh;
    overflow-y: auto;
    border-radius: 8px;
}
.lettermap__table {
    width: 100%;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
}
.lettermap__ord {
    color: rgba(255, 255, 255, 0.55);
}
@media (max-width: 480px) {
    .lettermap { gap: 8px; }
    .lettermap__table th,
    .lettermap__table td { padding: 5px 6px; font-size: 12.5px; }
}
.lettermap__table th,
.lettermap__table td {
    text-align: center;
    padding: 6px 8px;
}
.lettermap__char {
    font-weight: 700;
    text-transform: uppercase;
}
.lettermap__digit {
    color: #fe9b21;
    font-weight: 700;
}
.lettermap__note {
    margin-top: 12px;
    font-size: 12.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
}

/* --- Cột BANK ở bảng cổng nhận: CHỈ hiện LOGO ngân hàng (không chữ), KHÔNG nền — logo to, bo góc nhẹ
   cho đẹp. Thiếu logo mới rơi về mã chữ. Nút QR vẫn là .qrc catalog__btn gốc (admin.css), không đè. --- */
.bank-infos__bank {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 44px;
    min-width: 56px;          /* ô BANK không bị cột khác ép hẹp (chủ site 07/10: logo bị chèn ép) */
    white-space: nowrap;
}
.bank-infos__logo {
    height: 44px;
    width: auto;              /* theo tỉ lệ thật: logo cục bộ 150×150 ra 44×44, logo VietQR ngang không bị bóp */
    max-width: 120px;
    object-fit: contain;
    border-radius: 8px;
    flex: 0 0 auto;
    display: block;
    /* Không nền: logo ngân hàng tự mang màu; bóng nhẹ cho nổi trên nền tối, mượt viền. */
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

/* ---- Trạng thái CHƯA ĐĂNG NHẬP — bám kubank.org khi đã logout (chủ site soi 06/10) ----
   Phần cá nhân (bank nhận, lịch sử, form nhận thưởng…) đổi thành MỘT câu in hoa
   "… VUI LÒNG ĐĂNG NHẬP HOẶC ĐĂNG KÝ NHANH" với 2 link; không nút to, không icon, không khối phụ. */
.guest-invite {
    margin: 0;
    padding: 22px 20px 26px;
    text-align: center;
    font-size: 13px;
    line-height: 20px;
    font-weight: 500;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}
.guest-invite a { color: #fef142 !important; text-decoration: underline; font-weight: 700; }
.guest-invite a:hover { color: #fe9b21 !important; }

/* ---- Cài đặt bank: tên chủ TK tự tra qua findname (caidatbank.js) — ô tên chỉ đọc, dòng trạng thái không nhảy layout ---- */
#form-bank .sign__input[readonly] { opacity: .85; cursor: default; }
#form-bank #err-msg { min-height: 20px; }

/* --- Hai card cạnh nhau trên máy tính (bảng luật game | thông tin bank nhận, và các cặp col-xl-6 khác) cao BẰNG nhau
       (08/10, chủ site: "card thông tin bank nhận bị thò thụt" — card bank chỉ cao ~310px cạnh card luật ~580px).
       Cột đã cao bằng nhau nhờ .row (flex); cho .dashbox duy nhất trong cột giãn hết chiều cao cột. --- */
@media (min-width: 1200px) {
    .row > .col-xl-6 { display: flex; flex-direction: column; }
    .row > .col-xl-6 > .dashbox:only-child { flex: 1 1 auto; }
}

/* --- Nút nổi "Hỗ trợ Telegram" (partial app/support-float, 10/10): góc phải dưới, nền xanh Telegram, nhãn HỖ TRỢ
       hiện trên máy tính; điện thoại chỉ còn icon tròn để không che nội dung. Nằm dưới popup thông báo (z 10000). --- */
.support-float {
    position: fixed;
    right: 18px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    z-index: 9000;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 18px 0 14px;
    border-radius: 24px;
    background: #229ed9;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .3px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
    transition: transform .15s ease, background .15s ease;
}
.support-float:hover, .support-float:focus { background: #1b8bc2; color: #fff; transform: translateY(-2px); }
.support-float svg { width: 24px; height: 24px; flex: 0 0 auto; }
@media (max-width: 767px) {
    .support-float { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); width: 48px; padding: 0; justify-content: center; }
    .support-float__label { display: none; }
}

/* --- Hỗ trợ tiếp cận (PageSpeed 20/10/2026) — chỉnh tối thiểu để đạt chuẩn tương phản WCAG, giữ gần màu cũ:
       chữ chân trang .45/.4/.35 → .5 (≥ 5:1 trên nền #202024); huy hiệu WIN/ĐÃ TRẢ .6 → .53 (chữ trắng ≥ 4,5:1);
       link nằm GIỮA đoạn chữ có gạch chân mảnh (trước đây chỉ khác màu chữ quanh nó → người mù màu không nhận ra là link). --- */
.gstatus.win, .gstatus.sent, .gstatus.ok { background-color: rgba(91, 206, 174, 0.53); }
.dashbox__table-wrap p a, .app-footer__fine a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
