/* Custom styles for Ananda Rath Attendance Management System */

/* General styles */
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Login form styles */
.login-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.login-logo {
    text-align: center;
    margin-bottom: 25px;
}

/* Dashboard styles */
.status-card {
    transition: transform 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
    border: none;
}

.status-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.timer-display {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin: 15px 0;
    color: #0d6efd;
}

/* Check-in/out camera modal */
.camera-modal .modal-content {
    border-radius: 15px;
    overflow: hidden;
}

.camera-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
    background-color: #000;
}

#cameraFeed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.capture-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #fff;
    color: #0d6efd;
    border: 3px solid #0d6efd;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.capture-btn:hover {
    background-color: #0d6efd;
    color: #fff;
}

/* Attendance history table */
.attendance-table th {
    background-color: #f1f5f9;
    font-weight: 600;
}

.attendance-table .photo-thumbnail {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s;
}

.attendance-table .photo-thumbnail:hover {
    transform: scale(1.1);
}

/* Admin dashboard */
.dashboard-stats .card {
    border-left: 4px solid #0d6efd;
    border-radius: 5px;
    transition: all 0.3s;
}

.dashboard-stats .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.dashboard-stats .stat-icon {
    font-size: 2rem;
    opacity: 0.8;
}

/* Employee management */
.employee-card {
    transition: all 0.3s;
    border-radius: 10px;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.employee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timer-display {
        font-size: 2rem;
    }
    
    .capture-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
} 