/* Modern Theme for Attendance Pro 2026 */
:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --success-color: #4cc9f0;
    --danger-color: #f72585;
    --dark-bg: #1e1e2f;
    --light-bg: #f8f9fa;
    --text-main: #333;
    --white: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
    margin: 0;
    color: var(--text-main);
}

/* Container styling */
.container {
    max-width: 1100px;
    margin: 20px auto;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* Video & Camera Styling */
#video-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    border-radius: 15px;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    background: #000;
}

video {
    width: 100%;
    display: block;
}

/* Button Styling */
.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary { background: var(--primary-color); color: white; }
.btn-primary:hover { background: var(--secondary-color); }

.btn-success { background: #2ecc71; color: white; }

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th {
    background: var(--primary-color);
    color: white;
    padding: 15px;
    text-align: left;
}

td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

tr:hover { background: #f1f4ff; }

/* Form Elements */
input[type="text"], input[type="email"], input[type="password"], input[type="date"], select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

/* Responsive sidebar or menu */
.nav-bar {
    background: var(--dark-bg);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}