﻿@font-face {
    font-family: 'Inter Tight';
    font-weight: 400;
    /* Regular */
    src: local('Inter Tight'), url(/assets/fonts/inter-tight/InterTight-Regular.ttf) format('truetype');
}

@font-face {
    font-family: 'Inter Tight Medium';
    font-weight: 500;
    /* Medium */
    src: local('Inter Tight Medium'), url(/assets/fonts/inter-tight/InterTight-Medium.ttf) format('truetype');
}

@font-face {
    font-family: 'Inter Tight Bold';
    font-weight: 700;
    /* Bold */
    src: local('Inter Tight Bold'), url(/assets/fonts/inter-tight/InterTight-Bold.ttf) format('truetype');
}

@font-face {
    font-family: 'Inter Tight Light';
    font-weight: 300;
    /* Light */
    src: local('Inter Tight Light'), url(/assets/fonts/inter-tight/InterTight-Light.ttf) format('truetype');
}

@font-face {
    font-family: 'Inter Tight Thin';
    font-weight: 100;
    /* Thin */
    src: local('Inter Tight Thin'), url(/assets/fonts/inter-tight/InterTight-Thin.ttf) format('truetype');
}


@font-face {
    font-family: 'Jim Thompson';
    font-weight: 900;
    src: local('Jim Thompson'), url(/assets/fonts/JimThompson_Roman.ttf) format('truetype');
}


@font-face {
    font-family: 'Jim Thompson Light';
    font-weight: 400;
    src: local('Jim Thompson Light'), url(/assets/fonts/JimThompson_Light.ttf) format('truetype');
}

/* ฟอนต์ Inter Tight */
.note-font-intertight {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 400;
    /* Regular */
}

.note-font-intertight-medium {
    font-family: 'Inter Tight Medium', sans-serif;
    font-weight: 500;
    /* Medium */
}

.note-font-intertight-bold {
    font-family: 'Inter Tight Bold', sans-serif;
    font-weight: 700;
    /* Bold */
}

.note-font-intertight-light {
    font-family: 'Inter Tight Light', sans-serif;
    font-weight: 300;
    /* Light */
}

.note-font-intertight-thin {
    font-family: 'Inter Tight Thin', sans-serif;
    font-weight: 100;
    /* Thin */
}


.note-font-jimthompson {
    font-family: 'Jim Thompson', serif;
    font-weight: 900;
}

.note-font-jimthompson-light {
    font-family: 'Jim Thompson Light', serif;
    font-weight: 400;
}

i.jimthompson {
    background-image: url("data:image/svg+xml;utf8,");
}

.f1 {
    font-family: 'Jim Thompson' !important;
}

.f2,
.f2>* {
    font-family: 'Inter Tight' !important;
}

* {
    font-family: 'Jim Thompson';
}


.s12 {
    font-size: 12px !important;
}

.s14 {
    font-size: 14px !important;
}

.s15 {
    font-size: 15px !important;
}

.s17 {
    font-size: 17px !important;
}

.s19 {
    font-size: 19px !important;
}

.s24 {
    font-size: 24px !important;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}


.TitlePage {
    font-family: 'Jim Thompson';
    font-style: normal;
    font-weight: 400;
    font-size: 19px;
    line-height: 23px;
    /* identical to box height */
    text-align: center;
    color: #000000;
}

/* body {
  
    margin-bottom: 15vh;
 
}
html {
    position: relative;
    min-height: 100%;
} */

html,
body {
    height: 100%;
    margin: 0;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    /*line-height: 60px;*/
}


.active {
    background-color: #D83D26 !important;
    color: #fff !important;
}


.App {
    font-family: 'Jim Thompson' !important;
}

.App-logo {
    height: 30vmin;
    pointer-events: none;
}

.App-logo-fill {
    min-width: auto;
    max-height: 32px;
    padding: 5px;
}

.Welcome_logo {
    max-width: 80%;
    border-radius: 0px;
}

.Welcome_subtitle {
    font-family: 'Jim Thompson';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 29px;
    /* identical to box height */

    text-align: center;
    color: #000000;
}

.App-logo-fill-Offcanvas {
    padding-top: 10px;
    min-width: auto;
    max-height: 38px;
}

.App-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: calc(10px + 2vmin);
    color: white;
}

.App-link {
    color: #61dafb;
}

@keyframes App-logo-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


.App-signature-logo {
    background: url('./assets/logo/JT-signature.svg');
}



.Tier-card {
    /*min-width: 410px;*/
    min-height: 0px;
    padding: 5px;
}


.Tier-point {
    background-color: #000 !important;
    padding: 5px;
}



