body {
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    margin: 0;
    background-color: #F4F4F4;
}

.content-wrap {
    margin: 0 auto;
    width: 1200px;
    height: 100%;
}

a, a:visited {
    text-decoration: none;
    color: unset;
}

ul>li {
    margin-top: 8px;
    width: 120px;
    display: inline-block;
    font-size: larger;
}

.topPanel {
    border-bottom: solid #DB7F7F;
    background-color: white;
}

.topPanel>div {
    width: 1200px;
    margin: 0 auto;
}

.topPanel .logo {
    position: absolute;
    top: 15px;
    padding-left: 50px;
}

.topPanel .menu {
    text-align: center;
    height: 60px;
    width: 100%;
}

.menu>ul {
    line-height: 50px;
}

.nav {
    font-weight: 500;
    color: #484848;
}

.nav.main {
    font-weight: 700;
    color: #BE2F10;
}

.subNav {
    margin-top: 20px;
    display: flex;
    font-size: small;
    font-weight: 900;
}

.subNav>span {
    color: #B0ABAB;
}

.subNav .location {
    color: #B10404;
}

.loginTitle {
    width: 560px;
    margin: auto;
    text-align: left;
    padding-top: 75px;
    font-weight: 900;
    font-size: xx-large;
    color: #BE2F10;
}

.login {
    padding-top: 10px;
}

.loginPanel {
    text-align: center;
    background-image: url('../images/loginbg.png');
    background-repeat: no-repeat;
    background-size: 1200px;
    background-position-x: center;
    background-position-y: -120px;
    margin: auto;
    height: 955px;
    width: 100%;
}

.btn {
    cursor: pointer;
}

.btnLogin {
    width: 400px;
    height: 65px;
    background-repeat: no-repeat;
    background-size: contain;
    margin: 10px auto 10px auto;
    cursor: pointer;
}

.btnLogin.facebook {
    background-image: url('../images/FB.png')
}

.btnLogin.google {
    background-image: url('../images/GOOGLE.png')
}

.btnLogin.apple {
    background-image: url('../images/APPLE.png')
}

.btnLogin.line {
    background-image: url('../images/LINE.png')
}

.mycardHint {
    margin: 100px auto;
    width: 520px;
}

.mycardHint>div {
    color: #595959;
    border-bottom: solid #878787;
    text-align: left;
    font-size: x-large;
    font-weight: 700;
    height: 40px;
}

.mycardHint>span {
    color: #878787;
    text-align: left;
    display: inline-block;
    line-height: 2rem;
    font-size: x-small;
    width: 100%;
}

.loading {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000000;
    background-color: black;
}

.fadeOut {
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    animation-name: fadeOut;
    -webkit-animation-name: fadeOut;
}

.loading img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    width: 300px;
}

@-webkit-keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.mainPanel {
    margin: auto auto auto 2%;
    width: 68%;
    height: 700px;
    float: left;
}

.userPanel {
    width: 360px;
    height: 500px;
    background-image: url('../images/userInfo.png');
    background-size: contain;
    background-repeat: no-repeat;
    display: flex;
    float: left;
    flex-direction: column;
}

.userPanel>div>div{
    display: flex;
}

.userPanel .left{
    width: 30%;
}

.meow>img {
    display: block;
    width: 100%;
    padding-top: 60px;
}

.userInfoTitle {
    margin: 40px auto 10px auto;
    width: 80%;
    border-bottom: solid #DB7F7F;
    font-weight: 900;
    font-size: xx-large;
    color: #B10404;
}

.userInfo {
    margin: auto;
    height: 80%;
    width: 80%;
    line-height: 40px;
}

.userInfo>div {
    height: 40px;
    color: #484848;
    font-size: larger;
}

#btnLogout {
    border: solid #B10404;
    border-radius: 10px;
    line-height: 40px;
    margin: 10px auto;
    width: 100px;
    display: block;
    text-align: center;
    color: #B10404;
    font-size: larger;
    padding: unset;
}

#btnLogout:hover, #btnLogout:active {
    background-color: #B10404;
    color: white;
}

.newTag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
}

#btnRecord {
    font-size: x-small;
    color: #2A63A7;
}

.homeIcon {
    width: 15px;
    height: 15px;
    background-image: url('../images/home.png');
    background-repeat: no-repeat;
    background-size: contain;
}

.title {
    margin-top: 20px;
    border-left: 3px solid #BE2F10;
    font-size: x-large;
    font-weight: 900;
}

.title>span {
    color: #BE2F10;
}

.subTitle {
    font-weight: 700;
}

.subTitle .topic {
    font-weight: 900;
}

.subTitle .highlight {
    color: #CB0A16;
}

