/**
 * NH Template Styling
 * Consistent styling for all nursing home templates
 */

/* Wrapper & Layout */
.nh-wrap {
	padding: 30px 0;
}

.nh-wrapper {
	background: #f8f9fa;
	padding: 20px 0;
}

/* Typography */
h1 {
	margin-bottom: 30px;
	color: #333;
	font-size: 32px;
	font-weight: 600;
}

h2 {
	margin: 0 0 20px 0;
	padding-bottom: 15px;
	border-bottom: 2px solid #0073aa;
	font-size: 20px;
	color: #333;
}

h3 {
	margin: 0 0 15px 0;
	font-size: 16px;
	color: #333;
}

/* Cards & Sections */
.nh-card {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 20px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.nh-section {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 30px;
}

.nh-section h2 {
	margin: 0 0 20px 0;
	padding-bottom: 10px;
	border-bottom: 2px solid #0073aa;
	font-size: 18px;
}

/* KPI Cards */
.nh-kpi-row {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
	margin-bottom: 25px;
}

.nh-kpi {
	flex: 1;
	min-width: 180px;
	background: #fff;
	border: 1px solid #ddd;
	border-left: 4px solid #0073aa;
	padding: 15px;
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nh-kpi-label {
	font-size: 12px;
	color: #666;
	text-transform: uppercase;
	margin-bottom: 5px;
	font-weight: 600;
}

.nh-kpi-value {
	font-size: 28px;
	font-weight: bold;
	color: #333;
}

/* Tables */
.nh-table {
	width: 100%;
	border-collapse: collapse;
}

.nh-table th,
.nh-table td {
	padding: 12px;
	text-align: left;
	border-bottom: 1px solid #eee;
}

.nh-table th {
	background: #f9f9f9;
	font-weight: 600;
	color: #333;
}

.nh-table tr:hover {
	background: #fafafa;
}

.nh-table tbody tr:last-child td {
	border-bottom: 1px solid #ddd;
}

/* Filters & Forms */
.nh-filter-form {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
	margin-bottom: 20px;
}

.nh-filter-form input,
.nh-filter-form select {
	padding: 10px 14px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
}

.nh-filter-form input:focus,
.nh-filter-form select:focus {
	border-color: #0073aa;
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.nh-filter-form label {
	font-weight: 600;
	color: #333;
}

.nh-form-card {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 30px;
	max-width: 500px;
	margin: 0 auto;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.nh-form-card h2 {
	margin: 0 0 20px 0;
	padding-bottom: 15px;
	border-bottom: 2px solid #0073aa;
}

.nh-form-group {
	margin-bottom: 20px;
}

.nh-form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #333;
}

.nh-form-group input,
.nh-form-group select,
.nh-form-group textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	font-family: inherit;
}

.nh-form-group input:focus,
.nh-form-group select:focus,
.nh-form-group textarea:focus {
	border-color: #0073aa;
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.nh-form-group input:disabled,
.nh-form-group select:disabled {
	background: #f5f5f5;
	color: #666;
	cursor: not-allowed;
}

/* Badges */
.nh-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 3px;
	font-size: 12px;
	font-weight: 600;
}

.nh-badge-primary {
	background: #d1ecf1;
	color: #0c5460;
}

.nh-badge-success {
	background: #d4edda;
	color: #155724;
}

.nh-badge-warning {
	background: #fff3cd;
	color: #856404;
}

.nh-badge-danger {
	background: #f8d7da;
	color: #721c24;
}

.nh-badge-info {
	background: #d1ecf1;
	color: #0c5460;
}

/* Team/Section Headers */
.nh-team-section {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	margin-bottom: 20px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nh-team-header {
	background: #f8f9fa;
	padding: 15px 20px;
	border-bottom: 1px solid #eee;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-left: 4px solid #0073aa;
}

.nh-team-header.warning {
	border-left-color: #ffc107;
	background: #fffbf0;
}

.nh-team-header.success {
	border-left-color: #28a745;
	background: #f0f8f5;
}

.nh-team-header.danger {
	border-left-color: #dc3545;
	background: #fef5f5;
}

.nh-team-header h3 {
	margin: 0;
	font-size: 16px;
}

/* Patient Cards */
.nh-patient-card {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	margin-bottom: 15px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nh-patient-header {
	background: #f8f9fa;
	padding: 15px 20px;
	border-bottom: 1px solid #eee;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.nh-patient-header h3 {
	margin: 0;
	font-size: 16px;
}

.nh-patient-body {
	padding: 15px 20px;
}

/* Lists */
.nh-pdf-list,
.nh-item-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nh-pdf-item,
.nh-item {
	flex: 0 1 auto;
}

.nh-pdf-item a,
.nh-item a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	background: #f8f9fa;
	border: 1px solid #ddd;
	border-radius: 4px;
	color: #333;
	text-decoration: none;
	font-size: 13px;
	transition: all 0.2s;
}

.nh-pdf-item a:hover,
.nh-item a:hover {
	background: #0073aa;
	color: #fff;
	border-color: #0073aa;
	text-decoration: none;
}

/* Buttons */
.nh-btn {
	display: inline-block;
	padding: 10px 20px;
	background: #0073aa;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	border: none;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	transition: all 0.2s;
}

.nh-btn:hover {
	background: #005a87;
	text-decoration: none;
	color: #fff;
}

.nh-btn-success {
	background: #28a745;
}

.nh-btn-success:hover {
	background: #218838;
}

.nh-btn-danger {
	background: #dc3545;
}

.nh-btn-danger:hover {
	background: #c82333;
}

.nh-btn-warning {
	background: #ffc107;
	color: #333;
}

.nh-btn-warning:hover {
	background: #e0a800;
	color: #333;
}

.nh-btn-outline {
	background: transparent;
	border: 1px solid #0073aa;
	color: #0073aa;
}

.nh-btn-outline:hover {
	background: #0073aa;
	color: #fff;
}

.nh-btn-sm {
	padding: 6px 12px;
	font-size: 12px;
}

/* Actions Row */
.nh-actions {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

/* Empty State */
.nh-empty {
	text-align: center;
	padding: 40px;
	color: #666;
	background: #f9f9f9;
	border-radius: 8px;
	border: 1px solid #eee;
}

.nh-empty p {
	margin: 0;
	font-size: 16px;
}

/* Success/Error Messages */
.nh-success {
	background: #d4edda;
	border: 1px solid #c3e6cb;
	color: #155724;
	padding: 20px;
	border-radius: 8px;
	text-align: center;
	margin-bottom: 20px;
}

.nh-success a {
	color: #155724;
	font-weight: 600;
}

.nh-error {
	background: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
	padding: 20px;
	border-radius: 8px;
	text-align: center;
	margin-bottom: 20px;
}

.nh-error a {
	color: #721c24;
	font-weight: 600;
}

.nh-warning {
	background: #fff3cd;
	border: 1px solid #ffeaa7;
	color: #856404;
	padding: 20px;
	border-radius: 8px;
	margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
	.nh-kpi-row {
		flex-direction: column;
	}

	.nh-kpi {
		min-width: 100%;
	}

	.nh-filter-form {
		flex-direction: column;
	}

	.nh-filter-form input,
	.nh-filter-form select {
		width: 100%;
	}

	.nh-team-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.nh-patient-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.nh-table {
		font-size: 13px;
	}

	.nh-table th,
	.nh-table td {
		padding: 8px;
	}
}

/* Print Styles */
@media print {
	.nh-actions,
	.nh-filter-form,
	.nh-btn,
	header,
	footer,
	.navbar {
		display: none !important;
	}

	.nh-card,
	.nh-section {
		page-break-inside: avoid;
		box-shadow: none;
		border: 1px solid #999;
	}
}
/*# sourceMappingURL=nh-styling.css.map */