@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

* { box-sizing: border-box; }
body { margin: 0; font-family: 'Inter', sans-serif; background: #f3f4f6; display: flex; height: 100vh; overflow: hidden; }

/* --- SIDEBAR --- */
.sidebar {
    width: 260px; background: #1f2937; color: #9ca3af;
    display: flex; flex-direction: column; flex-shrink: 0;
}
.brand {
    height: 64px; display: flex; align-items: center; padding: 0 24px;
    font-size: 20px; font-weight: 700; color: white; background: #111827;
}
.brand span { color: #d4a373; }
.menu { flex: 1; padding: 20px 0; overflow-y: auto; }
.menu-item {
    display: flex; align-items: center; padding: 12px 24px;
    color: inherit; text-decoration: none; transition: 0.3s;
    border-left: 4px solid transparent;
}
.menu-item:hover, .menu-item.active { background: #374151; color: white; border-left-color: #d4a373; }
.menu-item i { width: 24px; margin-right: 12px; }
.user-profile {
    padding: 20px; border-top: 1px solid #374151;
    display: flex; align-items: center; gap: 10px; color: white;
}

/* --- MAIN CONTENT --- */
.main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.header {
    height: 64px; background: white; border-bottom: 1px solid #e5e7eb;
    display: flex; align-items: center; justify-content: space-between; padding: 0 30px;
}
.page-title { font-size: 18px; font-weight: 600; color: #111827; }
.content-area { flex: 1; padding: 30px; overflow-y: auto; }

/* --- CARDS & FORMS --- */
.card { background: white; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); padding: 24px; margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: #374151; }
.form-input {
    width: 100%; padding: 10px; border: 1px solid #d1d5db; border-radius: 6px;
    font-family: inherit;
}
.btn {
    background: #2d4a35; color: white; padding: 10px 20px; border: none;
    border-radius: 6px; cursor: pointer; font-weight: 500;
}
.btn:hover { background: #1f3524; }
.btn-danger { background: #ef4444; }

/* --- TABLE --- */
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid #e5e7eb; }
th { color: #6b7280; font-weight: 600; font-size: 12px; text-transform: uppercase; }

/* --- LOGIN PAGE --- */
.login-body { display: flex; align-items: center; justify-content: center; background: #1f2937; }
.login-box { background: white; padding: 40px; border-radius: 10px; width: 400px; text-align: center; }