/**
 * EG Care Frontend Stylesheet
 */

/* Main Container */
.eg-care-registration-container {
	max-width: 800px;
	margin: 40px auto;
	padding: 40px;
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(15, 118, 110, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: #334155;
	border: 1px solid #f1f5f9;
}

/* Header styling */
.eg-care-register-header {
	text-align: center;
	margin-bottom: 40px;
}

.eg-care-register-tagline {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	color: #0d9488;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	margin-bottom: 8px;
}

.eg-care-register-title {
	font-size: 32px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 10px 0;
	letter-spacing: -0.5px;
}

.eg-care-register-desc {
	font-size: 15px;
	color: #64748b;
	margin: 0;
}

/* Form sections */
.eg-care-card-section {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 30px;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.eg-care-card-section:hover {
	border-color: #cbd5e1;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
}

.eg-care-section-title {
	display: flex;
	align-items: center;
	font-size: 18px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 20px 0;
}

.eg-care-step-num {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background-color: #0f766e;
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	margin-right: 10px;
}

/* Fields Grid & inputs */
.eg-care-fields-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.eg-care-fields-grid.profile-fields,
.eg-care-fields-grid.meta-fields {
	grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 640px) {
	.eg-care-fields-grid {
		grid-template-columns: 1fr !important;
	}
	.eg-care-field.span-full {
		grid-column: span 1 !important;
	}
}

.eg-care-field {
	display: flex;
	flex-direction: column;
}

.eg-care-field.span-full {
	grid-column: span 2;
}

.eg-care-field label {
	font-size: 14px;
	font-weight: 600;
	color: #475569;
	margin-bottom: 6px;
}

.eg-care-field input[type="text"],
.eg-care-field input[type="email"],
.eg-care-field input[type="password"],
.eg-care-field input[type="number"],
.eg-care-field select,
.eg-care-field textarea {
	padding: 10px 14px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 14px;
	background-color: #ffffff;
	color: #1e293b;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.eg-care-field input:focus,
.eg-care-field select:focus,
.eg-care-field textarea:focus {
	border-color: #0f766e;
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
	outline: none;
}

/* Custom Modern File Upload & Toggle Buttons Styling */
.eg-care-hidden-file-input {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
	z-index: 10;
}

.eg-care-modern-upload-wrapper {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-top: 5px;
	position: relative;
}

.eg-care-modern-upload-label {
	padding: 8px 16px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	background-color: #f8fafc;
	color: #334155;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	display: inline-block;
	transition: all 0.2s ease;
	user-select: none;
}

.eg-care-modern-upload-label:hover {
	background-color: #cbd5e1;
	border-color: #94a3b8;
}

.eg-care-file-name {
	font-size: 13px;
	color: #64748b;
}

/* Modern Toggle Buttons */
.eg-care-toggle-buttons {
	display: flex;
	gap: 8px;
	margin-top: 5px;
}

.eg-care-toggle-btn {
	padding: 8px 18px;
	border: 1px solid #cbd5e1;
	background-color: #f8fafc;
	color: #475569;
	border-radius: 6px;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	transition: all 0.25s ease;
}

.eg-care-toggle-btn:hover {
	background-color: #f1f5f9;
	color: #1e293b;
	border-color: #94a3b8;
}

.eg-care-toggle-btn.active {
	background-color: #0f766e;
	color: #ffffff;
	border-color: #0f766e;
	box-shadow: 0 4px 10px rgba(15, 118, 110, 0.2);
}

/* Modern Attachment Box */
.eg-care-modern-attachment-box {
	border: 1px dashed #cbd5e1;
	border-radius: 8px;
	background-color: #f8fafc;
	padding: 20px;
	text-align: left;
	position: relative;
	transition: border-color 0.2s;
}

.eg-care-modern-attachment-box:hover {
	border-color: #0d9488;
}

.eg-care-attachment-uploader {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	position: relative;
}

.eg-care-attachment-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-right: 5px;
}

.eg-care-attachment-label {
	font-size: 14px;
	font-weight: 600;
	color: #475569;
}

.eg-care-attachment-help {
	font-size: 12px;
	color: #64748b;
	margin: 0;
}

/* Submit Block */
.eg-care-submit-wrap {
	text-align: center;
	margin-top: 30px;
}

.eg-care-btn-register {
	background-color: #0f766e;
	color: #ffffff;
	border: none;
	border-radius: 8px;
	padding: 14px 32px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(15, 118, 110, 0.3);
	transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.eg-care-btn-register:hover {
	background-color: #0d9488;
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}

.eg-care-btn-register:active {
	transform: translateY(0);
}

/* Alerts */
.eg-care-alert {
	display: flex;
	align-items: flex-start;
	background-color: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 30px;
	color: #991b1b;
}

.eg-care-alert-icon {
	width: 20px;
	height: 20px;
	margin-right: 12px;
	flex-shrink: 0;
	color: #dc2626;
}

.eg-care-alert-content {
	font-size: 14px;
}

.eg-care-alert-content ul {
	margin: 5px 0 0 0;
	padding-left: 20px;
}

/* Success Card */
.eg-care-success-card {
	text-align: center;
	padding: 40px 20px;
}

.eg-care-success-icon {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background-color: #dcfce7;
	color: #15803d;
	margin-bottom: 24px;
}

.eg-care-success-icon svg {
	width: 32px;
	height: 32px;
}

.eg-care-success-card h2 {
	font-size: 24px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 12px 0;
}

.eg-care-success-msg {
	font-size: 16px;
	color: #475569;
	max-width: 500px;
	margin: 0 auto 16px auto;
	line-height: 1.6;
}

.eg-care-success-sub {
	font-size: 13px;
	color: #94a3b8;
	margin: 0;
}

/* ==========================================================================
   Phase 4: Patient Booking Steps & Checkout Styles
   ========================================================================== */

/* Step Progress Indicator Bar */
.eg-care-booking-steps-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 40px;
	background: #ffffff;
	padding: 20px;
	border-radius: 12px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.eg-care-step-indicator {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #64748b;
	font-weight: 600;
	font-size: 14px;
	transition: color 0.3s;
}

.eg-care-step-indicator .step-num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background-color: #e2e8f0;
	color: #64748b;
	font-size: 12px;
	transition: all 0.3s;
}

.eg-care-step-indicator.active {
	color: #0f766e;
}

.eg-care-step-indicator.active .step-num {
	background-color: #0f766e;
	color: #ffffff;
}

.eg-care-step-line {
	flex-grow: 1;
	height: 2px;
	background-color: #e2e8f0;
	margin: 0 15px;
}

/* Specialties Grid (Step 1) */
.eg-care-specialties-container {
	animation: fadeIn 0.4s ease-out;
}

.eg-care-specialties-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 20px;
	margin-top: 20px;
}

.eg-care-specialty-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 24px 16px;
	text-align: center;
	cursor: pointer;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.eg-care-specialty-card:hover {
	transform: translateY(-3px);
	border-color: #0d9488;
	box-shadow: 0 10px 15px -3px rgba(13, 148, 136, 0.1);
}

.eg-care-specialty-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background-color: #f0fdfa;
	margin-bottom: 16px;
	transition: background-color 0.2s;
}

