/* Import font ala Apple (Inter sangat mirip dengan SF Pro) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-macos: #F5F5F7;
    --text-dark: #1D1D1F;
    --text-muted: #86868B;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --apple-blue: #0071E3;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-macos);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* Navbar ala Menu Bar Mac */
.macos-navbar {
    position: fixed;
    top: 0; width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px); /* Untuk Safari */
    border-bottom: 1px solid var(--glass-border);
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 5% ; z-index: 1000; box-sizing: border-box;
}

.nav-brand { font-weight: 600; font-size: 1.3rem; letter-spacing: -0.5px; }
.brand-sub { font-size: 0.8rem; color: var(--text-muted); font-weight: 400; margin-left: 5px;}

.btn-macos {
    background: var(--apple-blue); color: white;
    padding: 8px 18px; border-radius: 20px; /* Pill shape */
    text-decoration: none; font-size: 0.9rem; font-weight: 500;
    transition: all 0.2s ease; box-shadow: 0 4px 10px rgba(0, 113, 227, 0.2);
}
.btn-macos:hover { transform: scale(1.02); opacity: 0.9; }

/* Content Wrapper */
.macos-container {
    padding: 120px 5% 50px 5%;
    min-height: 80vh;
    display: flex; justify-content: center; align-items: center;
}

/* Card Khas macOS (Extra Rounded, Soft Shadow, Glass) */
.macos-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px; /* Extra rounded */
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.04); /* Soft diffused shadow */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    text-align: center;
    max-width: 600px;
}

.macos-card h1 { font-size: 2.5rem; letter-spacing: -1px; margin-bottom: 10px; }
.macos-card p { font-size: 1.1rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 30px;}

/* ========================================= */
/* MEDIA QUERIES (MOBILE RESPONSIVE)         */
/* ========================================= */
@media screen and (max-width: 768px) {
    .macos-navbar {
        padding: 15px 5%;
    }
    
    .nav-brand {
        font-size: 1.1rem;
    }
    
    .brand-sub {
        display: none; /* Sembunyikan teks SANDTEKNO di HP agar tidak sempit */
    }

    .macos-container {
        padding: 100px 5% 30px 5%;
    }

    .macos-card {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .macos-card h1 {
        font-size: 1.8rem;
    }

    .btn-macos {
        padding: 10px 20px;
        font-size: 1rem;
        display: block;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
}

/* ========================================= */
/* DASHBOARD LAYOUT (SIDEBAR & MAIN)         */
/* ========================================= */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
    background-color: var(--bg-macos);
}

/* Sidebar macOS Style */
.macos-sidebar {
    width: 260px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--glass-border);
    position: fixed;
    height: 100vh;
    padding: 30px 20px;
    box-sizing: border-box;
    overflow-y: auto;
    z-index: 100;
}

.sidebar-brand {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
    padding-left: 15px;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 5px;
}

.sidebar-menu .menu-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 20px 0 10px 15px;
    display: block;
    font-weight: 600;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    text-decoration: none;
    color: var(--text-dark);
    border-radius: 12px;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.sidebar-menu a:hover, .sidebar-menu a.active {
    background: rgba(0, 113, 227, 0.1);
    color: var(--apple-blue);
}

/* Area Konten Utama */
.dashboard-main {
    flex: 1;
    margin-left: 260px; /* Geser konten ke kanan sebesar lebar sidebar */
    padding: 40px;
    box-sizing: border-box;
}

/* Penyesuaian Dashboard Card agar tidak numpuk */
.dashboard-main .macos-card {
    max-width: 100%;
}