#btnTopup, #btnTransaction {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 70px;
    background-image: url('../images/btn_item_normal.png');
    background-repeat: no-repeat;
    background-size: contain;
}

#btnTopup.select, #btnTransaction.select {
    background-image: url('../images/btn_item_select.png');
}

#btnTopup img, #btnTransaction img {
    display: block;
    margin-right: 2px;
    width: 24px;
    height: 24px;
}

.topup-step-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.topup-content .topup-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    font-weight: bold;
    width: 100%;
    padding-bottom: 20px;
}

.topup-step-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.amount-button-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 10px;
    width: 100%;
}

.amount-btn {
    background-color: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.amount-btn:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.amount-btn.select {
    border-color: #B10404;
    border-width: 3px;
}

.payment-tab-container {
    width: 100%;
    margin-top: 10px;
}

.payment-tabs {
    display: flex;
    gap: 0;
}

.payment-tab {
    flex: 1;
    cursor: pointer;
    padding: 10px;
    opacity: 0.6;
    transition: all 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-tab:hover {
    opacity: 0.8;
}

.payment-tab.active {
    opacity: 1;
    background-color: #fff;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.payment-tab img {
    height: 50px;
    width: auto;
    display: block;
    max-width: 100%;
    object-fit: contain;
}

.payment-tab-content {
    background-color: #fff;
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.promo-text {
    margin-bottom: 20px;
    font-size: 16px;
    color: #484848;
    text-align: center;
}

.promo-text .highlight {
    color: #FF0000;
    font-weight: bold;
}

.payment-method-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
    padding-left: 30px;
    padding-right: 30px;
}

.payment-method-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 15px 20px;
    background-color: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    gap: 10px;
}

.payment-method-btn:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.payment-method-btn.select {
    border-color: #B10404;
    border-width: 3px;
}

.payment-method-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(100%);
    pointer-events: none;
    box-shadow: none;
    background-color: gray;
}

.payment-method-btn img {
    width: 24px;
    height: 24px;
}

.payment-method-btn span {
    font-size: 16px;
    color: #000;
    font-weight: 500;
}

.payment-confirm-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-top: 30px;
    margin-left: 30px;
    margin-right: 30px;
    gap: 30px;
}

.agreement-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #484848;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.policy-link {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.policy-link img {
    width: 16px;
    height: 16px;
}

.policy-link a {
    color: #007bff;
    text-decoration: underline;
}

.amount-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.points-display {
    font-size: 14px;
    color: #484848;
}

.total-amount {
    font-size: 16px;
    color: #484848;
}

.total-amount .amount-value {
    color: #FF2222;
    font-weight: bold;
    font-size: 18px;
}

.buy-now-btn {
    padding: 10px 10px;
    background-color: #B10404;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.buy-now-btn:hover {
    background-color: #8B0303;
}

#btnJKPayTopup {
    background-image: url('../images/gspoint.png');
}

#selectedPoints {
    font-size: 16px;
}

#extraPoints .highlight, #selectedPoints .highlight {
    color: red;
}

#invoice {
    margin-left: 30px;
    margin-right: 30px;
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

#invoice > div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#invoice > div > span {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 15px;
}

.gspoint, .marble {
    background-repeat: no-repeat;
    background-size: contain;
    width: 160px;
    height: 285px;
    text-align: center;
    position: relative;
    display: inline-block;
}

.gspoint>div, .marble>div {
    color: white;
    width: 110px;
    position: absolute;
    left: 25px;
}
 
.gs1 {
    background-image: url('../images/gspoint/gspoint1.png');
}

.gs2 {
    background-image: url('../images/gspoint/gspoint2.png');
}

.gs3 {
    background-image: url('../images/gspoint/gspoint3.png');
}

.gs4 {
    background-image: url('../images/gspoint/gspoint4.png');
}

.gs5 {
    background-image: url('../images/gspoint/gspoint5.png');
}

.gs6 {
    background-image: url('../images/gspoint/gspoint6.png');
}

.marble1 {
    background-image: url('../images/marble/marble1.png');
}

.marble2 {
    background-image: url('../images/marble/marble2.png');
}

.marble3 {
    background-image: url('../images/marble/marble3.png');
}

.marble4 {
    background-image: url('../images/marble/marble4.png');
}

.marble5 {
    background-image: url('../images/marble/marble5.png');
}

.marble6 {
    background-image: url('../images/marble/marble6.png');
}

.marble7 {
    background-image: url('../images/marble/marble7.png');
}

.marble8 {
    background-image: url('../images/marble/marble8.png');
}

.marble9 {
    background-image: url('../images/marble/marble9.png');
}

.marble10 {
    background-image: url('../images/marble/marble10.png');
}

.marble11 {
    background-image: url('../images/marble/marble11.png');
}

.marble12 {
    background-image: url('../images/marble/marble12.png');
}

