/* Hilltop Estate Portal — front-end dashboard styling */

.hilltop-page {
	max-width: 900px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: #1B2A33;
}
.hilltop-page h2 {
	font-size: 26px;
	margin-bottom: 18px;
}
.hilltop-page h3 {
	font-size: 18px;
	margin: 28px 0 12px;
}

.hilltop-kpi-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 14px;
	margin-bottom: 10px;
}
.hilltop-kpi {
	background: #fff;
	border: 1px solid #CBCFC2;
	border-radius: 4px;
	padding: 14px 16px;
}
.hilltop-kpi-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: #5B6B68;
}
.hilltop-kpi-value {
	font-size: 22px;
	font-weight: 600;
	margin-top: 4px;
}

.hilltop-meta {
	font-size: 12.5px;
	color: #5B6B68;
}

.hilltop-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	margin-bottom: 10px;
}
.hilltop-table th {
	text-align: left;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: #5B6B68;
	padding: 8px 10px;
	border-bottom: 2px solid #1B2A33;
	background: #F2F3EE;
}
.hilltop-table td {
	padding: 8px 10px;
	border-bottom: 1px solid #E1E4DA;
}
.hilltop-table td.num {
	text-align: right;
	font-variant-numeric: tabular-nums;
}
.hilltop-table tr.hilltop-total td {
	font-weight: 600;
	border-top: 2px solid #1B2A33;
}
.hilltop-over { color: #BC5B39; }
.hilltop-under { color: #5C7A52; }

.hilltop-tag {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 10px;
	font-size: 11px;
	font-weight: 500;
}
.hilltop-status-active { background: rgba(188,91,57,.13); color: #BC5B39; }
.hilltop-status-resolved { background: rgba(92,122,82,.13); color: #5C7A52; }
.hilltop-status-scheduled { background: rgba(192,138,62,.13); color: #C08A3E; }

.hilltop-empty {
	background: #F7F8F4;
	border: 1px dashed #CBCFC2;
	border-radius: 4px;
	padding: 16px 18px;
	color: #5B6B68;
	font-size: 14px;
	margin: 10px 0 20px;
}

.hilltop-notice {
	background: #FFF7EC;
	border: 1px solid #C08A3E;
	border-radius: 4px;
	padding: 16px 18px;
	max-width: 420px;
}
.hilltop-button {
	display: inline-block;
	background: #16232E;
	color: #fff;
	padding: 8px 18px;
	border-radius: 3px;
	text-decoration: none;
	font-size: 14px;
}
.hilltop-button:hover {
	background: #22333F;
}

.hilltop-upload-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
	margin-bottom: 10px;
}
.hilltop-upload-form {
	background: #F7FAFA;
	border: 1.5px dashed #6FA8B8;
	border-radius: 6px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.hilltop-upload-title {
	font-weight: 600;
}
.hilltop-upload-hint {
	font-size: 12px;
	color: #5B6B68;
	margin-bottom: 4px;
}
.hilltop-upload-form input[type="file"] {
	font-size: 13px;
}
.hilltop-upload-form .hilltop-button {
	align-self: flex-start;
	border: none;
	cursor: pointer;
	font-size: 13px;
}

.hilltop-flash {
	border-radius: 4px;
	padding: 12px 16px;
	margin-bottom: 18px;
	font-size: 14px;
}
.hilltop-flash-success {
	background: rgba(92,122,82,.12);
	border: 1px solid #5C7A52;
	color: #3f5a39;
}
.hilltop-flash-error {
	background: rgba(188,91,57,.12);
	border: 1px solid #BC5B39;
	color: #8a3f28;
}

.hilltop-log-detail td {
	font-size: 12px;
	color: #5B6B68;
	background: #F7F8F4;
	border-bottom: 1px solid #E1E4DA;
}
