* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, sans-serif; background: #f5f5f5; color: #333; }
.container { max-width: 1400px; margin: 20px auto; padding: 0 20px; }

.header { background: #2c3e50; color: white; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; }
.header a { color: #ecf0f1; text-decoration: none; margin-left: 10px; }
.header a:hover { text-decoration: underline; }

.toolbar { background: white; padding: 15px; margin-bottom: 20px; border-radius: 5px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.toolbar input { padding: 8px; width: 300px; border: 1px solid #ddd; border-radius: 3px; }
.toolbar button, .btn-add { padding: 8px 15px; background: #3498db; color: white; border: none; border-radius: 3px; cursor: pointer; text-decoration: none; }
.btn-add { background: #27ae60; }

table { width: 100%; background: white; border-collapse: collapse; border-radius: 5px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
th, td { padding: 12px; text-align: left; border-bottom: 1px solid #eee; }
th { background: #34495e; color: white; }
tr:hover { background: #f8f9fa; }
td a { color: #3498db; text-decoration: none; }

.status-Active { color: #27ae60; font-weight: bold; }
.status-Suspend { color: #f39c12; font-weight: bold; }
.status-Termin { color: #e74c3c; font-weight: bold; }

.login-page { display: flex; justify-content: center; align-items: center; height: 100vh; background: #2c3e50; }
.login-box { background: white; padding: 40px; border-radius: 8px; width: 350px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.login-box h2 { margin-bottom: 10px; text-align: center; }
.login-box p { text-align: center; margin-bottom: 20px; color: #666; }
.login-box input { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 4px; }
.login-box button { width: 100%; padding: 12px; background: #3498db; color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 16px; }
.error { background: #e74c3c; color: white; padding: 10px; border-radius: 4px; margin-bottom: 15px; text-align: center; }
.success { background: #27ae60; color: white; padding: 10px; border-radius: 4px; margin-bottom: 15px; }
form input, form select, form textarea { 
    width: 100%; 
    padding: 10px; 
    margin-bottom: 0; 
    border: 1px solid #ddd; 
    border-radius: 4px; 
}
form label { 
    display: block; 
    margin-top: 15px;
    margin-bottom: 4px; 
    font-weight: bold; 
}
form label:first-of-type {
    margin-top: 0;
}
form small {
    display: block;
    margin-top: 3px;
    margin-bottom: 0;
    font-size: 12px;
    color: #6c757d;
    line-height: 1.2;
}
form .combo-wrapper {
    margin-bottom: 0;
}
form button { padding: 12px 20px; background: #27ae60; color: white; border: none; border-radius: 4px; cursor: pointer; }

#toast {
    animation: slideDown 0.3s ease-out;
}
@keyframes slideDown {
    from { transform: translateX(-50%) translateY(-100%); opacity: 0; }
    to { transform: translateX(-50%) translateY(0); opacity: 1; }
}