.marble13 {
    background-image: url('../images/marble/marble13.png');
}

.point, .marbleProductName {
    bottom: 75px;
}

.ntd, .marbleCost {
    bottom: 45px;
    font-weight: 400;
}

.radioBtn {
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url('../images/unselect.png');
    background-position: center;
    height: 20px;
    bottom: 10px;
}

.radioBtn.select {
    background-image: url('../images/select.png');
}

#confirm, #confirmTransaction {
    background-image: url('../images/confirm.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 50px;
    width: 160px;
    margin: 20px auto;
}

.recordBG {
    display: flex;
    position: fixed;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    top: 0;
    left: 0;
}

.recordPanel {
    background-color: white;
    border: solid #8D8D8D;
    border-radius: 50px;
    width: 720px;
    height: 600px;
    margin: auto;
}

.recordInfo {
    display: flex;
    margin-top: 5px;
    margin-left: 20px;
    margin-bottom: 10px;
    font-weight: 400;
    color: #575757;
}

.recordInfo>div>span {
    color: black;
    font-weight: 900;
}

.recordTitle {
    color: white;
    font-size: xx-large;
    font-weight: 500;
    text-align: center;
}

#btnClose {
    width: 20px;
    position: relative;
    top: 30px;
    right: 20px;
    margin: 0 0 auto auto;
}

.hr {
    border-bottom: solid #8D8D8D;
}

.timePicker {
    margin-top: 10px;
    margin-left: 20px;
    margin-bottom: 10px;
    font-weight: 400;
    color: #8D8D8D;
    display: flex;
}

.timePicker .calendar {
    width: 30px;
    background-image: url('../images/calendar.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.timePickerArea {
    display: flex;
}

#btnSearchRecord {
    background-color: #BE2F10;
    border-radius: 8px;
    color: white;
    font-size: x-small;
    width: 40px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    margin-left: 10px;
    padding: unset;
}

#recordTable_paginate {
    width: 100%;
    text-align: center;
    bottom: auto;
}

.recordBody {
    border-radius: 23px;
    background-color: #B10404;
    height: 465px;
    margin: 0 15px;
}

#recordTable {
    width: 98% !important;
}

#recordTable th, #recordTable td {
    background-color: white;
}

#recordTable>thead>tr>th {
    border-bottom: solid #B10404;
    padding: auto;
    text-align: center;
}

#recordTable>tbody>tr>td {
    border: 1px #B10404 solid;
    text-align: center;
    font-size: x-small;
}

.dataTables_wrapper {
    height: 405px;
}

.dataTables_paginate {
    position: absolute;
    bottom: -18px;
}

.recordBody .dataTables_wrapper .dataTables_paginate .paginate_button, .recordBody .dataTables_wrapper .dataTables_paginate .paginate_button.current, .recordBody .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover, .recordBody .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,  .recordBody .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
    color: white !important;
}

#messageTitle {
    height: 80px;
    background-image: url('../images/done.png');
    background-repeat: no-repeat;
    background-size: contain;
    text-align: center;
    line-height: 80px;
    font-size: xx-large;
    font-weight: 900;
}

#messageTitle.fail {
    background-image: url('../images/fail.png');
}

#btnMobileNav, .mobileMenu {
    display: none;
}

td.dataTables_empty {
    height: 320px;
    vertical-align: middle;
}

.dataTables_scrollHeadInner {
    width: 98% !important;
    background-color: white;
    margin: 0 auto;
    padding-right: unset !important;
}

