* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}
.login-box {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 400px;
    margin: 100px auto;
    text-align: center;
}
.login-box h1 { 
    color: #667eea; 
    font-size: 2.5em;
    margin-bottom: 5px;
}
.login-box h2 { 
    color: #666; 
    font-weight: 400;
    margin-bottom: 30px;
}
input {
    width: 100%;
    padding: 12px 15px;
    margin: 10px 0;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: border 0.3s;
}
input:focus { border-color: #667eea; outline: none; }
button {
    width: 100%;
    padding: 12px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}
button:hover { background: #5a67d8; }
button:disabled { background: #a0aec0; cursor: not-allowed; }
.error { color: #e53e3e; margin-top: 15px; }
.hidden { display: none; }
.header {
    background: white;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header a { color: #667eea; text-decoration: none; margin: 0 10px; }
.attendance-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    text-align: center;
}
#dateDisplay { color: #666; margin: 15px 0; }
#locationStatus { background: #f0f4ff; padding: 15px; border-radius: 10px; margin: 15px 0; }
#markBtn { margin-top: 20px; font-size: 18px; }
table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
th { background: #667eea; color: white; padding: 12px; text-align: left; }
td { padding: 12px; border-bottom: 1px solid #e0e0e0; }
tr:hover { background: #f0f4ff; }
.filters {
    background: white;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}
.filters input { width: auto; }
#reportContent { background: white; padding: 20px; border-radius: 15px; }
