/* Variables */
:root {
    --primary-color: #00FF85;
    --primary-dark: #FF0099;
    --secondary-color: #161616;
    --background-color: #0D0D0D;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.80);
    --text-muted: rgba(255, 255, 255, 0.60);
    --border-color: rgba(0, 255, 133, 0.08);
    --border-active: #00FF85;
    --hover-bg: #1E1E1E;
    --card-bg: #161616;
    --card-nested-bg: #1E1E1E;
    --input-bg: #111111;
    --error-color: #ff6b6b;
    --success-color: #00FF85;
    --warning-color: #FFA726;
    --gradient-primary: linear-gradient(135deg, #00FF85 0%, #00CC6A 100%);
    --gradient-secondary: linear-gradient(135deg, #161616 0%, #1E1E1E 100%);
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.35);
    --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.5);
    --glow-green: 0 0 20px rgba(0, 255, 133, 0.15);
}

html {
    background: #0D0D0D !important;
    min-height: 100%;
}

body {
    font-family: "Plus Jakarta Sans", serif;
    background: #0D0D0D !important; /* Tambahkan !important */
    background-color: #0D0D0D !important; /* Backup dengan background-color */
    padding-top: 100px;
    overflow-x: hidden;
    min-height: 100vh; /* Pastikan full height */
}

.container {
    max-width: 1150px;
}

.navbar {
    background-color: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 255, 133, 0.08);
    padding: 1.5rem;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(13, 13, 13, 0.75);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.nav-link {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 400;
    position: relative;
    text-decoration: none;
    width: fit-content;
    display: inline-block;
    margin: 0 5px;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #00FF85;
    transition: width 0.5s ease;
}

.nav-link:hover {
    color: #fff;
}

.nav-link.active::after {
    width: 100%;
}

.search-form {
    max-width: 400px;
    width: 100%;
    position: relative;
}

.search-input {
    padding: 15px;
    background-color: var(--background-color);
    border: 1px solid #00FF85;
    color: #FFFFFF;
    border-radius: 25px;
}

.search-input::placeholder {
    color: #FFFFFF;
    font-size: 14px;
}

.search-input:focus {
    color: #FFFFFF;
    box-shadow: none !important;
    outline: none;
    border: 1px solid #00ff85;
    background-color: rgba(13, 13, 13, 0.97);
}

.search-results {
    position: absolute;
    display: none;
    top: 110%;
    left: 0;
    right: 0;
    max-width: 400px;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    background-color: #161616;
    border: 1px solid #2c2f3e;
    margin-top: 0;
    padding: 12px 14px;
    border-radius: 5px;
    z-index: 1000;
}

.search-results::-webkit-scrollbar {
    display: none;
}

.product-result {
    margin-top: 10px;
}

.img-product-search {
    border-radius: 5px;
}

.title-product-search {
    font-size: 14px;
    color: #fff;
    margin-bottom: 0;
}

.result-link {
    text-decoration: none;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.login-btn,
.signup-btn {
    padding: 1px 12px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}

.login-btn {
    background: #00FF85;
    color: #013b1f;
}

.signup-btn {
    background: transparent;
    color: #FFFFFF;
    padding: 1px 12px;
    border: 1.5px solid #00FF85;
}

.signup-btn:hover {
    background: rgba(255, 255, 255, 0.04);
}

.login-btn:active {
    transform: translateY(1px);
    box-shadow: inset 1px 1px 4px rgba(255, 255, 255, 0.4),
                inset -1px -1px 2px rgba(0, 0, 0, 0.15);
}

.signup-btn:active {
    transform: translateY(1px);
    background: rgba(13, 110, 253, 0.08);
}

.avatar-initial {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(0, 255, 133, 0.6);
    box-shadow: 0 0 6px rgba(0, 255, 133, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    color: var(--primary-color);
    backdrop-filter: blur(4px);
}

.username-text {
    margin-left: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.carousel {
    margin-bottom: 2rem;
}

.carousel-background {
    background: var(--secondary-color);
    width: 100%;
    padding: 16px 0 0 0;
    position: relative;
    overflow: hidden;
}

.falling-shapes-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.meteor {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(180,220,255,0.6) 40%, rgba(255,255,255,1) 100%);
    border-radius: 9999px;
    transform: rotate(215deg);
    transform-origin: right center;
    animation: shoot linear forwards;
    pointer-events: none;
    filter: drop-shadow(0 0 4px rgba(150, 200, 255, 0.8));
}

@keyframes shoot {
    0% {
        transform: rotate(215deg) translateX(0);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    85% {
        opacity: 0.7;
    }
    100% {
        transform: rotate(215deg) translateX(600px);
        opacity: 0;
    }
}

.carousel-container {
    max-width: 1150px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    z-index: 2; /* Memastikan carousel di atas meteor */
}

/* Carousel Styles */
.carousel {
    width: 100%;
    position: relative;
}

.carousel-inner {
    width: 100%;
}

.carousel-item {
    width: 100%;
    text-align: center;
}

.carousel-item img {
    width: 100%;
    height: auto;
    max-height: 500px; /* Sesuaikan angka ini sesuai selera */
    object-fit: cover;
    object-position: center;
    display: block;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    z-index: 3; /* Memastikan tombol di atas meteor */
}

.carousel-control-prev {
    left: 25px;
}

.carousel-control-next {
    right: 25px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255,255,255,0.5);
    opacity: 1;
}

.popular-product-wrapper {
    overflow-x: hidden; /* menjaga wrapper ini dari overflow */
    padding: 0 10px;
}

.title-popular-product {
    font-size: 18px;
    color: #FFFFFF;
}

.bi-fire {
    color: orange;
    font-size: 20px;
}

.popular-link {
    display: block;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease-in-out;
}

.popular-link:hover {
    transform: scale(1.02);
}

.kokin-popular-product {
    background: var(--secondary-color);
    color: #fff;
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 133, 0.08);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.kokin-popular-product:hover {
    border-color: rgba(0, 255, 133, 0.22);
    box-shadow: 0 4px 20px rgba(0, 255, 133, 0.08);
}

.kokin-popular-product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        transparent 20%, 
        rgba(255, 255, 255, 0.05) 40%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.15) 60%, 
        transparent 80%
    );
    z-index: 0;
    animation: shine 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) skewX(-20deg);
    }
    100% {
        transform: translateX(100%) skewX(-20deg);
    }
}

.image-popular {
    border-radius: 5px;
    width: 50px;
    height: 70px;
    object-fit: cover;
}

