@import url('main.css');

/* NAVBAR STYLES */
.navbar {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 700;
    color: var(--brand-primary) !important;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--brand-primary);
    font-weight: 500;
    margin: 0 8px;
    position: relative;
}

.nav-link:hover, 
.nav-link.asdf {
    color: var(--brand-primary) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--brand-primary);
    border-radius: 3px;
}



/* FOOTER */
.footer {
    background-color: var(--brand-secondary);
    color: white;
    padding: 60px 0 30px;
}

.footer-links h5 {
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

.footer-links h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: white;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: white;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #fff;
    background-color: var(--brand-primary);
    transform: translateY(-3px);
}


/* BTN CATEGORY */
.btn-category{
    padding: 8px;
    font-size: 1rem;
    border-radius: 6px;
    background-color: var(--tp-common-white);
    border: 1px solid var(--brand-primary);
    color: var(--brand-primary);
    margin-top: auto;
    text-align: center;
    transition: all 0.3s ease;
}
    
.btn-category:hover {
    background-color: var(--brand-secondary);
    color: var(--tp-common-white); 
}
    
/* HERO SECTION */
#heroCarousel {
    padding-bottom: 50px;
    position: relative;
}

.hero-section {
    background: linear-gradient(135deg, var(--brand-primary-light) 0%, white 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-carousel-container {
    height: 450px; 
}

.carousel-item {
    height: 450px;
}

.carousel-item .row {
    height: 100%;
}

.hero-content-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#heroCarousel {
    height: 450px;
}

.hero-slide {
    width: 400px;
    height: 300px;
    margin: 0 auto;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    display: block;
    padding: 10px;
    margin: auto;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    border: none;
}

.carousel-indicators button.active {
    background-color: var(--brand-primary);
}


/* FILTER SECTION */
.filter-section {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.filter-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--brand-secondary);
    display: flex;
    align-items: center;
}

.filter-title i {
    margin-right: 8px;
    color: var(--brand-primary);
}

.dropdown-filter {
    width: 100%;
    margin-bottom: 15px;
}

.dropdown-filter .btn {
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background-color: white;
    color: var(--costum-black);
    font-size: 14px;
}

.dropdown-filter .btn:hover {
    border-color: var(--brand-primary);
}

.dropdown-filter .dropdown-menu {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.dropdown-filter .dropdown-item {
    padding: 8px 15px;
    font-size: 14px;
}

.dropdown-filter .dropdown-item:hover {
    background-color: var(--brand-primary-light);
    color: var(--brand-primary);
}

.dropdown-filter .dropdown-item.active {
    background-color: var(--brand-primary) !important;
    color: white;
}

.search-box {
    position: relative;
    margin-bottom: 20px;
}

.search-box input {
    padding-left: 40px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    height: 45px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 13px;
    color: var(--secondary);
}

/* TRAINING CARDS */
.training-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    height: 100%;
    border: 1px solid #eee;
}

.training-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--brand-primary-light);
}

.training-img {
    height: 180px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.3s ease;
}

.training-card:hover .training-img {
    transform: scale(1.05);
}

.training-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
    color: white;
}

.training-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.training-category {
    font-size: 12px;
    color: var(--brand-primary);
    font-weight: 500;
    margin-bottom: 8px;
}

.training-title {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.05rem;
    line-height: 1.4;
    min-height: 3em;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--costum-black);
}

.training-info {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 12px;
}

.training-info i {
    margin-right: 5px;
    color: var(--brand-primary);
}

.training-price {
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 10px;
    font-size: 1rem;
}

.training-price-detail {
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 20px;
    font-size: 2rem;
}

.related-training-price {
    font-weight: 700;
    color: var(--brand-primary);
    font-size: 1rem;
}

.btn-training {
    width: 100%;
    padding: 8px;
    font-size: 0.85rem;
    border-radius: 6px;
    background-color: var(--brand-primary);
    border: none;
    color: white;
    margin-top: auto;
    text-align: center;
}

.btn-training:hover {
    background-color: var(--brand-secondary);
    color: var(--tp-common-white);
}

.back-btn {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px 15px;
    font-size: 14px;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    color: var(--costum-black);
    transition: all 0.3s;
}

.back-btn i {
    margin-right: 5px;
    color: var(--brand-primary);
}

.back-btn:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background-color: var(--brand-primary-light);
}

.sort-dropdown .btn {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 8px 15px;
    font-size: 14px;
}

.sort-dropdown .btn:hover {
    border-color: var(--brand-primary);
    background-color: var(--brand-primary);
}

