/* LifeSpring Tele-Consultation — front-end styles */

.ls-tc-booking {
	max-width: 640px;
	margin: 0 auto;
	font-family: inherit;
	background: #fff;
	border: 1px solid #e2e6ea;
	border-radius: 12px;
	padding: 28px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.ls-tc-steps {
	display: flex;
	justify-content: center;
	gap: 24px;
	margin-bottom: 24px;
}

.ls-tc-step-dot {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #e9edf1;
	color: #7a8895;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
}

.ls-tc-step-dot.active,
.ls-tc-step-dot.done {
	background: #0e7c66;
	color: #fff;
}

.ls-tc-step h3 {
	margin-top: 0;
}

.ls-tc-doctor-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 14px;
	margin-bottom: 20px;
}

.ls-tc-doctor-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 6px;
	border: 2px solid #e2e6ea;
	border-radius: 10px;
	padding: 14px 10px;
	cursor: pointer;
	transition: border-color .15s ease;
}

.ls-tc-doctor-card:has(input:checked) {
	border-color: #0e7c66;
	background: #f2faf7;
}

.ls-tc-doctor-card input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ls-tc-doctor-card img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 50%;
}

.ls-tc-doctor-name { font-weight: 700; }
.ls-tc-doctor-specialty { font-size: .85em; color: #667; }
.ls-tc-doctor-fee { font-weight: 700; color: #0e7c66; }

.ls-tc-booking label {
	display: block;
	font-weight: 600;
	margin: 14px 0 6px;
}

.ls-tc-booking input[type="text"],
.ls-tc-booking input[type="email"],
.ls-tc-booking input[type="tel"],
.ls-tc-booking input[type="date"],
.ls-tc-booking textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #d3d9de;
	border-radius: 8px;
	font-size: 1em;
	box-sizing: border-box;
}

.ls-tc-slots {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.ls-tc-slot-btn {
	padding: 8px 14px;
	border: 1px solid #d3d9de;
	border-radius: 20px;
	background: #fff;
	cursor: pointer;
}

.ls-tc-slot-btn.selected {
	background: #0e7c66;
	color: #fff;
	border-color: #0e7c66;
}

.ls-tc-nav {
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
}

.ls-tc-btn {
	background: #0e7c66;
	color: #fff;
	border: none;
	padding: 12px 22px;
	border-radius: 8px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	display: inline-block;
}

.ls-tc-btn.ls-tc-secondary {
	background: #eef1f3;
	color: #333;
}

.ls-tc-summary {
	background: #f7f9fa;
	border-radius: 8px;
	padding: 12px 16px;
	margin-top: 16px;
}

.ls-tc-error {
	color: #b3261e;
	background: #fdecea;
	border-radius: 8px;
	padding: 10px 14px;
	margin-top: 16px;
}

.ls-tc-loading {
	text-align: center;
	color: #667;
	margin-top: 12px;
}

.ls-tc-confirmation {
	text-align: center;
}

/* Chat / video / prescriptions portal */
.ls-tc-portal {
	max-width: 620px;
	margin: 0 auto;
	border: 1px solid #e2e6ea;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
}

.ls-tc-tabs {
	display: flex;
	border-bottom: 1px solid #e2e6ea;
	background: #f7f9fa;
}

.ls-tc-tab {
	flex: 1;
	padding: 12px;
	background: none;
	border: none;
	border-bottom: 3px solid transparent;
	cursor: pointer;
	font-weight: 600;
	color: #667;
}

.ls-tc-tab.active {
	color: #0e7c66;
	border-bottom-color: #0e7c66;
	background: #fff;
}

.ls-tc-tab-panel {
	padding: 0;
}

.ls-tc-tab-panel[data-panel="video"],
.ls-tc-tab-panel[data-panel="rx"] {
	padding: 18px;
}

.ls-tc-jitsi-container {
	width: 100%;
	min-height: 480px;
	margin-top: 14px;
	border-radius: 8px;
	overflow: hidden;
	background: #000;
}

.ls-tc-msg-system {
	background: #fdf3e3;
	border-color: #f0dcae;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	font-size: .9em;
}

/* Prescriptions */
.ls-tc-rx-card {
	border: 1px solid #e2e6ea;
	border-radius: 10px;
	padding: 18px;
	margin-bottom: 18px;
	background: #fff;
}

.ls-tc-rx-header {
	display: flex;
	justify-content: space-between;
	border-bottom: 2px solid #0e7c66;
	padding-bottom: 10px;
	margin-bottom: 10px;
}

.ls-tc-rx-table {
	width: 100%;
	border-collapse: collapse;
	margin: 12px 0;
}

.ls-tc-rx-table th,
.ls-tc-rx-table td {
	border: 1px solid #e2e6ea;
	padding: 6px 8px;
	text-align: left;
	font-size: .92em;
}

.ls-tc-rx-instructions td {
	border-top: none;
	padding-top: 0;
	color: #667;
}

.ls-tc-rx-notes {
	background: #f7f9fa;
	padding: 8px 12px;
	border-radius: 6px;
}

.ls-tc-rx-disclaimer {
	font-size: .8em;
	color: #99a;
}

/* Chat */
.ls-tc-chat-wrap {
	max-width: 560px;
	margin: 0 auto;
	border: 1px solid #e2e6ea;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
}

.ls-tc-chat-header {
	background: #0e7c66;
	color: #fff;
	padding: 14px 18px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.ls-tc-chat-log {
	height: 380px;
	overflow-y: auto;
	padding: 16px;
	background: #f7f9fa;
}

.ls-tc-msg {
	margin-bottom: 12px;
	max-width: 80%;
	padding: 8px 12px;
	border-radius: 10px;
	background: #fff;
	border: 1px solid #e2e6ea;
}

.ls-tc-msg-doctor {
	margin-right: auto;
}

.ls-tc-msg-patient {
	margin-left: auto;
	background: #e6f5f0;
}

.ls-tc-msg time {
	display: block;
	font-size: .75em;
	color: #99a;
	margin-top: 4px;
}

.ls-tc-chat-input {
	display: flex;
	gap: 8px;
	padding: 12px;
	border-top: 1px solid #e2e6ea;
}

.ls-tc-chat-input textarea {
	flex: 1;
	padding: 8px;
	border-radius: 8px;
	border: 1px solid #d3d9de;
	resize: none;
}