.title-product {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kokin-popular-product .card-body .text-muted {
    font-size: 12px !important;
    overflow: hidden !important;
}

.text-muted {
    font-size: 12px;
    color: #d3d3d3 !important;
}


.kokin-card-footer {
    padding: 12px 14px;
    border-top: 1px solid rgba(0, 255, 133, 0.08);
    text-align: center;
}

.text-view, .bi-chevron-right {
    font-size: 14px;
}

img {
    border-radius: 12px;
}

.product-link {
    display: block;
    margin-bottom: 20px;
    text-decoration: none;
    transition: transform 0.3s ease-in-out;
}

.product-link:hover {
    transform: scale(1.03);
}

.title-heading-product {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.sub-heading-product {
    color: #cdc4db;
    font-size: 12px;
    margin-bottom: 1rem;
}

.load-more {
    background-color: #00FF85;
    color: #013b1f;
    border: none;
    padding: 10px 14px;
    border-radius: 5px;
    font-size: 12px !important;
    transition: background-color 0.3s ease;
}

.load-more:hover {
    background-color: #00FF85db !important;
}

.product-item {
    margin-bottom: 20px;
}

.col-md-2 {
    margin-bottom: 20px;
}

/* Pastikan btn-tabs tidak mewarisi efek dari nav-link */
.btn-tabs {
    text-decoration: none !important;
    transition: none !important;
    color: #FFFFFF !important; /* Sesuaikan dengan warna yang diinginkan */
    position: static !important; /* Menghapus efek absolute pada after */
    background: #4f5557 !important;
    border: none !important;
    border-radius: 20px !important;
    outline: none !important;
    margin-right: 15px;
    font-size: 12px;
}

/* Menghapus efek garis bawah */
.btn-tabs::after {
    content: none !important;
}

/* Menghapus efek hover, active, dan focus */
.btn-tabs:focus,
.btn-tabs:active {
    text-decoration: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: #00FF85 !important;
    color: #013b1f !important;
}

.btn-tabs.active {
    background: #00FF85 !important;
    color: #013b1f !important;
}

.nav-container {
    width: 100%;
    overflow: hidden; /* Mencegah scroll di container luar */
    position: relative;
}

.nav-pills {
    display: flex;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior-x: contain;
}

.nav-pills::-webkit-scrollbar {
    display: none;
}

/* Pastikan tombol-tombol tidak mengecil */
.nav-pills .nav-item {
    flex: 0 0 auto;
}

.fa-whatsapp, .fa-tiktok, .fa-instagram, .fa-telegram {
    font-size: 18px;
    margin-right: 10px;
}

/* Ukuran font tetap 14px global */
.footer,
.footer p,
.footer li,
.footer small,
.footer span {
    font-size: 14px;
}

.payment-icon {
    height: 30px;
    margin-right: 10px;
}

.text-secondary {
    font-weight: 400;
}

.head-pages {
    color: #FFFFFF;
    font-size: 20px;
}

.sub-pages {
    color: rgba(255, 255, 255, 0.7);
    margin-top: -10px;
    margin-bottom: 40px;
    font-size: 15px;
}

.card-pages {
    background: #161616;
}

/* Background hitam gelap */
.accordion-item {
    background-color: rgba(13, 13, 13, 0.97);
    border: none; /* biar gak ada border default bootstrap */
}

/* Heading button (pertanyaan) */
.accordion-button {
    background-color: rgba(13, 13, 13, 0.97);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    box-shadow: none !important; /* ini yang matiin efek biru aneh itu */
    border: none;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.accordion-button::after {
    filter: brightness(0) invert(0.7); /* ngeubah warna default ikon jadi semi putih */
    opacity: 0.7;
}

/* Hover/aktif tapi tanpa efek biru */
.accordion-button:not(.collapsed) {
    background-color: #1E1E1E;
    color: #FFFFFF;
    box-shadow: none !important;
}

/* Pas tombol ditutup */
.accordion-button.collapsed {
    background-color: rgba(13, 13, 13, 0.97);
    color: #FFFFFF;
}

/* Konten isi jawaban */
.accordion-body {
    color: rgba(255, 255, 255, 0.7);
    background-color: rgba(13, 13, 13, 0.97);
    padding-top: 0.75rem;
    padding-bottom: 1rem;
    font-size: 15px;
}

/* Hapus efek fokus outline */
.accordion-button:focus {
    box-shadow: none !important;
    outline: none !important;
}

.pages {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    text-align: justify;
}

.pages h3 {
    color: #00FF85;
    font-size: 16px;
}

/* Main Layout */
.product-order {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Product Header */
.product-header {
    background: linear-gradient(135deg, 
        rgba(0, 255, 133, 0.05) 0%, 
        rgba(0, 255, 133, 0.02) 100%);
    backdrop-filter: blur(20px);
    padding: 48px 32px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

/* Floating gradient orbs */
.product-header::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 255, 133, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatOrb 8s ease-in-out infinite;
}

.product-header::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 255, 133, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatOrb 6s ease-in-out infinite reverse;
}

@keyframes floatOrb {
    0%, 100% { 
        transform: translate(0, 0);
    }
    50% { 
        transform: translate(20px, 20px);
    }
}

/* Hide unused elements */
.product-header-decoration,
.geometric-shapes {
    display: none;
}

.shape-1,
.shape-2,
.shape-3 {
    display: none;
}

/* Content layer */
.product-header .row {
    position: relative;
    z-index: 2;
}

.product-image {
    width: 160px;
    height: 220px;
    border-radius: 20px;
    box-shadow: 0 12px 48px rgba(0, 255, 133, 0.3);
    transition: all 0.4s ease;
    border: 3px solid rgba(0, 255, 133, 0.3);
    object-fit: cover;
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.product-image:hover::before {
    left: 100%;
}

.product-image:hover {
    transform: scale(1.05) rotateY(5deg);
    box-shadow: 0 20px 60px rgba(0, 255, 133, 0.4);
    border-color: var(--primary-color);
}

.product-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.1;
    position: relative;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 4px;
}

.product-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.product-description {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 24px;
    max-width: 650px;
    text-align: justify;
    position: relative;
}

.product-company {
    background: var(--gradient-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 8px 24px rgba(0, 255, 133, 0.3);
    transition: all 0.3s ease;
}

.product-rating {
    background: var(--gradient-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 8px 24px rgba(0, 255, 133, 0.3);
    transition: all 0.3s ease;
}

/* Add some tech-style decorative elements */
.product-info-wrapper {
    position: relative;
}

.tech-lines {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 100px;
    opacity: 0.1;
    z-index: 1;
}

.tech-line {
    position: absolute;
    background: var(--primary-color);
    animation: techPulse 3s ease-in-out infinite;
}

.tech-line:nth-child(1) {
    top: 0;
    left: 0;
    width: 60px;
    height: 1px;
    animation-delay: 0s;
}

.tech-line:nth-child(2) {
    top: 30px;
    left: 20px;
    width: 40px;
    height: 1px;
    animation-delay: 0.5s;
}

.tech-line:nth-child(3) {
    top: 60px;
    left: 0;
    width: 80px;
    height: 1px;
    animation-delay: 1s;
}

@keyframes techPulse {
    0%, 100% { opacity: 0.1; transform: scaleX(1); }
    50% { opacity: 0.3; transform: scaleX(1.2); }
}

/* Tabs */
.custom-tabs {
    margin-bottom: 32px;
}

.nav-tabs {
    border: none;
}

.nav-tabs .nav-link {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 12px 24px;
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
    position: relative;
}

.nav-tabs .nav-link:hover {
    color: var(--primary-color);
    background: rgba(0, 255, 133, 0.1);
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    background: var(--secondary-color);
    border-bottom: 2px solid var(--primary-color);
}

.content-order {
    background: var(--secondary-color);
    border-radius: 0 16px 16px 16px;
    padding: 24px;
    box-shadow: var(--shadow-medium);
}

/* Product Information */
.product-info {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
}

.product-info h1, .product-info h2, .product-info h3 {
    color: var(--text-primary);
    margin-top: 20px;
    margin-bottom: 12px;
}

.product-info ul, .product-info ol {
    padding-left: 20px;
}

.product-info li {
    margin-bottom: 8px;
}

/* Item Cards */
.item-card {
    background: var(--gradient-secondary);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.item-card:hover::before {
    opacity: 0.05;
}

.item-card:hover {
    border-color: var(--border-active);
    box-shadow: var(--shadow-medium);
}

.item-card.active {
    border-color: var(--border-active);
    background: var(--hover-bg);
    box-shadow: 0 0 0 2px rgba(0, 255, 133, 0.2);
}

.item-image {
    width: 50px;
    height: 50px;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    margin-bottom: 12px;
}

.item-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.item-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
}

.item-discount {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-right: 8px;
}

.item-check-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 20px;
    color: var(--success-color);
    z-index: 3;
}

.item-card.item-disabled {
    position: relative;
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.6;
}

.item-card.item-disabled::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.05);
    border-radius: inherit;
}

.item-card.item-disabled .item-card-content {
    filter: grayscale(50%);
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    display: block;
}

.discounted-price {
    color: #ff5722;
    font-weight: bold;
    display: block;
}

.role-indicator {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 12px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.role-indicator.agen {
    background: rgba(255, 87, 34, 0.08);
}

.role-indicator-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
}

.role-indicator-icon {
    font-size: 20px;
    color: var(--primary-color);
}

.role-indicator.agen .role-indicator-icon {
    color: #ff5722;
}

.role-indicator-text {
    color: var(--text-primary);
    font-weight: 600;
}

.role-indicator-badge {
    background: rgba(0, 255, 133, 0.12);
    color: var(--primary-color);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.role-indicator.agen .role-indicator-badge {
    background: rgba(255, 87, 34, 0.12);
    color: #ff5722;
}

/* Ribbon Container */
.ribbon-tag {
    position: absolute;
    top: 0;
    left: 5px;
    z-index: 10;
}

.ribbon-tag span {
    display: inline-block;
    background: linear-gradient(135deg, rgba(90, 98, 104, 0.95) 0%, rgba(75, 82, 88, 0.98) 100%);
    color: rgba(255, 255, 255, 0.95);
    padding: 5px 14px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-radius: 6px;
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.2),
        0 1px 2px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hover effect subtle */
.item-card:hover .ribbon-tag span {
    background: linear-gradient(135deg, rgba(95, 103, 109, 0.97) 0%, rgba(80, 87, 93, 1) 100%);
    box-shadow: 
        0 3px 8px rgba(0, 0, 0, 0.25),
        0 1px 3px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Sections */
.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
}

/* Category Titles */
.category-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    border-radius: 8px;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Payment Methods */
.payment-type-card {
    background: var(--gradient-secondary);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.payment-type-card.active {
    border-color: var(--border-active);
    background: var(--hover-bg);
    box-shadow: 0 0 0 2px rgba(0, 255, 133, 0.2);
}

.payment-method-group {
    margin-bottom: 28px;
}

.payment-method-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
    padding: 8px 0;
}

.payment-method-card {
    background: var(--gradient-secondary);
    border-radius: 10px;
    padding: 14px;
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.payment-method-card.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--background-color);
}

.payment-method-card.active {
    border-color: var(--border-active);
    background: var(--hover-bg);
    box-shadow: 0 0 0 2px rgba(0, 255, 133, 0.2);
}

.payment-method-card:not(.disabled):hover {
    border-color: var(--border-active);
}

.payment-method-icon {
    width: 120px;
    height: 30px;
    border-radius: 4px;
    display: block;
    margin: 0 auto;
}

.payment-method-name {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
    text-align: center;
    margin-top: 10px;
}

/* Form Styles */
.form-label {
    color: var(--text-primary);
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
    display: block;
    position: relative;
    padding-left: 12px;
}

.invalid-feedback {
    font-size: 12px;
    color: var(--error-color);
}

.target-description {
    font-size: 13px;
    color: var(--text-muted);
}

.form-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(0, 255, 133, 0.5);
}

/* Input Fields */
.region-alert {
    font-size: 0.813rem; /* 13px - lebih kecil lagi */
    line-height: 1.3;
    padding: 8px 12px; /* padding dikecilkan */
    border: 1px solid;
    border-radius: 20px; /* border radius dikecilkan */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); /* shadow dikecilkan */
    position: relative;
    transition: all 0.3s ease;
    max-width: 450px; /* batas maksimal lebar */
}

