/* PCMCMS NHS-Styled Application CSS */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --nhs-blue: #005EB8;
    --nhs-dark: #003087;
    --nhs-light: #D8E8F5;
    --nhs-warm: #F0F4F9;
    --green: #1A7A3C;
    --amber: #E67E22;
    --red: #C0392B;
}
body { font-family: Arial, sans-serif; font-size: 14px; color: #333; background: #f5f5f5; }
.login-page { background: linear-gradient(135deg, var(--nhs-blue) 0%, var(--nhs-dark) 100%); min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.login-container { background: white; padding: 40px; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.3); max-width: 400px; width: 100%; }
.login-header { text-align: center; margin-bottom: 30px; }
.login-header h1 { color: var(--nhs-blue); font-size: 32px; margin-bottom: 10px; }
.login-header p { color: #666; font-size: 14px; }
.login-header small { color: #999; font-size: 12px; }
.login-form .form-group { margin-bottom: 20px; }
.login-form label { display: block; margin-bottom: 6px; font-weight: 600; }
.login-form input { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px; }
.login-form input:focus { outline: none; border-color: var(--nhs-blue); box-shadow: 0 0 0 3px var(--nhs-light); }
.login-footer { margin-top: 20px; text-align: center; color: #999; font-size: 12px; }
.btn { padding: 10px 20px; border: none; border-radius: 4px; cursor: pointer; font-size: 14px; font-weight: 600; transition: all 0.3s; text-decoration: none; display: inline-block; }
.btn-primary { background: var(--nhs-blue); color: white; }
.btn-primary:hover { background: var(--nhs-dark); }
.btn-success { background: var(--green); color: white; }
.btn-danger { background: var(--red); color: white; }
.btn-block { width: 100%; }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.alert { padding: 12px 16px; border-radius: 4px; margin-bottom: 16px; }
.alert-error { background: #ffebee; border-left: 4px solid var(--red); color: var(--red); }
.alert-success { background: #e8f5e9; border-left: 4px solid var(--green); color: var(--green); }
.alert-warning { background: #fff3e0; border-left: 4px solid var(--amber); color: var(--amber); }
.main-container { display: flex; min-height: 100vh; }
.sidebar { width: 250px; background: var(--nhs-dark); color: white; padding: 20px 0; }
.sidebar-header { padding: 0 20px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.sidebar-header h1 { font-size: 20px; margin-bottom: 5px; }
.sidebar-header small { opacity: 0.7; font-size: 11px; }
.nav-menu { list-style: none; margin-top: 20px; }
.nav-menu li a { display: block; padding: 12px 20px; color: white; text-decoration: none; transition: background 0.2s; }
.nav-menu li a:hover, .nav-menu li a.active { background: var(--nhs-blue); }
.main-content { flex: 1; padding: 30px; }
.page-header { margin-bottom: 30px; padding-bottom: 15px; border-bottom: 2px solid var(--nhs-light); }
.page-header h1 { color: var(--nhs-blue); font-size: 28px; margin-bottom: 5px; }
.page-header .breadcrumb { font-size: 13px; color: #666; }
.card { background: white; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); margin-bottom: 20px; }
.card-header { padding: 15px 20px; background: var(--nhs-light); border-bottom: 1px solid #ccc; font-weight: 600; color: var(--nhs-dark); border-radius: 6px 6px 0 0; }
.card-body { padding: 20px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 30px; }
.stat-card { background: white; padding: 20px; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); text-align: center; }
.stat-card .value { font-size: 36px; font-weight: bold; margin-bottom: 5px; }
.stat-card .label { color: #666; font-size: 14px; }
.stat-card.overdue .value { color: var(--red); }
.stat-card.due-soon .value { color: var(--amber); }
.stat-card.ok .value { color: var(--green); }
table { width: 100%; border-collapse: collapse; }
table th { background: var(--nhs-blue); color: white; padding: 12px; text-align: left; font-weight: 600; }
table td { padding: 10px 12px; border-bottom: 1px solid #ddd; }
table tr:hover { background: var(--nhs-warm); }
.rag-green { background: var(--green); color: white; padding: 4px 8px; border-radius: 3px; font-size: 11px; font-weight: 600; }
.rag-amber { background: var(--amber); color: white; padding: 4px 8px; border-radius: 3px; font-size: 11px; font-weight: 600; }
.rag-red { background: var(--red); color: white; padding: 4px 8px; border-radius: 3px; font-size: 11px; font-weight: 600; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; color: #333; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 8px 12px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px; }
.form-group small { display: block; margin-top: 4px; color: #666; font-size: 12px; }
.wizard { background: white; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.15); }
.wizard-steps { display: flex; background: var(--nhs-light); border-bottom: 2px solid var(--nhs-blue); }
.wizard-step { flex: 1; padding: 15px; text-align: center; position: relative; color: #666; cursor: pointer; }
.wizard-step.active { background: var(--nhs-blue); color: white; font-weight: 600; }
.wizard-step.completed { background: var(--green); color: white; }
.wizard-content { padding: 30px; }
.wizard-actions { padding: 20px; background: #f9f9f9; border-top: 1px solid #ddd; text-align: right; }
.wizard-actions .btn { margin-left: 10px; }
.action-buttons { display: flex; gap: 10px; justify-content: flex-end; }