.eg-care-specialty-card:hover .eg-care-specialty-icon {
	background-color: #ccfbf1;
}

.eg-care-specialty-name {
	font-size: 15px;
	font-weight: 700;
	color: #1e293b;
	margin: 0;
}

/* Step 2: Doctors List & Filters Grid Layout */
.eg-care-step2-wrapper {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 30px;
	animation: fadeIn 0.4s ease-out;
}

@media (max-width: 768px) {
	.eg-care-step2-wrapper {
		grid-template-columns: 1fr;
	}
}

.eg-care-filters-sidebar {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 24px;
	height: fit-content;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.eg-care-filters-sidebar h3 {
	font-size: 16px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 20px 0;
	border-bottom: 2px solid #f1f5f9;
	padding-bottom: 10px;
}

.eg-care-filter-group {
	margin-bottom: 20px;
}

.eg-care-filter-group label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: #475569;
	margin-bottom: 8px;
}

.eg-care-filter-group input[type="text"],
.eg-care-filter-group select {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	font-size: 13px;
	color: #334155;
	background-color: #ffffff;
}

.eg-care-filter-group input[type="range"] {
	width: 100%;
	accent-color: #0f766e;
	cursor: pointer;
}

.eg-care-filter-group .range-values {
	display: flex;
	justify-content: space-between;
	font-size: 11px;
	color: #64748b;
	margin-top: 4px;
}

