/* -------------------------------------------------------------
 * LSP Modern BKK Web Design System - CSS Master Engine
 * ------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: #eef2ff;
    --secondary: #0ea5e9;
    --accent: #10b981;
    --dark-bg: #0f172a;
    --dark-card: #1e293b;
    --light-bg: rgba(240, 253, 244, 0.65);
    --light-card: #ffffff;
    --border-color: #e2e8f0;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
    --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.06), 0 8px 10px -6px rgba(0,0,0,0.03);
    --shadow-lg: 0 20px 35px -10px rgba(79, 70, 229, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #f0fdf4;
    background-image: linear-gradient(180deg, rgba(236, 253, 245, 0.75) 0%, rgba(240, 253, 244, 0.45) 100%);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .brand-font, .logo-text-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ---------------- Navbar (Full Width Clean White Style) ---------------- */
.lsp-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 0.25rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1700px;
    width: 100%;
    margin: 0 auto;
    background: transparent;
    border-radius: 0;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: nowrap;
    box-shadow: none;
    border: none;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
    margin-right: 2cm;
}

.logo-badge {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.logo-text-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark-bg);
    letter-spacing: 0.2px;
    line-height: 1.25;
    white-space: nowrap;
}

.logo-text-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    list-style: none;
    margin: 0;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.88rem;
    display: inline-block;
    padding: 0.4rem 0.65rem;
    border-radius: 10px;
    transition: all 0.2s ease;
    letter-spacing: 0.1px;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background: rgba(79, 70, 229, 0.08);
}

/* ---------------- Navigation Bar Dropdown Menu ---------------- */
.nav-dropdown-item {
    position: relative;
    list-style: none;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    width: 380px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.15), 0 4px 12px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
    padding: 1.25rem 1rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1000;
}

.nav-dropdown-item:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-header-title {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.dropdown-group {
    padding: 0.5rem;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.dropdown-group:hover {
    background: #f8fafc;
}

.dropdown-jurusan-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: #0f172a;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.4rem;
}

.dropdown-sub-items {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-left: 1.6rem;
}

.dropdown-sub-link {
    font-size: 0.82rem;
    color: #475569;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.dropdown-sub-link:hover {
    color: #2563eb;
    transform: translateX(4px);
}

.dropdown-sub-link i {
    font-size: 0.68rem;
    color: #94a3b8;
}

.dropdown-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 0.4rem 0;
}

