/* Welcome Tutorial Modal Styles */
.welcome-modal-overlay {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	z-index: 999999 !important;
	margin: 0 !important;
	padding: 0 !important;
	background-color: rgba(0, 0, 0, 0.7);
	display: flex;
	align-items: center;
	justify-content: center;
}

.welcome-modal-content {
	background: white;
	border-radius: 16px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	max-width: 56rem;
	width: 100%;
	margin: 0 1rem;
	height: 90vh;
	overflow-y: auto;
	position: relative;
	z-index: 1000000 !important;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.welcome-modal-header {
	background: #093835;
	color: white;
	padding: 2rem;
	border-radius: 16px 16px 0 0;
}

.welcome-modal-header h2 {
	font-size: 1.875rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
	color: white;
}

.welcome-modal-header p {
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.875rem;
}

.welcome-modal-close {
	color: white;
	background: none;
	border: none;
	padding: 0.5rem;
	cursor: pointer;
	border-radius: 6px;
	transition: all 0.2s ease;
}

.welcome-modal-close:hover {
	background-color: rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.8);
}

.welcome-modal-body {
	padding: 2rem;
}

.welcome-modal-body h3 {
	font-size: 1.25rem;
	font-weight: 600;
	color: #1e293b;
	margin-bottom: 1rem;
}

.welcome-modal-body p {
	color: #64748b;
	line-height: 1.6;
	margin-bottom: 1.5rem;
}

.welcome-features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1rem;
	margin-bottom: 2rem;
}

.welcome-feature-card {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 1rem;
	background-color: #f8fafc;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
	transition: all 0.2s ease;
}

.welcome-feature-card:hover {
	background-color: white;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.welcome-feature-icon {
	width: 2.5rem;
	height: 2.5rem;
	background-color: #093835;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	flex-shrink: 0;
}

.welcome-feature-content h4 {
	font-weight: 600;
	color: #1e293b;
	margin-bottom: 0.25rem;
	font-size: 0.875rem;
}

.welcome-feature-content p {
	color: #64748b;
	font-size: 0.75rem;
	margin: 0;
	line-height: 1.4;
}

.welcome-resources-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
	margin-bottom: 2rem;
}

.welcome-resource-card {
	display: block;
	padding: 1.5rem 1rem;
	background-color: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	text-decoration: none;
	text-align: center;
	transition: all 0.2s ease;
}

.welcome-resource-card:hover {
	background-color: white;
	border-color: #093835;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(9, 56, 53, 0.15);
}

.welcome-resource-icon {
	width: 3rem;
	height: 3rem;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	margin: 0 auto 0.75rem;
}

.welcome-resource-card h4 {
	font-weight: 600;
	color: #1e293b;
	margin-bottom: 0.25rem;
	font-size: 0.875rem;
}

.welcome-resource-card p {
	color: #64748b;
	font-size: 0.75rem;
	margin: 0;
}

.welcome-tip-box {
	background-color: #fef3c7;
	border-left: 4px solid #f59e0b;
	padding: 1rem;
	border-radius: 0 8px 8px 0;
	margin-bottom: 1.5rem;
}

.welcome-tip-box p {
	color: #92400e;
	font-size: 0.875rem;
	margin: 0;
}

.welcome-modal-footer {
	background-color: #f8fafc;
	padding: 1.5rem 2rem;
	border-radius: 0 0 16px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid #e2e8f0;
}

.welcome-checkbox-label {
	display: flex;
	align-items: center;
	font-size: 0.875rem;
	color: #64748b;
	cursor: pointer;
}

.welcome-checkbox-label input[type="checkbox"] {
	margin-right: 0.5rem;
	width: 1rem;
	height: 1rem;
	accent-color: #093835;
}

.welcome-modal-actions {
	display: flex;
	gap: 0.75rem;
}

.welcome-btn {
	padding: 0.75rem 1.5rem;
	border-radius: 8px;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	border: none;
	text-decoration: none;
	display: inline-block;
	text-align: center;
}

.welcome-btn-secondary {
	background-color: white;
	color: #374151;
	border: 2px solid #e2e8f0;
}

.welcome-btn-secondary:hover {
	background-color: #f9fafb;
	border-color: #d1d5db;
}

.welcome-btn-primary {
	background-color: #093835;
	color: white;
}

.welcome-btn-primary:hover {
	background-color: #0f4a47;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(9, 56, 53, 0.3);
}

/* Scrollbar styling for modal */
.welcome-modal-content::-webkit-scrollbar {
	width: 6px;
}

.welcome-modal-content::-webkit-scrollbar-track {
	background: #f1f5f9;
}

.welcome-modal-content::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 3px;
}

.welcome-modal-content::-webkit-scrollbar-thumb:hover {
	background: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
	.welcome-modal-content {
		margin: 0;
		border-radius: 0;
		height: 100vh;
	}
	
	.welcome-modal-header {
		border-radius: 0;
	}
	
	.welcome-modal-footer {
		border-radius: 0;
		flex-direction: column;
		gap: 1rem;
		align-items: stretch;
	}
	
	.welcome-modal-actions {
		justify-content: center;
	}
	
	.welcome-features-grid {
		grid-template-columns: 1fr;
	}
	
	.welcome-resources-grid {
		grid-template-columns: 1fr;
	}
}
