:root {
	--bg-gradient: linear-gradient(135deg, var(--icms-primary) 0%, #5fc3f7 50%, #a331ff 100%);
	--text-gradient: linear-gradient(315deg, #a331ff 0%, #043df2 100%);
	--glass-bg: rgba(255, 255, 255, 0.5);
	--glass-border: rgba(203, 213, 224, 0.3);
	--shadow-light: 0 8px 32px 0 rgba(74, 85, 104, 0.15);
	--shadow-heavy: 0 20px 40px 0 rgba(74, 85, 104, 0.1);
	--icms-primary: #2356d7;
	--icms-secondary: #070707;
	--icms-accent: #2356d7;
	--icms-accent-light: #1996fb;
	--btn-gradient: linear-gradient(45deg, var(--icms-accent), var(--icms-accent-light));
	--text-primary: #2d3748;
	--text-secondary: #4a5568;
}

/* Modern Install Styles */
.modern-install {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	background: var(--bg-gradient);
	min-height: 100vh;
}

/* Hero Section */
.hero-section {
	background: var(--bg-gradient);
	position: relative;
	overflow: hidden;
	padding: 20px 0;
}

.hero-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg !string!!string!><defs><pattern !string!!string!!string!!string!><circle !string!!string!!string!!string!!string!/></pattern></defs><rect !string!!string!!string!/></svg>') repeat;
	opacity: 0.3;
}

.hero-overlay {
	position: relative;
	z-index: 2;
}

.hero-content {
	text-align: center;
	color: white;
}

.brand-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin-bottom: 1rem;
}

.logo-text {
	font-size: 8rem;
	font-weight: 700;
}

.logo-i {
	color: #ffffff;
}

.logo-cms {
	color: #31B8FF;
	margin-left: -10px;
    text-shadow: 2px -1px 3px rgb(255 255 255);
}

.version-badge {
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 1rem;
	font-weight: 600;
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
	font-size: 3rem;
	font-weight: 600;
	margin-bottom: 20px;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
	font-size: 1.25rem;
	font-weight: 300;
	opacity: 0.9;
	margin-bottom: 0px;
	line-height: 1.6;
}

.hero-features {
	display: flex;
	justify-content: center;
	gap: 40px;
	flex-wrap: wrap;
}

.feature-item {
	display: flex;
	align-items: center;
	gap: 10px;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	padding: 12px 20px;
	border-radius: 25px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	transition: all 0.3s ease;
}

.feature-item:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: translateY(-2px);
}

.feature-icon {
	font-size: 1.2rem;
}

/* Install Content */
.install-content {
	padding: 60px 0;
	background: #f8fafc;
	min-height: calc(100vh - 200px);
}

.install-complete-card {
	background: white;
	border-radius: 20px;
	padding: 60px 40px;
	text-align: center;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
	max-width: 500px;
	margin: 0 auto;
}

.complete-icon {
	font-size: 4rem;
	margin-bottom: 20px;
}

.install-complete-card h2 {
	font-size: 2rem;
	font-weight: 600;
	color: #1a202c;
	margin-bottom: 15px;
}

.install-complete-card p {
	color: #718096;
	font-size: 1.1rem;
	margin-bottom: 30px;
}

/* Installation Wizard */
.install-wizard {
	background: white;
	border-radius: 20px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	max-width: 900px;
	margin: 0 auto;
}

/* Step Progress */
.step-progress {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 40px 60px;
	background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
	position: relative;
}

.step-progress-line {
	position: absolute;
	top: 40%;
	left: 60px;
	right: 60px;
	height: 4px;
	background: #e2e8f0;
	z-index: 1;
}

.step-progress-line::before {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0%;
	background: var(--btn-gradient);
	transition: width 0.5s ease;
}

.step-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	z-index: 2;
}

.step-circle {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: #e2e8f0;
	color: #a0aec0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: 1.1rem;
	transition: all 0.3s ease;
	margin-bottom: 10px;
}