.dropdown-footer {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.dropdown-all-link {
    font-size: 0.85rem;
    font-weight: 800;
    color: #2563eb;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.dropdown-all-link:hover {
    text-decoration: underline;
}

.nav-actions {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    margin-left: auto;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.btn-lsp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    border-radius: 12px !important;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap !important;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-primary-lsp {
    background: linear-gradient(135deg, var(--primary), #6366f1);
    color: #fff;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.btn-primary-lsp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
}

.btn-outline-lsp {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline-lsp:hover {
    background: var(--primary-light);
}

.btn-secondary-lsp {
    background: #0284c7;
    color: #fff;
}

.btn-success-lsp {
    background: #10b981;
    color: #fff;
}

/* ---------------- Hero Carousel Section (Clean Style) ---------------- */
.hero-section {
    background: #0f172a;
    padding: 2.5rem 1.5rem 2.5rem;
    position: relative;
}

.hero-carousel-card {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    min-height: 520px;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    box-shadow: 0 20px 45px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 4rem 3.5rem 4.5rem;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.45rem 1.25rem;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: #ffffff;
    font-weight: 800;
}

.hero-title span {
    background: linear-gradient(135deg, #a5b4fc, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #e2e8f0;
    margin-bottom: 2rem;
    max-width: 620px;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Carousel Control Dots & Arrows */
.carousel-controls {
    position: absolute;
    bottom: 3.5rem;
    right: 3.5rem;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    width: 32px;
    background: #ffffff;
}

.carousel-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.carousel-arrow:hover {
    background: #ffffff;
    color: var(--dark-bg);
}

.hero-title span {
    background: linear-gradient(135deg, #818cf8, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: #a5b4fc;
    margin-bottom: 1.5rem;
}

.hero-card-preview {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

/* ---------------- Stat Bar ---------------- */
.stat-container {
    max-width: 1280px;
    margin: 2.5rem auto 3rem;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    border-radius: 18px;
    padding: 1.5rem 1.6rem;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.12), 0 8px 10px -6px rgba(37, 99, 235, 0.08);
    border: 2px solid #60a5fa;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.03);
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    box-shadow: 0 22px 40px -5px rgba(37, 99, 235, 0.3), 0 12px 18px -5px rgba(37, 99, 235, 0.18);
    border-color: #2563eb;
}

.stat-icon-wrapper {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark-bg);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ---------------- Section Standard ---------------- */
.section-padding {
    padding: 4.5rem 1.5rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-tag {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 2.2rem;
    color: var(--dark-bg);
    margin-bottom: 0.75rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ---------------- Cards Grid ---------------- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.skema-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 18px;
    border: 1px solid #bae6fd;
    box-shadow: 0 10px 25px -5px rgba(14, 165, 233, 0.1), 0 8px 10px -6px rgba(14, 165, 233, 0.05);
    padding: 1.75rem;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.75rem;
}

.skema-card:hover {
    transform: translateY(-6px) scale(1.02);
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    box-shadow: 0 20px 35px -5px rgba(14, 165, 233, 0.25), 0 10px 15px -5px rgba(14, 165, 233, 0.15);
    border-color: #38bdf8;
}

.skema-badge-kkni {
    background: #e0f2fe;
    color: #0284c7;
    border: 1px solid #bae6fd;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* ---------------- Badges & Status Pills ---------------- */
.badge-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap !important;
    border: 1.5px solid transparent;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.badge-skema {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    border-radius: 14px;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.55;
    text-align: left;
    white-space: normal;
    word-break: break-word;
    border: 1.5px solid #7dd3fc;
    background: #e0f2fe;
    color: #0284c7;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.badge-info {
    background: #e0f2fe;
    color: #0284c7;
    border-color: #7dd3fc;
}

.badge-success {
    background: #d1fae5;
    color: #047857;
    border-color: #6ee7b7;
}

.badge-warning {
    background: #fef3c7;
    color: #b45309;
    border-color: #fde68a;
}

.badge-danger {
    background: #fee2e2;
    color: #b91c1c;
    border-color: #fca5a5;
}

.cell-wrap {
    white-space: normal !important;
    word-break: break-word;
    min-width: 260px;
    padding: 1.1rem 1rem !important;
}

.cell-skema {
    min-width: 300px !important;
    width: 320px;
}

.skema-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--dark-bg);
}

.skema-meta {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ---------------- Dashboard Layout ---------------- */
.dashboard-wrapper {
    display: flex;
    min-height: calc(100vh - 72px);
}

.dashboard-sidebar {
    width: 270px;
    background: var(--dark-bg);
    color: #fff;
    padding: 1.75rem 1.25rem;
    flex-shrink: 0;
}

.sidebar-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    margin: 1.5rem 0 0.75rem;
    padding-left: 0.75rem;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-item {
    margin-bottom: 0.35rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.sidebar-link:hover, .sidebar-link.active {
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
}

.dashboard-content {
    flex-grow: 1;
    padding: 2.25rem 2.5rem;
    background: #f1f5f9;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

/* ---------------- Tables & Forms ---------------- */
.table-card {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-md);
}

/* Custom Scrollbar for Tables */
.table-card::-webkit-scrollbar,
.table-responsive::-webkit-scrollbar {
    height: 9px;
    width: 9px;
}

.table-card::-webkit-scrollbar-track,
.table-responsive::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.table-card::-webkit-scrollbar-thumb,
.table-responsive::-webkit-scrollbar-thumb {
    background: #a5b4fc;
    border-radius: 10px;
}

.table-card::-webkit-scrollbar-thumb:hover,
.table-responsive::-webkit-scrollbar-thumb:hover {
    background: #6366f1;
}

.lsp-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.lsp-table th {
    background: #f8fafc;
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 700;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.lsp-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
    white-space: nowrap;
    vertical-align: middle;
}

.lsp-table td.cell-wrap {
    white-space: normal;
    min-width: 220px;
}

.badge-status {
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.badge-warning { background: #fef3c7; color: #d97706; }
.badge-success { background: #d1fae5; color: #059669; }
.badge-danger { background: #fee2e2; color: #dc2626; }
.badge-info { background: #e0f2fe; color: #0284c7; }

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
    color: var(--dark-bg);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

/* Footer */
.lsp-footer {
    background: var(--dark-bg);
    color: #94a3b8;
    padding: 4rem 1.5rem 2rem;
    border-top: 1px solid #1e293b;
}

.footer-grid {
    max-width: 1600px;
    margin: 0 auto 3rem;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.2fr;
    gap: 4rem;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
    text-align: center;
    font-size: 0.88rem;
}

@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .dashboard-wrapper { flex-direction: column; }
    .dashboard-sidebar { width: 100%; }
}

@media (max-width: 640px) {
    .stat-grid { grid-template-columns: 1fr; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* ---------------- Dashboard Layout & Zoom-Friendly Styling ---------------- */
.dashboard-wrapper {
    display: flex;
    gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
    padding: 2.25rem 2rem;
    min-height: 85vh;
    align-items: stretch;
}

.dashboard-sidebar {
    width: 290px;
    min-width: 260px;
    background: #0f172a;
    border-radius: 20px;
    padding: 2rem 1.35rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.18);
    align-self: stretch;
    display: flex;
    flex-direction: column;
}

.sidebar-title {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.sidebar-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1.15rem;
    color: #94a3b8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    border-radius: 12px;
    transition: all 0.25s ease;
    min-height: 48px;
}

.sidebar-link:hover, .sidebar-link.active {
    background: #1e293b;
    color: #38bdf8;
}

.dashboard-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 1.75rem 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
}

.content-header h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.content-header p {
    font-size: 1rem;
    margin-top: 0.35rem;
}

/* Stat Cards Zoom Scaling */
.stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
}

.stat-icon-wrapper {
    width: 62px;
    height: 62px;
    font-size: 1.8rem;
    border-radius: 16px;
}

/* Table Cards & Zoom Responsiveness */
.table-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
    padding: 2rem !important;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 0.5rem;
    border-radius: 12px;
}

.table-responsive::-webkit-scrollbar {
    height: 7px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.lsp-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 780px;
    font-size: 0.98rem;
}

.lsp-table th {
    padding: 1.1rem 1.25rem;
    text-align: left;
    white-space: nowrap;
    font-size: 0.92rem;
    font-weight: 700;
    color: #475569;
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
}

.lsp-table td {
    padding: 1.1rem 1.25rem;
    text-align: left;
    white-space: nowrap;
    font-size: 0.98rem;
    border-bottom: 1px solid #f1f5f9;
}

/* Form Group Zoom Improvements */
.form-label {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
    color: #334155;
}

.form-control {
    padding: 0.75rem 1rem;
    font-size: 0.98rem;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
}

.form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* ---------------- Mobile Toggle & Responsive Navigation ---------------- */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.6rem;
    color: var(--dark-bg);
    cursor: pointer;
    padding: 0.4rem 0.6rem;
    margin-left: auto;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.mobile-toggle:hover {
    background: #f1f5f9;
}

@media (max-width: 1280px) {
    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.4rem;
        padding-top: 1rem;
        border-top: 1px solid #e2e8f0;
        margin-top: 0.75rem;
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-menu .nav-link {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .nav-actions {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
        margin-left: 0;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px dashed #e2e8f0;
    }

    .nav-actions.show {
        display: flex;
    }

    .nav-actions .btn-lsp {
        width: 100%;
        padding: 0.8rem;
    }
}

@media (max-width: 1200px) {
    .dashboard-wrapper { flex-direction: column; padding: 1.5rem 1rem; }
    .dashboard-sidebar { width: 100%; position: static !important; }
}

@media (max-width: 768px) {
    .content-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .grid-2, .grid-3 { grid-template-columns: 1fr !important; }
    
    .logo-text-title {
        font-size: 0.95rem;
    }
    .logo-box img {
        height: 38px !important;
    }
    .dashboard-wrapper {
        padding: 1rem 0.75rem;
        gap: 1.25rem;
    }
    .dashboard-sidebar {
        padding: 1.25rem 1rem;
    }
    .table-card {
        padding: 1.25rem !important;
    }
    .hero-title {
        font-size: 1.8rem !important;
    }
    .section-title {
        font-size: 1.6rem !important;
    }
}

/* ---------------- Alur Sertifikasi Process Timeline ---------------- */
.alur-section {
    padding: 5rem 1.5rem;
    background: #ffffff;
    text-align: center;
}

.alur-pill-tag {
    display: inline-block;
    background: #d1fae5;
    color: #059669;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.4rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    border: 1px solid #a7f3d0;
}

.alur-header-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.6rem;
    letter-spacing: -0.02em;
}

.alur-header-desc {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 720px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

.alur-timeline-wrapper {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 0;
}

.alur-dotted-line {
    position: absolute;
    top: 45px;
    left: 8%;
    right: 8%;
    height: 2px;
    border-top: 2px dashed #94a3b8;
    z-index: 1;
}

.alur-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.alur-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.alur-icon-box {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #334155;
    margin-bottom: 1.5rem;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.alur-step-item:hover .alur-icon-box {
    transform: translateY(-8px) scale(1.06);
    border-color: #10b981;
    box-shadow: 0 18px 35px rgba(16, 185, 129, 0.22);
    color: #10b981;
}

.alur-badge-num {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #10b981;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.alur-step-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.alur-step-desc {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .alur-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem 1.5rem;
    }
    .alur-dotted-line {
        display: none;
    }
}

@media (max-width: 640px) {
    .alur-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 2.5rem;
    }
}
