/* EdCare Client Portal — front-end styles */

.edcare-notice {
	padding: 12px 16px;
	border-radius: 6px;
	margin-bottom: 16px;
	font-size: 14px;
}
.edcare-notice-success {
	background: #eaf7ec;
	color: #256029;
	border: 1px solid #b7dfc0;
}
.edcare-notice-error {
	background: #fdecea;
	color: #942a25;
	border: 1px solid #f3c6c2;
}

.edcare-form {
	max-width: 560px;
	margin: 0 0 24px;
}
.edcare-form h3 {
	margin-top: 24px;
	margin-bottom: 8px;
}
.edcare-form h3:first-child {
	margin-top: 0;
}

.edcare-field {
	margin-bottom: 16px;
}
.edcare-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	font-size: 14px;
}
.edcare-field input[type="text"],
.edcare-field input[type="email"],
.edcare-field input[type="password"],
.edcare-field input[type="date"],
.edcare-field input[type="time"],
.edcare-field input[type="file"],
.edcare-field select,
.edcare-field textarea {
	width: 100%;
	max-width: 100%;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 15px;
	box-sizing: border-box;
}
.edcare-field-checkbox label {
	font-weight: 400;
	display: flex;
	gap: 8px;
	align-items: flex-start;
}
.edcare-field-checkbox input[type="checkbox"] {
	margin-top: 4px;
	width: auto;
}

.edcare-agreement-box {
	background: #f7f7f7;
	border: 1px solid #e2e2e2;
	border-radius: 6px;
	padding: 14px 16px;
	margin-bottom: 16px;
	font-size: 13.5px;
	color: #444;
	max-height: 180px;
	overflow-y: auto;
}
.edcare-agreement-box-large {
	max-height: 320px;
}
.edcare-agreement-box ol {
	padding-left: 20px;
}
.edcare-agreement-box li {
	margin-bottom: 8px;
}

.edcare-grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 16px;
}
@media (max-width: 480px) {
	.edcare-grid-2 {
		grid-template-columns: 1fr;
	}
}

.edcare-inline-radio {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	font-weight: 400 !important;
	margin-right: 20px;
}
.edcare-inline-radio input[type="radio"] {
	width: auto;
}

.edcare-reference-block {
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	padding: 14px 16px;
	margin-bottom: 16px;
}
.edcare-reference-block h4 {
	margin-top: 0;
}

.edcare-btn {
	display: inline-block;
	background: #b32d2e;
	color: #fff;
	border: none;
	padding: 12px 24px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
	text-decoration: none;
}
.edcare-btn:hover {
	background: #922524;
	color: #fff;
}

.edcare-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
}
.edcare-table th,
.edcare-table td {
	text-align: left;
	padding: 10px 12px;
	border-bottom: 1px solid #e2e2e2;
	font-size: 14px;
}
.edcare-table th {
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 0.5px;
	color: #666;
}

.edcare-status {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	text-transform: capitalize;
	background: #eee;
	color: #555;
}
.edcare-status-new,
.edcare-status-pending {
	background: #fff4e0;
	color: #92650a;
}
.edcare-status-approved,
.edcare-status-confirmed,
.edcare-status-completed {
	background: #eaf7ec;
	color: #256029;
}
.edcare-status-rejected,
.edcare-status-cancelled {
	background: #fdecea;
	color: #942a25;
}
.edcare-status-in_review {
	background: #e8f0fe;
	color: #1a4faa;
}

.edcare-application-card {
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	padding: 14px 16px;
	margin-bottom: 14px;
}
.edcare-application-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.edcare-prices-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
	margin: 20px 0;
}
.edcare-price-card {
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	padding: 20px;
}
.edcare-price-card h3 {
	margin-top: 0;
}
.edcare-price-amount {
	font-size: 22px;
	font-weight: 700;
	color: #b32d2e;
	margin: 8px 0;
}
.edcare-price-desc {
	font-size: 14px;
	color: #555;
}
