body {
    display: flex;
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #f4f7fa;
}

.sidebar {
    width: 260px;
    height: 100vh;
    background: linear-gradient(to bottom, #2b5876, #4e4376);
    color: white;
    padding-top: 40px;
    position: fixed;
    left: 0;
    top: 0;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.sidebar h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 20px;
}

.sidebar a {
    display: block;
    padding: 12px 20px;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s;
}

.sidebar a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.main-content {
    margin-left: 260px;
    padding: 40px;
    width: calc(100% - 260px);
    box-sizing: border-box;
}

h1 {
    margin-bottom: 20px;
    color: #2c3e50;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

th {
    background-color: #3498db;
    color: white;
    padding: 14px;
    text-align: left;
}

td {
    padding: 14px;
    border-top: 1px solid #eee;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

.actions .edit, .actions .delete {
    padding: 6px 10px;
    border-radius: 4px;
    color: white;
    margin-right: 5px;
    border: none;
    cursor: pointer;
}

.actions .edit {
    background-color: #f39c12;
}

.actions .delete {
    background-color: #e74c3c;
}

.btn {
    background-color: #28a745;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    margin-bottom: 20px;
}

.btn:hover {
    opacity: 0.9;
}