.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/hero-bg.jpg') center/cover;
    color: white;
    padding: 100px 0;
    text-align: center;
}
.product-card {
    margin-bottom: 20px;
    transition: transform 0.3s;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.footer {
    background: #343a40;
    color: white;
    padding: 40px 0;
}
.product-card {
    transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.2) !important;
}
.btn-warning {
    background-color: #e8a020;
    border-color: #e8a020;
    color: #000;
}
.btn-warning:hover {
    background-color: #d18c1c;
    border-color: #d18c1c;
    color: #000;
}
.text-warning {
    color: #e8a020 !important;
}
/* Custom style untuk Hardware & Tools */
.small-box {
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.brand-link {
    border-bottom: 1px solid #e8a020;
}
.nav-item .nav-link.active {
    background-color: rgba(232,160,32,0.2) !important;
    border-left: 3px solid #e8a020;
}

/* ===== SLIDER ===== */
#heroSlider {
    max-height: 400px; /* Atur tinggi slider */
    overflow: hidden;
}
.slider-item {
    height: 400px;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
.carousel-caption {
    bottom: 20%;
    background: rgba(0,0,0,0.5);
    padding: 15px 20px;
    border-radius: 10px;
    z-index: 10;
}
/* Responsif untuk layar kecil */
@media (max-width: 768px) {
    #heroSlider {
        max-height: 250px;
    }
    .slider-item {
        height: 250px;
    }
    .carousel-caption {
        bottom: 10%;
        padding: 10px;
    }
    .carousel-caption h1 {
        font-size: 1.3rem;
    }
    .carousel-caption p {
        font-size: 0.9rem;
    }
}
/* Indikator carousel transparan */
.carousel-indicators li {
    background-color: rgba(255,255,255,0.3) !important;
    width: 40px;
    height: 5px;
    border-radius: 5px;
    border: none;
    margin: 0 5px;
    opacity: 1;
}
.carousel-indicators .active {
    background-color: rgba(255,255,255,0.8) !important;
    width: 50px;
}
.carousel-indicators {
    z-index: 15;
}
/* Lapisan gelap di atas gambar (opsional) */
.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

