.intro-description {
	font-size: 0.95rem;
	color: #555;
	margin-bottom: 1rem;
	padding: 14px 32px;
}

.analysis-form {
	flex: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	overflow: auto;
	padding: 14px 32px;
}

.analyse-form-section {
	display: flex;
	flex-direction: column;
}

.analyse-form-section.full-width {
	grid-column: 1 / -1;
}

.analyse-form-label {
	font-weight: 600;
	margin-bottom: 0.75rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.analyse-form-input {
	padding: 0.75rem 1rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 1rem;
	width: 100%;
}

.analyse-form-input:focus {
	outline: none;
	border-color: var(--blue);
}

.optional-tag {
	background: #f8f9fa;
	color: #6c757d;
	padding: 0.2rem 0.4rem;
	border-radius: 3px;
	font-size: 0.75rem;
	font-weight: 500;
}

/* tree Component */
.tree-section {
	margin-bottom: 1rem;
}

.tree-container {
	min-height: 150px;
	height: 350px;
	max-height: fit-content;
	overflow-y: auto;
	padding: 0.2rem 1rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: white;
	overflow: auto;
  	resize: vertical;    
}

.jstree, .jstree ul {
	list-style: none;
	padding-left: 1.5rem;
}

#cancer-search::-webkit-search-cancel-button {
    cursor: pointer;
}

.jstree-default .jstree-search {
    color: var(--orange);
}

/* manual Input Section */
.analyse-input-instructions {
	background: #f8f9fa;
	padding: 1rem;
	border-radius: 4px;
	margin-bottom: 1rem;
	border-left: 4px solid var(--orange);
}

.analyse-input-instructions-title {
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.analyse-input-instructions-list {
	list-style: none;
	padding-left: 0;
}

.analyse-input-instructions-list li {
	margin: 0.5rem 0;
	padding-left: 1.5rem;
	position: relative;
}

.analyse-input-instructions-list li::before {
	content: "•";
	position: absolute;
	left: 0;
	font-weight: bold;
}

.analyse-input-group {
	display: flex;
	gap: 1rem;
	align-items: flex-end;
}

.analyse-input-group textarea {
	flex: 1;
	height: 150px;
	min-height: 70px;
}

/* VCF Upload Section */
.analyse-file-upload-section {
	display: flex;
	gap: 2rem;
	align-items: flex-start;
}

.analyse-file-upload-area {
	flex: 1;
}

.analyse-file-input-wrapper {
	position: relative;
	display: inline-block;
	cursor: pointer;
	width: 100%;
}

.analyse-file-input {
	position: absolute;
	opacity: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

.analyse-file-input-display {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	border: 2px dashed #ddd;
	border-radius: 4px;
	background: #f8f9fa;
	text-align: center;
	color: #6c757d;
}

.analyse-build-selection {
	flex-shrink: 0;
	min-width: 200px;
}

.analyse-build-title {
	font-weight: 600;
	margin-bottom: 0.7rem;
	color: var(--text-primary);
}

.analyse-radio-group {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.analyse-radio-option {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem;
	border: 2px solid var(--border-light);
	border-radius: var(--radius-md);
	cursor: pointer;
	transition: all 0.2s;
}

.analyse-radio-option:hover {
	background: var(--bg-light);
}

.analyse-radio-option:has(.analyse-radio-input:checked) {
  border-color: var(--primary-blue);
  background: rgb(37 99 235 / 0.05);
}

.analyse-radio-input {
	margin: 0;
	accent-color: var(--primary-blue);
	cursor: pointer;
}

.analyse-radio-label {
	font-weight: 500;
	color: var(--text-primary);
}

/* action Button */
.analyse-action-section {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-top: auto;
	grid-column: 1 / -1;
	flex-wrap: wrap;
    align-items: center;
}

.analyse-run-analysis-btn {
	padding: 1rem 3rem;
	font-size: 1.1rem;
	font-weight: 600;
}

/* hide/show tab content */
.tab-content.hidden {
	display: none;
}

/* error visuals */
.is-invalid { border-color:#e55353 !important; outline:none; }

#error-list { margin:.5rem 0 0 1rem; }
#error-list li { margin:.1rem 0; }

#error-box {
  border:1px solid #e55353; background:#fff5f5; color:#611a15;
  padding:.75rem .9rem; border-radius:.5rem; margin-bottom:1rem;
}
.errors-hidden { display:none !important; }


