:root {
    --primary: #4CAF50;
    --dark: #2c3e50;
    --light: #f4f6f8;
    --danger: #e74c3c;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Noto Sans KR', sans-serif; background: var(--light); color: #333; }

/* Utils */
.hidden { display: none !important; }
.error-msg { color: var(--danger); margin-top: 10px; font-size: 0.9rem; }

/* Login */
.login-container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #a8e063 0%, #56ab2f 100%);
}
.login-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    width: 300px;
}
.login-card input {
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.login-card button {
    width: 100%;
    padding: 10px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Dashboard Layout */
.dashboard-container { display: flex; height: 100vh; }

/* Sidebar */
.sidebar {
    width: 250px;
    background: var(--dark);
    color: white;
    padding: 20px;
}
.sidebar h3 { text-align: center; margin-bottom: 30px; }
.sidebar h3 span { font-size: 0.8em; opacity: 0.7; }
.sidebar ul { list-style: none; }
.sidebar li {
    padding: 15px;
    cursor: pointer;
    border-radius: 5px;
    margin-bottom: 5px;
    transition: 0.3s;
}
.sidebar li:hover, .sidebar li.active { background: rgba(255,255,255,0.1); }
.sidebar li i { margin-right: 10px; width: 20px; }

/* Content */
.content { flex: 1; padding: 30px; overflow-y: auto; }
header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 30px;
}
.stats-row { display: flex; gap: 20px; margin-bottom: 30px; }
.card {
    background: white; padding: 20px; flex: 1;
    border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.card h3 { font-size: 0.9rem; color: #777; margin-bottom: 10px; }
.card p { font-size: 1.8rem; font-weight: bold; }

/* Table */
.table-wrapper { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 15px; text-align: left; border-bottom: 1px solid #eee; }
th { background: #f8f9fa; font-weight: 600; font-size: 0.9rem; }
td { font-size: 0.95rem; }

/* Status Badges */
.badge { padding: 5px 10px; border-radius: 15px; font-size: 0.8rem; }
.badge.PENDING { background: #fff3cd; color: #856404; }
.badge.PAID { background: #d4edda; color: #155724; }
.badge.SHIPPED { background: #cce5ff; color: #004085; }
.badge.DELIVERED { background: #d1ecf1; color: #0c5460; }

/* Buttons */
.btn-action {
    padding: 5px 10px; background: #eee; border: none;
    border-radius: 5px; cursor: pointer; font-size: 0.8rem;
}
.btn-action:hover { background: #ddd; }
