@import url('https://maketline.github.io/goodday/font/stylesheet.css');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@100;200;300;400;500;600;700&display=swap');

body {
    padding-top: 100px;
    font-family: 'IBM Plex Sans Thai', sans-serif;
    background-color: var(--background-second);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://img5.pic.in.th/file/secure-sv1/ket168shop-973c0524d5bb3c6ee1.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.05;
    pointer-events: none;
    z-index: -1;
}

.blur-radius-circle-ket1,
.blur-radius-circle-ket2,
.blur-radius-circle-ket3 {
    pointer-events: none;
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(150px);
}

.blur-radius-circle-ket1 {
    top: 10%;
    left: 20%;
    background-color: var(--background-main);
    opacity: 0.5;
}

.blur-radius-circle-ket2 {
    bottom: 10%;
    right: 20%;
    background-color: var(--background-main);
    opacity: 0.5;
}

.blur-radius-circle-ket3 {
    top: 80%;
    left: 20%;
    background-color: var(--background-main);
    opacity: 0.5;
}

.form-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    color: var(--font-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    padding: 2rem;
}

.form-card h2,
.form-card p {
    color: var(--font-color);
}

.form-card a {
    color: #ffffffb3;
    text-decoration: none;
}

.form-card a:hover {
    color: var(--font-color);
}

@media (max-width: 768px) {
    .form-card {
        max-width: 100% !important;
        padding: 1.5rem;
        margin: auto;
    }

    .btn-line-login {
        font-size: 1rem;
        padding: 0.6rem 0.8rem;
    }

    .btn-google-login {
        font-size: 1rem;
        padding: 0.6rem 0.8rem;
    }

    .btn-discord-login {
        font-size: 1rem;
        padding: 0.6rem 0.8rem;
    }

    .input-group-text {
        font-size: 1rem;
        padding: 0.4rem 0.6rem;
    }

    .form-control {
        font-size: 0.9rem;
        padding: 0.4rem 0.6rem;
    }

    .blur-radius-circle-x,
    .blur-radius-circle-xx {
        width: 250px;
        height: 250px;
        filter: blur(80px);
    }
}

@media (max-width: 576px) {
    .form-card {
        max-width: 280px;
        padding: 1rem;
        margin: auto;
    }

    .btn-line-login {
        font-size: 0.9rem;
        padding: 0.5rem 0.7rem;
    }

    .btn-google-login {
        font-size: 0.9rem;
        padding: 0.5rem 0.7rem;
    }

    .btn-discord-login {
        font-size: 0.9rem;
        padding: 0.5rem 0.7rem;
    }

    .input-group-text {
        font-size: 0.85rem;
        padding: 0.3rem 0.5rem;
    }

    .form-control {
        font-size: 0.85rem;
        padding: 0.3rem 0.5rem;
    }

    .blur-radius-circle-x,
    .blur-radius-circle-xx {
        width: 200px;
        height: 200px;
        filter: blur(70px);
    }
}

