/* REDCap Instance Selector – front-end styles
   All classes are prefixed with .rcs- to avoid theme conflicts. */

.rcs-wrap {
	max-width: 820px;
}

.rcs-card {
	border: 1px solid #ddd;
	border-radius: 12px;
	padding: 20px 24px;
	background: #fff;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	line-height: 1.4;
}

.rcs-row {
	margin: 14px 0;
}

.rcs-label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
}

.rcs-card select {
	width: 100%;
	padding: 10px 12px;
	font-size: 1rem;
	border-radius: 10px;
	border: 1px solid #bbb;
	background: #fff;
	box-sizing: border-box;
}

.rcs-hint {
	color: #555;
	font-size: 0.92rem;
	margin-top: 6px;
}

.rcs-hidden {
	display: none;
}

.rcs-result {
	margin-top: 18px;
	padding: 14px 16px;
	border-radius: 12px;
	border: 1px solid #cfe3d1;
	background: #f3fbf4;
}

.rcs-result-title {
	display: block;
	margin-bottom: 10px;
	font-weight: 700;
}

/* Each link row in the result panel */
.rcs-link-item {
	padding: 8px 0;
	line-height: 1.5;
}

.rcs-link-item + .rcs-link-item {
	border-top: 1px solid #cfe3d1;
	margin-top: 4px;
	padding-top: 12px;
}

.rcs-result a {
	word-break: break-all;
}

.rcs-footer {
	margin-top: 14px;
	font-size: 0.9rem;
	color: #666;
}