/* Info/Loading State */
.region-alert.alert-info {
    background-color: #f8f9ff;
    color: #0c63e4;
    border-color: #d1e7ff;
}

/* Success State */
.region-alert.alert-success {
    background-color: #f6ffed;
    color: #0f5132;
    border-color: #b7eb8f;
}

/* Error State */
.region-alert.alert-danger {
    background-color: #fff2f0;
    color: #842029;
    border-color: #ffb3ba;
}

/* Icon styling */
.region-alert i {
    font-size: 1rem;
    margin-right: 8px;
}

/* Loading animation untuk ikon loading */
.region-alert .loading-icon {
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.input-order {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-primary);
    transition: border-color 0.3s ease;
    position: relative;
}

.input-order:focus {
    outline: none;
    box-shadow: none;
    border-color: var(--primary-color);
    background: var(--background-color);
    color: var(--text-primary);
}

.input-order::placeholder {
    color: var(--text-primary);
    opacity: 0.7;
}

/* Select Dropdown */
.input-order option {
    background: var(--secondary-color);
    color: var(--text-primary);
    padding: 10px;
}

.input-order {
    position: relative;
}

/* Order Summary Card */
.summary-card {
    background: var(--gradient-secondary);
    border-radius: 20px;
    padding: 28px;
    margin-top: 32px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

.summary-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.summary-title i {
    color: var(--primary-color);
    font-size: 22px;
}

/* Summary Item Styling - Vertical Layout */
.summary-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.summary-row:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 255, 133, 0.1);
}

.summary-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.summary-value {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 600;
    word-wrap: break-word;
    line-height: 1.4;
}

/* Total Section - Special Styling */
.summary-row:has(.summary-total) {
    background: linear-gradient(135deg, 
        rgba(0, 255, 133, 0.1) 0%, 
        rgba(0, 255, 133, 0.05) 100%);
    border: 1px solid rgba(0, 255, 133, 0.2);
    margin-bottom: 0;
    padding: 20px;
}

.summary-row:has(.summary-total) .summary-label {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 600;
}

.summary-total {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Submit Button */
.btn-submit-order {
    position: relative;
    background: var(--primary-dark);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    margin-top: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 255, 133, 0.2);
    z-index: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit-order::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-submit-order:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 255, 133, 0.3);
}

.btn-submit-order:not(:disabled):hover::before {
    opacity: 0.8;
}

.btn-submit-order:not(:disabled):active {
    transform: translateY(0);
}

.btn-submit-order:disabled {
    background: rgba(0, 255, 133, 0.15) !important;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.6;
}

