/* Separate website navigation from account actions. */
.member-shell:not(.member-has-navigation) .member-menu-toggle{display:none}
.member-shell:not(.member-mobile) [ng-view]:has(>.nav.nav-pills){display:grid;grid-template-columns:240px minmax(0,1fr);gap:56px;align-items:start;padding:20px 0}
.member-shell:not(.member-mobile) [ng-view]:has(>.nav.nav-pills):after{display:none}
.member-shell:not(.member-mobile) [ng-view]>.nav.nav-pills{display:flex;flex-direction:column;align-items:stretch;gap:7px;margin:0;padding:0 24px 20px 0;border-right:1px solid #d7e8f0;border-radius:0;background:none}
.member-shell:not(.member-mobile) [ng-view]>.nav.nav-pills:before{content:'จัดการบัญชี';display:block;margin:0 0 15px;padding:0 15px;color:#194e70;font:700 28px/1.3 DS,Tahoma,sans-serif}
.member-shell:not(.member-mobile) [ng-view]>.nav.nav-pills:after{display:none}
.member-shell:not(.member-mobile) [ng-view]>.nav.nav-pills>li>a{display:flex;align-items:center;min-height:48px;padding:8px 16px;border-radius:24px;font-size:23px;line-height:1.3;text-align:left}
.member-shell:not(.member-mobile) [ng-view]>.nav.nav-pills>li.active>a{box-shadow:none}
.member-shell:not(.member-mobile) [ng-view]:has(>.nav.nav-pills)>.col-md-6{max-width:600px;width:100%;margin:0 auto;float:none}
.member-shell:not(.member-mobile) [ng-view]:not(:has(>.nav.nav-pills))>.col-md-6{margin-top:40px}
.member-forgot-link{text-align:right;margin:-6px 0 0;font-size:22px}
.jumbotron .member-auth-links{text-align:center;font-size:23px;margin:24px 0 0;color:#69869b}
.member-auth-links a{margin-left:6px;font-weight:700}
.member-auth-links a:hover,.member-forgot-link a:hover{text-decoration:underline}
.member-mobile .member-forgot-link{font-size:30px;margin:0}
.member-mobile .jumbotron .member-auth-links{font-size:32px;margin-top:30px}
.member-mobile:not(.member-has-navigation) [ng-view]>.col-md-6{padding-top:14px}

/* Member overview: clear account identity, quiet data rows, focused verification. */
.member-profile .profile-heading{padding-bottom:24px;border-bottom:2px solid #c6e4ef}
.member-profile .profile-heading h2{margin:0 0 8px}
.jumbotron .member-profile .profile-heading p{margin:0;font-size:23px;color:#6b879b}
.profile-identity{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px 0}
.profile-label{display:block;font-size:21px;color:#69869b}
.profile-identity h3{margin:3px 0 0;font:700 36px/1.15 DS,Tahoma,sans-serif;color:#194e70;overflow-wrap:anywhere}
.profile-identity>div{min-width:0}
.profile-status{flex-shrink:0;padding:5px 14px;border-radius:20px;font:700 20px/1.3 DS,Tahoma,sans-serif;border:1px solid}
.profile-status.pending{color:#b43347;border-color:#f0cbd2;background:#fff0f2}
.profile-status.verified{color:#197965;border-color:#bfe6d8;background:#eaf7f0}
.profile-verify-note{padding:20px 24px 22px;border:1px solid #f0d3d8;border-left:4px solid #c7354b;border-radius:4px 16px 16px 4px;background:#fff5f6}
.profile-verify-note h3{margin:0 0 5px;font:700 27px/1.2 DS,Tahoma,sans-serif;color:#a32c40}
.jumbotron .profile-verify-note p{margin:0 0 17px;color:#8e5e68;font-size:23px;line-height:1.4}
.profile-verify-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 24px;border-radius:24px;background:#bb344a;color:white;font:700 23px/1.2 DS,Tahoma,sans-serif;text-decoration:none;transition:background-color .18s}
.profile-verify-button:hover,.profile-verify-button:focus{background:#a52c40;color:white;text-decoration:none}
.profile-details{margin:18px 0 0}
.profile-details>div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:18px;padding:18px 0;border-bottom:1px solid #deebf2;align-items:baseline}
.profile-details dt{font:400 23px/1.4 DS,Tahoma,sans-serif;color:#69869b}
.profile-details dd{margin:0;font:24px/1.4 DS,Tahoma,sans-serif;color:#254f6e;overflow-wrap:anywhere}
.jumbotron .profile-settings-hint{margin:20px 0 0;color:#718c9e;font-size:21px;line-height:1.45}
.member-mobile .member-profile .profile-heading{padding-bottom:24px}
.member-mobile .jumbotron .member-profile .profile-heading p{font-size:30px}
.member-mobile .profile-identity{align-items:flex-start;flex-wrap:wrap;gap:14px;padding:26px 0}
.member-mobile .profile-label{font-size:28px}
.member-mobile .profile-identity h3{font-size:44px}
.member-mobile .profile-status{font-size:27px;padding:7px 16px;border-radius:24px}
.member-mobile .profile-verify-note{padding:22px}
.member-mobile .profile-verify-note h3{font-size:34px}
.member-mobile .jumbotron .profile-verify-note p{font-size:30px}
.member-mobile .profile-verify-button{min-height:62px;font-size:32px;border-radius:32px;width:100%}
.member-mobile .profile-details>div{grid-template-columns:1fr;gap:4px;padding:20px 0}
.member-mobile .profile-details dt{font-size:28px}
.member-mobile .profile-details dd{font-size:32px}
.member-mobile .jumbotron .profile-settings-hint{font-size:28px}

/* Payment history stays with its form instead of becoming a sidebar grid item. */
.member-topup-history{margin-top:42px;padding-top:24px;border-top:2px solid #c6e4ef}
.member-topup-history h3{margin:0 0 20px;color:#194e70;font:700 30px/1.3 DS,Tahoma,sans-serif}
.member-topup-history .history-table{width:100%;table-layout:fixed;margin:0;border:0;background:#ffffffb3}
.member-topup-history .history-table th,.member-topup-history .history-table td{padding:14px 12px;border:0;border-bottom:1px solid #dce9f1;vertical-align:middle;overflow-wrap:anywhere;font:22px/1.4 DS,Tahoma,sans-serif;color:#315b77}
.member-topup-history .history-table th{background:#eaf5fa;color:#194e70;font-weight:700}
.member-topup-history .history-table th:nth-child(1){width:28%}
.member-topup-history .history-table th:nth-child(2){width:32%}
.member-topup-history .history-table th:nth-child(3){width:16%}
.member-topup-history .history-table th:nth-child(4){width:24%}
.member-topup-history .history-table td:nth-child(3),.member-topup-history .history-table th:nth-child(3){text-align:right}
.member-topup-history .history-table .history-empty td{text-align:center;color:#718c9e;padding:26px 12px}
.member-mobile .member-topup-history{margin-top:40px}
.member-mobile .member-topup-history h3{font-size:36px}
.member-mobile .member-topup-history .history-table,.member-mobile .member-topup-history tbody{display:block}
.member-mobile .member-topup-history thead{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%)}
.member-mobile .member-topup-history tbody tr{display:block;padding:16px 0;border-bottom:1px solid #dce9f1}
.member-mobile .member-topup-history .history-table td{display:grid;grid-template-columns:150px minmax(0,1fr);gap:16px;padding:8px 10px;border:0;text-align:left;font-size:29px}
.member-mobile .member-topup-history td[data-label]:before{content:attr(data-label);color:#69869b;font-weight:400}
.member-mobile .member-topup-history .history-empty td{display:block;text-align:center}
.history-page h2{margin-bottom:8px}.jumbotron .history-intro{color:#69869b;font-size:23px;margin-bottom:24px}
.history-filters{display:grid;grid-template-columns:1fr 1fr;gap:16px}.history-filters label{font-size:22px}.history-filters .form-control{font-size:21px;min-width:0;width:100%}.history-filter-actions{grid-column:1/-1;display:flex;gap:12px;align-items:center;margin-bottom:24px}
.history-summary{display:grid;grid-template-columns:1.4fr 1fr;border-bottom:1px solid #d6e8f0;padding:22px 0;gap:20px}.history-summary span{display:block;color:#69869b;font-size:22px}.history-summary strong{display:block;color:#14617c;font:700 38px/1.3 DS,Tahoma,sans-serif}.history-summary small{font-size:22px;font-weight:400}
.jumbotron .history-summary-note,.jumbotron .history-count{font-size:20px;color:#69869b;margin:14px 0}.history-channel-totals{display:grid;grid-template-columns:1fr 1fr;gap:10px 24px;padding:12px 0}.history-channel-totals>div{display:flex;justify-content:space-between;gap:12px;font-size:20px;border-bottom:1px solid #e2edf2;padding-bottom:8px}.history-channel-totals strong{white-space:nowrap;font-weight:400;color:#195f7b}
.history-scroll{max-height:460px;overflow:auto;border:1px solid #d6e8f0;border-radius:12px;scrollbar-width:thin;scrollbar-color:#76bde7 #eaf5fa;background:#ffffffc9}.history-scroll::-webkit-scrollbar{width:8px;height:8px}.history-scroll::-webkit-scrollbar-thumb{background:#76bde7;border-radius:8px}.history-scroll::-webkit-scrollbar-track{background:#eaf5fa}
.history-records{border-collapse:separate;border-spacing:0;width:100%;table-layout:fixed;font-size:20px}.history-records th{position:sticky;top:0;background:#eaf5fa;color:#194e70;z-index:1}.history-records td,.history-records th{padding:14px 10px;border-bottom:1px solid #dce9f1;overflow-wrap:anywhere;vertical-align:middle}.history-records th:first-child{width:34%}.history-records th:nth-child(2){width:23%}.history-records th:nth-child(3){width:20%;text-align:right}.history-amount{text-align:right}.history-records small{display:block;font-size:18px;color:#718c9e}.history-state{font-size:19px}.history-state.success{color:#197965}.history-state.pending{color:#976322}.history-state.failed{color:#b43347}.history-no-records{text-align:center;color:#718c9e}.history-more{display:block;width:100%;border:0;background:#f0f9fd;color:#167997;padding:14px;font:700 22px DS,Tahoma,sans-serif}.payment-history-link{margin-top:26px!important;text-align:right}
.member-mobile .history-filters{grid-template-columns:1fr}.member-mobile .history-filters label,.member-mobile .history-filters .form-control{font-size:30px}.member-mobile .history-summary{grid-template-columns:1fr}.member-mobile .history-summary strong{font-size:44px}.member-mobile .history-summary span,.member-mobile .history-summary small{font-size:28px}.member-mobile .history-channel-totals{grid-template-columns:1fr}.member-mobile .history-channel-totals>div{font-size:28px}.member-mobile .jumbotron .history-summary-note,.member-mobile .jumbotron .history-count{font-size:27px}.member-mobile .history-scroll{max-height:640px}.member-mobile .history-records,.member-mobile .history-records tbody{display:block}.member-mobile .history-records thead{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.member-mobile .history-records tr{display:block;padding:16px;border-bottom:1px solid #d6e8f0}.member-mobile .history-records td{display:grid;grid-template-columns:140px minmax(0,1fr);gap:6px 12px;border:0;padding:8px 0;font-size:28px;text-align:left}.member-mobile .history-records td[data-label]:before{content:attr(data-label);color:#69869b}.member-mobile .history-records small{grid-column:2;font-size:24px}.member-mobile .history-state{font-size:28px}.member-mobile .history-more{font-size:30px}.member-mobile .history-records .history-no-records{display:block;text-align:center}

.topup-history-list{margin-top:36px;padding-top:26px;border-top:1px solid #c6e4ef}.topup-history-list h3{margin:0 0 18px;color:#194e70;font:700 30px/1.3 DS,Tahoma,sans-serif}.member-mobile .topup-history-list h3{font-size:36px}

.payment-methods .radio{display:flex;justify-content:center}
.payment-methods .radio label{display:flex;align-items:center;gap:18px;width:360px;max-width:100%;padding:0;margin:0}
.payment-methods .radio input[type=radio]{position:static;flex-shrink:0;margin:0}
.payment-methods .radio img{min-width:0;max-width:calc(100% - 36px);height:auto}
.payment-methods .topup-actions{justify-content:center}
.member-mobile .payment-methods .radio label{width:404px}
.member-mobile .payment-methods .topup-actions{align-items:center}

/* Keep promotion lists inside the account content column. */
.member-promotions{min-width:0}
.promotion-scroll{max-height:460px;overflow:auto;border:1px solid #d6e8f0;border-radius:12px;background:#ffffffc9;scrollbar-width:thin;scrollbar-color:#76bde7 #eaf5fa}
.promotion-table{width:100%;table-layout:fixed;margin:0}
.promotion-table>thead>tr>th{position:sticky;top:0;z-index:1;background:#eaf5fa;color:#194e70;border-bottom:1px solid #dce9f1}
.promotion-table>thead>tr>th,.promotion-table>tbody>tr>td{padding:14px 16px;vertical-align:middle;overflow-wrap:anywhere}
.promotion-table>thead>tr>th:first-child,.promotion-table>tbody>tr>td:first-child{text-align:left}
.promotion-table>tbody>tr>td.promotion-empty{text-align:center;color:#718c9e;padding:26px 16px}
.promotion-table .btn{max-width:100%;white-space:normal}
.member-mobile .promotion-scroll{max-height:640px}
