/* CSS Unik untuk Halaman Produk Game - GamerCharge */

/* Filter dan Pencarian */
.gc-filter-container {
    background-color: rgba(var(--primary-rgb), 0.5);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.gc-filter-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="%2300FF00" fill-opacity="0.05" d="M0 0h10v10H0zm10 10h10v10H10z"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.gc-filter-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gc-filter-label {
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 0;
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(var(--secondary-rgb), 0.5);
    letter-spacing: 1px;
}

.gc-select-game {
    background-color: rgba(var(--dark-rgb), 0.7);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%2300FF00" d="M6 9L1 4h10z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
}

.gc-select-game:focus {
    outline: none;
    border-color: var(--accent);
    background-color: rgba(var(--dark-rgb), 0.5);
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.3);
}

.gc-search-container {
    width: 100%;
    position: relative;
}

.gc-search-form {
    position: relative;
    width: 100%;
}

.gc-search-input {
    background-color: rgba(var(--dark-rgb), 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 15px 12px 45px;
    width: 100%;
    color: #ffffff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.gc-search-input:focus {
    outline: none;
    border-color: var(--accent);
    background-color: rgba(var(--dark-rgb), 0.5);
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.3);
}

.gc-search-form i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.gc-search-input:focus + i {
    color: var(--accent);
}

/* Tabel Produk */
.gc-table-container {
    background-image: var(--card-gradient);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    position: relative;
}

.gc-table-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--secondary), var(--accent));
}

.gc-table-header {
    background-image: linear-gradient(135deg, rgba(var(--primary-rgb), 0.9), rgba(var(--dark-rgb), 0.95));
    padding: 25px;
    position: relative;
    overflow: hidden;
}

.gc-table-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="%2300FF00" fill-opacity="0.03" d="M0,0V24H24V0ZM22,22H2V2H22Z"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.gc-table-header h3 {
    color: var(--text-primary);
    font-weight: 700;
    margin: 0;
    font-size: 1.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    position: relative;
}

