@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap");
body {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    background: #e5e5e5 !important;
}
.bg-orange {
    background: #ed6e4f;
}

.text-orange {
    color: #ed6e4f;
}

.bg-green {
    background: #8dc63f;
}

.text-green {
    color: #8dc63f;
}

.bg-grey {
    background-color: #d9d9d9;
}

.has-search .form-control {
    padding-right: 2.375rem;
}

.has-search .form-control-feedback {
    position: absolute;
    right: 0.3rem;
    z-index: 9999999;
    display: block;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    text-align: center;
    /*    pointer-events: none;*/
    color: #555;
    top: 50%;
    transform: translateY(-50%);
}

.nav-tabs .active {
    background: #f0f0f0 !important;
    border-bottom: 2px solid #8dc63f !important;
}

.btn-control {
    background-color: transparent;
    height: 30px;
    width: 30px;
    color: rgba(175, 175, 175, 1);
    border: 1px solid rgba(175, 175, 175, 1);
    border-radius: 15px;
    margin-bottom: 0;
}

.btn-control:hover {
    color: #fff;
    background-color: rgba(175, 175, 175, 1);
}

.rounded-lg {
    border-radius: 12px;
}

.btn-bank:hover:not(.nonactive) {
    background: rgba(246, 147, 32, 0.25);
}
.nonactive {
    background: rgb(121 107 90 / 25%);
}

/* HIDE RADIO */
[type="radio"][name="bank"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* IMAGE STYLES */
[type="radio"][name="bank"] + img {
    cursor: pointer;
}

/* CHECKED STYLES */
[type="radio"][name="bank"]:checked + img {
    background: rgba(246, 147, 32, 0.25);
}

.slider-featured .slick-track {
    display: flex !important;
}

/* .slider-featured .slick-slide {
  height: inherit !important;
} */

.campaigns-style {
    display: block;
}

.campaigns-style-xs {
    display: none;
}

.floating-profile-card {
    border-radius: 1rem;
    z-index: 999;
    width: 20rem;
    width: calc(100% - 1rem);
    margin: 0 auto;
    bottom: -2.5rem;
    left: 0;
    right: 0;

    margin-left: auto;
    margin-right: auto;
}

.floating-profile-card img {
    width: 4rem;
    height: 4rem;
}

.floating-card-title {
    z-index: 999;
    width: 20rem;
    width: calc(100% - 1rem);
    margin: 0 auto;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);

    margin-left: auto;
    margin-right: auto;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.avatar-stack {
    display: flex;
    align-items: center;
}
.avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
    position: relative;
}
.avatar:not(:first-child) {
    margin-left: -15px; /* Overlapping effect */
}

