body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 960px;
    margin: auto;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

h1, h2, h3, h4, h5 {
    margin-bottom: 20px;
    color: #333;
}

input, select, button {
    padding: 10px;
    margin-bottom: 15px;
    width: 100%;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background: #007bff;
    color: white;
    border: none;
    transition: background 0.3s ease;
    cursor: pointer;
}

button:hover {
    background: #0056b3;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    border: 1px solid #ddd;
    padding: 10px;
    font-size: 14px;
}

th {
    background-color: #007bff;
    color: white;
    text-align: left;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

.btn {
    padding: 6px 12px;
    border-radius: 4px;
    color: white;
    text-decoration: none;
    font-size: 13px;
    display: inline-block;
}

.btn-edit {
    background-color: #28a745;
}

.btn-edit:hover {
    background-color: #218838;
}

.btn-delete {
    background-color: #dc3545;
}

.btn-delete:hover {
    background-color: #c82333;
}

.error {
    color: red;
    margin-bottom: 10px;
}

.logout {
    margin-top: 20px;
    text-align: center;
}

.form-login {
    max-width: 400px;
    margin: auto;
}

footer {
    text-align: right;
    padding: 10px 20px;
    font-size: 12px;
    color: #666;
    position: fixed;
    bottom: 0;
    right: 0;
    width: auto;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
}
.aktif {
    background-color: #e6f9eb;
    border-left: 5px solid #28a745;
    padding-left: 10px;
}

.token-aktif {
    color: green;
    font-weight: bold;
}

.token-belum {
    color: #999;
    font-style: italic;
}