.btn-transparent {
    background-color: transparent;
    border: 1.5px solid var(--background-main);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-transparent:hover {
    background-color: transparent;
    border-color: var(--background-main);
    color: var(--font-color);
}

.btn-transparent:focus {
    outline: none;
    box-shadow: 0 0 4px var(--background-main);
}

.btn-line-login {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #06C755;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.6rem 1rem;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
}

.btn-line-login:hover {
    background-color: #04A744;
    color: #fff;
    box-shadow: 0 4px 10px rgba(6, 199, 85, 0.5);
}

.btn-line-login i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.btn-discord-login {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #5865F2;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.6rem 1rem;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
}

.btn-discord-login:hover {
    background-color: #4b55ca;
    color: #fff;
    box-shadow: 0 4px 10px rgba(88, 101, 242, 0.5);
}

.btn-discord-login i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.btn-google-login {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #db4437;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.6rem 1rem;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
}

.btn-google-login:hover {
    background-color: #c1351d;
    color: #fff;
    box-shadow: 0 4px 10px rgba(219, 68, 55, 0.4);
}

.btn-google-login i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.form-control {
    background-color: transparent;
    color: var(--font-color);
    border: 1.5px solid var(--background-main);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s ease;
}

.input-group-text {
    background-color: transparent;
    border: 1.5px solid var(--background-main);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 8px 0 0 8px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.75rem;
}

.form-control:focus {
    background-color: transparent;
    outline: none;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 400;
}

.form-control:focus::placeholder {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.form-control:disabled {
    background-color: transparent;
    outline: none;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.grecaptcha-badge {
    visibility: hidden;
}

.bg-body-ket168shop {
    background-color: var(--background-second) !important;
}

.sidebar {
    height: 100%;
    width: 250px;
    position: fixed;
    top: 0;
    left: -250px;
    background-color: #343a40;
    overflow-x: hidden;
    transition: 0.3s;
    padding-top: 60px;
}

.sidebar a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 18px;
    color: var(--font-color);
    display: block;
    transition: 0.3s;
}

.sidebar a:hover {
    background-color: #575d63;
}

.open-sidebar {
    left: 0;
}

.overlay {
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

.show-overlay {
    display: block;
}

.navbar .nav-link,
a {
    color: var(--font-color) !important;
}

.dropdown-menu {
    background-color: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border: none;
}

.dropdown-item {
    color: var(--font-color);
    padding: 10px 15px;
    transition: all 0.3s ease-in-out;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffd700;
}

.header-bar {
    background-color: #ffffff;
    padding: 10px 0;
    font-size: 14px;
}

.header-bar i {
    margin-right: 5px;
}

.header-bar a {
    color: #000 !important;
    text-decoration: none;
}

.menu-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    color: var(--font-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.menu-card .text h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--font-color);
}

.menu-card .text p {
    margin: 0;
    font-size: 1rem;
    color: #ffffffb3;
}

.menu-card .icon {
    font-size: 3rem;
    color: var(--background-main);
    opacity: 0.75;
    transition: transform 0.5s ease, color 0.5s ease;
}

.menu-card:hover .icon {
    transform: scale(1.1);
    -webkit-filter: drop-shadow(0 0 10px var(--background-main));
    filter: drop-shadow(0 0 12px var(--background-main));
}

@media (max-width: 768px) {
    .menu-card {
        max-width: 100%;
        flex-direction: column;
        text-align: center;
    }

    .card-content {
        flex-direction: column;
    }

    .menu-card .icon {
        margin-top: 1rem;
    }
}

.swiper-slide img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.custom-next,
.custom-prev {
    width: 50px;
    height: 50px;
    background-color: var(--background-main);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 10;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.custom-next {
    right: calc(33.33% - 25px);
}

.custom-prev {
    left: calc(33.33% - 25px);
}

.custom-next::after,
.custom-prev::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-next::after {
    transform: rotate(-45deg);
}

.custom-prev::after {
    transform: rotate(135deg);
}

@media (max-width: 768px) {
    .swiper-slide img {
        height: auto;
    }

    .custom-next,
    .custom-prev {
        width: 20px;
        height: 20px;
        right: 10px;
        left: 10px;
    }
}

.header-topic {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.header-topic h4 {
    color: var(--font-color);
}

.header-topic span {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: auto;
    text-align: start;
}

.header-topic a {
    text-decoration: none;
}

.card-category-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.card-category {
    display: flex;
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 0px 0px 12px 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    justify-content: space-between;
    align-items: center;
}

.card-category-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.card-category-avatar {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
}

.card-category-info i {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    color: var(--background-main);
    font-size: 2.5rem;
    text-align: center;
    line-height: 1;
    opacity: 0.75;
}


.card-category-info span {
    color: var(--font-color);
    font-size: 16px;
    font-weight: bold !important;
    text-transform: uppercase !important;
}

.card-category-info p {
    color: #919191;
    font-size: 13px;
    font-weight: 400;
}

.card-category-wrapper a {
    text-decoration: none;
}

.card-category .btn-category {
    display: inline-block;
    margin-top: 5px;
    padding: 10px 20px;
    border: 1px solid var(--background-main);
    background-color: transparent;
    color: var(--font-color);
    font-size: 14px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
}

.card-category:hover .btn-category {
    background-color: var(--background-main);
    box-shadow: 0 0 10px var(--background-main);
}

.banner-category-wrapper {
    position: relative;
    overflow: hidden;
}

.banner-category {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 175px;
}

.banner-category img {
    position: relative;
    width: 100%;
    height: 175px;
    object-fit: cover;
    border-radius: 12px 12px 0px 0px;
}



.card-product {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    border: 1px solid transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    padding: 1rem;
    margin: 5px 0;
    position: relative;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.card-product:hover {
    border-color: var(--background-main);
    box-shadow: 0 0 10px var(--background-main);
}

.card-product-body img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    border-radius: 12px;
    transition: all 0.3s ease-in-out;
}

.card-product-body p {
    margin: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
    text-align: start;
}

/* กล่องครอบ */
.text-slide {
    width: 200px;
    /* เท่าของเดิม */
    overflow: hidden;
    position: relative;
}

/* ตัวข้อความ */
.text-slide p {
    display: inline-block;
    padding-left: 100%;
    animation: slideText 8s linear infinite;
}

/* animation */
@keyframes slideText {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.card-product-body span {
    color: #919191;
    font-size: 13px;
    font-weight: 400;
}

.card-product .btn-product {
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 10px 20px;
    border: 1px solid var(--background-main);
    background-color: transparent;
    color: var(--font-color);
    font-size: 14px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
}

.card-product:hover .btn-product {
    background-color: var(--background-main);
    box-shadow: 0 0 10px var(--background-main);
}

.card-product .btn-product:disabled {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none;
    opacity: 0.6;
}

.card-product a {
    text-decoration: none;
}

.card-product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--background-main);
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 8px;
    z-index: 10;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
}

.card-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 12px !important;
    border: 1px solid transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    padding: 2rem;
    margin: 5px 0;
    position: relative;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.card-header-body img {
    height: 55%;
    width: 55%;
    object-fit: contain;
    border-radius: 12px;
    transition: all 0.3s ease-in-out;
}

.card-header-body h {
    margin-bottom: 12px;
    color: var(--font-color);
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: auto;
}

.card-header-body p {
    margin-top: 12px;
    color: var(--font-color);
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: auto;
}

.card-header-body span {
    margin: 12px;
    color: var(--font-color);
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: start;
    display: block;
    max-width: auto;
}

.card-header .btn-header {
    display: inline-block;
    margin-top: 5px;
    padding: 10px 20px;
    border: 1px solid var(--background-main);
    background-color: transparent;
    color: var(--font-color);
    font-size: 14px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
}

.card-header:hover .btn-header {
    background-color: var(--background-main);
    box-shadow: 0 0 10px var(--background-main);
}

.card-header a {
    text-decoration: none;
}

.slip-preview {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    margin: 0 auto 1rem auto;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

@media (max-width: 575.98px) {
    .slip-preview {
        max-width: 100%;
        border-radius: 8px;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .slip-preview {
        max-width: 90%;
    }
}

@media (min-width: 768px) {
    .slip-preview {
        max-width: 500px;
    }
}

.file-upload {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px dashed var(--background-main);
    border-radius: 12px;
    padding: 20px;
    background-color: transparent;
    color: var(--font-color);
    text-align: center;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.file-upload:hover {
    background-color: var(--background-second);
    border-color: var(--background-main);
}

.file-upload-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--background-main);
}

.file-upload-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
    color: var(--font-color);
}

.file-upload-subtitle {
    margin-top: 5px;
    font-size: 0.9rem;
    color: var(--font-color);
}

.file-upload-subtitle a {
    color: var(--background-main);
    text-decoration: none;
    font-weight: bold;
}

.file-upload-input {
    display: none;
}

.grayscale-image {
    filter: grayscale(100%);
    transition: all 0.3s ease-in-out;
}

.row-5 {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: start;
}

.col-xl-5 {
    flex: 0 0 calc(20% - 15px);
    max-width: calc(20% - 15px);
}

@media (max-width: 768px) {
    .col-xl-5 {
        flex: 0 0 calc(33.33% - 10px);
        max-width: calc(33.33% - 10px);
    }
}

@media (max-width: 576px) {
    .col-xl-5 {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

.card-showcase {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    border: 1px solid transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    padding: 1rem;
    margin: 5px 0;
    position: relative;
    text-align: center;
}

.card-showcase-body img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.card-showcase-body h {
    margin-bottom: 12px;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 600px;
    text-align: start;
}

.card-showcase-body p {
    color: #b8afaf;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: auto;
    text-align: start;
}

.card-showcase-body span {
    color: #fff;
    font-size: 16px;
    text-align: start !important;
    display: block;
}


.card-showcase-body span img {
    height: 20px;
    width: 20px;
    object-fit: contain;
}

.card-showcase hr {
    color: var(--background-second);
}

.card-showcase-body .badge {
    display: inline-block;
    padding: 0.5em 0.75em;
    font-size: 14px;
    font-weight: bold;
    border-radius: 0.5em;
    background-color: var(--background-second);
    color: #fff;
    text-transform: uppercase;
}

.card-showcase-body .badge.bg-dark {
    background-color: var(--background-second) !important;
    color: #fff;
}

.card-showcase-body .badge.bg-warning {
    background-color: var(--background-second) !important;
    color: #fff;
}


.btn-showcase {
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 10px 20px;
    border: 1px solid var(--background-main);
    background-color: transparent;
    color: var(--font-color);
    font-size: 14px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
}

.btn-showcase:hover {
    background-color: var(--background-main);
    box-shadow: 0 0 10px var(--background-main);
}

.card-showcase .btn-showcase:disabled {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none;
    opacity: 0.6;
}

.card-showcase a {
    text-decoration: none;
}

.quantity-control {
    margin: 1rem 0;
    text-align: left;
}

.quantity-control label {
    display: block;
    color: #fff;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.quantity-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.quantity-wrapper button {
    background-color: var(--background-second);
    color: var(--font-color);
    border: 1px solid var(--background-main);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s, transform 0.2s;
}

.quantity-wrapper button:hover {
    background-color: var(--background-main);
}

.quantity-wrapper button:disabled {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none;
    opacity: 0.6;
}

.quantity-wrapper input {
    width: 100%;
    text-align: center;
    font-size: 16px;
    border: 1px solid var(--background-main);
    border-radius: 8px;
    padding: 0.5rem;
    background-color: var(--background-second);
    color: var(--font-color);
}

.badge {
    display: inline-block;
    padding: 0.5em 0.75em;
    font-size: 14px;
    font-weight: bold;
    border-radius: 0.5em;
    background-color: var(--background-second);
    color: #fff;
    text-transform: uppercase;
}

.badge .bg-ket168shop {
    background-color: var(--background-second) !important;
    color: #fff;
}

.bg-ket168shop-success {
    background-color: var(--background-second) !important;
    color: #FFF !important;
}

.input-group-ket168shop {
    display: flex;
    align-items: stretch;
    gap: 1px;
}

.input-group-ket168shop input {
    text-align: center;
    padding: 10px;
    border: 1px solid var(--background-main);
    border-radius: 8px;
    font-size: 16px;
    color: var(--font-color);
    background-color: transparent;
    flex: 1;
    box-shadow: none;
}

.input-group-ket168shop .btn {
    padding: 0 20px;
    border: 1px solid var(--background-main);
    background-color: transparent;
    color: var(--font-color);
    font-size: 14px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.input-group-ket168shop .btn:hover {
    background-color: var(--background-main);
    color: #fff;
}

.input-container {
    max-width: 500px;
    margin: 0 auto;
}

select {
    background-color: var(--background-main) !important;
    backdrop-filter: blur(10px) !important;
    padding: 8px !important;
    color: var(--font-color) !important;
}

option:checked {
    background-color: rgba(0, 0, 255, 0.2) !important;
    backdrop-filter: blur(5px) !important;
    font-weight: bold !important;
}

.navbar-nav li a {
    font-size: 16px !important;
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.navbar-nav li a:hover {
    transform: scale(1.05);
}

.footer {
    background-color: rgba(255, 255, 255, 0.125);
    padding: 30px 0;
}

.footer-section h5 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.footer-section ul li i {
    margin-right: 5px;
    font-size: 1.1rem;
    color: #fff;
}

.footer-section a {
    text-decoration: none;
    text-align: center !important;
}

.admin-contact {
    margin-bottom: 20px;
}

.admin-contact img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.admin-contact p {
    font-weight: bold;
    color: #fff;
    font-size: 1rem;
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 10px;
    font-size: 0.85rem;
    color: #fff;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .footer-section h5 {
        text-align: center;
        font-size: 1rem;
    }

    .footer-section ul {
        text-align: center;
    }

    .footer-section ul li {
        justify-content: center;
    }

    .admin-contact img {
        width: 120px;
        height: 120px;
    }

    .footer-bottom {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .footer-section {
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-section ul li {
        flex-direction: column;
        align-items: center;
    }

    .admin-contact img {
        width: 100px;
        height: 100px;
    }

    .footer-bottom {
        font-size: 0.7rem;
    }
}

.marquee {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    animation: marquee 15s linear infinite;
}

.review-item {
    display: inline-block;
    padding: 0 20px;
    font-size: 1rem;
    color: #fff;
    white-space: nowrap;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ปรับการเลื่อนให้ช้าลง */
.marquee-container {
    animation: marquee 30s linear infinite;
    /* เพิ่ม duration จาก 15s เป็น 30s */
    gap: 20px;
    /* ระยะห่างระหว่างกล่อง */
}

/* Animation ของ marquee */
@keyframes marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* กล่องสินค้า (ลบพื้นหลัง) */
.d-flex {
    background: none;
    /* ลบพื้นหลัง */
    border: none;
    /* ลบเส้นขอบ */
    padding: 0;
    /* ลบ padding */
}

.card-slide {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 12px !important;
    border: 1px solid transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    padding: 2rem;
    margin: 5px 0;
    position: relative;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.card-slide-body img {
    height: 40%;
    width: 40%;
    border-radius: 12px;
}

.card-slide-body p {
    margin-top: 12px;
    color: var(--font-color);
    font-size: 16px;
    font-weight: bold;
}

.table-responsive {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: 100%;
}

.table-responsive::-webkit-scrollbar {
    display: none;
}

.table {
    width: 100%;
    table-layout: auto;
    background-color: rgba(0, 0, 0, 0.1);
    border: none !important;
    color: #FFF;
    border-radius: 12px !important;
}

.table th {
    white-space: nowrap;
    text-align: center;
    background: transparent;
    padding: 10px;
    color: #FFF;
    text-align: center;
    border-radius: 12px !important;
}

.table thred {
    background: transparent;
}

.table td {
    color: #FFF;
    background-color: transparent;
    border: none;
    text-align: center;
    justify-content: center;
}

table.dataTable>thead>tr>th,
table.dataTable>thead>tr>td {
    border-bottom: none !important;
}

.dataTables_filter,
.dataTables_info {
    display: none;
}

table.dataTable>thead>tr>th,
table.dataTable>thead>tr>td {
    border-bottom: none !important;
}

.dataTables_wrapper .page-link {
    background-color: var(--background-second);
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 4px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.dataTables_wrapper .page-link:hover {
    background-color: var(--background-main);
    color: #000;
}

.dataTables_wrapper .page-item.active .page-link {
    background-color: var(--background-main);
    color: #fff;
    font-weight: bold;
    cursor: default;
}

.dataTables_wrapper .page-item.disabled .page-link {
    background-color: #111 !important;
    color: #fff !important;
    cursor: not-allowed;
}

.dataTables_wrapper li.paginate_button.page-item {
    background-color: transparent;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 4px 12px;
    margin: 0px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.dataTables_wrapper li.paginate_button.page-item:hover {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
}

.dataTables_wrapper li.paginate_button.page-item.active {
    background-color: transparent !important;
    color: #fff !important;
    font-weight: bold !important;
}

.profile {
    margin-bottom: 1rem;
    border-bottom: 1px dotted var(--background-main);
}

.profile img {
    height: 75%;
    width: 75%;
}

.profile i {
    font-size: 10px;
}

.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.embed-responsive::before {
    display: block;
    content: '';
}

.embed-responsive-16by9::before {
    padding-top: 56.25%;
}

.embed-responsive-item {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.body-product-card {
    background-color: rgba(0, 0, 0, 0.15);
    padding: 30px;
    border-radius: 1vh;
    text-align: start;
}

.modal-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 12px !important;
    border: 1px solid transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: #fff;
    padding: 10px;
}

.modal-header {
    border-bottom: none;
}

.modal-footer {
    border-top: none;
}

.card-ket168 {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    padding: 2rem;
    margin: 15px 0;
    color: var(--font-color);
    font-family: 'IBM Plex Sans Thai', sans-serif;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.card-ket168-body {
    width: 100%;
}

.card-ket168-body h {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

.card-ket168-body p,
.card-ket168-body li {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.6;
    font-weight: bold;
}

.card-ket168-body span {
    font-weight: bold;
}

.card-ket168-body h5 {
    color: #ffc107;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
}

.card-ket168-body img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    margin: 10px 0;
    object-fit: contain;
}

.card-ket168-body a {
    text-decoration: none;
}

.byshop1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #212529;
    color: white !important;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 20px;
}

.byshop1:hover {
    background-color: #343a40;
}

.byshop1 img {
    width: 80px;
    height: auto;
    object-fit: contain;
    margin-bottom: 8px;
}

.byshop1 u {
    color: #ffc107;
    font-size: 14px;
    margin-top: 5px;
    display: inline-block;
}

.card-ket168-body p[hidden] {
    display: none;
}

@media (max-width: 768px) {
    .card-ket168 {
        padding: 1rem;
    }

    .byshop1 {
        padding: 1rem;
        max-width: 100%;
    }

    .card-ket168-body h {
        font-size: 20px;
    }

    .card-ket168-body p,
    .card-ket168-body li {
        font-size: 15px;
    }
}

.btn-ket168 {
    display: inline-block;
    margin-top: 5px;
    padding: 10px 20px;
    border: 1px solid var(--background-main);
    background-color: transparent;
    color: var(--font-color);
    font-size: 14px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
}

.btn-ket168:hover {
    background-color: var(--background-main);
    box-shadow: 0 0 10px var(--background-main);
}

.badge-glow-red {
    background-color: rgba(255, 0, 0, 0.8);
    color: white;
    box-shadow: 0px 0px 12px rgba(255, 0, 0, 0.8);
    border-radius: 1vh;
    padding: 4px 6px;
    font-weight: bold;
}

.badge-glow-blue {
    background-color: rgba(0, 174, 255, 0.8);
    color: white;
    box-shadow: 0px 0px 12px rgba(0, 174, 255, 0.8);
    border-radius: 1.5vh;
    padding: 4px 6px;
    font-weight: bold;
}

.floating-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.contact-btn {
    width: 60px;
    height: 60px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
}

.contact-btn:hover {
    background: #0056b3;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.contact-menu {
    width: 250px !important;
    position: absolute;
    bottom: 70px;
    right: 5px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    visibility: hidden;
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}

.contact-menu.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: white;
    color: black;
    border-radius: 30px;
    font-size: 16px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

.contact-item i {
    font-size: 20px;
}

.contact-item:hover {
    transform: translateX(-5px);
    background: #0b0b0b;
    color: white;
    border: 1px solid var(--background-main);
}

.line-contact {
    background: #00c300;
    color: white;
}

.facebook-contact {
    background: #0078ff;
    color: white;
}

.card-other {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    border: 1px solid transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    padding: 1rem;
    margin: 5px 0;
    position: relative;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.card-other:hover {
    border-color: var(--background-main);
    box-shadow: 0 0 10px var(--background-main);
}

.card-other-body img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    border-radius: 12px;
    transition: all 0.3s ease-in-out;
}

.card-other-body p {
    margin-top: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
    text-align: start;
}

.card-other-body span {
    color: #919191;
    font-size: 13px;
    font-weight: 400;
}

.card-other .btn-other {
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 10px 20px;
    border: 1px solid var(--background-main);
    background-color: transparent;
    color: var(--font-color);
    font-size: 14px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
}

.card-other:hover .btn-other {
    background-color: var(--background-main);
    box-shadow: 0 0 10px var(--background-main);
}

.card-other .btn-other:disabled {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none;
    opacity: 0.6;
}

.card-other a {
    text-decoration: none;
}

.otp-grid-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.otp-grid {
    max-width: 1000px;
    width: 100%;
    background: rgba(15, 23, 42, 0.75);
    border-radius: 18px;
    padding: 24px;
    border: 1px solid rgba(59, 130, 246, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.card-product {
    height: 100%;
    border-radius: 10px;
    padding: 8px;
}

.card-product-body {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.otp-image-box {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.otp-image {
    max-width: 100%;
    max-height: 55px;
    object-fit: contain;
    border-radius: 8px;
}

.card-info p {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.btn-product {
    font-size: 11px;
    padding: 6px 5px;
}

.otp-country-wrapper {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(59, 130, 246, 0.28);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

/* กล่อง provider ด้านบน */
.otp-provider-box {
    width: 100%;
    min-height: 76px;
    border-radius: 18px;
    padding: 14px 20px;
    margin-bottom: 20px;
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(59, 130, 246, 0.35);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.otp-provider-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.otp-provider-left span {
    font-size: 16px;
    font-weight: 800;
    color: #e2e8f0;
}

.otp-provider-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.otp-provider-icon img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 10px;
}

/* ปุ่มย้อนกลับ */
.otp-back-btn {
    border: 1px solid rgba(96, 165, 250, 0.65);
    background: transparent;
    color: #60a5fa;
    border-radius: 999px;
    padding: 9px 22px;
    font-size: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s ease;
    text-decoration: none;
}

.otp-back-btn:hover {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    text-decoration: none;
}

/* List */
.otp-country-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 560px;
    overflow-y: auto;
    padding-right: 5px;
}

/* scrollbar */
.otp-country-list::-webkit-scrollbar {
    width: 6px;
}

.otp-country-list::-webkit-scrollbar-thumb {
    background: rgba(96, 165, 250, 0.65);
    border-radius: 999px;
}

.otp-country-list::-webkit-scrollbar-track {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 999px;
}

/* country card */
.otp-country-card {
    position: relative;
    min-height: 76px;
    border-radius: 18px;
    padding: 14px 22px;
    background: rgba(30, 41, 59, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    transition: 0.22s ease;
}

.otp-country-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: #0d6aff;
    border-radius: 18px 0 0 18px;
}

.otp-country-card:hover {
    transform: translateY(-2px);
    border-color: rgba(96, 165, 250, 0.55);
    background: rgba(51, 65, 85, 0.95);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.otp-country-left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.otp-flag-box {
    width: 48px;
    height: 36px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
    flex-shrink: 0;
}

.otp-flag-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.otp-country-info {
    min-width: 0;
}

.otp-country-info h6 {
    margin: 0;
    color: #f8fafc;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.2;
}

.otp-country-info span {
    display: block;
    margin-top: 3px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
}

.otp-country-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.otp-price-badge,
.otp-stock-badge {
    min-width: 74px;
    height: 34px;
    border-radius: 999px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.otp-price-badge {
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: #ffffff;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.35);
}

.otp-stock-badge {
    background: linear-gradient(135deg, #4f46e5, #8b5cf6);
    color: #ffffff;
    box-shadow: 0 0 14px rgba(139, 92, 246, 0.35);
}

/* responsive */
@media (max-width: 768px) {
    .otp-country-wrapper {
        padding: 16px;
        border-radius: 18px;
    }

    .otp-country-card {
        padding: 13px 14px;
        align-items: flex-start;
        gap: 12px;
    }

    .otp-country-right {
        flex-direction: column;
        align-items: flex-end;
        gap: 6px;
    }

    .otp-price-badge,
    .otp-stock-badge {
        min-width: 68px;
        height: 30px;
        font-size: 12px;
        padding: 0 10px;
    }

    .otp-country-info h6 {
        font-size: 15px;
    }

    .otp-flag-box {
        width: 44px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .otp-provider-box {
        padding: 12px;
    }

    .otp-provider-left span {
        font-size: 14px;
    }

    .otp-back-btn {
        padding: 8px 14px;
        font-size: 12px;
    }

    .otp-country-card {
        min-height: 70px;
    }

    .otp-country-left {
        gap: 12px;
    }

    .otp-country-right {
        gap: 5px;
    }
}

.otp-section-title {
    margin-bottom: 16px;
    padding: 4px 2px;
}

.otp-section-title h5 {
    margin: 0;
    color: #f8fafc;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.2px;
}

.otp-section-title p {
    margin: 5px 0 0;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 700;
}

.otp-select-country {
    cursor: pointer;
}

.otp-select-country:active {
    transform: scale(0.99);
}

.otp-country-card {
    cursor: pointer;
}

.otp-modal {
    border: 1px solid rgba(0, 112, 255, 0.22);
    border-radius: 20px;
    overflow: hidden;
    background: #07111f;
    color: #eaf2ff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.otp-modal .modal-header {
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    padding: 18px 20px;
    background: #081827;
}

.otp-modal .modal-title {
    color: #f8fbff;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
}

.otp-modal .modal-title i {
    color: var(--background-main);
    text-shadow: 0 0 16px rgba(0, 112, 255, 0.45);
}

.otp-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(148, 163, 184, 0.14);
    filter: invert(1) grayscale(100%) brightness(180%);
    opacity: 1;
    box-shadow: none !important;
}

.otp-close:hover {
    background-color: rgba(0, 112, 255, 0.22);
}

.otp-modal .modal-body {
    padding: 20px;
    background: #07111f;
}

.otp-product-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(0, 112, 255, 0.22);
    border-radius: 18px;
    padding: 14px;
    margin-bottom: 18px;
}

.otp-product-img {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.otp-product-img img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 10px;
}

.otp-product-info h6 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: #f8fbff;
}

.otp-product-info p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #8fb3df;
    font-weight: 700;
}

.otp-modal .form-label {
    color: #9fb2cc;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 8px;
}

.otp-input {
    width: 100%;
    border-radius: 16px;
    min-height: 52px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    color: #eef6ff;
    background-color: #0b1625;
    font-weight: 600;
    box-shadow: none !important;
    transition: 0.2s ease;
}

.otp-input:focus {
    border-color: var(--background-main);
    background-color: #0b1625;
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 112, 255, 0.18) !important;
}

.otp-input::placeholder {
    color: #64748b;
    font-weight: 500;
}

.otp-input option {
    background: #0b1625;
    color: #eef6ff;
}

textarea.otp-input {
    min-height: 110px;
    resize: vertical;
}

.btn-otp-submit {
    width: 100%;
    border: none;
    border-radius: 16px;
    padding: 14px 18px;
    color: #ffffff;
    font-weight: 800;
    background: linear-gradient(135deg, var(--background-main), #3390ff);
    box-shadow: 0 10px 26px rgba(0, 112, 255, 0.32);
    transition: 0.25s ease;
}

.btn-otp-submit:hover {
    opacity: 0.95;
    transform: translateY(-1px);
    box-shadow: 0 14px 34px rgba(0, 112, 255, 0.42);
}

.btn-otp-submit:active {
    transform: scale(0.98);
}

.otp-modal .modal-footer {
    border-top: none;
    padding: 0 20px 20px;
    background: #07111f;
}

.otp-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.otp-status-pending {
    color: #fee2e2;
    background: linear-gradient(135deg, #7f1d1d 0%, #b91c1c 45%, #ef4444 100%);
    border: 1px solid rgba(252, 165, 165, 0.28);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.28);
}

.otp-status-success {
    color: #dcfce7;
    background: linear-gradient(135deg, #064e3b 0%, #047857 45%, #16a34a 100%);
    border: 1px solid rgba(134, 239, 172, 0.28);
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.28);
}

.otp-status-badge i {
    font-size: 15px;
}

.otp-history-box {
    padding: 14px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(0, 112, 255, 0.22);
}

.otp-history-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #eaf2ff;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 12px;
}

.otp-history-title i {
    color: var(--background-main);
    text-shadow: 0 0 14px rgba(0, 112, 255, 0.45);
}

.otp-history-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.otp-history-row span {
    color: #8fb3df;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.otp-history-row strong {
    color: #f8fbff;
    font-size: 14px;
    font-weight: 800;
    text-align: right;
    word-break: break-word;
}

@media (max-width: 576px) {
    .otp-history-row {
        flex-direction: column;
        gap: 4px;
    }

    .otp-history-row strong {
        text-align: left;
    }
}

.otp-modal .alert-warning {
    background: #fff4c2;
    border: 1px solid #facc15;
    color: #7c2d12;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
}

.otp-modal .form-check-label {
    color: #eaf2ff;
    font-size: 14px;
    line-height: 1.6;
}

.otp-modal .form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    background-color: #0b1625;
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: none !important;
}

.otp-modal .form-check-input:checked {
    background-color: var(--background-main);
    border-color: var(--background-main);
}

.otp-modal .btn-secondary {
    border: none;
    border-radius: 14px;
    padding: 12px 22px;
    font-weight: 800;
    background: rgba(148, 163, 184, 0.22);
    color: #eaf2ff;
}

.otp-modal .btn-secondary:hover {
    background: rgba(148, 163, 184, 0.32);
}

.otp-modal .btn-primary {
    border: none;
    border-radius: 14px;
    padding: 12px 22px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--background-main), #3390ff);
    box-shadow: 0 10px 26px rgba(0, 112, 255, 0.32);
}

.otp-modal .btn-primary:hover {
    opacity: 0.95;
}

.otp-modal .btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 576px) {
    .otp-modal .modal-body {
        padding: 16px;
    }

    .otp-product-box {
        padding: 12px;
    }

    .otp-history-box {
        padding: 12px;
    }

    .otp-modal .modal-footer {
        padding: 0 16px 16px;
    }
}

.otp-order-wrapper {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(59, 130, 246, 0.28);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.otp-order-top-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 18px;
}

.otp-order-info-card {
    min-height: 78px;
    border-radius: 16px;
    padding: 14px 16px;
    background: rgba(30, 41, 59, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.18);
    display: flex;
    align-items: center;
    gap: 12px;
}

.otp-order-info-card span {
    display: block;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 4px;
}

.otp-order-info-card h5 {
    margin: 0;
    color: #f8fafc;
    font-size: 16px;
    font-weight: 900;
}

.otp-order-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.otp-order-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 10px;
}

.otp-flag-icon img {
    width: 42px;
    height: 30px;
    object-fit: cover;
}

.otp-order-price-box {
    min-height: 96px;
    border-radius: 18px;
    padding: 18px 22px;
    margin-bottom: 18px;
    background: linear-gradient(135deg,
            rgba(79, 70, 229, 0.28),
            rgba(59, 130, 246, 0.16));
    border: 1px solid rgba(139, 92, 246, 0.45);
    box-shadow: 0 0 22px rgba(59, 130, 246, 0.18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.otp-order-price-box span {
    display: block;
    color: #c4b5fd;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 4px;
}

.otp-order-price-box h3 {
    margin: 0;
    color: #f8fafc;
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
}

.otp-price-stock-right {
    text-align: right;
}

.otp-stock-badge {
    min-width: 66px;
    height: 30px;
    border-radius: 999px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
    background: linear-gradient(135deg, #4f46e5, #8b5cf6);
    color: #ffffff;
    box-shadow: 0 0 14px rgba(139, 92, 246, 0.35);
}

/* ================================
   ORDER BUTTON
================================ */

.btn-otp-order-submit {
    width: 100%;
    border: none;
    border-radius: 16px;
    min-height: 58px;
    padding: 12px 18px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
    background: linear-gradient(135deg, #2563eb, #1d9be8);
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.22s ease;
}

.btn-otp-order-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);
}

.btn-otp-order-submit:active {
    transform: scale(0.98);
}

.btn-otp-order-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ================================
   WAIT OTP CARD - NEW LAYER DESIGN
================================ */

.otp-wait-card {
    width: 100%;
    border-radius: 22px;
    padding: 20px;
    background: black;
    border: 1px solid rgba(43, 137, 252, 0.24);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

/* Header */
.otp-wait-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.otp-wait-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.otp-wait-title h5 {
    margin: 0;
    color: #e5eefc;
    font-size: 16px;
    font-weight: 900;
}

.otp-online-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.12);
}

.otp-wait-count {
    min-height: 30px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.22);
    color: #ddd6fe;
    font-size: 12px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Order Card */
.otp-active-order {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    padding: 16px;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.14), transparent 34%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(17, 34, 64, 0.94));
    border: 1px solid rgba(96, 165, 250, 0.24);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        0 10px 28px rgba(0, 0, 0, 0.20);
}

.otp-active-order::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(37, 99, 235, 0.10), transparent 52%);
}

.otp-active-order+.otp-active-order {
    margin-top: 18px;
}

/* Top Layer */
.otp-active-top {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.otp-active-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.22), rgba(59, 130, 246, 0.12));
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.otp-active-info {
    min-width: 0;
}

.otp-active-info h6 {
    margin: 0;
    color: #f8fafc;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.otp-active-info h6 span {
    color: #a78bfa;
}

.otp-active-info h6 small {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 800;
    margin-left: 5px;
}

.otp-active-info p {
    margin: 4px 0 0;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 800;
}

/* Cancel Button */
.otp-small-btn {
    height: 38px;
    padding: 0 14px;
    border-radius: 13px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.50);
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.18s ease;
}

.otp-small-btn:hover {
    background: rgba(239, 68, 68, 0.16);
    color: #fecaca;
    border-color: rgba(239, 68, 68, 0.38);
}

/* Exp Layer */
.otp-time-box {
    position: relative;
    z-index: 1;
    border-radius: 14px;
    padding: 11px 13px;
    background: linear-gradient(90deg, rgba(88, 28, 135, 0.32), rgba(30, 64, 175, 0.26));
    margin-bottom: 12px;
}

.otp-time-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.otp-time-row span,
.otp-time-row strong {
    color: #c4b5fd;
    font-size: 12px;
    font-weight: 900;
}

.otp-progress {
    width: 100%;
    height: 5px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(148, 163, 184, 0.18);
}

.otp-progress-bar {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #8b5cf6, #38bdf8);
}

/* Phone Layer */
.otp-phone-box {
    position: relative;
    z-index: 1;
    min-height: 54px;
    border-radius: 14px;
    padding: 10px 13px;
    background: rgba(15, 23, 42, 0.56);
    border: 1px solid rgba(148, 163, 184, 0.14);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.otp-phone-box strong {
    color: #f8fafc;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.2px;
}

.otp-phone-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

.otp-phone-actions button {
    min-width: 54px;
    height: 34px;
    border-radius: 11px;
    border: 1px solid rgba(96, 165, 250, 0.32);
    background: rgba(59, 130, 246, 0.14);
    color: #93c5fd;
    font-size: 12px;
    font-weight: 900;
}

/* Waiting Text */
.otp-waiting-sms {
    position: relative;
    z-index: 1;
    color: #38bdf8;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 12px;
}

/* API Layer */
.otp-api-status {
    position: relative;
    z-index: 1;
    min-height: 44px;
    border-radius: 14px;
    padding: 0 14px;
    background: linear-gradient(90deg, rgba(30, 64, 175, 0.28), rgba(37, 99, 235, 0.12));
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 10px;
}

.otp-api-status span {
    padding: 6px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}

/* Success */
.otp-order-success {
    border-color: rgba(34, 197, 94, 0.30);
    background:
        linear-gradient(135deg, rgba(20, 83, 45, 0.26), rgba(15, 23, 42, 0.96));
}

.otp-icon-success {
    background: rgba(34, 197, 94, 0.16);
    color: #22c55e;
}

.otp-text-success {
    color: #22c55e;
}

.otp-api-success {
    background: rgba(34, 197, 94, 0.10);
    color: #bbf7d0;
}

.otp-api-success span {
    background: rgba(34, 197, 94, 0.90);
}

/* Mobile */
@media (max-width: 575px) {
    .otp-wait-card {
        padding: 14px;
        border-radius: 18px;
    }

    .otp-active-order {
        padding: 13px;
        border-radius: 16px;
    }

    .otp-active-top {
        grid-template-columns: 40px 1fr;
    }

    .otp-small-btn {
        grid-column: 1 / -1;
        width: 100%;
        margin-top: 4px;
    }

    .otp-phone-box {
        grid-template-columns: 1fr;
    }

    .otp-phone-actions {
        width: 100%;
    }

    .otp-phone-actions button {
        flex: 1;
    }
}

/* ================================
   CHANGE COUNTRY BUTTON
================================ */

.otp-change-country-btn {
    width: 100%;
    min-height: 48px;
    margin-top: 14px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.55);
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.otp-change-country-btn:hover {
    color: #f8fafc;
    border-color: rgba(96, 165, 250, 0.45);
    background: rgba(30, 41, 59, 0.9);
    text-decoration: none;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 768px) {
    .otp-order-wrapper {
        padding: 16px;
        border-radius: 18px;
    }

    .otp-order-top-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .otp-order-price-box {
        padding: 18px;
    }

    .otp-order-price-box h3 {
        font-size: 34px;
    }

    .btn-otp-order-submit {
        min-height: 56px;
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .otp-wait-card {
        padding: 14px;
    }

    .otp-active-order {
        padding: 12px;
    }

    .otp-phone-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .otp-phone-actions {
        width: 100%;
    }

    .otp-phone-actions button {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .otp-order-price-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .otp-price-stock-right {
        text-align: left;
    }

    .otp-wait-header {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* OTP HISTORY */

.otp-history {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.otp-history-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    padding: 16px;
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(59, 130, 246, 0.28);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
}

.otp-history-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: #ef4444;
}

.otp-history-success::before {
    background: #22c55e;
}

.otp-history-cancel::before {
    background: #ef4444;
}

.otp-history-waiting::before {
    background: #38bdf8;
}

.otp-history-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.otp-history-product {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.otp-history-img {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(30, 41, 59, .9);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.otp-history-img img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.otp-history-product h6 {
    margin: 0;
    color: #f8fafc;
    font-size: 15px;
    font-weight: 900;
}

.otp-history-product span {
    display: block;
    margin-top: 4px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 800;
}

.otp-history-status {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.otp-status-success {
    color: #bbf7d0;
    background: rgba(34, 197, 94, .14);
    border: 1px solid rgba(34, 197, 94, .35);
}

.otp-status-cancel {
    color: #fecaca;
    background: rgba(239, 68, 68, .14);
    border: 1px solid rgba(239, 68, 68, .35);
}

.otp-status-waiting {
    color: #bae6fd;
    background: rgba(56, 189, 248, .14);
    border: 1px solid rgba(56, 189, 248, .35);
}

.otp-history-phone {
    min-height: 48px;
    border-radius: 13px;
    padding: 0 14px;
    background: rgba(30, 41, 59, .72);
    border: 1px solid rgba(148, 163, 184, .16);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.otp-history-phone span {
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 800;
}

.otp-history-phone strong {
    color: #38bdf8;
    font-size: 15px;
    font-weight: 900;
}

.otp-history-sms {
    border-radius: 14px;
    padding: 12px 14px;
    background: rgba(59, 130, 246, .08);
    border: 1px solid rgba(59, 130, 246, .18);
    margin-bottom: 12px;
}

.otp-history-sms b {
    color: #38bdf8;
    font-size: 13px;
    font-weight: 900;
}

.otp-history-sms p {
    margin: 8px 0 0;
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 700;
}

.otp-history-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.otp-history-bottom span {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 800;
}

.otp-history-continue {
    height: 32px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 149, 0, 0.28);
    background: rgba(246, 140, 59, 0.1);
    color: #fdad93;
    font-size: 12px;
    font-weight: 900;
}

.otp-history-detail {
    height: 32px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid rgba(96, 165, 250, .28);
    background: rgba(59, 130, 246, .10);
    color: #93c5fd;
    font-size: 12px;
    font-weight: 900;
}

.otp-history-empty {
    grid-column: 1 / -1;
    padding: 22px;
    border-radius: 18px;
    text-align: center;
    color: #94a3b8;
    background: rgba(15, 23, 42, .78);
    border: 1px solid rgba(59, 130, 246, .28);
    font-weight: 800;
}

@media (max-width: 992px) {
    .otp-history {
        grid-template-columns: 1fr;
    }
}

/* OTP HISTORY MODAL */

.otp-history-modal {
    border: 1px solid rgba(59, 130, 246, .25);
    border-radius: 24px;
    overflow: hidden;
    background: #07111f;
    color: #eaf2ff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .55);
}

.otp-history-modal-header {
    border-bottom: 1px solid rgba(148, 163, 184, .16);
    background: rgba(15, 23, 42, .92);
    padding: 20px 22px;
}

.otp-history-modal-product {
    display: flex;
    align-items: center;
    gap: 14px;
}

.otp-history-modal-img {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: rgba(30, 41, 59, .9);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.otp-history-modal-img img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.otp-history-modal-product h5 {
    margin: 0;
    color: #f8fafc;
    font-size: 18px;
    font-weight: 900;
}

.otp-history-modal-product span {
    display: block;
    margin-top: 5px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 800;
}

.otp-history-modal-close {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, .18);
    background: rgba(15, 23, 42, .7);
    color: #cbd5e1;
}

.otp-history-modal .modal-body {
    padding: 22px;
    background: #07111f;
}

.otp-history-modal-status {
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(56, 189, 248, .25);
    background: rgba(56, 189, 248, .08);
}

.otp-history-modal-status.success {
    border-color: rgba(34, 197, 94, .35);
    background: rgba(34, 197, 94, .10);
}

.otp-history-modal-status.cancel {
    border-color: rgba(239, 68, 68, .35);
    background: rgba(239, 68, 68, .10);
}

.otp-history-modal-status-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(15, 23, 42, .72);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    font-size: 20px;
}

.otp-history-modal-status.success .otp-history-modal-status-icon {
    color: #22c55e;
}

.otp-history-modal-status.cancel .otp-history-modal-status-icon {
    color: #ef4444;
}

.otp-history-modal-status h6 {
    margin: 0;
    color: #f8fafc;
    font-size: 18px;
    font-weight: 900;
}

.otp-history-modal-status p {
    margin: 5px 0 0;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 800;
}

.otp-history-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.otp-history-modal-info {
    min-height: 78px;
    border-radius: 16px;
    padding: 14px 16px;
    background: rgba(30, 41, 59, .72);
    border: 1px solid rgba(148, 163, 184, .16);
}

.otp-history-modal-info span {
    display: block;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 8px;
}

.otp-history-modal-info strong {
    color: #f8fafc;
    font-size: 15px;
    font-weight: 900;
}

.otp-history-modal-price {
    color: #38bdf8 !important;
    font-size: 18px !important;
}

.otp-history-modal-sms,
.otp-history-modal-api {
    border-radius: 18px;
    background: rgba(15, 23, 42, .65);
    border: 1px solid rgba(59, 130, 246, .20);
    overflow: hidden;
    margin-bottom: 14px;
}

.otp-history-modal-sms-title,
.otp-history-modal-api-title {
    min-height: 52px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(148, 163, 184, .14);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #38bdf8;
    font-size: 13px;
    font-weight: 900;
}

.otp-history-modal-sms-title button {
    height: 34px;
    padding: 0 12px;
    border-radius: 11px;
    border: 1px solid rgba(96, 165, 250, .28);
    background: rgba(59, 130, 246, .10);
    color: #93c5fd;
    font-size: 12px;
    font-weight: 900;
}

.otp-history-modal-sms p,
.otp-history-modal-api div {
    margin: 0;
    padding: 16px;
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 700;
    word-break: break-word;
}

.otp-history-modal-close-bottom {
    width: 100%;
    height: 50px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, .20);
    background: rgba(15, 23, 42, .65);
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 900;
}

.otp-history-modal-close-bottom:hover {
    background: rgba(30, 41, 59, .9);
    color: #f8fafc;
}

@media (max-width: 576px) {
    .otp-history-modal-grid {
        grid-template-columns: 1fr;
    }

    .otp-history-modal .modal-body {
        padding: 16px;
    }
}

.otp-history-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.otp-history-actions button {
    white-space: nowrap;
}

@media (max-width: 576px) {
    .otp-history-bottom {
        flex-direction: row;
        align-items: center;
    }

    .otp-history-actions {
        width: auto;
        flex-shrink: 0;
    }

    .otp-history-actions button {
        flex: unset;
        padding: 0 12px;
        font-size: 12px;
    }
}