.btn-submit-order:disabled::before {
    display: none;
}

.btn-submit-order .bi {
    font-size: 18px;
}

/* Animation */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Custom Scrollbar */
.summary-card::-webkit-scrollbar {
    width: 4px;
}

.summary-card::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 2px;
}

.summary-card::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 2px;
}

.summary-card::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Styling Invoice */
.inv-main-container {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
}

.inv-header {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 0.5rem !important;
}

.inv-status-badge {
    font-size: 12px;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.inv-timer-container {
    background: rgba(255, 165, 38, 0.1);
    border: 1px solid var(--warning-color);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.inv-timer-container.expired {
    background: rgba(255, 107, 107, 0.1);
    border-color: var(--error-color);
}

.inv-timer-container.success {
    background: rgba(76, 175, 80, 0.1);
    border-color: var(--success-color);
}

.inv-payment-section {
    background: rgba(0, 255, 133, 0.05);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
}

.inv-sn-section {
    background-color: rgba(255, 255, 255, 0.02);
    border-color: var(--border-color) !important;
    border-radius: 8px;
}

.inv-sn-section h6 {
    color: var(--text-primary);
}

.inv-sn-code {
    color: var(--text-primary);
    font-weight: 600;
    padding: 0.75rem;
    border-radius: 6px;
    word-break: break-all;
    font-size: 14px;
}

.inv-va-number {
    background: rgba(0, 255, 133, 0.1);
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.75rem;
    border-radius: 6px;
    letter-spacing: 1px;
    font-size: 15px;
    font-family: monospace;
}

.inv-payment-btn {
    background: var(--gradient-primary);
    border: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    padding: 0.75rem 1.5rem;
    color: #013b1f;
}

.inv-payment-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.inv-product-image {
    width: 70px;
    height: 100px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.card-invoice {
    border: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.03);
}

.card-header {
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.02);
}

.card-header h6, h5 {
    color: var(--text-primary);
}

hr {
    opacity: 0.1;
}

.text-muted-custom {
    color: var(--text-muted) !important;
}

.text-secondary-custom {
    color: var(--text-secondary) !important;
}

.border-custom {
    border-color: var(--border-color) !important;
}

.bg-dark-custom {
    background-color: rgba(255, 255, 255, 0.02) !important;
}

.fw-medium {
    font-weight: 500;
    color: var(--text-primary);
}

.inv-amount {
    font-weight: 600;
    color: var(--text-primary);
}

.inv-total-amount {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
}

#countdown-timer {
    color:  var(--text-primary);
}

#timer-label {
    color: var(--text-primary);
}

.countdown-number {
    font-size: 1.2rem;
    font-weight: 700;
}

.countdown-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

.timer-warning {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Rating Stars Custom Styles */
.rating-container-custom {
    margin-bottom: 20px;
}

.rating-label-custom {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-primary);
}

.rating-stars-custom {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.rating-star-custom {
    width: 50px;
    height: 50px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 50px;
    color: #555;
    transition: all 0.2s ease;
    outline: none;
    padding: 0;
    line-height: 1;
}

.rating-star-custom:hover {
    transform: scale(1.1);
}

.rating-star-custom.rating-active-custom {
    color: #FFD700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.rating-star-custom.rating-hover-custom {
    color: #FFED4E;
}

.rating-text-custom {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 5px;
    min-height: 20px;
}

/* Review Textarea Custom Styles */
.rating-review-container-custom {
    margin-bottom: 25px;
}

.rating-review-label-custom {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.rating-review-textarea-custom {
    width: 100%;
    min-height: 100px;
    padding: 12px 15px;
    background-color: var(--background-color);
    border: 2px solid #333;
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.rating-review-textarea-custom:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 255, 133, 0.1);
}

.rating-review-textarea-custom::placeholder {
    color: #777;
}

/* Submit Button Custom Styles */
.rating-submit-btn-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #013b1f;
    border: none;
    padding: 10px 30px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 255, 133, 0.3);
    min-width: 150px;
}

.rating-submit-btn-custom:hover {
    background: linear-gradient(135deg, var(--primary-dark), #00CC6A);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 133, 0.4);
}

.rating-submit-btn-custom:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 255, 133, 0.3);
}

.rating-submit-btn-custom:disabled {
    background: #555;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.6;
}

/* Form styling */
.rating-form-custom {
    margin: 0;
}

.rating-required-custom {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.rating-char-count-custom {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: right;
    margin-top: 5px;
}

.si-main-section {
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: 50px 0 50px 0;
}

.si-invoice-card {
    background: var(--background-color);
    border: 1px solid rgba(0, 255, 133, 0.2);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    max-width: 500px;
    margin: 0 auto;
}

.si-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #00CC6A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem auto;
    box-shadow: 0 10px 30px rgba(0, 255, 133, 0.3);
}

