341 lines
6.3 KiB
CSS
341 lines
6.3 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
|
|
|
|
:root {
|
|
--bg-gradient: linear-gradient(135deg, #f0f9ff 0%, #cffafe 100%);
|
|
--glass-bg: rgba(255, 255, 255, 0.7);
|
|
--glass-border: rgba(255, 255, 255, 0.5);
|
|
--glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
|
|
--text-dark: #1e293b;
|
|
--text-light: #64748b;
|
|
--primary: #0284c7;
|
|
--primary-hover: #0369a1;
|
|
--danger: #ef4444;
|
|
--success: #10b981;
|
|
--warning: #f59e0b;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Inter', sans-serif;
|
|
background: var(--bg-gradient);
|
|
background-attachment: fixed;
|
|
color: var(--text-dark);
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: var(--primary);
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
a:hover {
|
|
color: var(--primary-hover);
|
|
}
|
|
|
|
/* Glassmorphism Classes */
|
|
.glass-panel {
|
|
background: var(--glass-bg);
|
|
backdrop-filter: blur(16px);
|
|
-webkit-backdrop-filter: blur(16px);
|
|
border: 1px solid var(--glass-border);
|
|
box-shadow: var(--glass-shadow);
|
|
border-radius: 16px;
|
|
padding: 24px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.glass-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
border-bottom: 1px solid rgba(0,0,0,0.05);
|
|
padding-bottom: 16px;
|
|
}
|
|
|
|
.glass-header h2, .glass-header h3, .glass-header h4 {
|
|
color: var(--primary);
|
|
font-weight: 600;
|
|
margin: 0;
|
|
}
|
|
|
|
/* Typography */
|
|
h1, h2, h3, h4, h5 {
|
|
color: var(--text-dark);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.text-muted {
|
|
color: var(--text-light);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
/* Buttons */
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 10px 20px;
|
|
border-radius: 8px;
|
|
border: none;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
outline: none;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.btn:active {
|
|
transform: scale(0.96);
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--primary);
|
|
color: white;
|
|
box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background: var(--primary-hover);
|
|
color: white;
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 16px rgba(2, 132, 199, 0.3);
|
|
}
|
|
|
|
.btn-danger {
|
|
background: var(--danger);
|
|
color: white;
|
|
}
|
|
.btn-danger:hover { background: #dc2626; }
|
|
|
|
.btn-success {
|
|
background: var(--success);
|
|
color: white;
|
|
}
|
|
|
|
/* Forms */
|
|
.form-group {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.form-label {
|
|
display: block;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
margin-bottom: 8px;
|
|
color: var(--text-dark);
|
|
}
|
|
|
|
.form-control {
|
|
width: 100%;
|
|
padding: 12px 16px;
|
|
border-radius: 8px;
|
|
border: 1px solid rgba(0,0,0,0.1);
|
|
background: rgba(255,255,255,0.8);
|
|
font-size: 1rem;
|
|
transition: all 0.3s ease;
|
|
font-family: 'Inter', sans-serif;
|
|
}
|
|
|
|
.form-control:focus {
|
|
outline: none;
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
|
|
background: #fff;
|
|
}
|
|
|
|
/* Layouts */
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
width: 100%;
|
|
}
|
|
|
|
.flex-center {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.grid-2 {
|
|
display: grid;
|
|
grid-template-columns: 1fr 2fr;
|
|
gap: 24px;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.grid-2 {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* Tables */
|
|
.table-responsive {
|
|
overflow-x: auto;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.modern-table {
|
|
width: 100%;
|
|
border-collapse: separate;
|
|
border-spacing: 0;
|
|
text-align: left;
|
|
}
|
|
|
|
.modern-table th {
|
|
background: rgba(0,0,0,0.03);
|
|
padding: 14px 16px;
|
|
font-weight: 600;
|
|
font-size: 0.85rem;
|
|
color: var(--text-light);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
border-bottom: 1px solid rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.modern-table td {
|
|
padding: 14px 16px;
|
|
border-bottom: 1px solid rgba(0,0,0,0.05);
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.modern-table tbody tr {
|
|
transition: background 0.2s ease;
|
|
}
|
|
|
|
.modern-table tbody tr:hover {
|
|
background: rgba(255,255,255,0.5);
|
|
}
|
|
|
|
.modern-table tbody tr:last-child td {
|
|
border-bottom: none;
|
|
}
|
|
|
|
/* Badges */
|
|
.badge {
|
|
display: inline-block;
|
|
padding: 4px 10px;
|
|
border-radius: 20px;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.badge-info {
|
|
background: rgba(2, 132, 199, 0.1);
|
|
color: var(--primary);
|
|
}
|
|
|
|
.badge-warning {
|
|
background: rgba(245, 158, 11, 0.1);
|
|
color: #d97706;
|
|
}
|
|
|
|
.badge-danger {
|
|
background: rgba(239, 68, 68, 0.1);
|
|
color: #dc2626;
|
|
}
|
|
|
|
/* Utility */
|
|
.text-center { text-align: center; }
|
|
.mt-1 { margin-top: 8px; }
|
|
.mt-2 { margin-top: 16px; }
|
|
.mt-3 { margin-top: 24px; }
|
|
.mb-1 { margin-bottom: 8px; }
|
|
.mb-2 { margin-bottom: 16px; }
|
|
.mb-3 { margin-bottom: 24px; }
|
|
.text-danger { color: var(--danger); }
|
|
|
|
/* Navbar */
|
|
.navbar {
|
|
background: var(--glass-bg);
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
border-bottom: 1px solid var(--glass-border);
|
|
padding: 16px 24px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 100;
|
|
}
|
|
|
|
.navbar-brand {
|
|
font-size: 1.25rem;
|
|
font-weight: 700;
|
|
color: var(--primary);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.navbar-menu {
|
|
display: flex;
|
|
gap: 16px;
|
|
align-items: center;
|
|
}
|
|
|
|
/* User Card */
|
|
.user-info-card {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
.user-avatar {
|
|
width: 60px;
|
|
height: 60px;
|
|
border-radius: 50%;
|
|
background: var(--primary);
|
|
color: white;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 24px;
|
|
font-weight: 600;
|
|
box-shadow: 0 4px 10px rgba(2,132,199,0.3);
|
|
}
|
|
|
|
/* Search Box */
|
|
.search-box {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin-bottom: 20px;
|
|
}
|
|
.search-box input {
|
|
flex: 1;
|
|
}
|
|
|
|
/* Patient Details Layout */
|
|
.top-info { display: flex; gap: 24px; }
|
|
.top-info-left { width: 140px; flex-shrink: 0; }
|
|
.top-info-left img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
|
|
.top-info-right { flex-grow: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
|
|
@media (max-width: 768px) {
|
|
.top-info { flex-direction: column; }
|
|
.top-info-right { grid-template-columns: 1fr; }
|
|
}
|
|
h4.widgettitle {
|
|
font-size: 1.15rem;
|
|
color: var(--primary);
|
|
margin-top: 0;
|
|
margin-bottom: 16px;
|
|
padding-bottom: 12px;
|
|
border-bottom: 1px solid rgba(0,0,0,0.05);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|