.eg-care-filter-group.checkbox label {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.eg-care-filter-group.checkbox input[type="checkbox"] {
	accent-color: #0f766e;
}

/* Doctors Grids */
.eg-care-doctors-list-content {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.eg-care-doctors-section .section-title {
	font-size: 18px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 15px 0;
	display: flex;
	align-items: center;
	gap: 10px;
}

.online-indicator-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #22c55e;
	display: inline-block;
	box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.eg-care-doctors-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
}

/* Doctor Card Item */
.eg-care-doctor-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.eg-care-doctor-card:hover {
	border-color: #0d9488;
	box-shadow: 0 10px 15px -3px rgba(13, 148, 136, 0.05);
}

.eg-care-doctor-card-header {
	display: flex;
	gap: 15px;
	margin-bottom: 15px;
}

.eg-care-doctor-card-avatar-wrap {
	position: relative;
	width: 64px;
	height: 64px;
	flex-shrink: 0;
}

.eg-care-doc-avatar {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #f1f5f9;
}

.eg-care-doc-initials {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background-color: #f0fdfa;
	color: #0f766e;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 20px;
	border: 2px solid #ccfbf1;
}

.eg-care-status-indicator {
	position: absolute;
	bottom: 2px;
	right: 2px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 2px solid #ffffff;
}

.eg-care-status-indicator.online {
	background-color: #22c55e;
}

.eg-care-status-indicator.offline {
	background-color: #94a3b8;
}

.eg-care-doctor-card-meta-summary {
	display: flex;
	flex-direction: column;
}

.eg-care-doctor-card-name {
	font-size: 15px;
	font-weight: 800;
	color: #1e293b;
	margin: 0 0 4px 0;
}

.eg-care-doctor-card-designation {
	font-size: 12px;
	color: #475569;
	margin: 0;
}

.eg-care-doctor-card-degree {
	font-size: 11px;
	color: #64748b;
	margin: 4px 0 0 0;
}

.eg-care-doctor-card-body {
	border-top: 1px solid #f1f5f9;
	padding-top: 12px;
	margin-bottom: 15px;
}

.eg-care-doctor-card-meta-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}

.meta-item.spec-tag {
	font-size: 11px;
	font-weight: 700;
	color: #0f766e;
	background-color: #f0fdfa;
	padding: 3px 8px;
	border-radius: 4px;
}

.meta-item.rating-tag {
	font-size: 11px;
	color: #475569;
}

.eg-care-doctor-card-price-row {
	display: flex;
	justify-content: space-between;
	background-color: #f8fafc;
	padding: 10px;
	border-radius: 8px;
}

.fee-info, .experience-info {
	display: flex;
	flex-direction: column;
}

.fee-label, .exp-label {
	font-size: 9px;
	color: #64748b;
	text-transform: uppercase;
	font-weight: 700;
}

.fee-val, .exp-val {
	font-size: 13px;
	font-weight: 700;
	color: #1e293b;
}

.eg-care-btn-card-action {
	width: 100%;
	padding: 10px;
	background-color: #0f766e;
	color: #ffffff;
	border: none;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s;
}

.eg-care-btn-card-action:hover {
	background-color: #0d9488;
}

/* Step 3: Doctor Details & Checkout Screen */
.eg-care-step3-wrapper {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 30px;
	animation: fadeIn 0.4s ease-out;
}

@media (max-width: 768px) {
	.eg-care-step3-wrapper {
		grid-template-columns: 1fr;
	}
}

