
/* ==========================================================================
   #FONT
   ========================================================================== */
.font-robo {
  font-family: "Roboto", "Arial", "Helvetica Neue", sans-serif;
}

.font-poppins {
  font-family: "Poppins", "Arial", "Helvetica Neue", sans-serif;
}

/* ==========================================================================
   #GRID
   ========================================================================== */
.row {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.row-space {
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -moz-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.col-2 {
  width: -webkit-calc((100% - 30px) / 2);
  width: -moz-calc((100% - 30px) / 2);
  width: calc((100% - 30px) / 2);
}

@media (max-width: 767px) {
  .col-2 {
    width: 100%;
  }
}

/* ==========================================================================
   #BOX-SIZING
   ========================================================================== */
/**
 * More sensible default box-sizing:
 * css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice
 */
html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

* {
  padding: 0;
  margin: 0;
}

*, *:before, *:after {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
}

/* ==========================================================================
   #RESET
   ========================================================================== */
/**
 * A very simple reset that sits on top of Normalize.css.
 */
body,
h1, h2, h3, h4, h5, h6,
blockquote, p, pre,
dl, dd, ol, ul,
figure,
hr,
fieldset, legend {
  margin: 0;
  padding: 0;
}

/**
 * Remove trailing margins from nested lists.
 */
li > ol,
li > ul {
  margin-bottom: 0;
}

/**
 * Remove default table spacing.
 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/**
 * 1. Reset Chrome and Firefox behaviour which sets a `min-width: min-content;`
 *    on fieldsets.
 */
fieldset {
  min-width: 0;
  /* [1] */
  border: 0;
}

button {
  outline: none;
  background: none;
  border: none;
}

/* ==========================================================================
   #PAGE WRAPPER
   ========================================================================== */
.page-wrapper {
  min-height: 100vh;
}

body {
  font-family: "Poppins", "Arial", "Helvetica Neue", sans-serif;
  font-weight: 400;
  font-size: 14px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
}

h1 {
  font-size: 36px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 18px;
}

h5 {
  font-size: 15px;
}

h6 {
  font-size: 13px;
}

/* ==========================================================================
   #BACKGROUND
   ========================================================================== */
.bg-blue {
  background: #2c6ed5;
}

.bg-red {
  background: #fa4251;
}

.bg-gra-01 {
  background: -webkit-gradient(linear, left bottom, left top, from(#fbc2eb), to(#a18cd1));
  background: -webkit-linear-gradient(bottom, #fbc2eb 0%, #a18cd1 100%);
  background: -moz-linear-gradient(bottom, #fbc2eb 0%, #a18cd1 100%);
  background: -o-linear-gradient(bottom, #fbc2eb 0%, #a18cd1 100%);
  background: linear-gradient(to top, #fbc2eb 0%, #a18cd1 100%);
}

.bg-gra-02 {
  /* background: -webkit-gradient(linear, left bottom, right top, from(#fc2c77), to(#6c4079)); */
  /* background: -webkit-linear-gradient(bottom left, #fc2c77 0%, #6c4079 100%); */
  /* background: -moz-linear-gradient(bottom left, #fc2c77 0%, #6c4079 100%); */
  /* background: -o-linear-gradient(bottom left, #fc2c77 0%, #6c4079 100%); */
  /* background: linear-gradient(to top right, #fc2c77 0%, #6c4079 100%); */
  background: linear-gradient(to right, hsl(0deg 0% 26.27% / 70%) 0%, hsl(0deg 0% 0% / 50%) 100%);
}

/* ==========================================================================
   #SPACING
   ========================================================================== */
.p-t-100 {
  padding-top: 100px;
}

.p-t-130 {
  padding-top: 130px;
}

.p-t-180 {
  padding-top: 180px;
}

.p-t-20 {
  padding-top: 20px;
}

.p-t-15 {
  padding-top: 15px;
}

.p-t-10 {
  padding-top: 10px;
}

.p-t-30 {
  padding-top: 30px;
}

.p-b-100 {
  padding-bottom: 100px;
}

.m-r-45 {
  margin-right: 45px;
}

/* ==========================================================================
   #WRAPPER
   ========================================================================== */
.wrapper {
  margin: 0 auto;
}

.wrapper--w960 {
  max-width: 960px;
}

.wrapper--w780 {
  max-width: 780px;
}

.wrapper--w680 {
  max-width: 680px;
}

/* ==========================================================================
   #BUTTON
   ========================================================================== */
.btn {
  display: inline-block;
  line-height: 50px;
  padding: 0 50px;
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  transition: all 0.4s ease;
  cursor: pointer;
  font-size: 18px;
  color: #fff;
  font-family: "Poppins", "Arial", "Helvetica Neue", sans-serif;
}

.btn--radius {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

.btn--radius-2 {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.btn--pill {
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}

.btn--green {
  background: #57b846;
}

.btn--green:hover {
  background: #4dae3c;
}

.btn--blue {
  background: #4272d7;
}

.btn--blue:hover {
  background: #3868cd;
}

.btn--red {
  background: #FF0080;
}

.btn--red:hover {
  background: #D7006B;
}

/* ==========================================================================
   #DATE PICKER
   ========================================================================== */
td.active {
  background-color: #2c6ed5;
}

input[type="date" i] {
  padding: 14px;
}

.table-condensed td, .table-condensed th {
  font-size: 14px;
  font-family: "Roboto", "Arial", "Helvetica Neue", sans-serif;
  font-weight: 400;
}

.daterangepicker td {
  width: 40px;
  height: 30px;
}

.daterangepicker {
  border: none;
  -webkit-box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.15);
  display: none;
  border: 1px solid #e0e0e0;
  margin-top: 5px;
}

.daterangepicker::after, .daterangepicker::before {
  display: none;
}

.daterangepicker thead tr th {
  padding: 10px 0;
}

.daterangepicker .table-condensed th select {
  border: 1px solid #ccc;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  font-size: 14px;
  padding: 5px;
  outline: none;
}

/* ==========================================================================
   #FORM
   ========================================================================== */
input {
  outline: none;
  margin: 0;
  border: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  width: 100%;
  font-size: 14px;
  font-family: inherit;
}

.input--style-4 {
  line-height: 50px;
  background: #fafafa;
  -webkit-box-shadow: inset 0px 1px 3px 0px rgba(0, 0, 0, 0.08);
  -moz-box-shadow: inset 0px 1px 3px 0px rgba(0, 0, 0, 0.08);
  box-shadow: inset 0px 1px 3px 0px rgba(0, 0, 0, 0.08);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  padding: 0 20px;
  font-size: 16px;
  color: #666;
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.input--style-4::-webkit-input-placeholder {
  /* WebKit, Blink, Edge */
  color: #666;
}

.input--style-4:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: #666;
  opacity: 1;
}

.input--style-4::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: #666;
  opacity: 1;
}

.input--style-4:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #666;
}

.input--style-4:-ms-input-placeholder {
  /* Microsoft Edge */
  color: #666;
}

.label {
  font-size: 16px;
  color: #555;
  text-transform: capitalize;
  display: block;
  margin-bottom: 5px;
}

.radio-container {
  display: inline-block;
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  font-size: 16px;
  color: #666;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.radio-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.radio-container input:checked ~ .checkmark {
  background-color: #e5e5e5;
}

.radio-container input:checked ~ .checkmark:after {
  display: block;
}

.radio-container .checkmark:after {
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  background: #57b846;
}

.checkmark {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #e5e5e5;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  -webkit-box-shadow: inset 0px 1px 3px 0px rgba(0, 0, 0, 0.08);
  -moz-box-shadow: inset 0px 1px 3px 0px rgba(0, 0, 0, 0.08);
  box-shadow: inset 0px 1px 3px 0px rgba(0, 0, 0, 0.08);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.input-group {
  position: relative;
  margin-bottom: 22px;
}

.input-group-icon {
  position: relative;
}

.input-icon {
  position: absolute;
  font-size: 18px;
  color: #999;
  right: 18px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  cursor: pointer;
}

/* ==========================================================================
   #SELECT2
   ========================================================================== */
.select--no-search .select2-search {
  display: none !important;
}

.rs-select2 .select2-container {
  width: 100% !important;
  outline: none;
  background: #fafafa;
  -webkit-box-shadow: inset 0px 1px 3px 0px rgba(0, 0, 0, 0.08);
  -moz-box-shadow: inset 0px 1px 3px 0px rgba(0, 0, 0, 0.08);
  box-shadow: inset 0px 1px 3px 0px rgba(0, 0, 0, 0.08);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.rs-select2 .select2-container .select2-selection--single {
  outline: none;
  border: none;
  height: 50px;
  background: transparent;
}

.rs-select2 .select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 50px;
  padding-left: 0;
  color: #555;
  font-size: 16px;
  font-family: inherit;
  padding-left: 22px;
  padding-right: 50px;
}

.rs-select2 .select2-container .select2-selection--single .select2-selection__arrow {
  height: 50px;
  right: 20px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.rs-select2 .select2-container .select2-selection--single .select2-selection__arrow b {
  display: none;
}

.rs-select2 .select2-container .select2-selection--single .select2-selection__arrow:after {
  font-family: "Material-Design-Iconic-Font";
  content: '\f2f9';
  font-size: 24px;
  color: #999;
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.rs-select2 .select2-container.select2-container--open .select2-selection--single .select2-selection__arrow::after {
  -webkit-transform: rotate(-180deg);
  -moz-transform: rotate(-180deg);
  -ms-transform: rotate(-180deg);
  -o-transform: rotate(-180deg);
  transform: rotate(-180deg);
}

.select2-container--open .select2-dropdown--below {
  border: none;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.15);
  border: 1px solid #e0e0e0;
  margin-top: 5px;
  overflow: hidden;
}

.select2-container--default .select2-results__option {
  padding-left: 22px;
}

/* ==========================================================================
   #TITLE
   ========================================================================== */
.title {
  font-size: 24px;
  color: #525252;
  font-weight: 400;
  margin-bottom: 40px;
}

/* ==========================================================================
   #CARD
   ========================================================================== */
.card {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  background: #fff;
}

.card-4 {
  background: #fff;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  -webkit-box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.15);
}

.card-4 .card-body {
  padding: 57px 65px;
  padding-bottom: 65px;
}

@media (max-width: 767px) {
  .card-4 .card-body {
    padding: 50px 40px;
  }
}

body{
	background-image: url(/images/background_topup.jpg);
	background-size: cover;
	background-position: center;
}

.logo{
	background-image: linear-gradient(to right, #870000, #190a05);
}

.logo>img{
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
	padding: 10px;
}

/* ปรับขนาดรูปภาพในหน้าจอขนาดเล็ก */
@media (max-width: 768px) {
	.logo>img {
		width: 80%;
	}
}

@media (max-width: 480px) {
	.logo>img {
		width: 90%;
	}
}

.logo>a>img{
	opacity: 0.7;
	transition: all 0.2s ease;
	padding: 10px;
}

.logo>a>img:hover{
	transform: scale(1.2);
    opacity: 1;
}


.menu-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: rgba(0,0,0,0.65);
    padding: 12px 15px;
    backdrop-filter: blur(5px);
}

.menu-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    opacity: 0.7;
    transition: all 0.2s ease;
}

/* Desktop Mode */
@media (min-width: 769px) {
    .menu-item {
        flex-direction: row;
        gap: 8px;
    }
    .menu-text {
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
}

/* Mobile Mode */
@media (max-width: 768px) {
    .menu-item {
        flex-direction: column;
    }
    .menu-text {
        display: none;
    }
	
	.menu-container {
		padding: 8px 15px;
	}
}

.menu-item:hover {
    opacity: 1;
    transform: scale(1.05);
}

.menu-icon {
    font-size: 24px;
    opacity: 0.8;
    stroke: currentColor;
    stroke-width: 1;
    fill: none;
}

/* ประวัติ */
/* ประวัติ */
/* ประวัติ */
/* ประวัติ */
/* ประวัติ */
/* ประวัติ */

    .point-summary-container {
        display: flex;
        gap: 15px;
        margin-bottom: 20px;
    }

    .point-summary {
        flex: 1;
        background-color: #f0f0f0;
        padding: 15px;
        border-radius: 5px;
        text-align: center;
    }

    .point-label {
        color: #666;
        font-size: 14px;
        margin-bottom: 5px;
    }

    .point-number {
        font-size: 24px;
        font-weight: bold;
        color: #140201;
    }

    .point-number span {
        font-size: 16px;
        color: #666;
        margin-left: 5px;
    }

    /* โค้ด CSS ส่วนที่เหลือคงเดิม */
    .transaction-list {
        background-color: white;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .transaction-header {
        padding: 10px 15px;
        border-bottom: 1px solid #e0e0e0;
    }

    .transaction-header h4 {
        margin: 0;
        color: #333;
    }

    .transaction-item {
        display: flex;
        flex-direction: column;
        padding: 15px;
        border-bottom: 1px solid #f0f0f0;
    }

    .transaction-date {
        color: #888;
        font-size: 14px;
        margin-bottom: 5px;
    }

    .transaction-details {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .transaction-type {
        font-size: 16px;
        color: #333;
    }

    .transaction-amount {
        font-size: 16px;
        font-weight: bold;
        color: #28a745;
    }

    @media (max-width: 480px) {
        .point-summary-container {
            flex-direction: column;
            gap: 10px;
        }

        .point-number {
            font-size: 20px;
        }

        .transaction-item {
            padding: 10px;
        }

        .transaction-type {
            font-size: 14px;
        }

        .transaction-amount {
            font-size: 14px;
        }
    }
	
	
/* เติมสะสม */
/* เติมสะสม */
/* เติมสะสม */
/* เติมสะสม */
/* เติมสะสม */

    .point-package-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
        max-width: 900px;
        margin: 20px auto;
    }

    .point-package {
        background: #fff;
        border-radius: 5px;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        text-align: center;
    }

    .point-package:hover {
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    }

    .package-header {
        background-image: linear-gradient(to bottom right, #FF3E9D, #0E1F40);
        color: #fff;
        font-size: 16px;
        font-weight: bold;
        padding: 8px;
        border-radius: 5px 5px 0 0;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .package-content {
        padding: 10px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    .package-points {
        font-size: 14px;
        font-weight: 500;
        color: #333;
    }

    .buy-button {
        display: inline-block;
        background: #ccc;
        color: #fff;
        font-size: 12px;
        font-weight: bold;
        padding: 6px 12px;
        border-radius: 5px;
        text-decoration: none;
    }

    .buy-button-active {
        background: #57b846;
        transition: background 0.2s ease, transform 0.2s ease;
    }

    .buy-button-active:hover {
        background: #4dae3c;
        transform: scale(1.05);
    }

    @media (max-width: 768px) {
        .point-package-container {
            gap: 10px;
        }

        .point-package {
            padding: 8px;
        }

        .package-header {
            font-size: 14px;
        }

        .package-points {
            font-size: 12px;
        }

        .buy-button {
            font-size: 10px;
            padding: 5px 10px;
        }
    }
	
	
/* อัตราการเติม */
/* อัตราการเติม */
/* อัตราการเติม */
/* อัตราการเติม */

    .expand-container {
		position: relative;
		width: 100%;
		margin-top: 50px;
		border: 1px solid #ddd;
		border-radius: 5px;
		overflow: hidden;
    }

    .expand-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 5px 10px;
        background-color: #f8f8f8;
        cursor: pointer;
    }

    .expand-toggle {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.15s ease;
    }

    .expand-toggle svg {
        width: 20px;
        height: 20px;
    }

    .expand-toggle.active {
        transform: rotate(180deg);
    }

    .expand-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.15s ease, padding 0.15s ease;
        background-color: #fff;
        padding: 0 15px;
    }

    .expand-content.show {
        max-height: 300px;
        padding: 15px;
        border-top: 1px solid #ddd;
		overflow-y: auto;
    }
	
	
		.table {
			width: 100%;
			margin-bottom: 15px;
			font-size: 14px;/
		}

		.table tr {
			display: flex;
			border-bottom: 1px solid #ddd;
		}

		.table tr td {
			flex: 1;
			padding: 8px;
		}

		.table tr td:first-child {
			font-weight: bold;
		}

		.expand-content p{
			font-size: 14px;/
		}