* {
    box-sizing: border-box;
}

body{
font-family: Arial, Helvetica, sans-serif;
background:#f4f4f4;
display:flex;
justify-content:center;
align-items:center;
height:100vh;
margin:0;
}

.container{
background:white;
padding:30px;
border-radius:8px;
width:320px;
box-shadow:0 4px 10px rgba(0,0,0,0.1);
}

h2{
text-align:center;
margin-bottom:20px;
}

p{
font-size:14px;
margin-bottom:20px;
color:#555;
}

label{
margin-bottom:5px;
font-size:14px;
}

input, select {
width:100%;
padding:8px;
margin-bottom:15px;
border:1px solid #ccc;
border-radius:4px;
font-size:14px;
}

select {
    background-color: white;
    cursor: pointer;
}

button{
width:100%;
padding:10px;
background:#007bff;
color:white;
border:none;
border-radius:4px;
font-size:16px;
cursor:pointer;
}

button:hover{
background:#0056b3;
}

.login-links{
margin-top:15px;
display:flex;
justify-content:space-between;
font-size:13px;
}

a{
color:#007bff;
text-decoration:none;
}

a:hover{
text-decoration:underline;
}

.back{
display:block;
margin-top:15px;
text-align:center;
font-size:13px;
width:100%;
}

.navbar{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #007bff;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    font-weight: bold;
    font-size: 18px;
}

#logoutBtn {
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

#logoutBtn:hover {
    color: #ffdddd;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    position: relative;
    padding-left: 15px;
}

.nav-link:hover {
    text-decoration: underline;
}

.nav-link::before {
    content: "|";
    position: absolute;
    left: 0;
    color: rgba(255,255,255,0.5);
}

/* TABLE CONTAINER */
.table-container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-top: 20px;
}

/* TABLE */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

/* HEADER */
thead {
    background: #007bff;
    color: white;
}

th {
    text-align: left;
    padding: 10px;
    font-weight: 600;
}

/* ROWS */
td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

/* ZEBRA STRIPES */
tbody tr:nth-child(even) {
    background: #f9f9f9;
}

/* HOVER EFFECT */
tbody tr:hover {
    background: #eef5ff;
    cursor: pointer;
}

/* STATUS BADGE */
.badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
}

.badge.active {
    background: #d4edda;
    color: #155724;
}

.badge.inactive {
    background: #f8d7da;
    color: #721c24;
}

.new-button {
    width: auto;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 14px;
}