.eg-care-doctor-detail-panel {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 30px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.eg-care-detail-header {
	display: flex;
	gap: 24px;
	align-items: center;
	border-bottom: 1px solid #f1f5f9;
	padding-bottom: 24px;
	margin-bottom: 24px;
}

.detail-avatar-wrap {
	width: 96px;
	height: 96px;
	flex-shrink: 0;
}

.eg-care-detail-avatar {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #f1f5f9;
}

.eg-care-detail-avatar-placeholder {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background-color: #f0fdfa;
	color: #0f766e;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 28px;
	border: 3px solid #ccfbf1;
}

.detail-summary h2 {
	font-size: 20px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 6px 0;
}

.detail-subtitle {
	font-size: 13px;
	color: #475569;
	margin: 0 0 4px 0;
}

.detail-rating-row {
	display: flex;
	gap: 12px;
	margin-top: 10px;
}

.rating-badge, .experience-badge {
	font-size: 12px;
	font-weight: 600;
	color: #334155;
	background-color: #f1f5f9;
	padding: 4px 10px;
	border-radius: 20px;
}

.eg-care-detail-body h3 {
	font-size: 15px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 10px 0;
}

.eg-care-detail-body p {
	font-size: 13px;
	line-height: 1.6;
	color: #475569;
	margin: 0 0 24px 0;
}

/* Appointment Customizer block */
.booking-options-block, .patient-details-block {
	border-top: 1px solid #f1f5f9;
	padding-top: 24px;
	margin-bottom: 24px;
}

.booking-type-toggles {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
}

/* Type Toggle Buttons */
.booking-type-toggles button.type-toggle-btn {
	flex-grow: 1 !important;
	padding: 12px !important;
	border: 1px solid #cbd5e1 !important;
	background-color: #f8fafc !important;
	color: #475569 !important;
	font-weight: 700 !important;
	border-radius: 8px !important;
	cursor: pointer !important;
	transition: all 0.2s !important;
	box-shadow: none !important;
	line-height: 1.5 !important;
}

.booking-type-toggles button.type-toggle-btn:hover {
	background-color: #f1f5f9 !important;
	color: #1e293b !important;
	border-color: #94a3b8 !important;
}

.booking-type-toggles button.type-toggle-btn.active {
	background-color: #0f766e !important;
	color: #ffffff !important;
	border-color: #0f766e !important;
}

.booking-type-toggles button.type-toggle-btn.active:hover {
	background-color: #0d9488 !important;
	color: #ffffff !important;
	border-color: #0d9488 !important;
}

.booking-type-toggles button.type-toggle-btn.disabled {
	opacity: 0.5 !important;
	cursor: not-allowed !important;
	background-color: #e2e8f0 !important;
	color: #94a3b8 !important;
}

.booking-calendar-wrapper input[type="date"] {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 14px;
	color: #334155;
	margin-top: 6px;
}

/* Hourly Slots Grid */
.eg-care-slots-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
	gap: 10px;
	margin-top: 10px;
}

/* Hourly Slots Grid */
.eg-care-slots-grid button.eg-care-slot-pill {
	padding: 8px !important;
	background-color: #ffffff !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 6px !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	color: #475569 !important;
	cursor: pointer !important;
	text-align: center !important;
	transition: all 0.15s !important;
	box-shadow: none !important;
	line-height: 1.5 !important;
}

.eg-care-slots-grid button.eg-care-slot-pill:hover {
	border-color: #0f766e !important;
	color: #0f766e !important;
	background-color: #f0fdfa !important;
}

.eg-care-slots-grid button.eg-care-slot-pill.active {
	background-color: #0f766e !important;
	color: #ffffff !important;
	border-color: #0f766e !important;
}

.eg-care-slots-grid button.eg-care-slot-pill.active:hover {
	background-color: #0d9488 !important;
	color: #ffffff !important;
	border-color: #0d9488 !important;
}

.eg-care-slots-grid button.eg-care-slot-pill:disabled,
.eg-care-slots-grid button.eg-care-slot-pill.booked {
	background-color: #f1f5f9 !important;
	border-color: #e2e8f0 !important;
	color: #cbd5e1 !important;
	text-decoration: line-through !important;
	cursor: not-allowed !important;
}

/* Checkout Summary Side Panel */
.eg-care-checkout-panel-wrapper {
	height: fit-content;
	position: sticky;
	top: 30px;
}

.eg-care-checkout-summary-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.eg-care-checkout-title {
	font-size: 16px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 20px 0;
	border-bottom: 2px solid #f1f5f9;
	padding-bottom: 10px;
}

.eg-care-checkout-section {
	margin-bottom: 18px;
	padding-bottom: 12px;
	border-bottom: 1px dashed #e2e8f0;
}

.eg-care-checkout-section.totals {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.eg-care-checkout-subtitle {
	font-size: 11px;
	font-weight: 800;
	color: #64748b;
	text-transform: uppercase;
	margin: 0 0 10px 0;
}

.eg-care-checkout-item {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	margin-bottom: 8px;
}

.eg-care-checkout-item .label {
	color: #64748b;
}

.eg-care-checkout-item .value {
	font-weight: 700;
	color: #334155;
	text-align: right;
}

.eg-care-checkout-item.total-row {
	border-top: 1px solid #e2e8f0;
	padding-top: 12px;
	margin-top: 8px;
	margin-bottom: 0;
}

.eg-care-checkout-item.total-row .label {
	font-size: 14px;
	font-weight: 800;
	color: #0f172a;
}

.eg-care-checkout-item.total-row .value {
	font-size: 18px;
	font-weight: 800;
	color: #0f766e;
}

.eg-care-btn-secondary {
	background-color: #ffffff;
	border: 1px solid #cbd5e1;
	color: #475569;
	border-radius: 8px;
	padding: 12px;
	font-weight: 700;
	font-size: 13px;
	cursor: pointer;
	transition: all 0.2s;
}

.eg-care-btn-secondary:hover {
	background-color: #f8fafc;
	color: #1e293b;
	border-color: #94a3b8;
}

/* Success Popup overlay screen */
.eg-care-booking-success-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(15, 23, 42, 0.6);
	backdrop-filter: blur(4px);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	animation: fadeIn 0.3s ease-out;
}