.sort-dropdown .dropdown-item:hover {
    background-color: var(--brand-primary-light);
    color: var(--brand-primary);
}

.sort-dropdown .dropdown-item.active {
    background-color: var(--brand-primary);
    color: white;
}


.page-title {
    color: var(--brand-secondary);
    font-weight: 700;
    margin-bottom: 0;
    font-size: 2rem;
}

.pagination .page-item .page-link {
    color: var(--brand-primary);
    border-radius: 8px;
    margin: 0 5px;
    border: 1px solid #e0e0e0;
}

.pagination .page-item.active .page-link {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: white;
}

.training-img-fixed {
    height: 180px;
    object-fit: cover;
    width: 100%;
}

.training-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    border: 1px solid #eee;
    height: 100%; /* important for equal card height */
    display: flex;
    flex-direction: column;
}

.training-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.training-title-truncate {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.2;
  min-height: 2.6em;
  font-size: var(--tp-fz-h5);
  font-weight: 600;
  font-family: var(--tp-font-family-1);
}

.training-desc-truncate {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
  min-height: 2.6em;
  font-size: var(--tp-fz-p);
  max-height: 2em;
}

.training-title {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.05rem;
    line-height: 1.4;
    min-height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--costum-black);
}

.training-category {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 1px;
    color: var(--brand-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 1.5rem;
}

.training-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 4px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background-color: var(--brand-primary);
}

.btn-training {
    margin-top: auto;
}