.si-title {
    color: var(--text-primary);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.si-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.si-form-label {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.si-input-field {
    background: rgba(9, 12, 15, 0.8);
    border: 2px solid rgba(0, 255, 133, 0.3);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    padding: 15px 18px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.si-input-field:focus {
    background: rgba(9, 12, 15, 0.9);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 255, 133, 0.25);
    color: var(--text-primary);
}

.si-input-field::placeholder {
    color: var(--text-secondary);
    font-weight: 400;
}

.si-submit-btn {
    background: linear-gradient(135deg, var(--primary-color), #00CC6A);
    border: none;
    border-radius: 12px;
    color: #013b1f;
    font-size: 1rem;
    font-weight: 600;
    padding: 15px 25px;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1.5rem;
    position: relative;
    overflow: hidden;
}

.si-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.si-submit-btn:active {
    transform: translateY(0);
}

.si-help-text {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.si-help-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.si-help-link:hover {
    color: #00FF85;
    text-decoration: underline;
}

.rating-classcustom-header {
    background-color: var(--secondary-color);
    border-radius: 12px;
    color: var(--text-primary);
}

.rating-classcustom-header h1 {
    font-size: 20px;
}

.rating-classcustom-header p {
    font-size: 16px;
}

.rating-classcustom-review-text,
.rating-classcustom-date,
.rating-classcustom-product-name {
    font-size: 14px; /* Ukuran font diperkecil */
}

.rating-classcustom-card h6 {
    font-size: 16px; /* Ukuran nama sedikit lebih besar */
}


.rating-classcustom-stats {
    background-color: rgba(0, 255, 133, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 133, 0.2);
    color: var(--text-primary);
}

.rating-classcustom-stars {
    color: #ffc107;
}

.rating-classcustom-loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
}

.rating-classcustom-spinner {
    width: 3rem;
    height: 3rem;
    border: 0.25rem solid rgba(0, 255, 133, 0.3);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.rating-classcustom-no-reviews {
    text-align: center;
    padding: 4rem;
    color: var(--text-secondary);
}

.rating-classcustom-no-reviews i {
    font-size: 3rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.rating-classcustom-btn {
    background-color: var(--primary-color);
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #013b1f;
}

.rating-classcustom-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.rating-classcustom-btn:disabled {
    background-color: var(--text-secondary);
    cursor: not-allowed;
    transform: none;
}

.rating-classcustom-card {
    background-color: var(--secondary-color);
    border-radius: 12px;
    color: var(--text-primary);
    transition: transform 0.3s ease;
}

.rating-classcustom-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.rating-classcustom-date {
    color: var(--text-secondary);
}

.rating-classcustom-review-text {
    color: var(--text-primary);
}

.rating-classcustom-product-name {
    color: var(--primary-color);
    text-decoration: none;
}

.rating-classcustom-product-name:hover {
    text-decoration: underline;
}

.rating-classcustom-fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Style untuk kalkulator WR */
.wr-calculator-container {
    background-color: var(--secondary-color);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 255, 133, 0.1);
}

.wr-calculator-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.wr-input-group {
    margin-bottom: 15px;
}

.wr-input-group label {
    color: var(--text-primary);
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
}

.wr-input-group input {
    width: 100%;
    padding: 10px 15px;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(0, 255, 133, 0.3);
    border-radius: 8px;
    color: var(--text-primary);
    transition: all 0.3s;
}

.wr-input-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 255, 133, 0.2);
    outline: none;
}

.wr-calculate-btn {
    background: linear-gradient(135deg, #00FF85, #00CC6A);
    color: #013b1f;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    margin-top: 10px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 255, 133, 0.3);
}

.wr-calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 133, 0.4);
}

/* style halaman member */
.kokin-card-menu {
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.amount {
    padding: 1rem;
    border-radius: 12px;
    background: rgba(0, 255, 133, 0.05);
    border: 1px solid rgba(0, 255, 133, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.label-amount {
    color: var(--text-muted);
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem !important;
}

.text-amount {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0;
    text-shadow: 0 0 20px rgba(0, 255, 133, 0.3);
}

/* Transaction Section */
.text-transaction {
    margin-bottom: 0 !important;
}

.text-transaction i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.text-all-order {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 133, 0.2);
    background: rgba(0, 255, 133, 0.05);
    transition: all 0.3s ease;
}

/* Transaction Status Cards */
.card-transaction-status {
    margin-bottom: 1rem;
}

.total-status-transaction {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    background: rgba(0, 255, 133, 0.1);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem auto;
    border: 2px solid rgba(0, 255, 133, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.total-status-transaction::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--primary-color), transparent);
    animation: rotate 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.text-status-transaction {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
    margin: 0;
}

.kokin-sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.kokin-nav-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    font-weight: 500;
}

.kokin-nav-link.kokin-nav-active {
    color: var(--primary-color);
    background: rgba(0, 255, 133, 0.1);
    border-color: var(--border-active);
    font-weight: 600;
}

.kokin-nav-icon {
    font-size: 1.1rem;
    width: 20px;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.kokin-nav-text {
    font-weight: inherit;
}

.kokin-logout-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    background: none;
    border: 1px solid transparent;
    color: var(--text-secondary);
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-weight: 500;
}


.kokin-logout-icon {
    font-size: 1.1rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.dt-length, div.dt-container .dt-search, div.dt-container .dt-info, div.dt-container .dt-processing, div.dt-container .dt-paging {
    color: #fff !important;
    font-size: 14px;
}

div.dt-container .dt-input {
    border: 1px solid #000 !important;
    border-radius: 20px !important;
    padding: 5px;
    background-color: #000 !important;
    color: #fff !important;
    max-width: 300px;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease; /* biar halus kalau ganti warna */
}

div.dt-container .dt-input:focus {
    border: 1px solid #000 !important; /* tebal sama kayak default */
    outline: none !important;
    box-shadow: none !important;
}

.table-responsive th, td {
    color: rgba(255, 255, 255, 0.7) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-radius: 5px !important;
    font-size: 14px;
    border: none;
    margin-top: 10px;
}

.table-responsive td {
    vertical-align: middle !important;
    font-size: 13px;
}

.table-responsive .history-id-cell {
    width: 250px;
}

.kokin-deposit-id h1 {
    font-size: 14px;
    color: #00FF85;
    font-weight: bold;
}

.kokin-history-id h1 {
    font-size: 14px;
    color: #00FF85;
    font-weight: bold;
}

.kokin-history-price h3 {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7)
}

.kokin-deposit-price h3 {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7)
}

.table-responsive .kokin-history-item {
    display: flex;
    align-items: center;
    vertical-align: center;
    width: 350px;
}

.table-responsive .kokin-history-item img {
    width: 50px;
    height: 70px;
}

.table-responsive .kokin-history-item h2, p {
    font-size: 13px;
    margin-left: 10px;
}

.table-responsive .history-price-cell {
    width: 150px;
}

.table-responsive .kokin-deposit-item {
    max-width: 100px !important;
}

.table-responsive .kokin-deposit-item h2 {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7) !important;
}

.table-responsive .kokin-deposit-sender h3 {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 13px;
}

.table-responsive .kokin-deposit-status h3 {
    font-size: 13px;
}

.items-tab-category {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-left: 0;
    margin-bottom: 24px;
    border-bottom: none;
    list-style: none;
}

.items-tab-category .nav-item {
    margin-bottom: 0;
}

.items-tab-category .nav-link {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.25s ease;
    cursor: pointer;
    white-space: nowrap;
}

.items-tab-category .nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 255, 133, 0.45);
    color: rgba(255, 255, 255, 0.95);
}

/* Active State */
.items-tab-category .nav-link.active {
    background: #00FF85;
    border: 1px solid #00FF85;
    color: #013b1f;
    font-weight: 600;
    box-shadow: 0 0 8px rgba(0, 255, 133, 0.4);
    transform: translateY(-1px);
}

/* Tab Content Container */
.items-tab-content {
    margin-top: 20px;
    padding: 0;
}

/* Tab Pane */
.items-tab-content .tab-pane {
    animation: fadeInTab 0.4s ease-in-out;
}

.nav-tabs,
.nav-pills {
    border-bottom: none !important;
}
.nav-tabs .nav-link,
.nav-pills .nav-link {
    border: none !important;
    border-bottom: none !important;
}
.nav-tabs .nav-link::before,
.nav-tabs .nav-link::after,
.nav-pills .nav-link::before,
.nav-pills .nav-link::after {
    display: none !important;
}

/* Price List Header Styles */
.price-list-header {
    position: relative;
    padding: 60px 20px;
    margin-bottom: 40px;
    background: linear-gradient(135deg, rgba(0, 255, 133, 0.05) 0%, rgba(0, 255, 133, 0.02) 100%);
    border-radius: 20px;
    overflow: hidden;
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Badge */
.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 255, 133, 0.1);
    border: 1px solid rgba(0, 255, 133, 0.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-color, #00FF85);
    margin-bottom: 20px;
}

.header-badge svg {
    color: var(--primary-color, #00FF85);
}

/* Title */
.header-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #b0b0b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Description */
.header-description {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.header-description strong {
    color: var(--primary-color, #00FF85);
    font-weight: 600;
}

/* Features Grid */
.header-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 255, 133, 0.3);
    transform: translateY(-2px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 133, 0.1);
    border-radius: 10px;
    color: var(--primary-color, #00FF85);
}

.feature-item span {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

/* Decorative Elements */
.header-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 133, 0.1) 0%, transparent 70%);
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
    animation: float 6s ease-in-out infinite reverse;
}