.gc-product-table {
    margin-bottom: 0;
    color: var(--text-primary);
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.gc-product-table thead th {
    background-color: rgba(var(--dark-rgb), 0.8);
    color: var(--secondary);
    font-weight: 700;
    padding: 20px;
    text-align: left;
    border-bottom: 2px solid rgba(var(--accent-rgb), 0.3);
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(var(--secondary-rgb), 0.5);
    position: sticky;
    top: 0;
    z-index: 10;
}

.gc-product-table thead th:first-child {
    border-top-left-radius: 10px;
}

.gc-product-table thead th:last-child {
    border-top-right-radius: 10px;
    text-align: center;
}

.gc-product-table tbody tr {
    background-color: rgba(var(--dark-rgb), 0.3);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.gc-product-table tbody tr:hover {
    background-color: rgba(var(--accent-rgb), 0.1);
    transform: scale(1.01);
    z-index: 1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.gc-product-table tbody tr::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(to right, var(--secondary), var(--accent));
    transition: width 0.5s ease;
}

.gc-product-table tbody tr:hover::after {
    width: 100%;
}

.gc-product-table td {
    padding: 20px;
    vertical-align: middle;
    color: var(--text-secondary);
    border-top: none;
    transition: all 0.3s ease;
}

.gc-product-table tbody tr:hover td {
    color: var(--text-primary);
}

/* Kolom Produk */
.gc-product-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.gc-product-image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    background-color: rgba(var(--primary-rgb), 0.5);
    padding: 5px;
}

.gc-product-table tbody tr:hover .gc-product-image {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.gc-product-name {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.gc-product-description {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.gc-product-table tbody tr:hover .gc-product-name {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(var(--accent-rgb), 0.3);
}

.gc-product-table tbody tr:hover .gc-product-description {
    color: var(--text-secondary);
}

/* Kolom Game */
.gc-game-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    gap: 8px;
    background-color: rgba(var(--primary-rgb), 0.7);
    color: var(--text-primary);
    border: 1px solid rgba(var(--secondary-rgb), 0.3);
    transition: all 0.3s ease;
}

.gc-game-badge-icon {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 50%;
}

.gc-product-table tbody tr:hover .gc-game-badge {
    background-color: rgba(var(--secondary-rgb), 0.15);
    border-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* Kolom Harga */
.gc-price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.gc-price-normal {
    font-weight: 700;
    color: var(--secondary);
    font-size: 1.3rem;
    text-shadow: 0 0 10px rgba(var(--secondary-rgb), 0.3);
    transition: all 0.3s ease;
}

.gc-price-original {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.gc-price-discount {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    background-color: rgba(var(--accent-rgb), 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.gc-product-table tbody tr:hover .gc-price-normal {
    transform: scale(1.1);
}

.gc-product-table tbody tr:hover .gc-price-discount {
    background-color: rgba(var(--accent-rgb), 0.2);
}

/* Kolom Aksi */
.gc-action-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.gc-btn-action {
    padding: 8px 15px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.gc-btn-action::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--secondary), var(--accent));
    opacity: 0;
    z-index: -1;
    transition: all 0.4s ease;
}

.gc-btn-buy {
    background-color: rgba(var(--secondary-rgb), 0.8);
    color: var(--dark);
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gc-btn-view {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.gc-btn-action:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.gc-btn-action:hover::before {
    opacity: 1;
}

.gc-btn-buy:hover {
    color: var(--dark);
}

.gc-btn-view:hover {
    color: var(--dark);
    border-color: transparent;
}

/* Game Cards */
.gc-game-card {
    background-image: var(--card-gradient);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    transition: all 0.3s ease;
    height: 100%;
    cursor: pointer;
}

.gc-game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-color: var(--accent);
}

.gc-game-img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gc-game-card:hover .gc-game-img {
    transform: scale(1.1);
}

.gc-game-content {
    padding: 15px;
    position: relative;
}

.gc-game-content::before {
    content: "";
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 30px;
    background: linear-gradient(to top, rgba(var(--dark-rgb), 0.9), transparent);
}

.gc-game-title {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-align: center;
}

.gc-game-btn {
    width: 100%;
    padding: 8px 0;
    font-size: 0.85rem;
    font-weight: 600;
    background-color: rgba(var(--secondary-rgb), 0.2);
    color: var(--secondary);
    border: 1px solid var(--secondary);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.gc-game-btn:hover {
    background-color: var(--secondary);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Info Cards */
.gc-info-card {
    background-image: var(--card-gradient);
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(var(--accent-rgb), 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gc-info-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(var(--accent-rgb), 0.1),
        transparent
    );
    transition: 0.5s;
    z-index: 1;
}

.gc-info-card:hover::before {
    left: 100%;
}

.gc-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(var(--accent-rgb), 0.3);
}

.gc-info-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.gc-info-card-header i {
    font-size: 2rem;
    color: var(--secondary);
    margin-right: 15px;
    transition: all 0.3s ease;
}

.gc-info-card:hover .gc-info-card-header i {
    color: var(--accent);
    transform: scale(1.2);
}

.gc-info-card-header h3 {
    color: var(--text-primary);
    font-weight: 700;
    margin: 0;
    font-size: 1.4rem;
}

.gc-info-card-body {
    position: relative;
    z-index: 2;
}

.gc-info-card-body p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Loading Indicator */
.gc-spinner {
    display: inline-block;
}

.gc-loading-text {
    color: var(--accent);
    font-weight: 600;
}

/* Empty State */
.gc-empty-state {
    background-color: rgba(var(--primary-rgb), 0.3);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(var(--secondary-rgb), 0.1);
}

.gc-not-found-icon {
    width: 100px;
    height: 100px;
    background-color: rgba(var(--secondary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 3rem;
    color: var(--secondary);
    border: 2px solid rgba(var(--secondary-rgb), 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Memperbaiki masalah scrolling */
.table-responsive {
    overflow-x: visible !important; /* Disable scrolling horizontal */
}

/* Jika tabel terlalu lebar, kita atur agar bisa menyesuaikan ukuran layar */
@media (max-width: 991px) {
    .gc-product-table {
        width: 100% !important;
        min-width: unset !important; /* Hapus min-width yang menyebabkan scroll */
    }
    
    /* Menyesuaikan tampilan tabel pada tampilan mobile */
    .gc-product-table td,
    .gc-product-table th {
        padding: 10px !important;
    }
    
    /* Memperkecil gambar produk */
    .gc-product-image {
        width: 40px;
        height: 40px;
    }
    
    /* Memperkecil font */
    .gc-product-name {
        font-size: 0.9rem;
    }
    
    .gc-product-description {
        font-size: 0.75rem;
    }
    
    /* Memperkecil badge game */
    .gc-game-badge {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
    
    /* Memperkecil harga */
    .gc-price-normal {
        font-size: 1rem;
    }
    
    /* Mengatur tombol action agar responsive */
    .gc-btn-action {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

/* Responsive untuk layar sangat kecil */
@media (max-width: 575px) {
    .gc-product-table {
        display: flex;
        flex-direction: column;
    }
    
    .gc-product-table thead {
        display: none; /* Sembunyikan header pada mobile */
    }
    
    .gc-product-table tbody {
        display: flex;
        flex-direction: column;
    }
    
    .gc-product-table tr {
        display: flex;
        flex-direction: column;
        margin-bottom: 15px;
        padding: 15px;
        border-radius: 10px;
    }
    
    .gc-product-table td {
        display: flex;
        width: 100%;
        padding: 5px 0 !important;
        border: none;
    }
    
    /* Tambahkan label untuk setiap kolom */
    .gc-product-table td:nth-child(2)::before {
        content: "Game: ";
        font-weight: 700;
        color: var(--secondary);
        margin-right: 5px;
    }
    
    .gc-product-table td:nth-child(3)::before {
        content: "Harga: ";
        font-weight: 700;
        color: var(--secondary);
        margin-right: 5px;
    }
    
    /* Penyesuaian lainnya */
    .gc-product-info {
        width: 100%;
    }
    
    .gc-action-buttons {
        width: 100%;
        margin-top: 10px;
    }

    
    
}
/* CSS untuk Modal Detail Produk (Bootstrap) */

/* Backdrop modal */
.modal-backdrop {
    background-color: rgba(var(--dark-rgb), 0.8);
    backdrop-filter: blur(5px);
}

/* Konten modal */
.product-modal-content {
    background-image: var(--card-gradient);
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

/* Header Modal */
.product-modal-header {
    background-image: linear-gradient(135deg, rgba(var(--primary-rgb), 0.9), rgba(var(--dark-rgb), 0.95));
    padding: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.product-modal-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--secondary), var(--accent));
}

.product-modal-category {
    display: inline-flex;
    align-items: center;
    padding: 5px 15px;
    background-color: rgba(var(--secondary-rgb), 0.2);
    border: 1px solid rgba(var(--secondary-rgb), 0.3);
    border-radius: 20px;
    margin-bottom: 15px;
}

.product-modal-category-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 8px;
    object-fit: cover;
}

.product-modal-category span {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

.product-modal-title {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.product-modal-id {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.btn-close-white {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.btn-close-white:hover {
    opacity: 1;
    transform: rotate(90deg);
}

/* Body Modal */
.product-modal-body {
    padding: 25px;
    max-height: 400px;
    overflow-y: auto;
}

.product-modal-body::-webkit-scrollbar {
    width: 8px;
}

.product-modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.product-modal-body::-webkit-scrollbar-thumb {
    background: rgba(var(--accent-rgb), 0.3);
    border-radius: 4px;
}

.product-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--accent-rgb), 0.5);
}

.product-modal-section {
    margin-bottom: 25px;
}

.product-modal-section:last-child {
    margin-bottom: 0;
}

.product-modal-section-title {
    color: var(--secondary);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.product-modal-section-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--secondary), var(--accent));
    border-radius: 1.5px;
}

.product-modal-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Info Grid */
.product-modal-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.product-modal-info-item {
    background-color: rgba(var(--primary-rgb), 0.4);
    border-radius: 10px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-modal-info-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.product-modal-info-value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Price Container */
.product-modal-price-container {
    background-color: rgba(var(--accent-rgb), 0.1);
    border-radius: 15px;
    padding: 15px;
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    position: relative;
    overflow: hidden;
}

.product-modal-price-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    animation: modal-shine 3s infinite linear;
    z-index: 1;
}

@keyframes modal-shine {
    0% {
        transform: translate(-100%, -100%) rotate(30deg);
    }
    100% {
        transform: translate(100%, 100%) rotate(30deg);
    }
}

.product-modal-price-row {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.product-modal-price-original {
    color: var(--text-muted);
    font-size: 1rem;
    text-decoration: line-through;
}

.product-modal-price-final {
    color: var(--secondary);
    font-weight: 800;
    font-size: 1.8rem;
    text-shadow: 0 0 10px rgba(var(--secondary-rgb), 0.5);
}

.product-modal-price-profit {
    background-color: rgba(var(--accent-rgb), 0.2);
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 10px;
    position: relative;
    z-index: 2;
}

/* Footer Modal */
.product-modal-footer {
    display: flex;
    gap: 15px;
    padding: 20px 25px;
    background-color: rgba(var(--dark-rgb), 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-modal-action {
    flex: 1;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.btn-modal-buy {
    background-color: var(--secondary);
    color: var(--dark);
    border: none;
    box-shadow: 0 5px 15px rgba(var(--secondary-rgb), 0.4);
}

.btn-modal-buy:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.5);
    color: var(--dark);
}

.btn-modal-close {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-3px);
}

/* Animasi untuk modal */
.modal.fade .modal-dialog {
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal.show .modal-dialog {
    transform: scale(1);
    opacity: 1;
}

/* Responsive untuk modal */
@media (max-width: 767px) {
    .product-modal-header {
        padding: 20px;
    }
    
    .product-modal-title {
        font-size: 1.5rem;
    }
    
    .product-modal-body {
        padding: 20px;
        max-height: 350px;
    }
    
    .product-modal-info-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .product-modal-price-final {
        font-size: 1.5rem;
    }
    
    .product-modal-footer {
        flex-direction: column;
        padding: 15px 20px;
    }
}
/* CSS untuk Flash Sale di halaman price */
.gc-price-container .flashsale-badge {
    position: absolute;
    right: -10px;
    top: -10px;
    background-color: #FF4D4D;
    color: white;
    font-weight: bold;
    font-size: 0.75rem;
    padding: 5px 10px;
    border-radius: 20px;
    z-index: 10;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    animation: pulse-flashsale 1.5s infinite;
}

@keyframes pulse-flashsale {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 77, 77, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 77, 77, 0);
    }
}

.gc-product-table tbody tr.flashsale-row {
    background-color: rgba(255, 77, 77, 0.05);
    border-left: 3px solid #FF4D4D;
}

.gc-product-table tbody tr.flashsale-row:hover {
    background-color: rgba(255, 77, 77, 0.1);
}

.gc-price-normal.flashsale {
    color: #FF4D4D;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(255, 77, 77, 0.3);
}

.gc-price-discount.flashsale {
    background-color: #FF4D4D;
    color: white;
    font-weight: bold;
}

/* Flash Sale Styles */
.flash-sale-product {
    position: relative;
    animation: pulse-bg 2s infinite;
}

.gc-flash-sale-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--secondary);
    color: var(--dark);
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
    font-weight: 700;
    vertical-align: middle;
    animation: pulse 1.5s infinite;
}

.gc-flash-sale-price {
    color: var(--accent) !important;
    font-size: 1.4rem !important;
    animation: flash-price 2s infinite;
}

.gc-flash-sale-discount {
    background-color: var(--secondary) !important;
    color: var(--dark) !important;
    font-weight: 700;
}

.gc-flash-sale-timer {
    font-size: 0.8rem;
    color: var(--secondary);
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.gc-flash-sale-timer:before {
    content: "\f017"; /* Font Awesome clock icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.gc-flash-sale-timer .countdown {
    font-weight: 700;
}

.gc-flash-sale-ended {
    color: var(--danger);
    font-weight: 700;
}

/* Modal Flash Sale Styles */
.product-modal-flash-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--secondary);
    color: var(--dark);
    font-size: 0.8rem;
    padding: 3px 10px;
    border-radius: 12px;
    margin-left: 10px;
    font-weight: 700;
    vertical-align: middle;
    animation: pulse 1.5s infinite;
}

.product-modal-flash-price {
    color: var(--accent) !important;
    animation: flash-price 2s infinite;
}

.product-modal-flash-timer {
    font-size: 0.9rem;
    color: var(--secondary);
    margin-top: 10px;
    padding: 8px 15px;
    background-color: rgba(var(--secondary-rgb), 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-modal-flash-timer:before {
    content: "\f017"; /* Font Awesome clock icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 1.1rem;
}

.product-modal-price-discount {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--dark);
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 5px;
    margin-top: 5px;
}

/* Animations */
@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

@keyframes pulse-bg {
    0% {
        background-color: rgba(var(--dark-rgb), 0.3);
    }
    50% {
        background-color: rgba(var(--secondary-rgb), 0.05);
    }
    100% {
        background-color: rgba(var(--dark-rgb), 0.3);
    }
}

@keyframes flash-price {
    0% {
        text-shadow: 0 0 5px rgba(var(--accent-rgb), 0.5);
    }
    50% {
        text-shadow: 0 0 15px rgba(var(--accent-rgb), 0.8);
    }
    100% {
        text-shadow: 0 0 5px rgba(var(--accent-rgb), 0.5);
    }
}