.step-item.active .step-circle {
	background: var(--btn-gradient);
	color: white;
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.step-item.completed .step-circle {
	background: #48bb78;
	color: white;
}

.step-label {
	font-size: 0.9rem;
	font-weight: 500;
	color: #718096;
	text-align: center;
	white-space: nowrap;
}

.step-item.active .step-label {
	color: #2d3748;
	font-weight: 600;
}

/* Wizard Content */
.wizard-content {
	padding: 40px 60px;
}

.step-content {
	min-height: 400px;
}

/* Navigation */
.wizard-navigation {
	padding: 30px 60px;
	background: #f7fafc;
	border-top: 1px solid #e2e8f0;
}

.nav .nav-item .nav-link {
	height: 0px;
	padding: 0px;
}

.nav-buttons {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.btn {
	border-radius: 12px;
	font-weight: 500;
	padding: 12px 30px;
	transition: all 0.3s ease;
	border: none;
	font-size: 1rem;
}

.btn-primary {
	background: var(--btn-gradient);
	color: white;
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.btn-success {
	background: linear-gradient(135deg, #48bb78, #38a169);
	color: white;
	box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
}

.btn-success:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(72, 187, 120, 0.4);
}

.btn-outline-secondary {
	background: transparent;
	color: #718096;
	border: 2px solid #e2e8f0;
}

.btn-outline-secondary:hover {
	background: #f7fafc;
	border-color: #cbd5e0;
}

/* Responsive Design */
@media (max-width:768px) {
	.hero-content {
		padding: 0 20px;
	}

	.logo-text {
		font-size: 2.5rem;
	}

	.hero-title {
		font-size: 2rem;
	}

	.hero-subtitle {
		font-size: 1.1rem;
	}

	.hero-features {
		gap: 20px;
	}

	.step-progress {
		padding: 30px 20px;
		flex-wrap: wrap;
		gap: 20px;
	}

	.step-progress-line {
		display: none;
	}

	.wizard-content {
		padding: 30px 20px;
	}

	.wizard-navigation {
		padding: 20px;
	}

	.nav-buttons {
		flex-direction: column;
		gap: 15px;
	}

	.btn {
		width: 100%;
		justify-content: center;
	}

}

@media (max-width:576px) {
	.step-item {
		flex: 1;
		min-width: 0;
	}

	.step-label {
		font-size: 0.8rem;
		white-space: normal;
		text-align: center;
	}

	.step-circle {
		width: 40px;
		height: 40px;
		font-size: 1rem;
	}

}

/* Modern Notification */
.modern-notification {
	position: fixed;
	top: 20px;
	right: 20px;
	background: var(--btn-gradient);
	color: white;
	padding: 15px 25px;
	border-radius: 12px;
	box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
	z-index: 9999;
	font-weight: 500;
	animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
	from {
		transform: translateX(100%);
		opacity: 0;
	}

	to {
		transform: translateX(0);
		opacity: 1;
	}

}

/* Enhanced Animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}

}

@keyframes pulse {
	0%,
	100% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.05);
	}

}

@keyframes slideInUp {
	from {
		opacity: 0;
		transform: translateY(50px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}

}

.install-wizard {
	animation: fadeInUp 0.6s ease;
}

.step-item.active .step-circle {
	animation: pulse 2s infinite;
}

/* Modern intro section styles */
.modern-intro-section {
	padding: 2rem 0;
}

.intro-header {
	margin-bottom: 3rem;
}

.intro-title {
	font-size: 2.5rem;
	font-weight: 700;
	background: var(--btn-gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 1rem;
}

.intro-subtitle {
	font-size: 1.2rem;
	color: #6c757d;
	font-weight: 400;
	max-width: 600px;
	margin: 0 auto;
}

/* Feature cards */
.feature-card {
	background: #fff;
	border-radius: 16px;
	padding: 2rem 1.5rem;
	text-align: center;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.2);
	transition: all 0.3s ease;
	height: 100%;
	animation: slideInUp 0.6s ease-out;
}

.feature-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon-wrapper {
	margin-bottom: 1.5rem;
}

.feature-icon {
	font-size: 3rem;
	display: inline-block;
	padding: 1rem;
	background: var(--btn-gradient);
	border-radius: 50%;
	width: 80px;
	height: 80px;
	line-height: 48px;
	margin: 0 auto;
	box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.feature-title {
	font-size: 1.25rem;
	font-weight: 600;
	color: #2d3748;
	margin-bottom: 1rem;
}

.feature-description {
	color: #6c757d;
	font-size: 0.95rem;
	line-height: 1.6;
	margin: 0;
}

/* Stats section */
.intro-stats {
	background: linear-gradient(135deg, #f8f9ff 0%, #f1f3ff 100%);
	border-radius: 16px;
	padding: 2.5rem 1rem;
	margin: 3rem 0;
}

.stat-item {
	padding: 1rem;
}

.stat-number {
	font-size: 2.5rem;
	font-weight: 700;
	background: var(--btn-gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 0.5rem;
}

.stat-label {
	color: #6c757d;
	font-size: 0.9rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Start install button */
.start-install-btn {
	background: var(--btn-gradient);
	border: none;
	padding: 1rem 3rem;
	font-size: 1.75rem;
	font-weight: 600;
	border-radius: 50px;
	box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
	transition: all 0.3s ease;
	text-transform: none;
}

.start-install-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
	background: linear-gradient(135deg, #5a67d8 0%, #a331ff 100%);
}

.install-note {
	color: #6c757d;
	font-size: 0.9rem;
	margin-top: 1rem;
}

/* Responsive adjustments for intro section */
@media (max-width:768px) {
	.intro-title {
		font-size: 2rem;
	}

	.intro-subtitle {
		font-size: 1.1rem;
	}

	.feature-card {
		padding: 1.5rem 1rem;
		margin-bottom: 1.5rem;
	}

	.feature-icon {
		font-size: 2.5rem;
		width: 70px;
		height: 70px;
		line-height: 38px;
	}

	.stat-number {
		font-size: 2rem;
	}

	.start-install-btn {
		padding: 0.875rem 2rem;
		font-size: 1rem;
	}

}

/* Form Enhancements */
.form-control {
	border-radius: 8px;
	border: 2px solid #e2e8f0;
	padding: 12px 16px;
	font-size: 1rem;
	transition: all 0.3s ease;
}

.form-control:focus {
	border-color: #667eea;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
	outline: none;
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-label {
	font-weight: 500;
	color: #2d3748;
	margin-bottom: 8px;
	display: block;
}

/* Card Enhancements */
.card {
	border: none;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
}

.card:hover {
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

/* Alert Enhancements */
.alert {
	border: none;
	border-radius: 12px;
	padding: 16px 20px;
	font-weight: 500;
}

.alert-success {
	background: linear-gradient(135deg, #48bb78, #38a169);
	color: white;
}

.alert-warning {
	background: linear-gradient(135deg, #ed8936, #dd6b20);
	color: white;
}

.alert-danger {
	background: linear-gradient(135deg, #f56565, #e53e3e);
	color: white;
}

.alert-info {
	background: linear-gradient(135deg, #4299e1, #3182ce);
	color: white;
}

/* Table Enhancements */
.table {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.table th {
	background: linear-gradient(135deg, #f7fafc, #edf2f7);
	border: none;
	font-weight: 600;
	color: #2d3748;
	padding: 16px;
}

.table td {
	border: none;
	padding: 16px;
	border-bottom: 1px solid #e2e8f0;
}

.table tbody tr:hover {
	background: #f7fafc;
}

/* Checkbox and Radio Enhancements */
.form-check-input {
	width: 1.2rem;
	height: 1.2rem;
	border-radius: 4px;
	border: 2px solid #e2e8f0;
	transition: all 0.3s ease;
}

.form-check-input:checked {
	background: var(--btn-gradient);
	border-color: var(--btn-gradient);
}

.form-check-label {
	font-weight: 500;
	color: #2d3748;
	margin-left: 8px;
}

/* Loading States */
.btn.loading {
	position: relative;
	color: transparent;
}

.btn.loading::after {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	margin: -10px 0 0 -10px;
	border: 2px solid transparent;
	border-top: 2px solid currentColor;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}
.accept-btn{
	padding: 1rem 3rem;
	font-size: 1.75rem;
}
#install-btn{
    width: 100%;
	padding: 1rem 3rem;
	font-size: 1.75rem;
}
@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}

}

/* Legacy compatibility */
.masthead {
	text-shadow: 0 3px 4px rgba(0, 0, 0, .5), 0 0 30px rgba(0, 0, 0, .075);
}

.masthead h1 {
	font-family: "Hiragino Sans GB", "Hiragino Sans GB W3", "Microsoft YaHei UI", "Microsoft YaHei", "WenQuanYi Micro Hei", Arial, sans-serif;
	font-size: 120px;
	line-height: 1;
	letter-spacing: -2px
}

.masthead h2 {
	font-size: 40px;
	font-weight: 200;
	line-height: 1.25
}

#license-text {
	height: 450px;
	overflow-y: scroll;
	border-radius: 8px;
	border: 2px solid #e2e8f0;
	padding: 16px;
}