.circle-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 10%;
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(20px, 20px);
    }
}

/* Agent Registration Section */
.agent-registration-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px;
    margin-top: 32px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.agent-registration-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    text-align: center;
}

.agent-registration-text svg {
    color: var(--primary-color, #00FF85);
    flex-shrink: 0;
}

.agent-registration-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--primary-color, #00FF85);
    color: #013b1f;
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.agent-registration-btn:hover {
    background: #33FFА0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 255, 133, 0.3);
    color: #111111;
}

.agent-registration-btn.disabled {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    cursor: not-allowed;
    opacity: 0.6;
}

.agent-registration-btn.disabled:hover {
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.1);
}

.agent-registration-btn svg {
    width: 16px;
    height: 16px;
}

/* Agent Status Section (for existing agents) */
.agent-status-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 28px 32px;
    margin-top: 32px;
    background: linear-gradient(135deg, 
        rgba(0, 255, 133, 0.1) 0%, 
        rgba(0, 255, 133, 0.05) 100%);
    border: 2px solid rgba(0, 255, 133, 0.2);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.agent-status-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 255, 133, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.agent-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary-color, #00FF85);
    color: #013b1f;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 255, 133, 0.3);
    position: relative;
    z-index: 2;
}

.agent-status-badge svg {
    width: 20px;
    height: 20px;
    animation: checkmark 2s ease-in-out infinite;
}

@keyframes checkmark {
    0%, 100% { 
        transform: scale(1);
    }
    50% { 
        transform: scale(1.1);
    }
}

.agent-status-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    margin: 0;
    max-width: 600px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.agent-status-text strong {
    color: var(--primary-color, #00FF85);
    font-weight: 700;
}

.agent-benefits {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.benefit-item svg {
    color: #28a745;
    flex-shrink: 0;
}
/* Filter Period Style */
.filter-period-wrapper {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.filter-period-wrapper label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

#filter-period {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

#filter-period:hover {
    border-color: #00FF85;
}

#filter-period:focus {
    outline: none;
    border-color: #00FF85;
    box-shadow: 0 0 0 3px rgba(0, 255, 133, 0.1);
}

#filter-period option {
    background: #111111;
    color: rgba(255, 255, 255, 0.9);
    padding: 10px;
}

/* Input & Select Base Styles */
.form-field {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    padding: 0.875rem 1rem !important;
    color: var(--text-primary) !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px);
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Input Focus States */
.form-field:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--primary-color) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 255, 133, 0.15), inset 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-1px);
}

/* Placeholder Styles */
.form-field::placeholder {
    color: var(--text-muted) !important;
    font-style: italic;
    font-weight: 400;
}

/* Select Specific Styles */
.form-field[type="text"] {
    background-image: none !important;
}

select.form-field {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQgNkw4IDEwTDEyIDYiIHN0cm9rZT0iIzAwQzJGRiIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+') !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 16px !important;
    padding-right: 3rem !important;
    cursor: pointer;
}

select.form-field option {
    background: var(--secondary-color) !important;
    color: var(--text-primary) !important;
    padding: 0.5rem !important;
    border: none !important;
}

/* Hover Effects */
.form-field:hover:not(:focus) {
    border-color: rgba(0, 255, 133, 0.3) !important;
    background: rgba(255, 255, 255, 0.07) !important;
}

/* Form Group Styling */
.form-deposit .col-md-6,
.form-deposit .col-12 {
    position: relative;
}

/* Enhanced Input Animation */
.form-field {
    position: relative;
}

.form-field::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 1px;
    background: var(--gradient-primary);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.form-field:focus::before {
    opacity: 1;
}

/* Button Styles */
.action-btn-primary {
    background: var(--gradient-primary) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 0.875rem 2rem !important;
    color: #013b1f !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 255, 133, 0.3) !important;
    position: relative;
    overflow: hidden;
}

.action-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

/* Labels for Profile Info */
.col-form-label {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    margin-bottom: 0;
}

/* Readonly Inputs - Profile Info */
.form-control[readonly] {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 10px !important;
    padding: 0.75rem 1rem !important;
    color: var(--text-secondary) !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    cursor: not-allowed;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

/* Join Date Text */
.text-join {
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    position: relative;
}

/* Password Change Form */
.change-password {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    position: relative;
}

/* Password Strength Indicator (optional enhancement) */
.password-strength {
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1.5px;
    margin-top: 0.5rem;
    overflow: hidden;
    position: relative;
}

.password-strength::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 1.5px;
    width: 0%;
    transition: width 0.3s ease;
}

.password-strength.weak::after { width: 25%; background: var(--error-color); }
.password-strength.medium::after { width: 50%; background: var(--warning-color); }
.password-strength.strong::after { width: 75%; background: var(--success-color); }
.password-strength.very-strong::after { width: 100%; background: var(--primary-color); }

.payment-deposit {
    padding: 2rem;
    color: var(--text-primary);
}

/* Header Section */
.invoice-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.invoice-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.invoice-id {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin: 0.5rem 0 0 0;
}

.invoice-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.25rem;
    margin-left: 0;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.8rem;
    margin-top: 1rem;
}

.status-pending {
    background: var(--warning-color);
    color: #000;
}

.status-success {
    background: var(--success-color);
    color: #013b1f;
}

.status-failed {
    background: var(--error-color);
    color: white;
}

.status-expired {
    background: var(--text-muted);
    color: white;
}

/* Amount Section */
.amount-container {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
}

