/* =========================
   GLOBAL
   ========================= */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(120deg, #f4f7fb, #eef2f7);
    color: #2c3e50;
}

/* =========================
   LAYOUT
   ========================= */
.wrapper {
    display: flex;
    min-height: 100vh;
}

/* =========================
   SIDEBAR
   ========================= */
.sidebar {
    width: 240px;
    background: linear-gradient(180deg, #1f2d3d, #2c3e50);
    color: #ecf0f1;
    padding: 20px;
    position: sticky;
    top: 0;
    height: 100vh;
}

.sidebar h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
}

.sidebar a {
    display: block;
    padding: 10px 12px;
    margin: 6px 0;
    color: #ecf0f1;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.25s ease;
}

.sidebar a:hover {
    background: rgba(255,255,255,0.15);
    transform: translateX(4px);
}

/* TANGGAL */
.today-date {
    font-size: 13px;
    margin: 12px 0 18px;
    opacity: 0.9;
}

/* =========================
   CONTENT
   ========================= */
.content {
    flex: 1;
    padding: 30px;
    background: transparent;
}

/* =========================
   CARD
   ========================= */
.card {
    background: #ffffff;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* =========================
   TABLE
   ========================= */
table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

table th {
    background: #f3f6fa;
    padding: 10px;
    font-weight: 600;
    text-align: left;
}

table td {
    padding: 9px;
    border-top: 1px solid #eee;
}

table tr:hover {
    background: #f8fafc;
}

/* =========================
   BUTTON
   ========================= */
button {
    padding: 8px 14px;
    border-radius: 6px;
    border: none;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    cursor: pointer;
    transition: all 0.25s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* =========================
   FORM
   ========================= */
input[type="text"], input[type="file"] {
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    width: 260px;
}

label {
    margin-right: 12px;
    display: inline-block;
}

/* =========================
   TRANSACTION BOX
   ========================= */
.transaction {
    background: #ffffff;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* =========================
   CHART
   ========================= */
.chart-container {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.chart-box {
    background: #ffffff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
