/* ==============================
   LUMI PAPER - PINK PASTEL
   ============================== */

:root {
    --pink: #e78eae;
    --pink-dark: #c85e89;
    --pink-soft: #fff0f5;
    --cream: #fffaf6;
    --white: #ffffff;
    --text: #55434b;
    --muted: #9b8790;
    --border: #f2dce5;
    --green: #79a98b;
    --shadow: 0 8px 25px rgba(190, 113, 145, 0.10);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--cream);
    color: var(--text);
    font-size: 14px;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.layout-lumi {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR */

.sidebar-lumi {
    width: 245px;
    min-width: 245px;
    background: var(--white);
    border-right: 1px solid var(--border);
    padding: 30px 18px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.logo-lumi {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 8px;
    margin-bottom: 42px;
}

.logo-icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: var(--pink-soft);
    color: var(--pink-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
}

.logo-lumi strong {
    display: block;
    font-size: 20px;
    color: var(--pink-dark);
}

.logo-lumi small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
}

.sidebar-label {
    color: #b19ca5;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 0 12px;
    margin-bottom: 13px;
}

.menu-lumi {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.menu-lumi a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border-radius: 12px;
    color: #806d76;
    font-size: 13px;
    transition: 0.2s;
}

.menu-lumi a span {
    width: 22px;
    text-align: center;
    font-size: 19px;
}

.menu-lumi a:hover,
.menu-lumi a.aktif {
    color: var(--pink-dark);
    background: var(--pink-soft);
    font-weight: 600;
}

.sidebar-note {
    margin-top: auto;
    padding: 19px 14px;
    background: linear-gradient(135deg, #fff0f5, #fff8ed);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-note > span {
    font-size: 25px;
    color: var(--pink-dark);
}

.sidebar-note strong {
    font-size: 12px;
}

.sidebar-note small {
    color: var(--muted);
    font-size: 10px;
}

/* BAGIAN KONTEN */

.konten-lumi {
    flex: 1;
    min-width: 0;
}

.header-lumi {
    min-height: 190px;
    padding: 35px 42px;
    background: linear-gradient(115deg, #ffeaf2, #fff7ef);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--border);
}

.sapaan-lumi {
    color: var(--pink-dark);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0 0 10px;
}

.header-lumi h1 {
    color: #704b5b;
    font-size: 30px;
    margin: 0;
}

.header-lumi h1 span {
    color: var(--pink);
}

.subjudul-lumi {
    color: #987d89;
    margin: 10px 0 0;
    font-size: 13px;
}

.hiasan-header {
    width: 85px;
    height: 85px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.65);
    color: var(--pink);
    font-size: 52px;
    transform: rotate(8deg);
}

.main-lumi {
    padding: 30px 38px 45px;
    max-width: 1500px;
    margin: 0 auto;
}

/* JUDUL DAN KARTU */

h2 {
    color: #704b5b;
    font-size: 22px;
    margin: 0 0 20px;
}

h3 {
    color: #704b5b;
}

p {
    line-height: 1.6;
}

.card,
.kartu,
.stat-card,
.form-card,
.tabel-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 17px;
    padding: 22px;
    box-shadow: var(--shadow);
    margin-bottom: 22px;
}

.statistik,
.stats,
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 25px;
}

.statistik > *,
.stats > *,
.dashboard-stats > * {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
    box-shadow: var(--shadow);
}

/* TOMBOL */

button,
.btn,
.tombol,
a.btn,
input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 17px;
    border: none;
    border-radius: 10px;
    background: var(--pink);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

button:hover,
.btn:hover,
.tombol:hover,
a.btn:hover,
input[type="submit"]:hover {
    background: var(--pink-dark);
    transform: translateY(-1px);
}

.btn-secondary,
.tombol-secondary {
    background: #fff0f5;
    color: var(--pink-dark);
    border: 1px solid var(--border);
}

.btn-secondary:hover,
.tombol-secondary:hover {
    background: #ffe1ec;
    color: var(--pink-dark);
}