.eg-care-success-popup-card {
	background: #ffffff;
	border-radius: 16px;
	width: 100%;
	max-width: 440px;
	padding: 35px 30px;
	text-align: center;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.eg-care-success-popup-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background-color: #dcfce7;
	margin-bottom: 20px;
}

.eg-care-success-popup-card h2 {
	font-size: 22px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 10px 0;
}

.popup-desc {
	font-size: 13px;
	color: #64748b;
	line-height: 1.5;
	margin: 0 0 24px 0;
}

.popup-receipt-details {
	background-color: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 16px;
	text-align: left;
}

.receipt-row {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	margin-bottom: 8px;
}

.receipt-row strong {
	color: #64748b;
	font-weight: 600;
}

.receipt-row span {
	color: #1e293b;
	font-weight: 700;
}

.receipt-row.total {
	border-top: 1px dashed #e2e8f0;
	padding-top: 8px;
	margin-top: 8px;
	margin-bottom: 0;
}

.receipt-row.total strong {
	color: #0f172a;
}

.receipt-row.total span {
	color: #0f766e;
	font-size: 15px;
}

/* Animations */
@keyframes fadeIn {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
	from { opacity: 0; transform: scale(0.95); }
	to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   Phase 6: Doctor-Facing Dashboard Styles
   ========================================================================== */

.eg-care-dashboard-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	animation: fadeIn 0.4s ease-out;
}

.eg-care-dashboard-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 24px 30px;
	margin-bottom: 30px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

@media (max-width: 768px) {
	.eg-care-dashboard-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
	}
}

.eg-care-dashboard-header h2 {
	font-size: 24px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 6px 0;
}

.role-caption {
	font-size: 13px;
	color: #0f766e;
	font-weight: 700;
	margin: 0;
}

.instant-status-toggle {
	display: flex;
	align-items: center;
	gap: 12px;
	background-color: #f8fafc;
	padding: 10px 16px;
	border-radius: 30px;
	border: 1px solid #e2e8f0;
}

.instant-status-toggle .toggle-label {
	font-size: 13px;
	font-weight: 700;
	color: #334155;
}

/* Switch styling */
.eg-care-switch {
	position: relative;
	display: inline-block;
	width: 44px;
	height: 24px;
}

.eg-care-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.eg-care-switch .slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #cbd5e1;
	transition: .3s;
}

.eg-care-switch .slider:before {
	position: absolute;
	content: "";
	height: 16px;
	width: 16px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	transition: .3s;
}

.eg-care-switch input:checked + .slider {
	background-color: #0f766e;
}

.eg-care-switch input:checked + .slider:before {
	transform: translateX(20px);
}

.eg-care-switch .slider.round {
	border-radius: 24px;
}

.eg-care-switch .slider.round:before {
	border-radius: 50%;
}

/* Stats Cards */
.eg-care-stats-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}

.eg-care-stat-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 24px;
	display: flex;
	align-items: center;
	gap: 20px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.stat-icon {
	width: 48px;
	height: 48px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
}

