* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, sans-serif;
}
body {
background-color: #f4f6f9;
}
.sidebar {
width: 220px;
height: 100vh;
background: #1f2937;
position: fixed;
color: white;
padding-top: 20px;
}
.sidebar h2 {
text-align: center;
margin-bottom: 30px;
}
.sidebar-user {
padding: 0 20px 18px;
margin-bottom: 10px;
border-bottom: 1px solid #374151;
}
.sidebar-user strong,
.sidebar-user span {
display: block;
}
.sidebar-user span {
font-size: 13px;
color: #cbd5e1;
margin-top: 4px;
}
.sidebar a {
display: block;
color: white;
text-decoration: none;
padding: 15px 20px;
transition: 0.3s;
}
.sidebar a:hover {
background: #374151;
}
.main {
margin-left: 220px;
padding: 20px;
}
.card {
background: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
margin-bottom: 20px;
}
.table {
width: 100%;
border-collapse: collapse;
}
.table th,
.table td {
border: 1px solid #ddd;
padding: 12px;
}
.table th {
background: #111827;
color: white;
}
.created-at-column {
width: 145px;
white-space: nowrap;
font-size: 13px;
}
.actions-column {
width: 280px;
white-space: nowrap;
}
.btn {
display: inline-block;
padding: 10px 18px;
border: none;
border-radius: 5px;
cursor: pointer;
text-decoration: none;
}
.btn-primary {
background: #2563eb;
color: white;
}
.btn-secondary {
background: #4b5563;
color: white;
}
.btn-danger {
background: #dc2626;
color: white;
}
.actions {
display: flex;
gap: 10px;
margin-bottom: 20px;
}
.table-actions {
display: flex;
gap: 8px;
align-items: center;
flex-wrap: nowrap;
justify-content: flex-start;
}
.inline-form {
display: inline-flex;
margin: 0;
flex: 0 0 auto;
}
.table-actions .btn {
min-width: 92px;
padding: 9px 12px;
font-size: 14px;
line-height: 1.2;
}
.notice {
padding: 12px;
margin-bottom: 18px;
border-radius: 5px;
background: #dcfce7;
color: #166534;
}
.error {
padding: 12px;
margin-bottom: 18px;
border-radius: 5px;
background: #fee2e2;
color: #991b1b;
}
.form-group {
margin-bottom: 15px;
}
.form-group label {
display: block;
margin-bottom: 5px;
}
.form-group input,
.form-group select {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
.modal-overlay {
display: none;
position: fixed;
inset: 0;
background: rgba(0,0,0,0.45);
z-index: 1000;
align-items: flex-start;
justify-content: center;
padding-top: 70px;
}
.modal-overlay.is-open {
display: flex;
}
.modal {
width: min(520px, calc(100% - 32px));
background: white;
border-radius: 6px;
box-shadow: 0 12px 32px rgba(0,0,0,0.25);
overflow: hidden;
}
.modal-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 18px;
border-bottom: 1px solid #e5e7eb;
}
.modal-header h2 {
font-size: 20px;
font-weight: 700;
}
.modal-close {
border: none;
background: transparent;
font-size: 26px;
line-height: 1;
cursor: pointer;
color: #6b7280;
}
.modal-body {
padding: 18px;
}
.modal-footer {
display: flex;
justify-content: space-between;
gap: 10px;
padding: 0 18px 18px;
}
.modal input[readonly] {
background: #f3f4f6;
color: #4b5563;
}

.login-container {

    width: 100%;
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

}

.login-container .card {

    width: 400px;

}