/* ===== TENTANG KAMI ===== */
.about-image-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}
.about-image-wrapper:hover {
    transform: scale(1.02);
}
.about-image-wrapper:hover img {
    filter: brightness(1.05);
}
.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== TESTIMONI ===== */
.testimonial-card {
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05) !important;
}
.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.2) !important;
}
.testimonial-avatar {
    font-size: 1.2rem;
    background: linear-gradient(135deg, #e8a020, #d18c1c);
}

/* ===== HUBUNGI KAMI ===== */
.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.form-control-lg {
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-control-lg:focus {
    border-color: #e8a020;
    box-shadow: 0 0 0 0.2rem rgba(232,160,32,0.25);
}
.btn-warning {
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232,160,32,0.4);
}
.alert-success {
    border-radius: 10px;
    border-left: 5px solid #28a745;
}

/* Responsif untuk layar kecil */
@media (max-width: 768px) {
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    .feature-icon i {
        font-size: 1.5rem !important;
    }
}

/* Dashboard Gudang */
.bg-gradient-info {
    background: linear-gradient(45deg, #17a2b8, #138496);
}
.bg-gradient-success {
    background: linear-gradient(45deg, #28a745, #218838);
}
.bg-gradient-warning {
    background: linear-gradient(45deg, #ffc107, #e0a800);
}
.bg-gradient-danger {
    background: linear-gradient(45deg, #dc3545, #c82333);
}
.stats-card {
    border-radius: 15px;
    color: white;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}
.stats-card .icon {
    font-size: 48px;
    opacity: 0.8;
    margin-bottom: 10px;
}
.stats-card .value {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 5px;
}
.stats-card .label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.table-modern {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.table-modern thead {
    background: #343a40;
    color: white;
}
.table-modern tbody tr:hover {
    background: #f8f9fa;
}
.action-btn {
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 12px;
}

/* ===== DASHBOARD DISTRIBUTOR ===== */
.distributor-stats-card {
    border-radius: 15px;
    color: white;
    padding: 25px 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.distributor-stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
.distributor-stats-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transform: rotate(25deg);
}
.distributor-stats-card .icon {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.9;
}
.distributor-stats-card .value {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
}
.distributor-stats-card .label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}
.distributor-stats-card .footer-link {
    position: absolute;
    bottom: 15px;
    right: 20px;
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    transition: color 0.3s;
}
.distributor-stats-card .footer-link:hover {
    color: white;
}

/* Kartu warna */
.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.bg-gradient-success {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}
.bg-gradient-info {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}
.bg-gradient-warning {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}
.bg-gradient-danger {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* Tabel Modern */
.table-distributor {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.table-distributor thead {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}
.table-distributor thead th {
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 15px 12px;
}
.table-distributor tbody tr {
    transition: background 0.3s;
}
.table-distributor tbody tr:hover {
    background: #f8f9ff;
}
.table-distributor td {
    padding: 12px;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
}

/* Badge Status */
.badge-distributor {
    padding: 5px 10px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-draft {
    background: #e2e8f0;
    color: #4a5568;
}
.badge-approved {
    background: #c3f0d6;
    color: #22543d;
}
.badge-sent {
    background: #bee3f8;
    color: #2c5282;
}
.badge-partial {
    background: #feebc8;
    color: #7b341e;
}
.badge-completed {
    background: #c6f6d5;
    color: #22543d;
}
.badge-cancelled {
    background: #fed7d7;
    color: #742a2a;
}

/* Tombol Aksi */
.btn-distributor {
    border-radius: 30px;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-distributor:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

/* Form Modern */
.distributor-form {
    border-radius: 15px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.distributor-form .card-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 20px 25px;
}
.distributor-form .card-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}
.distributor-form .card-body {
    padding: 30px;
}
.distributor-form .form-group label {
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.distributor-form .form-control {
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    padding: 10px 15px;
    transition: all 0.3s;
}
.distributor-form .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Supplier Products */
.product-card {
    transition: all 0.3s ease;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.product-card .card-img-top {
    border-bottom: 1px solid #eee;
}

/* Badge Status */
.badge {
    padding: 5px 10px;
    font-weight: 500;
    border-radius: 4px;
}

/* Table hover */
.table-hover tbody tr:hover {
    background-color: rgba(0,123,255,0.05);
}

/* Untuk badge jumlah */
.badge-success, .badge-danger {
    font-size: 0.9rem;
    padding: 5px 10px;
}

/* ===== SIDEBAR SUPER CANTIK ===== */
.main-sidebar {
    background: linear-gradient(135deg, #1e2b3a 0%, #0f1a24 100%) !important;
    box-shadow: 4px 0 20px rgba(0,0,0,0.3);
    border-right: 1px solid rgba(255,215,0,0.2);
}

/* Brand / Logo */
.brand-link {
    background: rgba(0,0,0,0.3) !important;
    border-bottom: 2px solid rgba(255,215,0,0.3) !important;
    padding: 20px 15px !important;
    transition: all 0.3s;
}
.brand-link:hover {
    border-bottom-color: #ffd700 !important;
    background: rgba(0,0,0,0.5) !important;
}
.brand-text {
    font-weight: 700 !important;
    font-size: 1.3rem !important;
    letter-spacing: 1px;
    background: linear-gradient(45deg, #fff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* User Panel */
.user-panel {
    border-bottom: 1px solid rgba(255,215,0,0.2) !important;
    padding: 20px 15px !important;
    background: rgba(0,0,0,0.2);
}
.user-panel .info a {
    color: #fff !important;
    font-weight: 600;
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
.user-panel .image img {
    border: 2px solid #ffd700;
    box-shadow: 0 0 10px rgba(255,215,0,0.3);
}

/* Menu Items */
.nav-sidebar .nav-item {
    margin: 5px 10px;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}
.nav-sidebar .nav-item:hover {
    background: rgba(255,215,0,0.1);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.nav-sidebar .nav-link {
    border-radius: 10px !important;
    padding: 12px 15px !important;
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500;
    transition: all 0.3s;
}
.nav-sidebar .nav-link.active {
    background: linear-gradient(45deg, #ffd700, #ffaa00) !important;
    box-shadow: 0 5px 20px rgba(255,215,0,0.4);
    color: #000 !important;
    font-weight: 700;
}
.nav-sidebar .nav-link.active .nav-icon {
    color: #000 !important;
}
.nav-sidebar .nav-link:hover:not(.active) {
    background: rgba(255,255,255,0.1);
    color: #ffd700 !important;
}
.nav-sidebar .nav-link:hover .nav-icon {
    color: #ffd700 !important;
}

/* Ikon */
.nav-icon {
    font-size: 1.3rem !important;
    margin-right: 10px !important;
    color: rgba(255,215,0,0.8);
    transition: all 0.3s;
}
.nav-link.active .nav-icon {
    color: #000 !important;
}

/* Badge notifikasi */
.nav-badge {
    background: #ffd700 !important;
    color: #000 !important;
    font-weight: 700;
    padding: 3px 8px !important;
    border-radius: 20px !important;
    box-shadow: 0 0 10px rgba(255,215,0,0.5);
}

/* Treeview (menu dropdown) */
.nav-treeview {
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
    margin: 5px 0 !important;
    padding: 5px 0 !important;
}
.nav-treeview .nav-item {
    margin: 2px 15px !important;
}
.nav-treeview .nav-link {
    padding: 8px 15px !important;
}
.nav-treeview .nav-link.active {
    background: linear-gradient(45deg, #ffd700, #ffaa00) !important;
}

/* Section label */
.sidebar-section-label {
    color: rgba(255,215,0,0.6) !important;
    font-size: 0.7rem !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 15px 20px 5px !important;
}

/* Bottom section */
.sidebar-bottom {
    background: rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,215,0,0.2);
    margin-top: auto;
}

/* Scrollbar untuk sidebar */
.sidebar::-webkit-scrollbar {
    width: 6px;
}
.sidebar::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
}
.sidebar::-webkit-scrollbar-thumb {
    background: #ffd700;
    border-radius: 3px;
}

/* Untuk tabel opname */
.diff-badge {
    font-size: 0.9rem;
    padding: 5px 10px;
}
.badge-success {
    background-color: #28a745;
    color: white;
}
.badge-danger {
    background-color: #dc3545;
    color: white;
}
.badge-secondary {
    background-color: #6c757d;
    color: white;
}
#table-opname th {
    vertical-align: middle;
}