.stat-icon.purple { background-color: #faf5ff; color: #7c3aed; }
.stat-icon.green { background-color: #f0fdf4; color: #16a34a; }
.stat-icon.blue { background-color: #eff6ff; color: #2563eb; }

.stat-details {
	display: flex;
	flex-direction: column;
}

.stat-details .stat-num {
	font-size: 20px;
	font-weight: 800;
	color: #0f172a;
}

.stat-details .stat-num.online-green {
	color: #16a34a;
}

.stat-details .stat-num.offline-gray {
	color: #64748b;
}

.stat-details .stat-label {
	font-size: 12px;
	color: #64748b;
	font-weight: 600;
	margin-top: 2px;
}

.stat-details .stat-help {
	font-size: 10px;
	color: #94a3b8;
	margin-top: 2px;
}

/* Tabs */
.eg-care-dashboard-tabs {
	display: flex;
	gap: 10px;
	border-bottom: 2px solid #e2e8f0;
	margin-bottom: 24px;
	overflow-x: auto;
	padding-bottom: 4px;
}

.eg-care-dashboard-tabs button.tab-trigger {
	padding: 12px 20px !important;
	background: transparent !important;
	border: none !important;
	border-bottom: 2px solid transparent !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	color: #64748b !important;
	cursor: pointer !important;
	transition: all 0.2s !important;
	white-space: nowrap !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	line-height: 1.5 !important;
}

.eg-care-dashboard-tabs button.tab-trigger:hover {
	color: #0f766e !important;
	background: transparent !important;
}

.eg-care-dashboard-tabs button.tab-trigger.active {
	color: #0f766e !important;
	border-bottom: 2px solid #0f766e !important;
	background: transparent !important;
}

/* Tab panes */
.tab-pane {
	display: none;
	animation: fadeIn 0.3s ease-out;
}

.tab-pane.active {
	display: block;
}

.tab-pane h3 {
	font-size: 18px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 16px 0;
}

.pane-desc {
	font-size: 13px;
	color: #64748b;
	margin: 0 0 24px 0;
}

/* Tables */
.eg-care-table-responsive {
	overflow-x: auto;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #ffffff;
}

.eg-care-dashboard-table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
	font-size: 13px;
}

.eg-care-dashboard-table th {
	background-color: #f8fafc;
	color: #475569;
	font-weight: 700;
	padding: 14px 18px;
	border-bottom: 1px solid #e2e8f0;
}

.eg-care-dashboard-table td {
	padding: 14px 18px;
	border-bottom: 1px solid #f1f5f9;
	color: #334155;
	vertical-align: middle;
}

.eg-care-dashboard-table tr:last-child td {
	border-bottom: none;
}

.relation-tag {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 2px 6px;
	background-color: #f1f5f9;
	border-radius: 4px;
	color: #64748b;
	margin-left: 6px;
}

.symptom-notes-cell {
	display: block;
	max-width: 250px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: #64748b;
}

.loading-cell, .empty-cell, .error-cell {
	text-align: center;
	padding: 30px !important;
	color: #64748b;
	font-style: italic;
}

.error-cell {
	color: #dc2626;
}

/* Buttons */
.eg-care-btn-join-call {
	padding: 8px 16px;
	border: none;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s;
}

.eg-care-btn-join-call.active {
	background-color: #16a34a;
	color: #ffffff;
	box-shadow: 0 4px 10px rgba(22, 163, 74, 0.2);
}

.eg-care-btn-join-call.active:hover {
	background-color: #15803d;
}

.eg-care-btn-join-call.disabled {
	background-color: #e2e8f0;
	color: #94a3b8;
	cursor: not-allowed;
}

/* Weekly slots configuration */
.schedules-weekly-grid {
	display: flex;
	flex-direction: column;
	gap: 15px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 24px;
}

.day-slot-row {
	display: flex;
	align-items: center;
	padding-bottom: 15px;
	border-bottom: 1px solid #f1f5f9;
}

.day-slot-row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

@media (max-width: 768px) {
	.day-slot-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
}

.day-label-column {
	width: 150px;
	flex-shrink: 0;
}

.day-checkbox-wrapper {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	color: #1e293b;
}

.day-checkbox-wrapper input[type="checkbox"] {
	accent-color: #0f766e;
}

.time-inputs-column {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-grow: 1;
}

@media (max-width: 480px) {
	.time-inputs-column {
		flex-direction: column;
		align-items: flex-start;
		width: 100%;
		gap: 10px;
	}
}

.time-group {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.time-group label {
	font-size: 10px;
	text-transform: uppercase;
	color: #64748b;
	font-weight: 700;
}

.time-group input[type="time"],
.time-group select {
	padding: 6px 10px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	font-size: 12px;
	color: #334155;
	background-color: #ffffff;
}

/* Agora Video Call Overlay Modal */
.eg-care-video-modal {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	background-color: #0f172a !important; /* Deep dark slate */
	z-index: 999999 !important;
	display: flex !important;
	flex-direction: column !important;
	color: #ffffff !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.video-modal-header {
	padding: 20px !important;
	background: linear-gradient(to bottom, rgba(15, 23, 42, 0.8), transparent) !important;
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	box-sizing: border-box !important;
	z-index: 10 !important;
}

#video-call-title {
	font-weight: bold !important;
	font-size: 16px !important;
	text-shadow: 0 2px 4px rgba(0,0,0,0.5) !important;
}

#video-call-duration {
	background-color: rgba(0, 0, 0, 0.6) !important;
	padding: 4px 10px !important;
	border-radius: 20px !important;
	font-size: 14px !important;
}

.video-grid-container {
	flex-grow: 1 !important;
	position: relative !important;
	width: 100% !important;
	height: 100% !important;
}

.remote-video-stream {
	width: 100% !important;
	height: 100% !important;
	background-color: #1e293b !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	position: relative !important;
}

.remote-video-stream div {
	width: 100% !important;
	height: 100% !important;
}

.video-placeholder {
	font-size: 18px !important;
	color: #94a3b8 !important;
	text-align: center !important;
	position: absolute !important;
	z-index: 2 !important;
}

.local-video-stream {
	position: absolute !important;
	bottom: 100px !important;
	right: 20px !important;
	width: 150px !important;
	height: 200px !important;
	background-color: #334155 !important;
	border-radius: 8px !important;
	overflow: hidden !important;
	border: 2px solid #ffffff !important;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3) !important;
	z-index: 5 !important;
}

.local-video-stream div {
	width: 100% !important;
	height: 100% !important;
}

.video-controls-toolbar {
	position: absolute !important;
	bottom: 20px !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	display: flex !important;
	gap: 20px !important;
	padding: 15px 25px !important;
	background-color: rgba(30, 41, 59, 0.8) !important;
	border-radius: 50px !important;
	backdrop-filter: blur(10px) !important;
	z-index: 10 !important;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5) !important;
}

