/* start mobile */
.main-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 !important;
    width: 100%;
    background: white;
    position: relative;
}
/* .main-container .content-main {
    padding: 0 15px;
} */

#mkdf-back-to-top {
    position: fixed;
    right: 25px;
    bottom: 85px;
}

.container {
    max-width: 1200px !important;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}
/* end mobile */

/* Bottom Navigation Container */
.bottom-nav-wrapper {
    position: fixed;
    bottom: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px 0;
    max-width: 500px !important;
    width: 100%;
}

/* Bottom Navigation Container */
.bottom-nav-wrapper {
    position: fixed;
    bottom: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px 15px;
    max-width: 500px !important;
    width: 100%;
}

/* Bottom Navigation */
.bottom-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    background: white;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #666;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    padding: 5px;
    border-radius: 8px;
    flex: 1;
    text-align: center;
}

.nav-item:hover {
    color: #61298a;
}

.nav-item.active {
    color: #61298a;
}

.nav-item i {
    width: 22px;
    height: 22px;
    margin-bottom: 4px;
    stroke-width: 1.5;
}

.nav-item span {
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

/* iOS safe area support */
@supports (padding: max(0px)) {
    .bottom-nav-wrapper {
        padding-bottom: max(10px, env(safe-area-inset-bottom));
    }
}

/* Active state animation */
.nav-item.active i {
    animation: bounce 0.3s ease;
}

.navigation-buttoms {
    position: relative;
    justify-content: center;
    display: flex;
    position: relative;
}

.qurban-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-decoration: none;
    flex: 1;
    max-width: 70px;
}

.qurban-nav {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #61298a;
    color: white !important;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 10;
}

.qurban-nav:hover {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.3);
}

.qurban-nav:active {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.qurban-icon img {
    width: 30px;
    height: 30px;
}

.qurban-text {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    margin-top: 26px;
    color: #726161;
    transition: color 0.3s ease;
}

.qurban-wrapper:hover .qurban-text {
    color: #61298a;
}

.qurban-wrapper.active .qurban-text {
    color: #61298a;
    font-weight: 500;
}

.qurban-wrapper:hover .qurban-nav {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.3);
}

