All materials
style.css
cssstyle.css
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background: #f0f4f8;
color: #1a1a2e;
}
.login-container {
max-width: 400px;
margin: 100px auto;
background: white;
padding: 40px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.login-header { text-align: center; margin-bottom: 30px; }
.login-header h1 { color: #1565c0; font-size: 1.5em; }
.login-header p { color: #546e7a; margin-top: 5px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; color: #37474f; font-weight: 500; }
.form-group input {
width: 100%;
padding: 10px 12px;
border: 1px solid #b0bec5;
border-radius: 4px;
font-size: 14px;
}
.login-btn {
width: 100%;
padding: 12px;
background: #1565c0;
color: white;
border: none;
border-radius: 4px;
font-size: 16px;
cursor: pointer;
}
.login-btn:hover { background: #0d47a1; }
.clinic-info { text-align: center; margin-top: 20px; color: #78909c; font-size: 13px; }
.error-message {
background: #ffebee;
color: #c62828;
padding: 10px;
border-radius: 4px;
margin-bottom: 20px;
text-align: center;
}
.top-nav {
background: #1565c0;
color: white;
padding: 12px 24px;
display: flex;
justify-content: space-between;
align-items: center;
}
.nav-brand { font-weight: 600; font-size: 16px; }
.nav-links a { color: rgba(255,255,255,0.8); text-decoration: none; margin-left: 20px; }
.nav-links a.active { color: white; border-bottom: 2px solid white; }
.nav-links a:hover { color: white; }
.nav-user { color: rgba(255,255,255,0.6); margin-left: 20px; }
.content { max-width: 1200px; margin: 24px auto; padding: 0 24px; }
.content h2 { margin-bottom: 16px; color: #1a1a2e; }
.content h3 { margin: 24px 0 12px; color: #37474f; }
.data-table { width: 100%; border-collapse: collapse; background: white; border-radius: 4px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.data-table th { background: #e3f2fd; padding: 10px 14px; text-align: left; font-weight: 600; color: #1565c0; }
.data-table td { padding: 10px 14px; border-top: 1px solid #eceff1; }
.data-table tr:hover { background: #f5f5f5; }
.data-table a { color: #1565c0; text-decoration: none; }
.patient-info { background: white; padding: 20px; border-radius: 4px; margin-bottom: 24px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.patient-info p { margin-bottom: 8px; }
.back-link { display: inline-block; margin-top: 20px; color: #1565c0; text-decoration: none; }