body {
margin: 0;
font-family: Arial;
background: #f4f6fa;
}

.layout {
display: flex;
}

/* SIDEBAR */
.sidebar {
width: 220px;
background: #111827;
color: white;
height: 100vh;
padding: 20px;
}

.sidebar button {
width: 100%;
margin: 10px 0;
padding: 10px;
border: none;
cursor: pointer;
background: #2563eb;
color: white;
border-radius: 6px;
}

/* MAIN */
.main {
flex: 1;
padding: 20px;
}

.topbar {
margin-bottom: 20px;
}

.topbar input {
width: 100%;
padding: 10px;
border-radius: 6px;
border: 1px solid #ccc;
}

/* CARD */
.card {
background: white;
padding: 20px;
border-radius: 10px;
margin-bottom: 20px;
box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* TABLE */
table {
width: 100%;
border-collapse: collapse;
}

th, td {
padding: 12px;
border-bottom: 1px solid #eee;
text-align: left;
}

img {
width: 50px;
height: 50px;
object-fit: cover;
border-radius: 6px;
}

/* BUTTONS */
button {
padding: 6px 10px;
border: none;
cursor: pointer;
border-radius: 5px;
margin-right: 5px;
}

.edit {
background: #f59e0b;
color: white;
}

.delete {
background: #ef4444;
color: white;
}

/* MODAL */
.modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.5);
display: flex;
align-items: center;
justify-content: center;
}

.modal-content {
background: white;
padding: 20px;
width: 400px;
border-radius: 10px;
}

.hidden {
display: none;
}