.control-btn {
	width: 50px !important;
	height: 50px !important;
	border-radius: 50% !important;
	border: none !important;
	cursor: pointer !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 20px !important;
	transition: all 0.2s ease !important;
	box-shadow: none !important;
}

.control-btn.mic-on {
	background-color: #475569 !important;
	color: #ffffff !important;
}
.control-btn.mic-off {
	background-color: #ef4444 !important;
	color: #ffffff !important;
}

.control-btn.cam-on {
	background-color: #475569 !important;
	color: #ffffff !important;
}
.control-btn.cam-off {
	background-color: #ef4444 !important;
	color: #ffffff !important;
}

.control-btn.end-call {
	background-color: #ef4444 !important;
	color: #ffffff !important;
	transform: rotate(135deg) !important;
}

.control-btn.end-call:hover {
	background-color: #dc2626 !important;
}
.control-btn:hover {
	opacity: 0.9 !important;
	transform: scale(1.05) !important;
}

/* Ensure SVG icons in video call controls are visible and styled consistently */
.control-btn .video-icon {
	width: 20px !important;
	height: 20px !important;
	color: #ffffff !important;
	fill: none !important;
	display: block !important;
	margin: 0 auto !important;
	stroke: currentColor !important;
	stroke-width: 2.5px !important;
}

/* Custom Responsive Overrides for Mobile Telemedicine Portals */
@media (max-width: 768px) {
	.eg-care-stats-row {
		grid-template-columns: 1fr !important;
	}
	.eg-care-fields-grid {
		grid-template-columns: 1fr !important;
	}
	.eg-care-field.span-full {
		grid-column: span 1 !important;
	}
	.eg-care-dashboard-header {
		padding: 16px 20px !important;
	}
	.day-slot-row {
		flex-direction: column !important;
		gap: 10px !important;
	}
	.day-label-column {
		flex: 0 0 auto !important;
		padding-top: 0 !important;
	}
}

.eg-care-dashboard-table {
	width: 100% !important;
	min-width: 750px !important;
}

.eg-care-patient-table {
	width: 100% !important;
	min-width: 750px !important;
	border-collapse: collapse !important;
	text-align: left !important;
	font-size: 13px !important;
}

/* Medical reports attached to an appointment. */
.eg-care-report-links {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: #475569;
}

.eg-care-report-links a,
a.eg-care-report-link {
	color: #2563eb;
	text-decoration: underline;
	word-break: break-all;
}

.eg-care-report-links a:hover,
a.eg-care-report-link:hover {
	color: #1d4ed8;
}

