/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: #4e73df;
    transition: all 0.3s;
}

a:hover {
    color: #2e59d9;
}

.btn {
    border-radius: 0.25rem;
    padding: 0.375rem 0.75rem;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #4e73df;
    border-color: #4e73df;
}

.btn-primary:hover {
    background-color: #2e59d9;
    border-color: #2653d4;
}

.card {
    border: none;
    border-radius: 0.35rem;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
    transition: all 0.3s;
}

.card:hover {
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.2);
}

.alert {
    border-radius: 0.35rem;
}

/* Login & Register Pages */
.auth-container {
    max-width: 400px;
    margin: 0 auto;
    padding-top: 5rem;
}

.auth-card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.auth-card .card-body {
    padding: 2rem;
}

.auth-card .card-title {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.form-control {
    border-radius: 0.25rem;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d3e2;
}

.form-control:focus {
    border-color: #bac8f3;
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

/* Attendance Page */
.attendance-container {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 2rem;
}

#video {
    border-radius: 0.35rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

#capture-btn {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

.permission-box {
    margin-bottom: 1.5rem;
}

#map {
    border-radius: 0.35rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .auth-container {
        padding-top: 2rem;
    }
    
    .attendance-container {
        padding: 1rem;
    }
}