.btn-danger,
.tombol-hapus,
a.hapus {
    background: #fff0f0;
    color: #c65d68;
}

.btn-danger:hover,
.tombol-hapus:hover,
a.hapus:hover {
    background: #f9dada;
    color: #a33d4a;
}

/* FORM */

form {
    margin-bottom: 18px;
}

label {
    display: block;
    font-weight: 600;
    color: #765d68;
    margin-bottom: 8px;
}

input[type="text"],
input[type="number"],
input[type="search"],
input[type="file"],
input[type="email"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #ead6df;
    border-radius: 10px;
    background: #fffdfd;
    color: var(--text);
    outline: none;
    margin-bottom: 16px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(231, 142, 174, 0.13);
}

textarea {
    min-height: 100px;
    resize: vertical;
}

input[type="file"] {
    background: var(--white);
}

input[type="checkbox"],
input[type="radio"] {
    accent-color: var(--pink-dark);
}

/* TABEL PRODUK */

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

th {
    background: #fff0f5;
    color: #815568;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
    padding: 15px 12px;
}

td {
    padding: 13px 12px;
    border-bottom: 1px solid #f5e8ee;
    vertical-align: middle;
}

tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background: #fffbfd;
}

td img {
    max-width: 80px;
    max-height: 80px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--border);
}

/* PESAN NOTIFIKASI */

.pesan {
    padding: 13px 17px;
    border-radius: 10px;
    background: #edf8f0;
    color: #427853;
    border: 1px solid #d6ecdc;
    margin-bottom: 22px;
}

/* PENCARIAN DAN FILTER */

.filter,
.pencarian,
.search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.filter input,
.filter select,
.pencarian input,
.search-box input {
    flex: 1;
    min-width: 150px;
}

/* LINK */

a {
    transition: color 0.2s;
}

td a {
    margin-right: 5px;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .sidebar-lumi {
        width: 200px;
        min-width: 200px;
        padding: 22px 12px;
    }

    .header-lumi {
        padding: 28px 25px;
    }

    .main-lumi {
        padding: 25px 20px;
    }

    .statistik,
    .stats,
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .layout-lumi {
        flex-direction: column;
    }

    .sidebar-lumi {
        width: 100%;
        min-width: 0;
        min-height: auto;
        padding: 18px;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .logo-lumi {
        margin-bottom: 20px;
    }

    .sidebar-note {
        display: none;
    }

    .menu-lumi {
        gap: 5px;
    }

    .menu-lumi a {
        padding: 10px;
    }

    .header-lumi {
        min-height: auto;
        padding: 25px 20px;
    }

    .header-lumi h1 {
        font-size: 25px;
    }

    .hiasan-header {
        width: 55px;
        height: 55px;
        font-size: 35px;
        border-radius: 18px;
    }

    .main-lumi {
        padding: 22px 14px;
    }

    .card,
    .kartu,
    .stat-card,
    .form-card,
    .tabel-card {
        padding: 15px;
        overflow-x: auto;
    }

    table {
        min-width: 650px;
    }

    .filter,
    .pencarian,
    .search-box {
        align-items: stretch;
    }
}
/* KARTU STATISTIK DASHBOARD */

.dashboard {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.kartu-dashboard {
    background: linear-gradient(135deg, #ffffff, #fff3f7);
    border: 1px solid #f2dce5;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 8px 25px rgba(190, 113, 145, 0.10);
    transition: transform 0.2s, box-shadow 0.2s;
}

.kartu-dashboard:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(190, 113, 145, 0.16);
}

.kartu-dashboard h3 {
    margin: 0 0 14px;
    color: #98717f;
    font-size: 14px;
    font-weight: 600;
}

.kartu-dashboard p {
    margin: 0;
    color: #c85e89;
    font-size: 32px;
    font-weight: 700;
}

.kartu-dashboard small {
    display: block;
    margin-top: 8px;
    color: #9b8790;
    font-size: 11px;
}

@media (max-width: 700px) {
    .dashboard {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}