@charset "UTF-8";

/* --------------------------------------------------
 ธีม Midnight Gold — น้ำเงินกรมท่าลึก + ทอง
 ไฟล์นี้โหลด "ต่อท้าย" CSS เดิมทุกตัว ไม่ทับไฟล์ใด ๆ
 ใช้ทั้งมือถือจริงและ desktop (คนละเรื่องกับกรอบ 440 ใน frame-440.css)
 ถอนธีมกลับเป็นดำ-ทองเดิม = ลบ <link> ไฟล์นี้ออกบรรทัดเดียว

 จานสี
   น้ำเงินดำเข้ม  #040d3f   พื้นหลังหลัก
   กรมท่า        #05104c / #0a1f61
   น้ำเงินการ์ด   #102b72 / #1a3587
   ทองสว่าง      #ffd77a
   ทองเข้ม       #8a5f1d
-------------------------------------------------- */

body {
    background: #040d3f !important;
}

/* ฉากหลัง: ไล่เฉดกรมท่า + แสงน้ำเงินด้านบน + ไอทองจาง ๆ ด้านล่าง */
body::before {
    background-image:
        radial-gradient(90% 55% at 50% 0%, rgba(31, 75, 194, 0.45) 0%, rgba(11, 29, 104, 0.28) 42%, rgba(4, 13, 63, 0) 76%),
        radial-gradient(60% 40% at 50% 100%, rgba(168, 121, 44, 0.16) 0%, rgba(4, 13, 63, 0) 70%),
        linear-gradient(180deg, #0a1f61 0%, #05104c 55%, #040d3f 100%) !important;
    background-size: cover, cover, cover !important;
    background-repeat: no-repeat !important;
}

/* แถบหัว / แถบยอดเงิน / เมนูล่าง — เส้นทองบาง */
#header {
    background: linear-gradient(180deg, rgba(8, 25, 89, 0.97) 0%, rgba(4, 13, 63, 0.94) 100%) !important;
    border-bottom: 1px solid rgba(245, 210, 122, 0.55) !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6) !important;
}

#btm-bar {
    background: linear-gradient(180deg, rgba(8, 25, 89, 0.92), rgba(4, 13, 63, 0.92)) !important;
}

.top-bar {
    background-image: linear-gradient(rgba(7, 22, 79, 0.92), rgba(4, 13, 63, 0.92)) !important;
}

.side-bar {
    background: linear-gradient(131deg, rgba(168, 121, 44, 0.30) 0%, rgba(8, 25, 89, 0.9) 26%, rgba(4, 13, 63, 0.94) 72%) !important;
}

