/* Customer "Exam Sittings" My Account tab. */

.eseb-sittings-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 16px 0 0;
}

.eseb-sitting-card {
	border: 1px solid #e2e4e7;
	border-radius: 6px;
	padding: 14px 16px;
	background: #fff;
}

.eseb-sitting-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 6px 16px;
	margin-bottom: 4px;
}

.eseb-sitting-exam {
	font-weight: 600;
	font-size: 1.02em;
	color: #1d2327;
}

.eseb-sitting-when {
	font-weight: 600;
	color: #0f766e;
	white-space: nowrap;
}

/* Whose sitting this is. Sits between the exam line and the order meta, and
   is weighted to be read before the meta: on an organisation's booking the
   candidate is the only thing distinguishing one card from the next. */
.eseb-sitting-candidate {
	font-size: 0.95em;
	font-weight: 600;
	color: #3c434a;
	margin-bottom: 4px;
}

.eseb-sitting-meta {
	font-size: 0.86em;
	color: #646970;
	margin-bottom: 8px;
}

.eseb-sitting-note {
	margin: 8px 0 0;
	font-size: 0.9em;
}

.eseb-sitting-disabled {
	color: #8a6d00;
	background: #fcf4e3;
	border-left: 3px solid #dba617;
	padding: 8px 12px;
	border-radius: 3px;
}

.eseb-reschedule-form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 10px 0 0;
}

.eseb-reschedule-label {
	font-weight: 600;
	margin: 0;
}

.eseb-reschedule-form select {
	min-width: 220px;
	max-width: 100%;
}

.eseb-flash {
	padding: 10px 14px;
	border-radius: 4px;
	margin: 0 0 14px;
	font-size: 0.95em;
}

.eseb-flash-success {
	background: #e8f5e9;
	border-left: 4px solid #16a34a;
	color: #14532d;
}

.eseb-flash-error {
	background: #fdecea;
	border-left: 4px solid #d63638;
	color: #7a1a1c;
}

/* Reschedule history trail (View Order pages). */
.eseb-reschedule-trail {
	margin: 8px 0 0;
	padding: 8px 12px;
	background: #f6f7f7;
	border-left: 3px solid #0f766e;
	border-radius: 3px;
	font-size: 0.88em;
}

.eseb-trail-title {
	display: block;
	font-weight: 600;
	margin-bottom: 4px;
	color: #1d2327;
}

.eseb-trail-list {
	margin: 0;
	padding-left: 16px;
	list-style: disc;
}

.eseb-trail-list li {
	margin: 0 0 2px;
}

.eseb-trail-by {
	color: #646970;
}

/* "Reschedule exam sittings" button above the Orders table, aligned to the
   table's right edge where actions on a table are usually looked for. */
.eseb-orders-reschedule-actions {
	margin: 0 0 16px;
	text-align: right;
}

.eseb-orders-reschedule-button {
	display: inline-block;
}