@media only screen and (min-width: 681px) {
    .Tier-card {
        min-width: 410px;
        min-height: 230px;
        padding: 5px;
    }

    .Welcome_logo {
        max-width: 100%;
        border-radius: 0px;
    }
}

@media only screen and (max-width: 680px) {
    .Tier-card {
        padding: 5px;
        min-height: 230px;
    }

    .Welcome_logo {
        max-width: 88%;
        border-radius: 0px;
    }
}

@media only screen and (max-width: 480px) {
    .Tier-card {
        padding: 5px;
        min-height: 230px;
    }
}


.Tier-card-logo {
    position: absolute;
    background-size: cover;
    max-height: 120px;
    padding-top: 5px;
    padding-left: 5px;
}

.Tier-card-title {
    font-family: 'Jim Thompson';
    font-style: normal;
    font-weight: 900;
    font-size: 29px;
    line-height: 29px;
    /* identical to box height, or 100% */
    color: #681710;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.25);
}


.Tier-card-subtitle {
    font-family: 'Jim Thompson';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    /*line-height: 16px;*/
    /* identical to box height, or 100% */
    color: #000;
}

.Tier-card-subtitle-note {
    font-family: 'Jim Thompson';
    font-style: normal;
    font-weight: 800;
    font-size: 20px;
    line-height: 16px;
    /* identical to box height, or 100% */
    color: #000;
}


.Tier-card-memberno {
    font-family: 'Jim Thompson';
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    line-height: 16px;
    /* identical to box height, or 100% */
    color: #000;
}



.Tier-card-border {
    border-radius: 0px 20px;
    border: none;
}



.Tier-point-logo {
    position: absolute;
    background-size: cover;
    max-height: 120px;
    padding-top: 5px;
    padding-left: 5px;
}

.Tier-point-title {
    font-family: 'Jim Thompson';
    font-style: normal;
    font-weight: 900;
    font-size: 29px;
    /* identical to box height, or 100% */
    color: #fefefe;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.25);
}


.Tier-point-subtitle {
    font-family: 'Jim Thompson';
    font-style: normal;
    font-weight: 600;
    font-size: 10px;
    line-height: 16px;
    /* identical to box height, or 100% */
    color: rgb(255, 255, 255);
}

.Tier-card-point-note {
    font-family: 'Jim Thompson';
    font-style: normal;
    font-weight: 800;
    font-size: 20px;
    line-height: 16px;
    /* identical to box height, or 100% */
    color: #000;
}


.Tier-point-memberno {
    font-family: 'Jim Thompson';
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    line-height: 16px;
    /* identical to box height, or 100% */
    color: rgb(255, 255, 255);
}


.Tier-point-border {
    border-radius: 10px;
}


