/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
}

/* Login container */
.login-container {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

/* Login card */
.login-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 40px;
    margin-bottom: 20px;
}

/* Brand header */
.brand-header {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo svg {
    width: 30px;
    height: 30px;
    color: white;
}

.brand-header h1 {
    font-size: 28px;
    color: #2d3748;
    margin-bottom: 8px;
}

.brand-header p {
    color: #718096;
    font-size: 16px;
}

/* Form styles */
.login-form {
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2d3748;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.remember-me input {
    margin-right: 8px;
    cursor: pointer;
}

.forgot-password {
    color: #4299e1;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: #2b6cb0;
    text-decoration: underline;
}

/* Login button */
.login-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Signup link */
.signup-link {
    text-align: center;
    color: #718096;
    font-size: 14px;
}

.signup-link a {
    color: #4299e1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.signup-link a:hover {
    color: #2b6cb0;
    text-decoration: underline;
}

/* Footer */
.login-footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 480px) {
    .login-card {
        padding: 30px 25px;
    }
    
    .brand-header h1 {
        font-size: 24px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .forgot-password {
        margin-top: 10px;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
    }
    
    .footer-links a {
        margin: 5px 0;
    }
}
/* Camera capture styles */
        .capture-container {
            max-width: 440px;
            margin: 40px auto;
            background: white;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
            padding: 40px 30px 30px 30px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .user-name {
            font-size: 24px;
            font-weight: 600;
            color: #2d3748;
            margin-bottom: 24px;
            text-align: center;
        }
        .camera-view {
            width: 320px;
            height: 240px;
            background: #e2e8f0;
            border-radius: 8px;
            margin-bottom: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
        .date-time {
            font-size: 16px;
            color: #718096;
            margin-bottom: 22px;
            text-align: center;
        }
        .capture-btn {
            width: 100%;
            padding: 14px;
            background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        .capture-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }
        .captured-image {
            margin-top: 18px;
            width: 320px;
            height: 240px;
            border-radius: 8px;
            object-fit: cover;
            display: none;
        }

/* Report table styles */
		.report-container {
			max-width: 1000px;
			margin: 40px auto;
			background: white;
			border-radius: 12px;
			box-shadow: 0 10px 30px rgba(0,0,0,0.15);
			padding: 40px 30px 30px 30px;
		}
		.scroll-table-wrapper {
			overflow-x: auto;
			margin-top: 24px;
			border-radius: 8px;
			box-shadow: 0 2px 8px rgba(66,153,225,0.08);
		}
		table.report-table {
			min-width: 900px;
			width: 100%;
			border-collapse: collapse;
			background: #f8fafc;
		}
		table.report-table th, table.report-table td {
			padding: 16px 18px;
			text-align: left;
			border-bottom: 1px solid #e2e8f0;
		}
		table.report-table th {
			background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
			color: white;
			font-size: 16px;
			font-weight: 600;
			position: sticky;
			left: 0;
			z-index: 2;
		}
		table.report-table tr:hover td {
			background: #e6f0fa;
		}
		.table-title {
			font-size: 24px;
			font-weight: 600;
			color: #2d3748;
			margin-bottom: 12px;
			text-align: center;
		}
		@media (max-width: 600px) {
			.report-container {
				padding: 20px 5px;
			}
			table.report-table th, table.report-table td {
				padding: 10px 8px;
				font-size: 13px;
			}
		}