.qurban-wrapper:active .qurban-nav {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

@keyframes bounce {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* start header */
.header-anim {
    width: 100%;
}

.header-anim .top-bar-right {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.header-anim .navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
/* end header */

/* start mobile header */
.mobile-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Top Bar Styles */
.mobile-topbar {
    background: #61298a;
    padding: 8px 0;
}

.feather-small {
    width: 18px;
    height: 18px;
}

/* Navigation Styles */
.mobile-nav {
    padding: 15px 0;
}

.mobile-logo {
    height: 40px;
    width: auto;
}

/* Profile Button Styles */
.mobile-profile-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #61298a;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Offcanvas Menu Styles */
.offcanvas {
    width: 280px;
}

.offcanvas-header {
    padding: 1rem;
    background: #61298a;
    color: white;
}

.offcanvas-header .btn-close {
    filter: brightness(0) invert(1);
}

/* Mobile Dropdown Styles */
.mobile-dropdown {
    position: relative;
    padding: 10px 15px;
}

.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.mobile-dropdown-menu {
    display: none;
    list-style: none;
    padding-left: 15px;
    margin-top: 10px;
}

.mobile-dropdown-menu.show {
    display: block;
}

.mobile-dropdown-menu li a {
    display: block;
    padding: 8px 0;
    color: #333;
    text-decoration: none;
}

/* Auth Buttons Styles */
.btn-primary {
    background-color: #61298a;
    border-color: #61298a;
}

.btn-outline-primary {
    color: #61298a;
    background-color: white;
    border-color: #61298a;
}

.btn-outline-secondary {
    color: #98cb46;
    background-color: white;
    border-color: #98cb46;
}

/* Navbar Toggler */
.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Add some animation for the dropdown */
.mobile-dropdown-menu {
    transition: all 0.3s ease;
}

.mobile-dropdown-toggle i {
    transition: transform 0.3s ease;
}

.mobile-dropdown-toggle.active i {
    transform: rotate(180deg);
}

/* footer start */
.footer {
    background-color: #61298a;
    color: #ffffff;
    padding: 2rem 0;
    width: 100%;
    position: relative;
    margin-bottom: 0;
}

.footer-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.875rem;
    transition: opacity 0.2s;
}

.footer-nav a:hover {
    opacity: 0.8;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: var(--accent-color);
}

.social-icon i {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-copyright {
    text-align: center;
    font-size: 0.875rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-bottom: 70px;
}

.footer-copyright p {
    margin: 0.5rem 0;
}

.dev-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.dev-link:hover {
    color: white;
    opacity: 0.8;
}

/* Mobile Responsiveness */
@media (max-width: 767.98px) {
    .footer {
        margin-bottom: 56px;
        /* Height of bottom navigation */
    }

    .footer-nav {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .social-links {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
}
/* footer end */

/* start slider */
.slider-section {
    width: 100%;
}

.slider-container {
    position: relative;
}

.slider-item {
    position: relative;
    padding-top: 56.25%;
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* end slider */

/* Section Header */
.btn-link {
    color: #61298a;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
}

.btn-link:hover {
    color: #4b206d;
}

/* Categories Slider */
.categories-wrapper {
    position: relative;
    margin: 0 -15px;
    padding: 0 15px;
}

.categories-wrapper::after {
    content: "";
    display: block;
    height: 15px;
    width: 100%;
    position: relative;
}

.categories-slider {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding: 5px 0 15px 0; 
    
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.categories-slider::-webkit-scrollbar {
    height: 6px; 
}

.categories-slider::-webkit-scrollbar-track {
    background: transparent;
}

.categories-slider::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}

.category-item {
    min-width: 100px;
    background: white;
    border: 1px solid #e1e1e1;
    padding: 8px 16px;
    border-radius: 20px;
    white-space: nowrap;
    font-size: 0.875rem;
    color: #666;
    transition: all 0.3s ease;
}

.category-item.active {
    background: #61298a;
    color: white;
    border-color: #61298a;
}

/* Packages Grid */
.packages-grid {
    /*display: flex;*/
    /*flex-wrap: wrap;*/
    /*gap: 15px;*/
    /*justify-content: space-between;*/
    postition: relative;
    min-height: 300px;
    margin-top: 20px;
}

/* Package Card */
.package-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.package-card:hover {
    transform: translateY(-5px);
}

.package-image {
    position: relative;
    padding-top: 55%;
    overflow: hidden;
}

.package-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.package-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #61298a;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: #61298a;
    color: white;
}

.package-content {
    padding: 15px;
}

.package-title {
    font-size: 0.875rem;
    margin: 0 0 8px;
    line-height: 1.4;
}

.package-title a {
    color: #333;
    text-decoration: none;
}

.package-price {
    color: #61298a;
    font-size: 1rem;
    font-weight: bold;
    display: inline-block;
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff3b30;
    color: white;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.current-price {
    font-weight: bold;
    display: inline-block;
    margin-right: 10px;
}

.original-price {
    text-decoration: line-through;
    color: #777;
    font-size: 0.85rem;
    font-weight: normal;
    display: inline-block;
}

.discount-timer {
    color: #e74c3c;
    font-size: 0.8rem;
}

.discount-timer i {
    font-size: 0.75rem;
}

/* start beranda artikel */
.modern-articles {
    padding: 2rem 0;
}

.main-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

.articles-carousel {
    margin: 0 -8px;
}

.article-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    margin: 8px;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-3px);
}

.article-image {
    position: relative;
    padding-top: 56.25%;
    /* 16:9 aspect ratio */
}

.article-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-date {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.article-content {
    padding: 1rem;
}

.article-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.read-more {
    color: #61298a;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* end beranda artikel */

/* start beranda proses qurban */
.process-section {
    padding: 2rem 0;
}

.process-container {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 1.5rem 1.5rem 2.5rem;
    background: #fff;
}

.process-list {
    padding: 0.5rem 0.5rem 1rem;
}

.process-item {
    position: relative;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.process-item:last-child {
    margin-bottom: 0;
}

.process-icon {
    margin-top: 1px;
    margin-right: 12px;
    min-width: 24px;
}

.process-icon label {
    width: 24px;
    height: 24px;
    background: #5d2b8e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
}

.process-content {
    flex: 1;
    padding: 3px 0;
}

.process-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #222;
    line-height: 1.4;
}

.btn-wrapper {
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    text-align: center;
}

.btn-selengkapnya {
    background-color: #5d2b8e;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 8px 50px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(93, 43, 142, 0.2);
}

.btn-selengkapnya:hover {
    background-color: #4a2372;
    transform: translateY(-2px);
    color: white;
}

.text-highlight {
    color: #5d2b8e;
    font-weight: 500;
}
/* end beranda proses qurban */

/* start beranda keunggulan qurban */
.advantages-section {
    padding: 2rem 0;
    margin-top: 15px;
}

.section-header {
    margin-bottom: 1.5rem;
}

.section-title {
    color: #000;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 12px;
    color: #000;
}

.advantages-scroll-wrapper {
    position: relative;
    margin: 0 -15px;
    padding: 0 15px;
    overflow: hidden;
}

.advantages-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 15px;
    gap: 12px;
}

.advantages-scroll::-webkit-scrollbar {
    height: 8px;
}

.advantages-scroll::-webkit-scrollbar {
    height: 8px;
}

.advantages-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.advantages-scroll::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.advantages-scroll::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.advantages-scroll {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

.advantage-card {
    flex-shrink: 0;
    width: 210px;
    background-color: #e6eed7;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    scroll-snap-align: start;
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-3px);
}

.advantage-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.advantage-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    flex-shrink: 0;
}

.advantage-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.advantage-title {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    margin: 8px 0;
}

.advantage-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    margin: 0;
}
/* end beranda keunggulan qurban */

/* start beranda animasi */
/* ===== GENERAL ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(30px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-30px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-15px);
    }

    60% {
        transform: translateY(-7px);
    }
}

.animate-on-scroll {
    opacity: 0;
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
}

/* ===== SLIDER ANIMATIONS ===== */
.slider-item {
    animation: fadeIn 1s ease-in-out;
}

.slider-image {
    transition: transform 5s ease;
}

.slider-caption {
    animation: slideInUp 0.6s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.slider-caption h3 {
    animation: slideInLeft 0.8s ease-out forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.slider-caption p {
    animation: slideInRight 0.8s ease-out forwards;
    animation-delay: 0.7s;
    opacity: 0;
}

.slider-caption .btn {
    animation: zoomIn 0.6s ease-out forwards;
    animation-delay: 0.9s;
    opacity: 0;
}

/* ===== PAKET QURBAN ANIMATIONS ===== */

.category-item {
    transition: all 0.3s ease;
}

.category-item:hover {
    transform: translateY(-3px);
}

.package-card {
    transition: all 0.4s ease;
    transform: translateY(20px);
    opacity: 0;
}

.package-card.visible {
    transform: translateY(0);
    opacity: 1;
}

.package-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* .package-image img {
                                            transition: all 0.5s ease;
                                        }

                                        .package-card:hover .package-image img {
                                            transform: scale(1.1);
                                        } */

.package-title {
    position: relative;
    transition: all 0.3s ease;
}

.package-card:hover .package-title {
    color: #5d2b8e;
}

.package-price {
    position: relative;
    overflow: hidden;
}

.package-price::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: -100%;
    background: #5d2b8e;
    transition: all 0.3s ease;
}

.package-card:hover .package-price::before {
    left: 0;
}

/* ===== KEUNGGULAN ANIMATIONS ===== */
.advantage-card {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
}

.advantage-card.visible {
    transform: translateY(0);
    opacity: 1;
}

.advantage-card:hover {
    transform: translateY(-8px);
}

.advantage-icon-wrapper {
    transition: all 0.4s ease;
}

.advantage-card:hover .advantage-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.advantage-icon-wrapper img {
    filter: grayscale(20%);
    transition: all 0.4s ease;
}

.advantage-card:hover .advantage-icon-wrapper img {
    filter: grayscale(0%);
}

.advantage-title::after {
    transition: all 0.4s ease;
}

.advantage-card:hover .advantage-title::after {
    width: 60px;
    opacity: 0.8;
}

/* ===== PROSES QURBAN ANIMATIONS ===== */
.process-item {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
}

.process-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.process-icon label {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.process-content {
    transition: all 0.3s ease;
}

/* start testimonial */
.testimonial-section {
    padding: 2rem 0;
}

.testimonial-card {
    background-color: #fff7f7;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 0 0;
    text-align: center;
}

.testimonial-text {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-author {
    margin-top: 1rem;
}

.author-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.testimonial-dots-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dot.active {
    background-color: #333;
}

@media (max-width: 576px) {
    .advantage-card {
        width: 170px;
    }
}
/* end testimonial */

/* ===== ARTIKEL ANIMATIONS ===== */
.article-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.article-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.article-card:hover {
    transform: translateY(-8px);
}

.article-image {
    overflow: hidden;
}

.article-image img {
    transition: all 0.6s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-title {
    position: relative;
    transition: all 0.3s ease;
}

.article-card:hover .article-title {
    color: #5d2b8e;
}

.read-more {
    position: relative;
    transition: all 0.3s ease;
}

.read-more i {
    transition: all 0.3s ease;
}

.article-card:hover .read-more i {
    transform: translateX(5px);
}
/* end beranda animasi */

/* start artikel */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.article-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.article-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.article-link {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.article-thumbnail {
    flex: 0 0 160px;
    height: auto;
    position: relative;
    object-fit: cover;
}

.article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.article-meta-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
}

.article-category {
    background: #61298a;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.article-date {
    color: #777;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.article-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.article-excerpt {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.article-meta-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    color: #888;
}

.views {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.read-more {
    color: #61298a;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.read-more i {
    transition: transform 0.2s ease;
}

.article-card:hover .read-more i {
    transform: translateX(4px);
}

.empty-state {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 640px) {
    .article-link {
        flex-direction: column;
    }

    .article-thumbnail {
        flex: 0 0 160px;
        height: 160px;
        width: 100%;
    }
}
/* animaton */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pop {
    0% {
        transform: scale(0.95);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Animation classes */
.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.animate-slide-up {
    opacity: 0;
    animation: slideUp 0.5s ease forwards;
}

.animate-pop {
    animation: pop 0.3s ease forwards;
}

/* Delay for staggered animations */
.article-list article:nth-child(1) {
    animation-delay: 0.1s;
}

.article-list article:nth-child(2) {
    animation-delay: 0.2s;
}

.article-list article:nth-child(3) {
    animation-delay: 0.3s;
}

.article-list article:nth-child(4) {
    animation-delay: 0.4s;
}

.article-list article:nth-child(5) {
    animation-delay: 0.5s;
}

.article-list article:nth-child(6) {
    animation-delay: 0.6s;
}

.article-list article:nth-child(7) {
    animation-delay: 0.7s;
}

.article-list article:nth-child(8) {
    animation-delay: 0.8s;
}

.article-list article:nth-child(9) {
    animation-delay: 0.9s;
}

.article-list article:nth-child(10) {
    animation-delay: 1s;
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.article-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.article-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.article-link {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.article-content {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.article-meta-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
}

.article-category {
    background: #61298a;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.article-date {
    color: #777;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.article-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    transition: color 0.3s ease;
}

.article-card:hover .article-title {
    color: #61298a;
}

.article-excerpt {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.article-meta-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    color: #888;
}

.views {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.read-more {
    color: #61298a;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.3s ease;
}

.read-more i {
    transition: transform 0.3s ease;
}

.article-card:hover .read-more {
    color: #7c3aad;
}

.article-card:hover .read-more i {
    transform: translateX(6px);
}

.empty-state {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 640px) {
    .article-link {
        flex-direction: column;
    }

    .article-thumbnail {
        flex: 0 0 160px;
        height: 160px;
        width: 100%;
    }
}
/* end artikel */

/* start artikel detail */
.page-content {
    padding: 20px 0 30px;
}

.article-card {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(97, 41, 138, 0.08);
    overflow: hidden;
}

.content-image {
    margin-bottom: 0;
    overflow: hidden;
    max-height: 400px;
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.content-body {
    color: #292a2a;
    padding: 20px 24px 24px;
}

.content-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.3;
    color: #222;
    letter-spacing: -0.01em;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 22px;
    font-size: 14px;
    color: #6c757d;
    padding-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-item i {
    color: #61298a;
    font-size: 16px;
}

.content-text {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
    color: #444;
}

.content-text p {
    margin-bottom: 18px;
}

.content-text h2,
.content-text h3 {
    margin-top: 28px;
    margin-bottom: 14px;
    font-weight: 600;
    font-size: 18px;
    color: #333;
}

.content-text ul,
.content-text ol {
    margin-bottom: 18px;
}

.content-text ul li {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 10px;
}

.content-text ol li {
    list-style: decimal;
    margin-left: 25px;
    margin-bottom: 10px;
}

.content-text a {
    color: #61298a;
    text-decoration: none;
    border-bottom: 1px dotted #61298a;
    transition: border-bottom 0.2s ease;
}

.content-text a:hover {
    border-bottom: 1px solid #61298a;
}

.content-text img {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
    margin: 10px 0;
}

.content-text blockquote {
    border-left: 4px solid #61298a;
    padding-left: 16px;
    margin: 20px 0;
    font-style: italic;
    color: #555;
}

.tags-section {
    margin: 24px 0;
    padding-top: 18px;
    border-top: 1px solid #f0f0f0;
}

.tags-title {
    font-weight: 600;
    color: #555;
    margin-bottom: 14px;
    display: block;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: inline-block;
    padding: 8px 14px;
    background: #f7f1fc;
    border-radius: 50px;
    color: #61298a;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(97, 41, 138, 0.1);
}

.tag:hover {
    background: #efe5f7;
    color: #61298a;
    transform: translateY(-2px);
}

.share-section {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #f0f0f0;
}

/* Mempertahankan ukuran yang sama untuk semua perangkat */
@media (min-width: 768px) {
    .container {
        max-width: 600px;
    }

    .content-title {
        font-size: 22px;
    }

    .content-text {
        font-size: 16px;
    }
}
/* end artikel detail */

/* halaman start */
.page-content {
    padding: 24px 0;
}

.content-image {
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
}

.content-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.3;
}

.content-text {
    font-size: 16px;
    line-height: 1.6;
    color: #292a2a;
}

.content-text p {
    margin-bottom: 16px;
}

.content-text ul li {
    list-style: disc;
    margin-left: 25px;
}

.content-text ol {
    padding-left: 0;
}

.content-text ol li {
    list-style: decimal;
    margin-left: 25px;
}
/* halaman end */

/* histori pembelian index */
.history-page {
    min-height: 100vh;
    background-color: #f8f9fa;
}

.search-box {
    position: relative;
}

.search-box .form-control {
    padding-left: 2.5rem;
    padding-right: 1rem;
}

.search-box .fa-search {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: #6c757d;
}

.form-select {
    appearance: none;
    /* background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2361298A' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"); */
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-left: 1rem;
    padding-right: 2.5rem;
    cursor: pointer;
    width: 100%;
}

.form-select:focus {
    box-shadow: 0 0 0 3px rgba(97, 41, 138, 0.1);
}

.form-select {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.transaction-item {
    border-radius: 15px;
    transition: transform 0.2s ease;
}

.transaction-item:hover {
    transform: translateY(-2px);
}

.order-number {
    color: #61298a;
    font-weight: 600;
}

.transaction-date {
    font-size: 0.875rem;
}

.status-badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.product-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
}

.product-code {
    font-size: 0.875rem;
}

.pagination {
    gap: 0.5rem;
}

.page-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-size: 0.875rem;
    color: var(--bs-body-color);
    background-color: var(--bs-white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.page-item.active .page-link {
    /* background-color: var(--bs-primary); */
    color: white;
}

.page-link:hover {
    /* background-color: var(--bs-primary); */
    color: white;
}

.icon-container {
    width: 40px;
    height: 40px;
}

.filter-option-btn {
    background-color: #f8f9fa;
    transition: all 0.2s ease;
}

.filter-option-btn:hover {
    background-color: #f0f2f5;
}

.filter-option-btn[data-filter-type="date"] {
    background-color: #f4ebff;
}

.search-container .form-control:focus,
.search-container .input-group-text {
    box-shadow: none;
    border-color: transparent;
}

.form-check-input:checked {
    background-color: #61298a;
    border-color: #61298a;
}

.active-filter-badge {
    font-size: 0.875rem;
}
/* histori pembelian index end */

/* histori pembelian detail start */
.payment-detail-page {
    padding-top: 1rem;
    padding-bottom: 2rem;
}

/* Font sizes */
.fs-xs {
    font-size: 0.75rem;
}

.fs-sm {
    font-size: 0.875rem;
}

/* Card Styles */
.status-card,
.card {
    background: #fff;
    margin-bottom: 1rem;
}

.status-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Product Card */
.product-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

/* Payment Status Icons */
.payment-status-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Progress Bar */
.progress {
    height: 6px;
    background-color: #e9ecef;
}

.progress-bar {
    background: var(--success-color);
    border-radius: 10px;
}

/* Cicilan List */
.cicilan-list {
    max-height: 400px;
    overflow-y: auto;
}

.cicilan-item {
    border-left: 3px solid #eee;
}

.cicilan-item:hover {
    border-left-color: #61298a;
    background-color: #f8faff;
}

/* Badges */
.badge {
    font-weight: 500;
    font-size: 0.75rem;
}

.bg-success-subtle {
    background-color: rgba(16, 185, 129, 0.1);
}

.bg-warning-subtle {
    background-color: rgba(245, 158, 11, 0.1);
}

.bg-primary-subtle {
    background-color: rgba(59, 130, 246, 0.1);
}

.bg-secondary-subtle {
    background-color: rgba(107, 114, 128, 0.1);
}

/* Buttons */
.btn-light {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 14px;
}

/* Specs Card */
.specs-card {
    background: var(--light-color);
    border-radius: var(--border-radius);
}

/* Bank Info Card */
.bank-info-card {
    border-radius: var(--border-radius);
}

/* Media Queries */
@media (max-width: 767.98px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .card-body {
        padding: 1rem;
    }

    .status-card {
        padding: 0.75rem;
    }
}

/* Base Styles */
.payment-detail-page {
    min-height: 100vh;
    background-color: #f8f9fa;
}

/* Card Styles */
.status-card {
    background: #fff;
}

.status-card:hover {
    transform: translateY(-2px);
}

.status-icon {
    width: 48px;
    height: 48px;
}

/* Product Card */
.product-card {
    position: relative;
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

/* Payment Status Icons */
.payment-status-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Progress Bar */
.progress {
    height: 8px;
    background-color: #e9ecef;
}

.progress-bar {
    background: linear-gradient(to right, #4caf50, #66bb6a);
    border-radius: 10px;
}

/* Date Badge */
.date-badge {
    background: rgba(0, 0, 0, 0.05);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    color: #666;
}

/* Product Image */
.product-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 12px;
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0) 100%
    );
}

/* Badges */
.price-badge {
    background: #ffffff;
    color: #7b1fa2;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
}

.status-badge {
    background: rgba(76, 175, 80, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
}

/* Specs Card */
.specs-card {
    background: #ffffff;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Payment Summary */
.payment-summary {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.summary-item {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 12px;
    height: 100%;
}

.summary-item.warning {
    background: #fff5f5;
}

.summary-item .label {
    display: block;
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.summary-item .value {
    display: block;
    font-weight: 600;
    font-size: 1.125rem;
}

/* Bank Account Card */
.bank-account-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border-left: 4px solid #7b1fa2;
}

.account-details {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 12px;
}

.bank-logo .account-number {
    font-weight: 600;
    font-size: 1.125rem;
    color: #333;
}

.account-name {
    color: #666;
}

.copy-btn {
    background: #7b1fa2;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 500;
}

.copy-btn:hover {
    background: #6a1b9a;
    transform: translateY(-1px);
}

.bg-gradient-dark {
    background: linear-gradient(
        to top,
        rgba(110, 17, 197, 0.8),
        rgba(0, 0, 0, 0)
    );
}

.custom-table {
    margin-bottom: 0;
}

.custom-table thead tr {
    border-radius: 10px;
}

.custom-table thead th {
    font-weight: 600;
    color: #4a5568;
    font-size: 0.875rem;
    white-space: nowrap;
}

.custom-table tbody tr:hover {
    background-color: #f8f9fa;
}

.payment-icon i {
    font-size: 1rem;
}

.btn-light {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

.btn-light:hover {
    background-color: #e9ecef;
    border-color: #e9ecef;
}

.badge {
    font-weight: 500;
}

.bg-success-subtle {
    background-color: rgba(40, 167, 69, 0.1);
}

.bg-warning-subtle {
    background-color: rgba(255, 193, 7, 0.1);
}

.icon-circle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Document Buttons Container */
.document-buttons-container {
    border-radius: 12px;
}

.document-buttons-container .btn {
    padding: 10px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    height: 42px;
}

.document-buttons-container .btn-outline-primary {
    color: #61298a;
    border-color: #61298a;
}

.document-buttons-container .btn-outline-primary:hover {
    background-color: #61298a;
    color: white;
}

.document-buttons-container .btn-outline-secondary:hover {
    background-color: #6c757d;
    color: white;
}

@media (max-width: 576px) {
    .document-buttons-container .btn {
        font-size: 0.75rem;
    }

    .document-buttons-container .btn i {
        font-size: 0.875rem;
    }
}
/* histori pembelian detail end */

/* notifikasi start */
/* Header Styling */
.notification-header {
    background: white;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-title i {
    color: #666;
}

/* Container */
.notification-container {
    padding: 16px 0;
    min-height: 100vh;
}

/* Section Styling */
.notification-section {
    margin-bottom: 24px;
}

.notification-date {
    font-size: 0.875rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 12px;
    padding: 0 8px;
}

/* Item Styling */
.notification-item {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.notification-item:active {
    transform: scale(0.98);
}

.notification-item.unread {
    background-color: #f0f7ff;
}

.notification-item.unread::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 40%;
    background: #2196f3;
    border-radius: 0 4px 4px 0;
}

/* Icon Styling */
.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-icon.info {
    background: #e3f2fd;
    color: #2196f3;
}

.notification-icon.success {
    background: #e8f5e9;
    color: #4caf50;
}

.notification-icon.warning {
    background: #fff3e0;
    color: #ff9800;
}

.notification-icon.default {
    background: #f5f5f5;
    color: #757575;
}

.notification-icon i {
    font-size: 1.25rem;
}

/* Content Styling */
.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
    font-size: 0.9375rem;
}

.notification-message {
    color: #666;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 8px;
}

.notification-time {
    color: #888;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.notification-time i {
    font-size: 0.875rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 48px 16px;
}

.empty-state img {
    width: 120px;
    margin-bottom: 16px;
}

.empty-state-text {
    color: #666;
    font-size: 0.9375rem;
}
/* notifikasi end */

/* order intruksi pembayaran start */
.rounded-4 {
    border-radius: 0.75rem !important;
}

.border-dashed {
    border-style: dashed !important;
}

.payment-amount-container {
    background-color: rgba(248, 249, 250, 0.5);
    border-radius: 0.75rem;
}

.account-number-container {
    background-color: rgba(248, 249, 250, 0.7) !important;
}

.countdown-container {
    line-height: 1.2;
}

#countdown {
    font-size: 1.1rem;
}

.upload-container {
    cursor: pointer;
}

.preview-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

#submitBtn:disabled {
    pointer-events: none;
    opacity: 0.6; 
    cursor: not-allowed; 
}

#submitBtn[disabled]:hover {
    background-color: #c7c7c7; 
    cursor: not-allowed; 
}

/* Standard Bootstrap accordion styling */
.accordion-button:not(.collapsed) {
    color: #61298a;
    background-color: rgba(97, 41, 138, 0.1);
}

.accordion-button:focus {
    border-color: rgba(97, 41, 138, 0.5);
    box-shadow: 0 0 0 0.25rem rgba(97, 41, 138, 0.25);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2361298A'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.cursor-pointer {
    cursor: pointer;
}

/* Fancybox custom styling */
.preview-container a {
    display: inline-block;
    position: relative;
    cursor: zoom-in;
    max-width: 100%;
}

.preview-container a::after {
    content: "\f00e";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    color: #61298a;
    padding: 4px;
    border-radius: 50%;
    font-size: 14px;
    opacity: 0.8;
    transition: all 0.2s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-container a:hover::after {
    opacity: 1;
}

/* Custom Fancybox theme */
.fancybox__container {
    --fancybox-bg: rgba(24, 24, 27, 0.95);
}

.fancybox__toolbar {
    --fancybox-accent-color: #61298a;
}

.bg-ungu,
.btn-theme.bg-ungu {
    background-color: #61298a;
    color: white;
}

/* Make sure preview image is visible */
.preview-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
/* order intruksi pembayaran end */

/* qurban start */
/* Banner Image */
.banner-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 15px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Card Styles */
.checkout-card {
    background: white;
    border: none;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.card-title {
    color: #4a148c;
    font-size: 1.25rem;
    font-weight: 600;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    border: 2px solid #ede7f6;
    border-radius: 10px;
    padding: 0.75rem;
}

.form-control:focus {
    border-color: #6a1b9a;
    box-shadow: 0 0 0 0.2rem rgba(106, 27, 154, 0.1);
}

/* Payment Methods */
.payment-tabs {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 4px;
}

.payment-tab-btn {
    background: transparent;
    border: 1px solid #dee2e6;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    color: #6c757d;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s ease;
    cursor: pointer;
}

.payment-tab-btn:hover {
    background: #f8f9fa;
    border-color: #ced4da;
    color: #495057;
}

.payment-tab-btn.active {
    background: #61298a;
    border-color: #61298a;
    color: white;
}

/* Payment Methods Grid */
.payment-methods-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.payment-method-card {
    position: relative;
    cursor: pointer;
    margin: 0;
}

.payment-method-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.payment-method-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.payment-method-input:checked + .payment-method-content {
    border-color: #61298a;
    background-color: #faf5ff;
    box-shadow: 0 0 0 1px #61298a;
}

.payment-method-image {
    object-fit: contain;
    background: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
}

.payment-method-details {
    flex: 1;
}

.payment-method-details h6 {
    font-size: 0.9rem;
    color: #212529;
}

.payment-method-details p {
    font-size: 0.8rem;
}

/* Hover Effects */
.payment-method-card:hover .payment-method-content {
    border-color: #61298a;
    transform: translateY(-1px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .payment-methods-grid {
        grid-template-columns: 1fr;
    }

    .payment-tabs {
        flex-wrap: nowrap;
        margin-bottom: 1rem;
    }
}

/* Navigation Pills */
.nav-pills .nav-link {
    background: #ede7f6;
    color: #6a1b9a;
    border-radius: 10px;
    padding: 12px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active {
    background: #6a1b9a;
    color: white;
}

/* Footer Section */
.checkout-footer {
    padding: 20px 0;
}

.bismillah-section {
    text-align: center;
    margin: 30px 0;
}

.bismillah-image {
    max-width: 50%;
    height: auto;
    border-radius: 15px;
    margin-bottom: 20px;
}

.bismillah-text {
    color: #4a148c;
    font-weight: 600;
    margin: 15px 0;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .main-container {
        padding: 0 10px;
    }

    .nav-pills .nav-link {
        padding: 8px 12px;
        font-size: 14px;
    }
}
/* qurban end */

.categories-wrapper {
    position: relative;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.categories-slider {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 5px;
    min-width: min-content;
}

.category-item {
    white-space: nowrap;
    border: 1px solid #e0e0e0;
    /* background: #f8f9fa; */
    border-radius: 20px;
    padding: 8px 16px;
    margin-right: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.category-item.active {
    color: white;
}

/* .categories-wrapper::-webkit-scrollbar {
    display: none;
}

.categories-wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
} */

.custom-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    padding: 6px 12px;
    color: #6a1b9a;
    border: 1px solid #6a1b9a;
    background-color: transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.custom-copy-btn:hover {
    background-color: #6a1b9a;
    color: white;
}

.custom-copy-btn i {
    font-size: 14px;
}

.css-lmao {
    margin-left: -0.1px;
}