.amount-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.amount-value {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* Info and Warning Boxes */
.info-box, .warning-box {
    border-radius: 6px;
    padding: 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.info-box {
    background: rgba(0, 255, 133, 0.1);
    color: var(--text-primary);
    border-left: 3px solid var(--primary-color);
}

.warning-box {
    background: rgba(255, 107, 107, 0.1);
    color: var(--text-primary);
    border-left: 3px solid var(--error-color);
}

/* Transfer Details */
.transfer-section {
    background: var(--background-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid var(--border-color);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling di iOS */
}

.transfer-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.transfer-details {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0.75rem;
    align-items: center;
}

.transfer-label {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.transfer-value {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.transfer-value:nth-child(8) {
    border-bottom: none;
}

/* Action Button */
.action-section {
    text-align: center;
    margin: 2rem 0 1rem 0;
}

.btn-confirm {
    background: var(--primary-color);
    border: none;
    border-radius: 6px;
    padding: 0.8rem 2rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: #013b1f;
    text-decoration: none;
    transition: background-color 0.2s ease;
    display: inline-block;
}

.btn-confirm:hover {
    background: var(--primary-dark);
    color: white;
    text-decoration: none;
}

/* Status Messages */
.status-message {
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    padding: 1rem;
    border-radius: 6px;
    margin: 1.5rem 0;
}

.status-success-msg {
    background: rgba(76, 175, 80, 0.1);
    color: var(--success-color);
}

.status-failed-msg {
    background: rgba(255, 107, 107, 0.1);
    color: var(--error-color);
}

.status-expired-msg {
    background: rgba(150, 150, 150, 0.1);
    color: var(--text-muted);
}

.badge-level-agen {
    background: rgba(255, 50, 50, 0.18);
    color: #ff5c5c;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid rgba(255, 80, 80, 0.4);
    box-shadow: 0 0 6px rgba(255, 30, 30, 0.25);
}

.badge-level-member {
    background: rgba(0, 255, 133, 0.18);
    color: var(--primary-color);
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 133, 0.4);
    box-shadow: 0 0 6px rgba(0, 255, 133, 0.25);
}

/* ── Log Update Harga ── */
.lh-card {
    background: #161616;
    border: 0.5px solid rgba(0, 255, 133, 0.08);
    border-radius: 16px;
    overflow: hidden;
}

.lh-card-body {
    padding: 1.75rem;
}

.lh-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #f0f0f0;
    margin: 0 0 1.5rem;
}

.lh-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(234, 88, 12, 0.15);
    border-radius: 8px;
    font-size: 16px;
    color: #ea580c;
}

/* Stats */
.lh-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 1.5rem;
}

.lh-stat-box {
    background: #111111;
    border: 0.5px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.lh-stat-num {
    font-size: 28px;
    font-weight: 600;
    line-height: 1;
    color: #f0f0f0;
}

.lh-num-naik { color: #f87171; }
.lh-num-turun { color: #4ade80; }

.lh-stat-lbl {
    font-size: 12px;
    color: #6b7280;
}

/* Log List */
.lh-log-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 4px;
}

.lh-log-list::-webkit-scrollbar {
    width: 4px;
}

.lh-log-list::-webkit-scrollbar-track {
    background: transparent;
}

.lh-log-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.lh-log-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lh-log-item {
    background: #111111;
    border: 0.5px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1rem 1.15rem;
    transition: border-color 0.15s ease;
}

.lh-log-item:hover {
    border-color: rgba(255, 255, 255, 0.14);
}

.lh-log-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 6px;
}

.lh-log-title-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lh-log-name {
    font-size: 14px;
    font-weight: 600;
    color: #e5e7eb;
    margin: 0;
}

.lh-log-product {
    font-size: 12px;
    color: #60a5fa;
    font-weight: 500;
}

.lh-log-code {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 9px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.lh-code-naik {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.lh-code-turun {
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
}

.lh-log-msg {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.55;
    margin: 0 0 10px;
}

.lh-log-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.lh-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}

.lh-badge-naik {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.lh-badge-turun {
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
}

.lh-log-date {
    font-size: 11px;
    color: #4b5563;
}

/* Empty State */
.lh-empty {
    text-align: center;
    padding: 3.5rem 1rem;
}

.lh-empty-icon {
    font-size: 40px;
    color: #374151;
    margin-bottom: 1rem;
    line-height: 1;
}

.lh-empty-title {
    font-size: 16px;
    font-weight: 600;
    color: #9ca3af;
    margin: 0 0 6px;
}

.lh-empty-sub {
    font-size: 13px;
    color: #4b5563;
    margin: 0;
}

.lh-restricted {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem 1.5rem;
}

.lh-restricted-illustration svg {
    width: 200px;
    height: 160px;
    margin-bottom: 1.5rem;
}

.lh-restricted-title {
    font-size: 18px;
    font-weight: 600;
    color: #e5e7eb;
    margin: 0 0 10px;
}

.lh-restricted-desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.65;
    max-width: 380px;
    margin: 0 0 1.75rem;
}

.lh-restricted-desc strong {
    color: #9ca3af;
    font-weight: 600;
}

.lh-restricted-cta {
    background: #111111;
    border: 0.5px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.1rem 1.5rem;
    width: 100%;
    max-width: 340px;
}

.lh-restricted-cta-text {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 12px;
}

.lh-restricted-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #00FF85;
    color: #013b1f;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s ease, transform 0.1s ease;
}

.lh-restricted-btn:hover {
    background: #00CC6A;
    color: #ffffff;
    transform: translateY(-1px);
}

.lh-restricted-btn:active {
    transform: translateY(0);
}

.lh-restricted-btn i {
    font-size: 15px;
}
/* end style */

@media (hover: none) {
    .nav-link:active::after {
        width: 100%;
    }
}

@media (max-width: 991.98px) {
    body {
        padding-top: 90px;
    }

    .offcanvas {
        background-color: rgba(13, 13, 13, 0.97);
        width: 90% !important;
    }
    
    .offcanvas.offcanvas-start,
    .offcanvas.offcanvas-end {
        width: 65% !important
        height: 100% !important;
        min-height: 100vh !important;
        top: 0 !important;
        bottom: 0 !important;
        overflow-y: auto !important;
    }

    .navbar {
        padding: 1rem;
    }

    .navbar-brand img {
        width: 40px;
        height: 40px;
    }

    .nav-link {
        width: fit-content;
        display: inline-block;
        margin-top: 15px;
    }

    .nav-link::after {
        bottom: -2px;
    }

    .btn-user { 
        margin-top: 15px;
     }

    .search-form {
        display: none;
    }
    
    .search-form.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1rem;
        background-color: rgba(22, 22, 22, 0.95);
    }

    .search-results {
        top: 100%;
    }
    
    .mobile-search-toggle {
        display: block !important;
    }

    .carousel-background {
        margin: -10px auto 0 auto;
        padding: 5px 10px;
    }
    
    .carousel-container {
        padding: -10px 0;
    }

    .carousel-item {
        border-radius: 10px;
        height: auto; /* Hapus fixed height */
        max-height: 400px; /* Opsional: set max height jika diperlukan */
    }
    
    .carousel-item img {
        object-fit: contain; /* Tampilkan gambar penuh */
        max-height: 100%;
    }

    /* Menyesuaikan ukuran tombol navigasi */
    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
    }

    .carousel-control-prev {
        left: 15px;
    }

    .carousel-control-next {
        right: 15px;
    }
    .login-btn, .signup-btn {
        margin-top: 20px;
        padding: 5px 12px;
    }

    .btn-tabs {
        font-size: 12px;
    }

    .nav-pills {
        margin-bottom: 25px !important;
    }

    .title-heading-product {
        font-size: 13px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .sub-heading-product {
        font-size: 12px;
        margin-bottom: 2rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .col-4 {
        padding: 0 6px;
        margin-bottom: 5px;
    }

    .tab-content {
        padding: 0 25px;
    }
}
@media (max-width: 768px) { /* Maksimal ukuran tablet (mode mobile) */
    .btn-user {
        margin-top: 5px !important; /* Atur ulang margin untuk mode mobile */
    }

    .carousel-item img {
        height: auto; /* Tinggi auto untuk mobile */
        max-height: 400px;
        object-fit: contain; /* Contain untuk mobile */
        object-position: center;
    }
    
    /* Perbesar ukuran kontrol untuk touch device */
    .carousel-control-prev,
    .carousel-control-next {
        width: 8%;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 20px;
        height: 20px;
    }

    .popular-product-wrapper {
        padding: 0 12px;
        overflow: hidden; /* cegah overflow ke kanan */
    }

    .popular-products-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px; /* kurangin gap */
        overflow: hidden;
        padding: 0 0 10px;
        margin: 0 !important;
        width: 100%;
        box-sizing: border-box;
    }

    .popular-product {
        width: 100% !important;
        max-width: 100% !important;
        flex: unset;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
        overflow: hidden; /* penting buat ellipsis */
    }

    .kokin-popular-product {
        overflow: hidden;
    }

    .kokin-popular-product .card-body {
        padding: 15px 10px;
        overflow: hidden;
    }

    .kokin-popular-product .d-flex.justify-content-start {
        overflow: hidden;
        flex-wrap: nowrap;
    }

    .kokin-popular-product .d-flex.justify-content-start > div:last-child {
        overflow: hidden;
        min-width: 0;
        flex: 1;
    }

    .image-popular {
        width: 38px !important;
        height: 38px !important;
        border-radius: 8px;
        flex-shrink: 0;
    }

    .title-product {
        font-size: 12px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        margin-bottom: 2px;
        display: block;
    }

    .kokin-popular-product .card-body .text-muted {
        font-size: 11px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block !important;
        max-width: 100%;
    }

    .kokin-card-footer {
        padding: 4px 10px;
        overflow: hidden;
    }

    .text-view {
        font-size: 11px;
        white-space: nowrap;
    }

    .product-order {
        margin-top: -10px!important;
        padding: 0 15px;
    }

    .product-header {
        padding: 32px 20px;
    }
    
    .product-header-decoration,
    .geometric-shapes,
    .tech-lines {
        display: none;
    }
    
    .product-title {
        font-size: 28px;
        margin-top: 20px;
        text-align: center;
    }
    
    .product-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .product-image {
        width: 140px;
        height: 180px;
        border-radius: 16px;
        display: block;
        margin: 0 auto 20px auto;
    }
    
    .product-description {
        font-size: 14px;
        text-align: center;
        margin-bottom: 20px;
        padding-left: 0;
    }
    
    .product-description::before,
    .product-description::after {
        display: none;
    }
    
    .item-name {
        font-size: 13px;
    }
    
    .item-price {
        font-size: 13px;
    }
    
    .summary-card {
        margin-top: 24px;
        padding: 20px;
    }

    .item-card {
        padding: 12px;
        max-height: 300px;
    }

    .payment-method-card {
        padding: 12px;
    }

    .tab-content {
        padding: 20px;
    }

    .si-invoice-card {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .si-title {
        font-size: 1.5rem;
    }
    
    .si-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .kokin-card-menu {
        margin-top: 20px;
    }
    .payment-deposit {
        padding: 1.5rem;
    }
    
    .amount-value {
        font-size: 1.5rem;
    }
    
    .transfer-label {
        margin-bottom: 0.25rem;
    }
    
    .btn-confirm {
        width: 100%;
        padding: 1rem;
    }
    
    .items-tab-category {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(0, 255, 133, 0.3) transparent;
        padding-bottom: 8px;
        margin-bottom: 20px;
        gap: 8px;
    }
    
    .items-tab-category::-webkit-scrollbar {
        height: 4px;
    }
    
    .items-tab-category::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 2px;
    }
    
    .items-tab-category::-webkit-scrollbar-thumb {
        background: rgba(0, 255, 133, 0.4);
        border-radius: 2px;
    }
    
    .items-tab-category::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 255, 133, 0.6);
    }
    
    .items-tab-category .nav-item {
        flex-shrink: 0;
    }
    
    .items-tab-category .nav-link {
        background: rgba(255, 255, 255, 0.07);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: rgba(255, 255, 255, 0.88);
        padding: 10px 16px;
        font-size: 13px;
        font-weight: 500;
        border-radius: 8px;
        transition: all 0.25s ease;
    }
    
    .items-tab-category .nav-link:hover {
        background: rgba(255, 255, 255, 0.12);
        color: rgba(255, 255, 255, 1);
        border-color: rgba(0, 255, 133, 0.5);
    }
    
    .items-tab-category .nav-link.active {
        background: #00FF85;
        border: 1px solid #00FF85;
        color: #013b1f;
        font-weight: 600;
    }
    
    .items-tab-content {
        margin-top: 16px;
    }
    
    .items-tab-category .nav-link {
        outline: none;
    }
    
    .items-tab-category .nav-link.active {
        position: relative;
    }
    
    .items-tab-category .nav-link.active::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -3px;
        width: 100%;
        height: 3px;
        background: var(--primary-color);
        border-radius: 2px;
    }
    
    /* Table Responsive - Mobile */
    .table-responsive {
        margin-bottom: 16px;
        border-radius: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .dt-items {
        font-size: 12px;
        min-width: 100%;
        margin-bottom: 0;
    }
    
    .dt-items thead th {
        padding: 12px 8px;
        font-size: 11px;
        font-weight: 600;
        white-space: nowrap;
        background: rgba(255, 255, 255, 0.05);
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
        vertical-align: middle;
    }
    
    .dt-items tbody td {
        padding: 12px 8px;
        font-size: 12px;
        vertical-align: middle;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    /* Column specific width for better layout */
    .dt-items th:nth-child(1),
    .dt-items td:nth-child(1) {
        width: 40px;
        text-align: left;
    }
    
    .dt-items th:nth-child(2),
    .dt-items td:nth-child(2) {
        min-width: 140px;
        max-width: 200px;
    }
    
    .dt-items th:nth-child(3),
    .dt-items td:nth-child(3),
    .dt-items th:nth-child(4),
    .dt-items td:nth-child(4) {
        min-width: 100px;
        text-align: left;
    }
    
    .dt-items th:nth-child(5),
    .dt-items td:nth-child(5) {
        min-width: 80px;
        text-align: center;
    }
    
    /* Badge/Status styling for mobile */
    .dt-items .badge {
        font-size: 10px;
        padding: 4px 8px;
    }
    
    /* Price formatting */
    .dt-items td:nth-child(3),
    .dt-items td:nth-child(4) {
        white-space: nowrap;
    }
    
    .price-list-header {
        padding: 40px 16px;
        margin-bottom: 32px;
        border-radius: 16px;
    }
    
    .header-title {
        font-size: 28px;
    }
    
    .header-description {
        font-size: 14px;
        margin-bottom: 24px;
    }
    
    .header-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .feature-item {
        padding: 12px;
    }
    
    .feature-icon {
        width: 36px;
        height: 36px;
    }
    
    .feature-item span {
        font-size: 12px;
    }
    
    .agent-registration-section {
        padding: 16px;
        gap: 12px;
    }
    
    .agent-registration-text {
        font-size: 12px;
    }
    
    .agent-registration-btn {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .agent-status-section {
        padding: 20px 16px;
        gap: 12px;
    }
    
    .agent-status-badge {
        font-size: 12px;
        padding: 8px 16px;
    }
    
    .agent-status-text {
        font-size: 12px;
    }
    
    .agent-benefits {
        gap: 12px;
        flex-direction: column;
        align-items: center;
    }
    
    .benefit-item {
        font-size: 12px;
    }
    
    .summary-card {
        padding: 20px;
        border-radius: 16px;
    }
    
    .summary-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .summary-row {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .summary-value {
        font-size: 14px;
    }
    
    .summary-total {
        font-size: 20px;
    }
    
    .btn-submit-order {
        padding: 14px 20px;
        font-size: 15px;
    }
}