.Bg-Board-of-directors,
.Bg-board-of-directors {
    background: linear-gradient(111.67deg, #D83D26 29.32%, #F1F2F2 97.49%);
}

.Bg-Board-of-directors-invited,
.Bg-board-of-directors-invited,
.Bg-board-of-directors-spouse {
    background: linear-gradient(111.67deg, #D83D26 29.32%, #F1F2F2 97.49%);
}

.Bg-Silk-reserve,
.Bg-silk-reserve {
    background: linear-gradient(111.67deg, #D83D26 29.32%, #F1F2F2 97.49%);
}

.Bg-Vip,
.Bg-vip,
.Bg-Shareholder,
.Bg-shareholder {
    background: linear-gradient(111.67deg, #D83D26 29.32%, #F1F2F2 97.49%);
}

.Bg-Silk-premier,
.Bg-silk-premier {
    background: linear-gradient(111.67deg, #E47767 29.32%, #F1F2F2 95.24%);
}

.Bg-Silk-discovery,
.Bg-silk-discovery {
    background: linear-gradient(111.67deg, #EFB1A8 29.32%, #F1F2F2 95.24%);
}

.Bg-Silk,
.Bg-silk {
    background: linear-gradient(111.67deg, #F9E2DE 29.32%, #F1F2F2 95.24%);
}

.ProgressBar {
    background: linear-gradient(270deg, #D83D26 1.92%, #F5F3F2 105.77%);
    border-radius: 0px 8px;
}

.Bg-Silk-expert,
.Bg-silk-expert {
    background: linear-gradient(111.67deg, #FFFFFF 29.32%, #F1F2F2 95.24%);
}


.Bg-Footer-main {
    background: #681710;
}

.Bg-Footer-end {
    background: #222222;
}

.Text-Division-menu {
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    line-height: 16px;
    color: #D83D26;
}

.Custom-Bg-Navbar-Red {
    background-color: #D83D26 !important;
    color: #fff !important;
}



.btn-custom-red {
    max-height: 76px !important;
    background: #D83D26;
    border-radius: 0px;
    color: #fff;
}

.btn-custom-red:hover {
    background: #C62B14 !important;
    color: #fff;
}

.btn-custom-secondary {
    max-height: 76px !important;
    background: #2C2F38;
    border-radius: 0px;
    color: #fff;
}

.btn-custom-secondary:hover {
    background: #2C2F38 !important;
    color: #fff;
}


.btn-custom-dark {
    max-height: 76px !important;
    background: #000000 !important;
    border-radius: 0px;
    color: #fff !important;
}

.btn-custom-dark :hover {
    max-height: 76px !important;
    background: #222222 !important;
    border-radius: 0px;
    color: #fff;
}

.btn-custom-rounded {
    max-height: 76px !important;
    background: #fff !important;
    border-radius: 0px;
    color: rgb(0, 0, 0);
    border: 1px solid #3b3a3a;
}

.form-control-custom {
    border-radius: 0px !important;
    border-bottom: 1px solid #000;
    border-top: 0px solid #000;
    border-left: 0px solid #000;
    border-right: 0px solid #000;
    width: 100% !important;
    color: #000000;
}

.form-control-custom-icon {
    max-width: 100%;
    border-radius: 0px !important;
    border-bottom: 1px solid #000;
    border-top: 0px solid #000;
    border-left: 0px solid #000;
    border-right: 0px solid #000;
}

.input-group-text {
    background: #fff !important;
}

.label-require {
    color: rgb(151, 2, 2);
}


.privacylink {
    font-family: 'Inter Tight' !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 27px !important;
    letter-spacing: 0.004em !important;
    text-decoration-line: underline;
    color: #000000 !important;

}



.VoucherImg {
    min-width: 400px;
    /* 🏆 Winner! */
    width: 100px;
    background-size: contain;
}


.Tier-vou-title {
    font-family: 'Jim Thompson';
    font-style: normal;
    font-weight: 900;
    font-size: 20px;
    /* identical to box height, or 100% */
    color: #0b0b0b;
}

.loader {
    border: 10px solid #f3f3f3;
    border-radius: 50%;
    border-top: 10px solid #D83D26;
    width: 80px;
    height: 80px;
    -webkit-animation: spin 2s linear infinite;
    /* Safari */
    animation: spin 3s linear infinite;
}

/* Safari  <div class="loader"></div> */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



/* Add animation to "page content" */
.animate-bottom {
    position: relative;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s
}

@-webkit-keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }

    to {
        bottom: 0px;
        opacity: 1
    }
}

@keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}

#myDiv {
    display: none;
    text-align: center;
}



.element {
    aspect-ratio: 21 / 10;
}

@supports not (aspect-ratio: 21 / 10) {
    .element::before {
        float: left;
        padding-top: 100%;
        content: "sfdsfdsfs";
    }

    .element::after {
        display: block;
        content: "sfsdfsd";
        clear: both;
    }
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

code {
    color: #E01A76;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.text-jimthompson {
    color: #D83D26;
}

.bg-jimthompson {
    background-color: #D83D26;
}

.bg-darkgray {
    background-color: #33363F;
}

.border-light {
    border-color: #f0f0f0 !important;
}

.lh-1 {
    line-height: 1;
}

.UpdateButton {
    margin-bottom: 4rem;
}

.footercontainer {
    background-color: #FFFFFF;
    font-family: 'Jim Thompson';
    color: #000000;
}

.validation {
    font-family: 'Inter Tight';
}

.Appfooter {
    background: #FFFFFF;
    font-family: 'Inter Tight';
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    min-height: 27px;
    /* identical to box height */
    text-align: center;
    color: #000000;
    line-height: 30px;
}


.footer {
    position: relative;
    width: 100%;
    white-space: normal;
    /*line-height: 60px;*/
}

.FooterTextTitle {
    font-family: 'Jim Thompson';
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 16px;
    /* identical to box height */

    color: #FFFFFF;
}

.FooterTextSubTitle {
    font-family: 'Inter Tight';
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    line-height: 12px;
    /* identical to box height */

    color: #FFFFFF;
}


.ErrorTextSubTitle {
    font-family: 'Inter Tight';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 12px;
    /* identical to box height */

    color: #FFFFFF;
}

.text-msg {
    font-family: 'Inter Tight' !important;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 18px;
    text-align: center;
}

.text-msg-left {
    font-family: 'Inter Tight' !important;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 18px;
    text-align: left;
}

Label {
    font-family: 'Jim Thompson' !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1.5rem !important;
}

input:checked {
    background-color: #000;
}

.filter-privilege {
    font-size: 10px;
    line-height: 10px;
    border: 0.5px solid #F1F2F2;
    border-radius: 5px;
    width: 84.79px;
    height: 70px;
}

.filter-privilege:active,
.filter-privilege:focus,
.filter-privilege.active {
    background-color: #D83D26;
    color: #FFFFFF;
}



/*skeleton*/
.loading-skeleton h1,
.loading-skeleton h2,
.loading-skeleton h3,
.loading-skeleton h4,
.loading-skeleton h5,
.loading-skeleton h6,
.loading-skeleton p,
.loading-skeleton li,
.loading-skeleton .btn,
.loading-skeleton label,
.loading-skeleton .form-control {
    color: transparent;
    appearance: none;
    -webkit-appearance: none;
    background-color: #eee;
    border-color: #eee;
}

.loading-skeleton h1::placeholder,
.loading-skeleton h2::placeholder,
.loading-skeleton h3::placeholder,
.loading-skeleton h4::placeholder,
.loading-skeleton h5::placeholder,
.loading-skeleton h6::placeholder,
.loading-skeleton p::placeholder,
.loading-skeleton li::placeholder,
.loading-skeleton .btn::placeholder,
.loading-skeleton label::placeholder,
.loading-skeleton .form-control::placeholder {
    color: transparent;
}

@keyframes loading-skeleton {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}

.loading-skeleton {
    pointer-events: none;
    animation: loading-skeleton 1s infinite alternate;
}

.loading-skeleton img {
    filter: grayscale(100) contrast(0%) brightness(1.8);
}

*:focus {
    outline: none;
}

.voucher-detail-img {
    height: 400px;
}

@media (max-width: 768px) {
    .voucher-detail-img {
        height: 150px;
    }
}

.gap-6 {
    gap: 4rem;
}

.text-justify {
    text-align: justify;
}

.more-detail-wrapper {
    background-color: #F5F3F2;
    border: 0;
    color: #000000;
    border-radius: 18px;
    width: 100%;
}

@media only screen and (min-width: 768px) {
    .more-detail-wrapper {
        border-radius: 40px;
        width: 730px;
    }
}

.terms-and-conditions-wrapper {
    width: 100%;
}

@media only screen and (min-width: 768px) {
    .terms-and-conditions-wrapper {
        width: 730px;
    }
}



/* Loading Overlay - พื้นหลังสีดำโปร่งแสง */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Loading Animation - วงแหวนหมุน */
.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #fff;
    /* สีของวงแหวน */
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #fff transparent transparent transparent;
    /* ใช้สีแดง */
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.toggle-password {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #666;
}

/* ไอคอนแสดงสถานะการตรวจสอบ */
.validation-icon {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    display: none;
}

.validation-icon.success {
    color: green;
    display: block;
}

.validation-icon.error {
    color: red;
    display: block;
}

/* ซ่อนเมนูโดยเลื่อนออกไปทางขวา */
[side-navbar] {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: flex-end;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
}

/* ทำให้เมนูเลื่อนเข้ามา */
[side-navbar].open {
    transform: translateX(0);
}

/* คอนเทนต์ของเมนู */
.menu-container {
    background: white;
    height: 100vh;
    z-index: 1001;
    transition: width 0.4s ease-in-out;
}

/* กำหนดขนาดของเมนูตามอุปกรณ์ */
@media (max-width: 768px) {
    .menu-container {
        width: 90%;
        /* มือถือ: 90% ของหน้าจอ */
    }
}

@media (min-width: 769px) {
    .menu-container {
        width: 30%;
        /* เดสก์ท็อป: 40% ของหน้าจอ */
    }
}

/* Overlay มืด (เริ่มต้นเป็นโปร่งใส) */
.menu-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 200vw;
    height: 100vh;

    background: rgba(0, 0, 0, 0.5);
    /* สีดำโปร่งใส 50% */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in, visibility 0.3s ease;
    z-index: 1000;
}

/* แสดง Overlay เมื่อเมนูเปิด */
[side-navbar].open .menu-overlay {
    opacity: 1;
    visibility: visible;
}

/* ปุ่ม X ปิดเมนู */
.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: black;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: red;
}


.btn-custom {
    display: block;
    /* เปลี่ยน <a> ให้เป็น block element */
    width: 100%;
    /* ทำให้เต็มความกว้างของ container */
    border: 1px solid #000;
    padding: 10px;
    text-align: center;
    background: white;
    cursor: pointer;
    text-decoration: none;
    /* ลบขีดเส้นใต้ของ <a> */
    color: black;
    /* ทำให้สีตัวอักษรเหมือน button */
    transition: color 0.3s ease, background 0.3s ease;
    /* ทำให้เอฟเฟกต์เนียนขึ้น */
}

.btn-custom:hover {
    color: white;
    /* เปลี่ยนสีตัวอักษร */
    background: black;
    /* เปลี่ยนสีพื้นหลัง */
}