.tab-button-container {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.tab-button-container .tab-button {
    max-width: fit-content;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    border: solid 0.5px #8dc63f;
    background-color: #f0f0f0;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.tab-button-container .tab-button.active {
    background-color: #8dc63f;
    color: #fff;
}

.empty-feedback {
    padding: 20px;
    border: 1px solid #ccc;
    margin-top: 10px;
    text-align: center;
    color: #888;
}

.tab-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

/* Category Page Styles */
.object-fit-cover {
    object-fit: cover;
}

.dropdown-menu {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: none;
    border-radius: 8px;
}

.dropdown-item.active {
    background-color: #8dc63f;
}

/* Filter Section Styles */
.btn-white {
    background-color: #f8f8f8 !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
    border-radius: 25px !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
    font-weight: 500;
    display: flex !important;
    align-items: center !important;
}

.btn-white:hover {
    background-color: #f8f8f8 !important;
    color: #333 !important;
    border-color: #ddd !important;
    transform: none !important;
}

.btn-white:focus,
.btn-white:active {
    box-shadow: none !important;
    border-color: #ddd !important;
    background-color: #f8f8f8 !important;
    transform: none !important;
}

/* Override Bootstrap button styles */
.btn-warning {
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
    border-radius: 25px !important;
    padding: 0.4rem 0.9rem !important;
    font-size: 0.85rem !important;
    font-weight: 600;
    color: #333 !important;
}

.btn-warning:hover {
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
    transform: none !important;
}

.btn-warning:active,
.btn-warning:focus {
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Urutkan Button Styles */
.btn-urutkan {
    background-color: #f8f8f8 !important;
    color: #666 !important;
    border: 1px solid #ddd !important;
    border-radius: 25px !important;
    padding: 0.5rem 0.8rem !important;
    font-size: 0.8rem !important;
    font-weight: 500;
    min-width: 100px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-urutkan:hover {
    background-color: #f0f0f0 !important;
    color: #666 !important;
    border-color: #ccc !important;
    transform: none !important;
}

.btn-urutkan:focus,
.btn-urutkan:active {
    box-shadow: none !important;
    border-color: #ccc !important;
    background-color: #f0f0f0 !important;
    color: #666 !important;
    transform: none !important;
}

.dropdown-menu {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0.3rem 0 !important;
}

.dropdown-item {
    padding: 0.4rem 1rem !important;
    font-size: 0.85rem !important;
    color: #333;
    border: none;
}

.dropdown-item.active {
    background-color: #8dc63f;
    color: white;
}

/* Campaign Card Horizontal */
.campaign-card-horizontal {
    border: 1px solid #e5e5e5;
}

/* Scroll to Top Button */
#scrollToTopBtn {
    position: fixed;
    bottom: 85px;
    right: 35%;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    z-index: 99;
    background-color: #2d6a4f;
    color: #ffffff;
    border: none;
    padding: 0;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

#scrollToTopBtn:hover {
    background-color: #1f4d38;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 480px) {
    #scrollToTopBtn {
        bottom: 85px;
        right: 30px;
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}

@media only screen and (max-width: 360px) {
    .campaigns-style {
        display: none;
    }
    .campaigns-style-xs {
        display: block;
    }
}

/* Category Modal Compact Styles */
#modalCategories .modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

#modalCategories .modal-header {
    padding: 0.8rem;
    background-color: #fff;
}

#modalCategories .modal-body {
    padding: 0.8rem;
}

.category-item-link {
    text-decoration: none;
    display: block;
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-item-link:hover .category-item {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
    border-color: #8dc63f;
}

.category-item {
    background: #f9f9f9;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    transition: all 0.2s ease;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.2rem;
}

.category-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.15rem;
}

/* Modal Kategori Styles */
#modalCategories .modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

#modalCategories .modal-header {
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
    background-color: #fff;
}

#modalCategories .modal-body {
    padding: 1.5rem;
}

.category-item-link {
    text-decoration: none;
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-item-link:hover .category-item {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.category-item {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    transition: all 0.3s ease;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.category-item:hover {
    border-color: #8dc63f;
}

.category-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-item p {
    font-weight: 500;
    color: #333;
}

.about-us-container {
    padding: 2rem 1.5rem;
    background-color: #fff;
    margin-top: 3rem;
    min-height: 680px;
}
.about-us-title {
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}
.about-us-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
}
.about-us-text {
    text-align: center;
    margin-bottom: 2rem;
}
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin-bottom: 2rem;
    border-radius: 8px; /* Optional: adds rounded corners */
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    margin-bottom: 2rem;
}
.stat-item {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    flex-basis: 150px;
    flex-grow: 1;
}
.stat-item h4 {
    font-weight: 700;
    color: #0056b3;
    font-size: 1.5rem;
}
.section-title {
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.legality-list,
.collaboration-info {
    margin-bottom: 1.5rem;
}
/* CSS BARU UNTUK PERATAAN */
.legal-item {
    display: flex;
    align-items: flex-start; /* Membuat bullet sejajar dengan awal teks */
    margin-bottom: 0.75rem;
}
.legal-item .bullet {
    margin-right: 8px; /* Jarak antara bullet dan teks */
    font-size: 1.2rem; /* Ukuran bullet */
    line-height: 1.5; /* Menyamakan tinggi baris dengan teks */
}
