:root {
    /* Versi Lembut dari Warna Logo */
    --primary-red: #D65A5A;     /* Merah Coral/Muted */
    --primary-blue: #5D8AA8;    /* Biru Air/Steel Blue */
    --accent-yellow: #F3E5AB;   /* Kuning Vanilla/Cream */
    --soft-black: #3D3D3D;      /* Abu-abu gelap (bukan hitam pekat) */
    
    /* Warna Latar & Netral */
    --light-bg: #F8F9FA;        /* Putih keabu-abuan sangat muda */
    --white: #ffffff;
    --border-color: #E9ECEF;
    --text-main: #4A4A4A;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-main);
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styling */
.sidebar {
    width: 260px;
    background-color: var(--soft-black);
    color: var(--white);
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 10px rgba(0,0,0,0.05);
}

.sidebar-header {
    padding: 25px 20px;
    text-align: center;
    background-color: var(--primary-red); /* Merah yang lebih soft */
}

.logo {
    width: 55px;
    margin-bottom: 12px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.sidebar-header h2 {
    font-size: 1.2rem;
    letter-spacing: 1px;
    font-weight: 600;
}

.menu {
    padding: 20px 0;
}

.menu-label {
    padding: 15px 25px 8px;
    font-size: 10px;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 1.5px;
    font-weight: bold;
}

.menu a {
    padding: 12px 25px;
    text-decoration: none;
    color: #CCC;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.menu a i {
    margin-right: 15px;
    width: 20px;
    font-size: 1.1rem;
}

.menu a:hover, .menu a.active {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--accent-yellow); /* Highlight kuning lembut saat hover */
    border-left: 4px solid var(--primary-red);
}

/* Main Content Styling */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.top-bar {
    height: 70px;
    background-color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    border-bottom: 1px solid var(--border-color);
}

.search-box {
    background: #F1F3F4;
    padding: 10px 18px;
    border-radius: 8px;
    width: 350px;
    display: flex;
    align-items: center;
}

.search-box input {
    border: none;
    background: transparent;
    outline: none;
    margin-left: 10px;
    width: 100%;
    color: var(--text-main);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 25px;
}

.notification {
    position: relative;
    font-size: 1.2rem;
    color: #888;
    cursor: pointer;
}

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-red);
    color: white;
    font-size: 9px;
    padding: 2px 5px;
    border-radius: 10px;
    border: 2px solid var(--white);
}

.user-info {
    text-align: right;
}

.user-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.avatar {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: cover;
}

/* Content Area */
.content {
    padding: 35px;
}

.welcome-banner {
    background: linear-gradient(135deg, #E57373, #D65A5A); /* Gradasi merah lembut */
    color: white;
    padding: 35px;
    border-radius: 15px;
    margin-bottom: 35px;
    box-shadow: 0 10px 20px rgba(214, 90, 90, 0.15);
}

.welcome-banner h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 35px;
}

.card {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-body {
    display: flex;
    align-items: center;
    gap: 20px;
}

.card-body i {
    font-size: 2.5rem;
    opacity: 0.8;
}

/* Card Borders with Softer Colors */
.card-red { border-top: 4px solid var(--primary-red); }
.card-blue { border-top: 4px solid var(--primary-blue); }
.card-yellow { border-top: 4px solid #E9D460; } /* Kuning lebih matang */
.card-black { border-top: 4px solid #7F8C8D; }

.card-red i { color: var(--primary-red); }
.card-blue i { color: var(--primary-blue); }
.card-yellow i { color: #D4AC0D; }

/* Table Styling */
.table-container {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
}

.table-container h3 {
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--soft-black);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    padding: 15px;
    background-color: #F8F9FA;
    color: #777;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

.success { 
    background: #E8F5E9; 
    color: #4CAF50; 
}

.warning { 
    background: #FFF3E0; 
    color: #FF9800; 
}