/* =========================================
   TEMA JURUSAN BISNIS RITEL (PALET ALFAMART: BIRU, MERAH, KUNING)
   ========================================= */
:root {
    --br-blue-dark: #0a2558;
    --br-blue-gradient: linear-gradient(135deg, #0a2558 0%, #154296 55%, #0e3175 100%);
    --br-red: #e11d2b;          /* Merah Khas Ritel */
    --br-red-dark: #b91c1c;
    --br-yellow: #facc15;       /* Kuning Cerah Ritel */
    --br-yellow-soft: #fef08a;
    --br-surface: #f4f7fc;      /* Latar Belakang Biru-Putih Bersih */
}

/* =========================================
   HERO SECTION (STOREFRONT & RETAIL THEME)
   ========================================= */
.br-hero-banner {
    background: var(--br-blue-gradient);
    position: relative;
}

/* Garis Pita Tiga Warna Khas Ritel di Bagian Bawah Hero */
.br-retail-stripe {
    height: 6px;
    width: 100%;
    background: linear-gradient(90deg, var(--br-red) 0%, var(--br-red) 50%, var(--br-yellow) 50%, var(--br-yellow) 100%);
}

/* Pola Barcode / Rak Halus di Latar Belakang */
.br-hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.03) 0px,
        rgba(255, 255, 255, 0.03) 2px,
        transparent 2px,
        transparent 24px
    );
    pointer-events: none;
    z-index: 1;
}

.br-glow-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(85px);
    pointer-events: none;
    z-index: 0;
}
.circle-red {
    width: 300px;
    height: 300px;
    background: rgba(225, 29, 43, 0.32);
    top: -80px;
    right: 15%;
}
.circle-yellow {
    width: 240px;
    height: 240px;
    background: rgba(250, 204, 21, 0.18);
    bottom: -60px;
    left: 10%;
}

/* Warna Custom */
.text-br-yellow {
    color: var(--br-yellow) !important;
}
.text-br-red {
    color: var(--br-red) !important;
}
.text-br-blue {
    color: #154296 !important;
}
.bg-br-red {
    background-color: var(--br-red) !important;
}
.bg-br-yellow {
    background-color: var(--br-yellow) !important;
    color: #0a2558 !important;
}
.bg-blue-soft {
    background-color: rgba(21, 66, 150, 0.08) !important;
}
.bg-red-soft {
    background-color: rgba(225, 29, 43, 0.08) !important;
}

/* Badge Atas */
.br-top-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(250, 204, 21, 0.5);
    backdrop-filter: blur(6px);
}

/* Logo Jurusan */
.br-logo-frame {
    background: #ffffff;
    border: 3px solid var(--br-yellow);
    padding: 8px;
    border-radius: 16px;
    flex-shrink: 0;
    width: fit-content;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.br-hero-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

/* Skill Badges */
.br-skill-pill {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    transition: all 0.25s ease;
}
.br-skill-pill i {
    color: var(--br-yellow);
}
.br-skill-pill:hover {
    background: var(--br-red);
    border-color: var(--br-yellow);
    transform: translateY(-2px);
}

/* Panel Kanan: Retail Class & Store Operation Card */
.br-store-card {
    background: rgba(255, 255, 255, 0.96);
    color: #1e293b;
    border-radius: 18px;
    border-top: 6px solid var(--br-red);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.br-store-header {
    background: #f8fafc;
    border-bottom: 2px dashed #cbd5e1;
    padding: 14px 20px;
}

.br-store-item {
    background: #f1f5f9;
    border-left: 4px solid #154296;
    border-radius: 10px;
    padding: 12px 14px;
    transition: all 0.25s ease;
}
.br-store-item:hover {
    background: #eff6ff;
    border-left-color: var(--br-red);
    transform: translateX(4px);
}

/* =========================================
   NAVIGASI TAB (GAYA SHELF LABEL RITEL)
   ========================================= */
.bg-br-page {
    background-color: var(--br-surface);
}

.br-nav-wrapper {
    background: #ffffff;
    padding: 10px;
    border-radius: 14px;
    box-shadow: 0 6px 22px rgba(10, 37, 88, 0.07);
    border: 1px solid rgba(21, 66, 150, 0.12);
}

.br-nav-pills .nav-link {
    color: #334155;
    font-weight: 700;
    border-radius: 10px;
    padding: 12px 20px;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.br-nav-pills .nav-link:hover {
    color: #154296;
    background-color: #eff6ff;
}

.br-nav-pills .nav-link.active {
    background-color: var(--br-red);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(225, 29, 43, 0.35);
}

.br-nav-pills .nav-link.active i {
    color: var(--br-yellow);
}

/* =========================================
   KOMPONEN ISI TAB
   ========================================= */
.br-card {
    background: #ffffff;
    border: 1px solid rgba(21, 66, 150, 0.12);
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(10, 37, 88, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.br-card:hover {
    box-shadow: 0 12px 28px rgba(10, 37, 88, 0.09);
}

.br-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #154296, #0a2558);
    color: var(--br-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Keunggulan List */
.br-feature-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f8fafc;
    border-left: 4px solid var(--br-red);
    margin-bottom: 12px;
}
.br-feature-row:last-child {
    margin-bottom: 0;
}

/* Kurikulum */
.br-level-tag {
    background: var(--br-yellow);
    color: #0a2558;
    font-weight: 800;
    font-size: 0.78rem;
    padding: 5px 12px;
    border-radius: 6px;
    display: inline-block;
}

.br-skill-tag {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e3a8a;
    font-size: 0.82rem;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    margin: 3px 2px;
}

/* Fasilitas */
.br-lab-card {
    border-top: 4px solid #154296;
}
.br-lab-card.highlight-red {
    border-top-color: var(--br-red);
}

/* Karier */
.br-career-card {
    border-left: 4px solid #154296;
    transition: all 0.25s ease;
}
.br-career-card:hover {
    transform: translateY(-4px);
    border-left-color: var(--br-red);
}

/* =========================================
   RESPONSIVE MEDIA QUERIES
   ========================================= */
@media (max-width: 767.98px) {
    .br-nav-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        justify-content: flex-start !important;
        padding-bottom: 4px;
    }
    .br-nav-pills::-webkit-scrollbar {
        height: 4px;
    }
    .br-nav-pills::-webkit-scrollbar-thumb {
        background: #93c5fd;
        border-radius: 4px;
    }
    .br-nav-pills .nav-link {
        font-size: 0.88rem;
        padding: 10px 15px;
    }
    .br-hero-logo {
        width: 52px;
        height: 52px;
    }
    .br-card {
        padding: 1.25rem !important;
    }
}