.loader {
    margin: auto;
    border: 16px solid #f3f3f3;
    border-top: 16px solid #CB0A16;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

.options-list {
    font-family: Arial, sans-serif;
    color: #333;
    padding: 10px;
  }
  
  .options-list p {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
  }
  
  .options-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .options-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
  }
  
  .options-list input[type="radio"] {
    margin-right: 10px;
  }
  
  .currency {
    color: #BE2F10;
    margin-right: 5px;
    font-size: 16px;
    width: 110px;
  }
  
  .points {
    color: #000000;
    font-size: 16px;
    margin-right: 5px;
    width: 110px;
  }
  
  .extra-points {
    color: #BE2F10;
    font-size: 16px;
    width: 110px;
  }
  
  label {
    display: flex;
    align-items: center;
  }
  
  .stepHeader {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 20px;
  }
  
  .step {
      display: flex;
      align-items: center;
      gap: 20px;
      font-weight: bold;
  }
  
  .subStep {
      display: flex;
      align-items: center;
      gap: 5px;
  }
  
  .check {
      color: #00B976;
  }
  
  .process {
      color: #000000;
  }
  
  .uncheck {
      color: gray;
  }
  
  .lfBar {
      border-left: 5px solid #000000;
  }
  
  .input, .row {
      display: flex;
      align-items: center;
      margin-bottom: 10px;
  }
  
  .input label {
      width: 90px;
  }
  
  .invoice p {
      color: #00B976;
  }
  
  .details-link {
      color: #007bff;
      font-size: 14px;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 5px;
  }
  
  .details-link:hover {
      text-decoration: underline;
  }
  
  .checkbox-label {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px;
      border: 1px solid #000;
      border-radius: 5px;
      font-size: 16px;
      cursor: pointer;
      width: 270px;
      font-weight: bold;
  }
  
  .checkbox-input {
      display: none;
  }
  
  .checkbox-icon {
      width: 24px;
      height: 24px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      background-color: #ccc;
      color: #fff;
      font-size: 18px;
  }
  
  .checkbox-input:checked + .checkbox-label .checkbox-icon {
      background-color: #00B976;
      content: "✓";
  }
  
  .stepBtn {
      display: flex;
      justify-content: space-evenly;
      margin-top: 20px;
      padding-bottom: 50px;
  }
  
  .stepBtn button {
      width: 160px;
      height: 50px;
      background-color: #CB0A16;
      font-size: 20px;
      font-weight: bold;
      color: white;
      border: none;
      border-radius: 10px;
      cursor: pointer;
  }
  
  .invoiceSection label {
      width: 170px;
  }

  .invoiceSection div {
    display: flex;
  }
  
  .input-error {
      border-color: red;
  }

  .tb {
    width: 800px;
    border-collapse: collapse;
  }

  .tbHeader {
    background-color: #CB0A16;
    color: white;
    font-size: 16px;
  }

  .tbDate {
    background-color: white;
    font-size: 14px;
    height: 40px;
  }

  .tbBold {
    font-weight: bold;
    width: 200px;
    text-align: center;
  }
  
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 1200px) {
    .topPanel>div {
        width: 100%;
    }

    .content-wrap {
        width: 100%;
    }

    .menu>ul {
        display: none;
    }

    #btnMobileNav {
        display: block;
        background-image: url('../images/menu.png');
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        width: 60px;
        height: 60px;
        position: absolute;
        top: 0px;
        right: 40px;
    }

    #btnMobileNav.enable {
        background-image: url('../images/close.png');
    }

    .mobileMenu.enable {
        display: block;
        position: fixed;
        width: 100vw;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.7);
        left: 0;
        text-align: center;
        z-index: 10000000;
    }

    .mobileMenu>div {
        line-height: 120px;
        font-size: 50px;
    }

    .mainPanel {
        width: calc(100vw - 400px);
    }

    .recordBG {
        width: 100vw;
        height: 100vh;    
    }

    .meow>img {
        display: block;
    }
}

@media (max-width: 720px) {
    .timePicker {
        display: block;
    }

    .recordPanel {
        width: 100%;
    }

    .recordBody {
        height: 450px;
    }

    .dataTables_scrollBody {
        height: 300px !important;
    }

    .dataTables_paginate {
        bottom: 0px;
    }

    .userPanel {
        width: calc(100% - 16px);
        height: 380px;
        background-size: 100% 100%;
    }

    .mainPanel {
        width: calc(100% - 16px);
        height: 410px;
    }

    .btnContainer {
        justify-content: center;
    }

    .amount-button-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .amount-btn {
        padding: 12px;
        font-size: 16px;
        min-height: 50px;
    }

    .payment-tabs {
        flex-wrap: wrap;
        gap: 10px;
    }

    .payment-tab img {
        height: 30px;
    }

    .payment-method-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .payment-confirm-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .amount-section {
        align-items: flex-start;
        width: 100%;
    }

    .buy-now-btn {
        width: 100%;
        padding: 12px;
    }

    #invoice {
        flex-direction: column;
        gap: 20px;
    }

    .topupBtn {
        width: 200px;
        height: 120px;
        background-size: 190px;
    }

    .meow>img {
        display: none;
    }
}

@media (max-width: 480px) {
    .timePicker>div>input {
        width: 100px;
    }

    .recordInfo {
        display: block;
    }

    .recordTitle {
        font-size: x-large;
    }

    #recordTable {
        font-size: xx-small;
    }

    #btnMobileNav {
        right: 5px;
    }

    .loginPanel {
        height: 100%;
    }

    .loginTitle {
        width: 100%;
        padding-top: 50px;
    }

    .btnLogin {
        width: 100%;
    }

    .mycardHint {
        width: 100%;
    }

    .recordBody {
        margin: 0;
    }

    .recordPanel {
        height: 100%;
    }

    tr>th {
        font-size: x-small;
    }

    .dataTables_paginate {
        bottom: -25px;
    }

    .newTag {
        left: 25%;
    }
}

.hidden {
    display: none;
}