/* การ์ดหลัก */
.monitor {
    background-image: linear-gradient(180deg, #102b72 0%, #05104c 100%) !important;
}

.user-wallet {
    background-color: rgba(4, 13, 63, 0.5) !important;
}

.user-balance {
    background-color: rgba(4, 13, 63, 0.6) !important;
}

/* เม็ดยอดเงิน / เพชร / ไทล์เมนู — คงขอบทองเดิม เปลี่ยนเนื้อในเป็นกรมท่า */
.coin,
a.cash,
a.cash-lock,
a.diamond,
.pop-nav li {
    background-image: linear-gradient(#1a3587 0%, #05104c 100%), linear-gradient(125deg, #8a5f1d, #ffd77a) !important;
}

/* ช่องกรอก / ดรอปดาวน์ */
input.form-control,
.form-control,
textarea.form-control {
    background-color: #0a1b5e !important;
    border-color: rgba(255, 215, 122, 0.3) !important;
}

.dropdown-menu {
    background-color: #0a1b5e !important;
}

footer {
    background: linear-gradient(90deg, rgba(4, 13, 63, 0.96) 0%, rgba(16, 43, 114, 0.7) 100%) !important;
}

/* หัวข้อเป็นทอง */
.ttl,
.head-blc .ttl {
    color: #ffd77a !important;
}

/* --------------------------------------------------
 เฉพาะหน้าเว็บหลัก (flow88.app) — ส่วนที่ไม่มีในเว็บสมาชิก
-------------------------------------------------- */

/* ปุ่มเข้าสู่ระบบ / สมัคร บนหัวเว็บ — คงขอบทองเดิม เปลี่ยนเนื้อในเป็นกรมท่า */
#btn-play.btn-deposit,
#btn-login.btn-deposit {
    background-image: linear-gradient(#1a3587 0%, #05104c 100%), linear-gradient(125deg, #8a5f1d, #ffd77a) !important;
}

/* กล่องข่าว / ไอคอนเมนู */
#news-box {
    background-color: rgba(8, 25, 89, 0.72) !important;
}

/* เมนูที่เลือกอยู่ในลิ้นชัก (เดิมเป็นไล่เฉดน้ำตาล-ดำ) */
#drw-nav a.active {
    background-image: radial-gradient(100% 100% at 50% 0, #1a3587 0%, #05104c 100%) !important;
}

/* --------------------------------------------------
 เมนูข้าง (.side-bar) — การ์ดพื้นน้ำเงินเข้มทีละปุ่ม
 ตัวที่เลือกอยู่ใช้ขอบทองไล่เฉด ทำด้วยเทคนิคซ้อนพื้นหลัง
 padding-box/border-box (border-image ใช้ไม่ได้เพราะไม่เอาส่วนโค้ง)
-------------------------------------------------- */
.side-bar .list .item {
    margin-bottom: 8px !important;
}

.side-bar .list .item>a,
.side-bar .list .item .tag-link {
    background: linear-gradient(180deg, #14307e 0%, #0d2260 100%) !important;
    border: 1px solid rgba(255, 215, 122, 0.18) !important;
    border-radius: 10px !important;
}

/* แถบขาวเล็ก ๆ ด้านซ้ายของดีไซน์เดิม ไม่ต้องแล้ว */
.side-bar .list .item>a::before,
.side-bar .list .item .tag-link::before {
    display: none !important;
}

.side-bar .list .item>a:hover,
.side-bar .list .item .tag-link:hover {
    background: linear-gradient(180deg, #1e41a5 0%, #11296c 100%) !important;
}

.side-bar .list .item>a.active,
.side-bar .list .item .tag-link.active,
.side-bar .list .item>a.active:hover,
.side-bar .list .item .tag-link.active:hover {
    background:
        linear-gradient(180deg, #1c439a 0%, #0e2665 100%) padding-box,
        linear-gradient(160deg, #ffd77a 0%, #8a5f1d 48%, #ffd77a 100%) border-box !important;
    border: 1px solid transparent !important;
    border-radius: 10px !important;
    box-shadow: 0 0 12px rgba(255, 215, 122, 0.18) !important;
}

/* --------------------------------------------------
 mobile-shortcut — น้ำเงิน-ทอง (น้ำเงิน level 2)
-------------------------------------------------- */

/* แถบซ้าย/ขวา: ดำ #000→#222 เดิม -> กรมท่าสว่าง level 2 */
.mobile-shortcut .left-blc,
.mobile-shortcut .right-blc {
    background: linear-gradient(180deg, #05104c 0%, #0a1f61 100%) !important;
    border-top: 2px solid #ffe9b0 !important;
}

/* ฉากหลังโค้งกลาง (fake_bg.svg เดิมเป็นดำ) -> สลับเป็นตัวสีน้ำเงินชุดเดียวกัน */
.mobile-shortcut .fake-bg img {
    content: url("data:image/svg+xml;charset=utf-8,%3Csvg%20height%3D%27108%27%20viewBox%3D%27-10%20-1%2030%2012%27%20width%3D%27270%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%3E%3Cdefs%3E%3ClinearGradient%20id%3D%27g%27%20x1%3D%270%25%27%20y1%3D%270%25%27%20x2%3D%270%25%27%20y2%3D%27100%25%27%3E%3Cstop%20offset%3D%2720%25%27%20stop-color%3D%27%2305104c%27%2F%3E%3Cstop%20offset%3D%27100%25%27%20stop-color%3D%27%230a1f61%27%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20fill%3D%27url(%23g)%27%20d%3D%27M-10%20-1%20H30%20V12%20H-10z%20M%205%205%20m%20-5%2C%200%20a%205%2C5%200%201%2C0%2010%2C0%20a%205%2C5%200%201%2C0%20-10%2C0z%27%2F%3E%3C%2Fsvg%3E") !important;
}

/* วงกลมกลาง: เนื้อในน้ำเงิน level 2 ขอบทองเดิม */
.mobile-shortcut .center-blc {
    background-image: linear-gradient(#1a3587 0%, #05104c 100%), linear-gradient(125deg, #8a5f1d, #ffd77a) !important;
    box-shadow: 0 0 12px rgba(255, 215, 122, 0.35) !important;
}

/* ข้อความใต้ไอคอน: ขาว -> ทอง */
.mobile-shortcut .item .txt01 {
    color: #ffd77a !important;
}

/* --------------------------------------------------
 A) Glass Navy — การ์ดกระจกกรมท่า ขอบทองบาง ปุ่มทองเต็มใบ
-------------------------------------------------- */

.modal-style01 .modal-dialog {
    max-width: 420px;
}

.modal-style01 .modal-content {
    background:
        linear-gradient(165deg, rgba(26, 53, 135, 0.92) 0%, rgba(5, 16, 76, 0.96) 55%, rgba(4, 13, 63, 0.98) 100%) !important;
    border: 1px solid rgba(255, 215, 122, 0.45) !important;
    border-radius: 22px !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.04) inset, 0 0 40px rgba(26, 53, 135, 0.55) !important;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    overflow: hidden;
}

/* แถบทองบาง ๆ ด้านบนการ์ด */
.modal-style01 .modal-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(138, 95, 29, 0), #ffd77a 50%, rgba(138, 95, 29, 0));
    z-index: 3;
}

.modal-style01 .form-style01 {
    padding: 6px 4px 10px !important;
}

.form-style01 .border-blc .inner {
    padding: 18px 22px 22px !important;
}

/* หัวข้อ */
.member-blc .ttl,
.member-blc h1.ttl {
    text-align: center;
    font-size: 22px !important;
    font-weight: 800;
    letter-spacing: .5px;
    background: linear-gradient(180deg, #fff3cf 0%, #ffd77a 45%, #c79a3c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 18px !important;
}

/* ช่องกรอก: แคปซูล พื้นกรมท่าเข้ม ไอคอนแยกเป็นชิป */
.member-blc .form-blc .row-blc {
    margin-bottom: 14px !important;
}

.member-blc .form-blc .fill-item {
    background: rgba(3, 9, 40, 0.75);
    border: 1px solid rgba(255, 215, 122, 0.22);
    border-radius: 999px;
    padding: 4px;
    align-items: center;
    transition: border-color .2s, box-shadow .2s;
}

.member-blc .form-blc .fill-item:focus-within {
    border-color: rgba(255, 215, 122, 0.75);
    box-shadow: 0 0 0 3px rgba(255, 215, 122, 0.12);
}

.member-blc .form-blc .fill-item .icn {
    background: linear-gradient(180deg, #1a3587, #0a1f61) !important;
    color: #ffd77a !important;
    width: 38px !important;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none !important;
    border-radius: 50% !important;
    flex: 0 0 38px;
}

.member-blc .form-blc .fill-item input[type=text],
.member-blc .form-blc .fill-item input[type=password],
.member-blc .form-blc .fill-item select {
    background: transparent !important;
    border: none !important;
    border-radius: 999px !important;
    color: #fff !important;
    font-size: 15px;
    height: 38px;
    padding: 0 14px !important;
    width: calc(100% - 38px) !important;
    outline: none !important;
}

.member-blc .form-blc .fill-item input::placeholder {
    color: rgba(255, 255, 255, 0.45) !important;
}

/* Chrome autofill ทาพื้น #e8f0fe — ทับด้วยสีเดียวกับช่องรหัสผ่าน */
.member-blc .form-blc .fill-item input:-webkit-autofill,
.member-blc .form-blc .fill-item input:-webkit-autofill:hover,
.member-blc .form-blc .fill-item input:-webkit-autofill:focus,
.member-blc .form-blc .fill-item input:-webkit-autofill:active,
.member-blc .form-blc .fill-item input:autofill {
    -webkit-box-shadow: 0 0 0 1000px #040c33 inset !important;
    box-shadow: 0 0 0 1000px #040c33 inset !important;
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff;
    border-radius: 999px !important;
    transition: background-color 9999s ease-out 0s;
}

/* ข้อความช่วยเหลือใต้ช่อง */
.member-blc .form-blc .row-blc>span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
    padding-left: 16px;
}

/* ปุ่มหลัก: ทองเต็มใบ ตัวหนังสือกรมท่า */
.member-blc .form-blc .btn-style02 {
    margin-top: 22px !important;
}

.btn-style02 .btn-elem {
    background: linear-gradient(180deg, #ffe9b0 0%, #ffd77a 45%, #d9a441 100%) !important;
    color: #061235 !important;
    text-shadow: none !important;
    border-radius: 999px !important;
    padding: 0 !important;
    width: 100%;
    justify-content: center;
    opacity: 1 !important;
    box-shadow: 0 8px 20px rgba(255, 199, 92, 0.25);
}

.btn-style02 .btn-elem .txt01 {
    padding: 11px 24px !important;
    font-size: 16px;
    font-weight: 800;
}

.btn-style02 .btn-elem:hover {
    filter: brightness(1.06);
}

.btn-style02 .btn-elem.btn-disabled {
    background: linear-gradient(180deg, #7b88ad 0%, #3d4a73 100%) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    box-shadow: none;
}

/* ลิงก์ล่าง */
.member-blc .form-blc .txt-bottom {
    color: rgba(255, 255, 255, 0.62) !important;
    font-size: 14px;
    margin-top: 14px !important;
}

.member-blc .form-blc .txt-bottom .btn-txt {
    color: #ffd77a !important;
}

/* ตัวบอกขั้นตอน */
.member-blc .step-status {
    width: 96px !important;
    gap: 6px;
    margin: 0 auto 18px !important;
}

.member-blc .step-status .item {
    background: rgba(255, 255, 255, 0.16) !important;
    height: 5px !important;
    border-radius: 999px !important;
    margin-right: 0 !important;
}

.member-blc .step-status .item.active {
    background: linear-gradient(90deg, #ffd77a, #d9a441) !important;
}

/* ปุ่มปิด */
.modal-style01 .form-style01 .btn-close {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    opacity: .8;
    top: 14px !important;
    right: 14px !important;
}

/* รายการธนาคาร */
.member-blc .form-blc .bank-list {
    background: rgba(3, 9, 40, 0.5) !important;
    border: 1px solid rgba(255, 215, 122, 0.15);
    border-radius: 14px !important;
    padding: 10px !important;
}

.member-blc .form-blc .bank-list .item .img {
    border-radius: 10px;
    overflow: hidden;
}
