:root {
    --primary: #004DA0;
    --primary-dark: #1e40af;
    --secondary: #64748b;
    --accent: #f59e0b;
    --danger: #ef4444;
    --success: #22c55e;
    --background: #f8fafc;
    --surface: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    
    --glass: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);

    --font-heading: 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Helvetica Neue', Arial, sans-serif;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    background-image: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    min-height: 100vh;
	font-size: 140%;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
}

.container {
    max-width: 800px; /* Mobile first focus */
    margin: 0 auto;
    padding: 20px;
}
a {
	text-decoration: none;
	color: #004DA0;
}

/* Glassmorphism Card */
.card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    width: 100%;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

/* User Specific - Elderly Friendly */
.user-body {
    font-size: 18px; /* Larger base font */
}

.user-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    position: relative;
}

.step.active {
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.step.completed {
    background: var(--success);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.form-input {
    width: 100%;
    padding: 16px;
    font-size: 1.2rem; /* Large text for input */
    border: 2px solid var(--border);
    border-radius: 12px;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
}

.error-text {
    color: var(--danger);
    font-size: 0.9rem;
    margin-top: 5px;
    font-weight: bold;
}

/* Calendar Grid */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.calendar-header {
    text-align: center;
    font-weight: bold;
    padding: 10px;
    color: var(--text-muted);
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    background: white;
    border: 1px solid var(--border);
    font-weight: 600;
}

.calendar-day.disabled {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
}

.calendar-day.selected {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.calendar-day.has-slots {
    border-color: var(--primary);
    color: var(--primary);
}

/* Slot List */
.slot-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.slot-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: white;
    cursor: pointer;
}

.slot-item.selected {
    border-color: var(--primary);
    background: #eff6ff;
}

.slot-item:hover {
    border-color: var(--primary);
}

.slot-time {
    font-size: 1.2rem;
    font-weight: 700;
}

.slot-capacity {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Confirmation Check */
.confirm-details {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.confirm-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 1.1rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 8px;
}
.confirm-row:last-child {
    border-bottom: none;
}
.confirm-label {
    color: var(--text-muted);
}
.confirm-value {
    font-weight: 700;
}

/* Admin Specific */
.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.nav-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.nav-tab {
    padding: 10px 20px;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-muted);
}

.nav-tab.active {
    background: var(--primary);
    color: white;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.data-table th, .data-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
	font-size: .6em;
}

.data-table th {
    background: #f8fafc;
    font-weight: 600;
    color: var(--text-muted);
}
.footer_area {
text-align: center;
padding: 1em 0;
}
.calendar-header-row div {
text-align: center;
}
