body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f9;
    margin: 0;
    padding: 0;
    color: #333;
}
.navbar {
    background-color: #2c3e50;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.navbar a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    font-weight: 500;
}
.navbar a:hover {
    background-color: #34495e;
    color: white;
}
.navbar a.active {
    background-color: #3498db;
    color: white;
}
.container {
    max-width: 800px;
    margin: 30px auto;
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
h2 {
    color: #2c3e50;
    margin-top: 0;
}
.camera-area {
    position: relative;
    width: 640px;
    height: 480px;
    margin: 20px auto;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
video {
    position: absolute;
    top: 0;
    left: 0;
}
canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}
.form-container {
    max-width: 500px;
    margin: 20px auto 0 auto;
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}
.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
button {
    width: 100%;
    padding: 12px;
    background-color: #2ecc71;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
button:hover {
    background-color: #27ae60;
}
button:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}
.status-absen-selector {
    text-align: center;
    margin: 15px 0;
    padding: 10px;
    background: #eef2f5;
    border-radius: 5px;
}
.log-container {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-left: 4px solid #3498db;
    border-radius: 0 4px 4px 0;
}
.alert-success {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 4px;
    font-size: 16px;
}