.article-card {
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.article-card:hover {
    transform: translateY(-5px);
}

/* Bagian Gambar */
.article-image {
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aspect-ratio-16-9 {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
}

.custom-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    left: 0;
    top: 0;
}

.centered-image-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.article-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-title-truncate {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.2;
  min-height: 2.4em;
  font-size: var(--tp-fz-h4);
  font-weight: 600;
  font-family: var(--tp-font-family-1);
}

.article-meta {
    font-size: 0.9rem;
}

.meta-author, .meta-date {
    line-height: 1.4;
}

.bi {
    font-size: 1rem;
}

/* Bagian Isi Artikel */
.article-body {
    color: #666;
    line-height: 1.6;
}

.article-excerpt {
    display: -webkit-box;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Bagian Tombol */
.btn-read-more {
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    background-color: var(--brand-secondary);
    transform: translateY(5px);
}

.btn-article {
    padding: 4px 8px;
    font-size: 0.95rem;
    border-radius: 4px;
    background-color: var(--tp-common-white);
    border: 1px solid var(--brand-primary);
    color: var(--brand-primary);
    margin-top: auto;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-article:hover {
    background-color: var(--brand-secondary);
    color: var(--tp-common-white);
}

/* Button Styles for Detail Page */
/* Training Type Badge */
.badge.bg-primary.bg-opacity-10.text-primary {
    background-color: var(--brand-primary) !important;
    color: var(--tp-common-white) !important;
}

/* Icon Instruktur */
.bi-person-fill.text-success {
    color: var(--brand-primary) !important;
}

/* Social Media Icons Instruktur */
.text-success.me-2 .bi-linkedin,
.text-success.me-2 .bi-twitter,
.text-success .bi-globe {
    color: var(--brand-primary) !important;
}

/* Highlight Icons */
.bg-success.bg-opacity-10.text-success .bi-calendar-check,
.bg-success.bg-opacity-10.text-success .bi-geo-alt,
.bg-success.bg-opacity-10.text-success .bi-award {
    color: var(--brand-primary) !important;
}

.d-flex.align-items-center.text-muted .bi-calendar-check{
    color: var(--brand-primary) !important;
}
.d-flex.align-items-center.text-muted .bi-people{
    color: var(--brand-primary) !important;
}

/* Button Tulis Ulasan */
.btn-outline-success {
    border-color: var(--brand-primary) !important;;
    color: var(--brand-primary) !important; 
}
.btn-outline-success:hover {
    background-color: var(--brand-secondary) !important;;
    color: white !important;
}

/* Button Lihat Semua Ulasan */
.btn-outline-success.w-100 {
    border-color: var(--brand-primary) !important;;
    color: var(--brand-primary) !important;;
}
.btn-outline-success.w-100:hover {
    background-color: var(--brand-secondary) !important;;
    color: white !important;
}

/* Button Daftar Sekarang */
.btn-success {
    background-color: var(--brand-primary) !important;;
    border-color: var(--brand-primary) !important;;
}
.btn-success:hover {
    background-color: var(--brand-secondary) !important;;
    border-color: var(--brand-secondary) !important;;
}


/* PROFILE SECTION */
 .profile-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--brand-primary);
            transition: all 0.3s;
        }

        .profile-icon:hover {
            transform: scale(1.1);
            box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
        }
        
        /* Main Content */
        .main-content {
            padding: 30px 0 80px;
            flex: 1;
        }
        
        /* Profile Card */
        .profile-card-container {
            max-width: 1500px;
            margin: 0 auto;
        }
        
        .profile-nav-buttons {
            display: flex;
            justify-content: center;
            margin-bottom: 30px;
            gap: 15px;
        }
        
        .profile-nav-btn {
            padding: 12px 25px;
            border-radius: 30px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 1rem;
            background-color: transparent;
            border: 2px solid var(--brand-primary);
            color: var(--brand-primary);
            position: relative;
            overflow: hidden;
            z-index: 1;
        }
        
        .profile-nav-btn:hover {
            color: white;
            background-color: var(--brand-primary);
        }
        
        .profile-nav-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 0;
            height: 100%;
            background-color: var(--brand-primary);
            z-index: -1;
        }
        
        .profile-nav-btn.active {
            background-color: var(--brand-primary);
            color: white;
        }

        .profile-card {
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .profile-body {
            padding: 40px 40px 50px;
            display: flex;
            gap: 40px;
        }
        
/* Profile Picture Section */
        
        .profile-picture-section {
            width: 200px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .profile-picture-container {
            position: relative;
            margin-bottom: 15px;
        }
        
        .profile-picture {
            width: 180px;
            height: 180px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid white;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .edit-picture-btn {
            position: absolute;
            bottom: 15px;
            right: 15px;
            background-color: var(--brand-primary);
            color: white;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 3px solid white;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .edit-picture-btn:hover {
            background-color: var(--brand-secondary);
            transform: scale(1.1);
        }
        
        .upload-text {
            display: block;
            color: var(--tp-text-7);
            font-size: 0.9rem;
            text-align: center;
            margin-top: 10px;
        }
        
        /* Form Styles */
        .form-container {
            flex: 1;
        }
        
        .form-horizontal {
            width: 100%;
        }

        .form-row {
            display: flex;
            margin-bottom: 30px;
            align-items: center;
        }

        .form-label {
            width: 120px;
            font-weight: 500;
            color: #333;
            font-size: 1rem;
        }

        .form-control {
            flex: 1;
            padding: 12px 15px;
            border: 1px solid #e0e0e0;
            border-radius: 6px;
            font-size: 1rem;
            min-width: 400px;
        }

        .form-control:focus {
            border-color: var(--brand-primary);
            outline: none;
            box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
        }
        
        /* Action Buttons */
        .action-buttons {
            display: flex;
            justify-content: flex-end;
            gap: 15px;
            margin-top: 30px;
        }
        
        .btn-cancel, .btn-save {
            padding: 10px 30px;
            border-radius: 6px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 1rem;
            min-width: 100px;
            text-align: center;
            display: inline-block;
            box-sizing: border-box;
        }
        
        .btn-cancel {
            background-color: var(--tp-common-white);
            color: var(--brand-primary);
            border: 1px solid #e0e0e0;
        }
        
        .btn-cancel:hover {
            background-color: var(--brand-secondary);
            color: var(--tp-common-white);
            border-color: var(--brand-secondary);
        }
        
        .btn-save {
            background-color: var(--brand-primary);
            color: var(--tp-common-white);
            border: 1px solid var(--brand-primary);
        }
        
        .btn-save:hover {
            background-color: var(--brand-secondary);
            color: var(--tp-common-white);
        }
        
        /* File Upload (Hidden) */
        .file-upload {
            display: none;
        }

/* PEMBAYARAN */
        .payment-card {
            background-color: var(--tp-common-white);
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            padding: 30px;
            margin: 30px auto;
            max-width: 1500px;
        }
        
        .payment-header {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 20px;
            color: var(--brand-secondary);
        }
        
        .payment-status {
            background-color: #FFF8E1;
            color: var(--tp-common-yellow-4);
            padding: 10px 15px;
            border-radius: 6px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .payment-status i {
            margin-right: 8px;
        }
        
        .payment-subheader {
            font-size: 1.2rem;
            font-weight: 500;
            margin: 20px 0 15px;
            color: #333;
        }
        
        .payment-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }
        
        .payment-row:last-child {
            border-bottom: none;
        }
        
        .payment-label {
            font-weight: 500;
            color: #555;
        }
        
        .payment-value {
            font-weight: 600;
            color: #333;
        }
        
        .payment-total {
            font-size: 1.1rem;
            font-weight: 700;
            margin-top: 20px;
        }
        
        .payment-divider {
            border-top: 1px solid #e0e0e0;
            margin: 20px 0;
        }
        

        .payment-info-section {
            background-color: var(--brand-primary-light);
            padding: 25px;
            border-radius: 10px;
            margin: 20px 0;
        }
        
       .bank-details {
            background-color: #f8f9fa;
            padding: 20px;
            border-radius: 5px;
            border-left: 4px solid #2c3e50;
            margin: 20px 0;
        }
        
        .bank-account {
            display: flex;
            margin-bottom: 5px;
        }
        
        .bank-name {
            width: 120px;
            font-weight: bold;
        }
        
        .bank-separator {
            margin: 0 5px;
            font-weight: bold;
        }
        
        .bank-number {
            font-weight: bold;
        }
        
        .instructions-list {
            padding-left: 20px;
        }
        
        .instructions-list li {
            margin-bottom: 10px;
        }
        
        .confirmation-section {
            margin: 40px auto 20px;
            padding-top: 20px;
            text-align: center;
        }
        
        .btn-confirm {
            background-color: var(--brand-primary);
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 6px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
        }
        
        .btn-confirm i {
            margin-right: 8px;
        }
        
        .btn-confirm:hover {
            background-color: var(--brand-secondary);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }

/* NOTIFIKASI PEMBAYARAN */
.notif-payment-card {
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            padding: 30px;
            margin: 30px auto;
            max-width: 800px;
            text-align: center;
        }
        
        .notif-payment-header {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 20px;
            color: var(--brand-secondary);
        }
        
        .notif-payment-status {
            background-color: #FFF8E1;
             color: var(--tp-common-yellow-4);
            padding: 15px 20px;
            border-radius: 6px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            margin-bottom: 30px;
            font-size: 1.1rem;
        }
        
        .notif-payment-status i {
            margin-right: 8px;
            font-size: 1.3rem;
        }        
        
        .notif-payment-message {
            font-size: 1.2rem;
            margin-bottom: 30px;
            color: #555;
            line-height: 1.8;
        }
        
        .notif-payment-message p {
            font-size: inherit;
            margin-bottom: 15px;
        }
        
        .notif-payment-divider {
            border-top: 1px solid #e0e0e0;
            margin: 30px 0;
        }
        
        .btn-notif-payment {
            background-color: var(--brand-primary);
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 6px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            text-decoration: none;
            margin-top: 20px;
        }
        
        .btn-notif-payment i {
            margin-right: 8px;
        }
        
        .btn-notif-payment:hover {
            background-color: var(--brand-secondary);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            color: white;
        }

/* MODAL */

.modal .btn-modal-close {
    background-color: white;
    color: var(--brand-primary);
    border: 1px solid var(--brand-primary);
    transition: all 0.3s ease;
}

.modal .btn-modal-close:hover,
.modal .btn-modal-close:focus {
    background-color: var(--brand-secondary);
    border-color: var(--brand-secondary);
    color: white;
}

/* Success modal header */
#successRegistrationModal .modal-header {
    background-color: var(--brand-primary);
}

/* Error modal header - keep it red for clear error indication */
#errorRegistrationModal .modal-header {
    background-color: #dc3545; /* Bootstrap danger color */
}

/* Background preloader */
#loading {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Container untuk logo */
#loading-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Logo animasi pulse glow */
.loader-logo {
  width: 70px;
  height: 70px;
  animation: pulseGlow 1.8s ease-in-out infinite;
  filter: drop-shadow(0 0 15px rgba(79, 220, 180, 0.4));
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(79, 220, 180, 0.3));
  }
  50% {
    transform: scale(1.08);
    opacity: 0.8;
    filter: drop-shadow(0 0 25px rgba(79, 220, 180, 0.6));
  }
}

/* Hilang perlahan setelah halaman load */
body.loaded #loading {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}


.navbar .dropdown-menu {
  display: none;
  position: absolute;
  z-index: 2000; /* pastikan di atas elemen lain */
  background-color: #fff;
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 0.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Saat dropdown aktif */
.navbar .dropdown.show .dropdown-menu,
.navbar .dropdown-toggle.show + .dropdown-menu {
  display: block;
}

/* Styling item dropdown */
.navbar .dropdown-menu .dropdown-item {
  color: #333;
  padding: 0.6rem 1.2rem;
  transition: background-color 0.2s;
}

.navbar .dropdown-menu .dropdown-item:hover {
  background-color: #f1f1f1;
  color: #0d6efd;
}
