/* Corefinity Magento Wizard Custom Styles - Optimized */

/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
  font-size: 11px;
  color: #0f488a;
}

/* --- Utility Classes --- */
.color-spring-green {
  color: #32be7d;
}

.text-color-primary {
  color: #009bde;
}

.text-color-accent {
  color: #ff7101;
}

.text-color-light-grey {
  color: #64748b;
}

.text-color-dark-grey {
  color: #475569;
}

.text-color-warning {
  color: #92400e;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, #009bde 0%, #ff7101 100%);
}

.bg-gradient-light {
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}

.bg-gradient-white-light {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.border-color-blue-light {
  border-color: rgba(0, 155, 222, 0.15);
}

.border-color-blue-light-alt {
  border-color: rgba(0, 155, 222, 0.12);
}

.shadow-small {
  box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.04);
}

.shadow-medium {
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.08);
}

.shadow-large {
  box-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.08);
}

/* --- Layout Containers --- */
.wizard-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.wizard-header {
  background: #fff;
  padding: 2.5rem 4rem;
  box-shadow: 0 0.4rem 2rem rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  flex-wrap: wrap;
  border-bottom: 0.1rem solid rgba(0, 155, 222, 0.1);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-logo {
  height: 4.5rem;
  width: auto;
}

.wizard-title {
  font: 700 3.2rem/1.2 "Montserrat", sans-serif;
  color: #009bde;
  margin: 0;
  text-decoration: none;
}

.wizard-progress {
  flex: 1;
  max-width: 50rem;
  text-align: center;
}

.progress-text {
  font: 600 1.6rem/1 "Montserrat", sans-serif;
  color: #0f488a;
  margin-bottom: 1.2rem;
  display: block;
}

.progress-bar {
  width: 100%;
  height: 1rem;
  background: rgba(0, 155, 222, 0.15);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: inset 0 0.1rem 0.3rem rgba(0, 0, 0, 0.1);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #009bde 0%, #ff7101 100%);
  border-radius: 0.5rem;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 16.67%; /* Updated for 6 steps (100/6) */
  box-shadow: 0 0.1rem 0.3rem rgba(0, 155, 222, 0.3);
}

.wizard-actions {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}

/* Content Area */
.wizard-content {
  flex: 1;
  display: flex;
  min-height: calc(100vh - 14rem);
  background: #fff;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

/* Sidebar */
.wizard-sidebar {
  width: 28rem;
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  border-right: 0.1rem solid rgba(0, 155, 222, 0.12);
  display: flex;
  flex-direction: column;
  padding: 2rem 0;
}

.wizard-nav {
  flex: 1;
  padding: 1rem 0;
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 2rem 3rem;
  border-bottom: 0.1rem solid rgba(0, 155, 222, 0.08);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: inherit;
  position: relative;
}

.nav-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0.4rem;
  background: transparent;
  transition: all 0.3s ease;
}

.nav-item:hover {
  background: rgba(0, 155, 222, 0.08);
  transform: translateX(0.5rem);
}

.nav-item:hover::before {
  background: #009bde;
}

.nav-item.active {
  background: linear-gradient(
    90deg,
    rgba(0, 155, 222, 0.15) 0%,
    rgba(0, 155, 222, 0.05) 100%
  );
  color: #009bde;
  transform: translateX(0.8rem);
}

.nav-item.active::before {
  background: #009bde;
}

.nav-item.completed {
  background: linear-gradient(
    90deg,
    rgba(50, 190, 125, 0.15) 0%,
    rgba(50, 190, 125, 0.05) 100%
  );
  color: #32be7d;
}

.nav-item.completed::before {
  background: #32be7d;
}

.nav-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: rgba(0, 155, 222, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.nav-item.active .nav-icon {
  background: #009bde;
  box-shadow: 0 0.4rem 1.2rem rgba(0, 155, 222, 0.3);
}

.nav-item.completed .nav-icon {
  background: #32be7d;
  box-shadow: 0 0.4rem 1.2rem rgba(50, 190, 125, 0.3);
}

.nav-icon i {
  font-size: 1.8rem;
  color: #009bde;
}

.nav-item.active .nav-icon i,
.nav-item.completed .nav-icon i {
  color: #fff;
}

.nav-content {
  flex: 1;
}

.nav-title {
  font: 600 1.6rem/1.2 "Montserrat", sans-serif;
  color: #0f488a;
}

.nav-item.active .nav-title {
  color: #009bde;
}

.nav-item.completed .nav-title {
  color: #32be7d;
}

/* User Profile */
.user-profile {
  padding: 2rem 0;
  border-top: 0.1rem solid rgba(0, 155, 222, 0.12);
  background: rgba(0, 155, 222, 0.03);
}

.profile-item {
  display: flex;
  align-items: center;
  padding: 1.5rem 3rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font: 500 1.4rem/1 "Montserrat", sans-serif;
  color: #0f488a;
}

.profile-item:hover {
  background: rgba(0, 155, 222, 0.08);
  transform: translateX(0.5rem);
}

.profile-item i {
  margin-right: 1.5rem;
  width: 2rem;
  color: #009bde;
  font-size: 1.5rem;
}

/* Main Content */
.wizard-main {
  flex: 1;
  padding: 4rem;
  overflow-y: auto;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.step-content {
  display: none;
  animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(3rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-header {
  margin-bottom: 4rem;
  text-align: center;
}

.step-header h2 {
  margin-bottom: 1.5rem;
  font-size: 3.6rem;
}

.step-header .p-text {
  font-size: 1.6rem;
  color: #64748b;
}

/* --- Form Styles --- */
.form-container {
  max-width: 75rem;
  margin: 0 auto;
}

.form-section {
  margin-bottom: 3rem;
}

.form-label {
  font: 600 1.6rem/1 "Montserrat", sans-serif;
  color: #0f488a;
  margin-bottom: 1rem;
  display: block;
}

.form-input,
.form-select {
  width: 100%;
  padding: 1.5rem 2rem;
  border: 0.2rem solid rgba(0, 155, 222, 0.15);
  border-radius: 1rem;
  font: 500 1.6rem/1 "Montserrat", sans-serif;
  color: #0f488a;
  background: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.04);
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: #ff7101;
  box-shadow: 0 0 0 0.3rem rgba(255, 113, 1, 0.12),
    0 0.4rem 1.2rem rgba(0, 0, 0, 0.08);
  transform: translateY(-0.1rem);
}

.form-select {
  cursor: pointer;
}

.form-helper {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font: 500 1.4rem/1 "Montserrat", sans-serif;
}

/* Sample Data Styles */
.sample-data-container {
  max-width: 65rem;
  margin: 0 auto;
}

.sample-data-options {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sample-data-option {
  position: relative;
}

.sample-data-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.sample-data-label {
  display: flex;
  align-items: center;
  padding: 2.5rem;
  background: #fff;
  border: 0.2rem solid rgba(0, 155, 222, 0.12);
  border-radius: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0.3rem 1rem rgba(0, 0, 0, 0.04);
}

.sample-data-label:hover {
  border-color: #ff7101;
  box-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.08);
  transform: translateY(-0.2rem);
}

.sample-data-option input[type="radio"]:checked + .sample-data-label {
  border-color: #ff7101;
  background: linear-gradient(
    135deg,
    rgba(255, 113, 1, 0.08) 0%,
    rgba(255, 113, 1, 0.02) 100%
  );
  box-shadow: 0 0.6rem 2rem rgba(255, 113, 1, 0.2);
}

.sample-data-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.sample-data-content i {
  font-size: 2.4rem;
  color: #009bde;
}

.sample-data-option
  input[type="radio"]:checked
  + .sample-data-label
  .sample-data-content
  i {
  color: #ff7101;
}

.sample-data-content span {
  font: 600 1.8rem/1.2 "Montserrat", sans-serif;
  color: #0f488a;
}

/* Licensing Notice */
.licensing-notice {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  background: linear-gradient(135deg, #fff3cd 0%, #fef3c7 100%);
  border: 0.1rem solid #fbbf24;
  border-radius: 1rem;
  padding: 2rem;
  margin-top: 3rem;
  box-shadow: 0 0.4rem 1.2rem rgba(251, 191, 36, 0.15);
}

.notice-icon {
  flex-shrink: 0;
}

.notice-icon i {
  font-size: 2.4rem;
  color: #d97706;
}

.notice-content h4 {
  font: 700 1.8rem/1.2 "Montserrat", sans-serif;
  color: #92400e;
  margin: 0 0 1rem 0;
}

.notice-content p {
  font: 400 1.4rem/1.4 "Montserrat", sans-serif;
  color: #92400e;
  margin: 0;
}

/* Platform Grid */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
  gap: 2.5rem;
  max-width: 80rem;
  margin: 0 auto;
}

.platform-card {
  background: #fff;
  border: 0.2rem solid rgba(0, 155, 222, 0.12);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.platform-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: all 0.6s ease;
}

.platform-card:hover::before {
  left: 100%;
}

.platform-card:hover {
  border-color: #ff7101;
  transform: translateY(-0.5rem) scale(1.01);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.1);
}

.platform-card.selected {
  border-color: #ff7101;
  background: linear-gradient(
    135deg,
    rgba(255, 113, 1, 0.08) 0%,
    rgba(255, 113, 1, 0.02) 100%
  );
  box-shadow: 0 0.6rem 2rem rgba(255, 113, 1, 0.2);
}

.platform-icon {
  font-size: 4.5rem;
  color: #009bde;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.platform-card.selected .platform-icon {
  color: #ff7101;
  transform: scale(1.05);
}

.platform-name {
  font: 700 2rem/1.2 "Montserrat", sans-serif;
  color: #0f488a;
  margin: 0 0 0.8rem 0;
}

.platform-description {
  font: 400 1.4rem/1.4 "Montserrat", sans-serif;
  color: #64748b;
  margin: 0;
}

/* Version Section */
.version-section {
  margin-top: 4rem;
  padding: 3.5rem;
  background: linear-gradient(
    135deg,
    rgba(0, 155, 222, 0.05) 0%,
    rgba(0, 155, 222, 0.02) 100%
  );
  border-radius: 1.5rem;
  border: 0.1rem solid rgba(0, 155, 222, 0.12);
  animation: slideDown 0.4s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.version-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title {
  font: 700 2.4rem/1.2 "Montserrat", sans-serif;
  color: #0f488a;
  margin: 0 0 0.8rem 0;
}

.section-description {
  font: 400 1.5rem/1.4 "Montserrat", sans-serif;
  color: #64748b;
  margin: 0;
}

.version-selector {
  max-width: 45rem;
  margin: 0 auto 3.5rem auto;
}

/* Dependencies */
.dependencies-section {
  margin-top: 3.5rem;
}

.dependencies-title {
  font: 700 2.2rem/1.2 "Montserrat", sans-serif;
  color: #0f488a;
  margin: 0 0 2rem 0;
  text-align: center;
}

.dependencies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(26rem, 1fr));
  gap: 2rem;
}

.dependency-item {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  padding: 2rem;
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 0.3rem 1rem rgba(0, 0, 0, 0.05);
  border: 0.1rem solid rgba(0, 155, 222, 0.08);
  transition: all 0.3s ease;
}

.dependency-item:hover {
  transform: translateY(-0.2rem);
  box-shadow: 0 0.6rem 1.5rem rgba(0, 0, 0, 0.08);
}

.dependency-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
  box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.1);
}

.dependency-icon.php {
  background: linear-gradient(135deg, #8892bf 0%, #6c7ae0 100%);
  color: #fff;
}

.dependency-icon.mariadb {
  background: linear-gradient(135deg, #003545 0%, #004d5f 100%);
  color: #fff;
}

.dependency-icon.redis {
  background: linear-gradient(135deg, #dc382d 0%, #b91c1c 100%);
  color: #fff;
}

.dependency-icon.opensearch {
  background: linear-gradient(135deg, #005eb8 0%, #1e40af 100%);
  color: #fff;
}

.dependency-details {
  flex: 1;
}

.dependency-name {
  font: 700 1.6rem/1 "Montserrat", sans-serif;
  color: #0f488a;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.dependency-version {
  font: 600 1.4rem/1 "Montserrat", sans-serif;
  color: #ff7101;
}

/* --- Theme Tabs --- */
.theme-tabs {
  max-width: 100%;
}

.tab-nav {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  border-bottom: 0.2rem solid rgba(0, 155, 222, 0.1);
  padding-bottom: 0;
}

.tab-btn {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: none;
  padding: 1.8rem 2.5rem;
  border-radius: 1rem 1rem 0 0;
  font: 600 1.5rem/1 "Montserrat", sans-serif;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.04);
}

.tab-btn:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 113, 1, 0.1) 0%,
    rgba(255, 113, 1, 0.05) 100%
  );
  color: #ff7101;
  transform: translateY(-0.1rem);
}

.tab-btn.active {
  background: linear-gradient(135deg, #ff7101 0%, #e65100 100%);
  color: #fff;
  box-shadow: 0 0.4rem 1.2rem rgba(255, 113, 1, 0.3);
}

.tab-btn i {
  font-size: 1.6rem;
}

.tab-content {
  background: #fff;
  border-radius: 0 1.5rem 1.5rem 1.5rem;
  padding: 3.5rem;
  box-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.08);
  border: 0.1rem solid rgba(0, 155, 222, 0.08);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

/* Theme Options */
.theme-options {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

/* Theme Card Wrapper for clickable area */
.theme-card-wrapper {
  cursor: pointer;
  position: relative;
  border-radius: 1.2rem;
  transition: all 0.3s ease;
}

.theme-card-wrapper:hover .theme-card {
  border-color: #ff7101;
  box-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.08);
  transform: translateY(-0.2rem);
}

.theme-card-wrapper.selected .theme-card {
  border-color: #ff7101;
  background: linear-gradient(
    135deg,
    rgba(255, 113, 1, 0.08) 0%,
    rgba(255, 113, 1, 0.02) 100%
  );
  box-shadow: 0 0.6rem 2rem rgba(255, 113, 1, 0.2);
}

.theme-card {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2.5rem;
  border: 0.2rem solid rgba(0, 155, 222, 0.12);
  border-radius: 1.2rem;
  background: #fff;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 0.3rem 1rem rgba(0, 0, 0, 0.04);
}

.theme-icon {
  flex-shrink: 0;
  width: 9rem;
  height: 5.5rem;
  border-radius: 0.7rem;
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.08);
}

.theme-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.theme-info {
  flex: 1;
}

.theme-info h4 {
  font: 700 2.2rem/1.2 "Montserrat", sans-serif;
  color: #0f488a;
  margin: 0 0 1rem 0;
}

.theme-info p {
  /* Merged from duplicate .theme-info p */
  font: 400 1.5rem/1.4 "Montserrat", sans-serif;
  color: #64748b;
  margin: 0;
}

.license-required {
  font: 400 1.3rem/1 "Montserrat", sans-serif;
  color: #64748b;
}

.theme-info input[type="radio"] {
  position: absolute;
  top: 2.5rem;
  right: 2.5rem;
  width: 2.2rem;
  height: 2.2rem;
  accent-color: #ff7101;
}

/* --- Color Grid --- */
.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(26rem, 1fr));
  gap: 2rem;
  max-width: 85rem;
  margin: 0 auto;
}

.color-item {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 2.2rem;
  border-radius: 1.2rem;
  border: 0.1rem solid rgba(0, 155, 222, 0.08);
  box-shadow: 0 0.3rem 1rem rgba(0, 0, 0, 0.04);
}

.color-item label {
  font: 600 1.5rem/1 "Montserrat", sans-serif;
  color: #0f488a;
  margin-bottom: 1.2rem;
  display: block;
}

.color-input {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.color-input input[type="color"] {
  width: 5.5rem;
  height: 4.5rem;
  border: 0.2rem solid rgba(0, 155, 222, 0.2);
  border-radius: 0.7rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.color-input input[type="color"]:hover {
  transform: scale(1.03);
  box-shadow: 0 0.3rem 1rem rgba(0, 0, 0, 0.1);
}

.color-hex {
  flex: 1;
  padding: 1.2rem;
  border: 0.2rem solid rgba(0, 155, 222, 0.15);
  border-radius: 0.7rem;
  font: 500 1.5rem/1 "Montserrat", sans-serif;
  color: #0f488a;
  background: #fff;
  transition: all 0.3s ease;
}

.color-hex:focus {
  border-color: #ff7101;
  box-shadow: 0 0 0 0.25rem rgba(255, 113, 1, 0.1);
}

/* Font Settings */
.font-settings {
  max-width: 65rem;
  margin: 0 auto;
  text-align: center;
}

.font-settings p {
  font: 600 1.7rem/1.2 "Montserrat", sans-serif;
  color: #0f488a;
  margin-bottom: 2.5rem;
}

.font-options select {
  width: 100%;
  padding: 1.8rem;
  border: 0.2rem solid rgba(0, 155, 222, 0.15);
  border-radius: 1.2rem;
  font: 500 1.7rem/1 "Montserrat", sans-serif;
  color: #0f488a;
  background: #fff;
  box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.font-options select:focus {
  border-color: #ff7101;
  box-shadow: 0 0 0 0.25rem rgba(255, 113, 1, 0.1);
}

/* --- Plugins Container --- */
.plugins-container {
  max-width: 100%;
  margin: 0 auto;
}

.plugin-section {
  margin-bottom: 4rem;
}

.plugin-list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.plugin-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2.2rem;
  background: #fff;
  border: 0.2rem solid rgba(0, 155, 222, 0.12);
  border-radius: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 0.3rem 1rem rgba(0, 0, 0, 0.04);
}

.plugin-item:hover {
  border-color: #ff7101;
  box-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.08);
  transform: translateY(-0.2rem);
}

.plugin-item.selected {
  background: linear-gradient(
    135deg,
    rgba(50, 190, 125, 0.08) 0%,
    rgba(50, 190, 125, 0.02) 100%
  );
  border-color: #32be7d;
  box-shadow: 0 0.6rem 2rem rgba(50, 190, 125, 0.2);
}

.plugin-icon {
  width: 5.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 0.7rem;
  overflow: hidden;
  box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.08);
}

.plugin-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.icon-letter {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, #64748b 0%, #475569 100%);
  color: #fff;
  border-radius: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 1.7rem/1 "Montserrat", sans-serif;
}

.plugin-info {
  flex: 1;
}

.plugin-info h4 {
  font: 700 1.9rem/1.2 "Montserrat", sans-serif;
  color: #0f488a;
  margin: 0 0 0.8rem 0;
}

.plugin-info p {
  font: 400 1.5rem/1.4 "Montserrat", sans-serif;
  color: #64748b;
  margin: 0;
}

.plugin-action {
  padding: 1rem 2.2rem;
  border: none;
  border-radius: 0.7rem;
  font: 600 1.4rem/1 "Montserrat", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  min-width: 7rem;
}

.plugin-action.add {
  background: linear-gradient(135deg, #009bde 0%, #0284c7 100%);
  color: #fff;
  box-shadow: 0 0.4rem 1.2rem rgba(0, 155, 222, 0.3);
}

.plugin-action.add:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  transform: translateY(-0.1rem);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 155, 222, 0.4);
}

.plugin-action.remove {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  color: #64748b;
  border: 0.1rem solid #cbd5e1;
}

.plugin-action.remove:hover {
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  color: #475569;
}

/* --- Summary Container --- */
.summary-container {
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
  gap: 2.5rem;
}

.summary-section {
  background: #fff;
  padding: 3.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.08);
  border: 0.1rem solid rgba(0, 155, 222, 0.08);
}

.summary-title {
  font: 700 2.2rem/1.2 "Montserrat", sans-serif;
  color: #0f488a;
  margin: 0 0 2rem 0;
  padding-bottom: 1.2rem;
  border-bottom: 0.2rem solid rgba(0, 155, 222, 0.12);
}

.summary-content p {
  font: 400 1.6rem/1.4 "Montserrat", sans-serif;
  color: #64748b;
  margin: 0 0 1.2rem 0;
}

.summary-content strong {
  color: #0f488a;
  font-weight: 600;
}

.summary-logos ul {
  margin: 1.2rem 0 0 2rem;
  padding: 0;
}

.summary-logos li {
  font: 400 1.4rem/1.4 "Montserrat", sans-serif;
  color: #64748b;
  margin-bottom: 0.6rem;
}

.color-swatches {
  display: flex;
  gap: 1.8rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

.color-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.color-swatch .swatch {
  /* Combined and kept larger swatch size */
  width: 5rem;
  height: 5rem;
  border-radius: 1rem;
  border: 0.2rem solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.1);
}

.color-swatch span {
  font: 500 1.2rem/1 "Montserrat", sans-serif;
  color: #64748b;
}

/* --- Installation Progress Overlay Styles --- */
.installation-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.installation-overlay.active {
  opacity: 1;
  visibility: visible;
}

.installation-content {
  background: #fff;
  padding: 4rem;
  border-radius: 1.5rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
  max-width: 70rem;
  width: 90%;
  text-align: center;
  transform: translateY(2rem);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.installation-overlay.active .installation-content {
  transform: translateY(0);
  opacity: 1;
}

.installation-header {
  margin-bottom: 3rem;
}

.installation-header h2 {
  font-size: 3.2rem;
  color: #0f488a;
  margin-bottom: 1rem;
}

.installation-header p {
  font-size: 1.6rem;
  color: #64748b;
}

.installation-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
}

.installation-step {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.8rem 2.5rem;
  background: #f8fafc;
  border: 0.1rem solid rgba(0, 155, 222, 0.1);
  border-radius: 1rem;
  box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.installation-step.active {
  background: linear-gradient(
    135deg,
    rgba(0, 155, 222, 0.08) 0%,
    rgba(0, 155, 222, 0.02) 100%
  );
  border-color: #009bde;
  box-shadow: 0 0.4rem 1.2rem rgba(0, 155, 222, 0.15);
}

.installation-step.completed {
  background: linear-gradient(
    135deg,
    rgba(50, 190, 125, 0.08) 0%,
    rgba(50, 190, 125, 0.02) 100%
  );
  border-color: #32be7d;
  box-shadow: 0 0.4rem 1.2rem rgba(50, 190, 125, 0.15);
}

.installation-step .step-icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: rgba(0, 155, 222, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.installation-step.active .step-icon {
  background: #009bde;
}

.installation-step.completed .step-icon {
  background: #32be7d;
}

.installation-step .step-icon i {
  font-size: 2rem;
  color: #009bde;
}

.installation-step.active .step-icon i,
.installation-step.completed .step-icon i {
  color: #fff;
}

.installation-step .step-info {
  flex: 1;
  text-align: left;
}

.installation-step .step-title {
  font: 700 1.8rem/1.2 "Montserrat", sans-serif;
  color: #0f488a;
  margin-bottom: 0.5rem;
}

.installation-step .step-description {
  font: 400 1.4rem/1.4 "Montserrat", sans-serif;
  color: #64748b;
}

.installation-step .step-status i {
  font-size: 2.2rem;
  color: #64748b;
}

.installation-step.completed .step-status i {
  color: #32be7d;
}

/* --- Theme Preview --- */
.preview-btn {
  margin-bottom: 3.5rem;
  background: linear-gradient(135deg, #009bde 0%, #0284c7 100%);
  font-size: 1.5rem;
  padding: 1.4rem 2.8rem;
}

.theme-preview {
  border: 0.2rem solid rgba(0, 155, 222, 0.12);
  border-radius: 1.2rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.08);
}

.preview-header {
  background: #374151;
  color: #fff;
  padding: 1.2rem 2rem;
  font-size: 1.3rem;
}

.preview-nav {
  display: flex;
  gap: 2rem;
}

.preview-content {
  padding: 2.5rem;
}

.preview-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.preview-nav-main {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
  font: 500 1.5rem/1 "Montserrat", sans-serif;
  color: #0f488a;
}

.preview-hero {
  text-align: center;
}

.preview-hero img {
  max-width: 100%;
  height: auto;
  border-radius: 0.7rem;
}

.preview-mobile {
  text-align: center;
  padding: 2.5rem;
  background: #f8fafc;
}

.preview-mobile img {
  max-width: 28rem;
  height: auto;
  border-radius: 0.7rem;
}

/* --- Logo Upload --- */
.logo-upload {
  max-width: 65rem;
  margin: 0 auto;
}

.upload-area {
  border: 0.25rem dashed rgba(0, 155, 222, 0.3);
  border-radius: 1.2rem;
  padding: 4.5rem;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(0, 155, 222, 0.02) 0%,
    rgba(0, 155, 222, 0.01) 100%
  );
  cursor: pointer;
  transition: all 0.3s ease;
}

.upload-area:hover {
  border-color: #ff7101;
  background: linear-gradient(
    135deg,
    rgba(255, 113, 1, 0.02) 0%,
    rgba(255, 113, 1, 0.01) 100%
  );
  transform: scale(1.01);
}

.upload-area i {
  font-size: 4.5rem;
  color: #009bde;
  margin-bottom: 1.8rem;
}

.upload-area p {
  font: 600 1.7rem/1.2 "Montserrat", sans-serif;
  color: #0f488a;
  margin: 0 0 0.6rem 0;
}

.upload-area small {
  font: 400 1.3rem/1 "Montserrat", sans-serif;
  color: #64748b; /* Corrected to close the style block */
}

/* --- Responsive Design --- */
@media screen and (max-width: 768px) {
  body {
    font-size: 10px;
  }

  .wizard-header {
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
    padding: 2rem;
  }

  .header-left {
    justify-content: center;
  }

  .wizard-title {
    text-align: center;
    font-size: 2.6rem;
  }

  .wizard-actions {
    justify-content: center;
  }

  .wizard-content {
    flex-direction: column;
    margin: 0;
    border-radius: 0;
  }

  .wizard-sidebar {
    width: 100%;
    order: 2;
    max-height: 28rem;
    overflow-y: auto;
    padding: 1rem 0;
  }

  .wizard-nav {
    padding: 1rem 0;
  }

  .nav-item {
    padding: 1.5rem 2rem;
  }

  .user-profile {
    display: none;
  }

  .wizard-main {
    order: 1;
    padding: 2.5rem;
  }

  .platform-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .dependencies-grid {
    grid-template-columns: 1fr;
  }

  .tab-nav {
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .tab-btn {
    flex: 1;
    min-width: calc(50% - 0.2rem);
    justify-content: center;
    padding: 1.2rem;
    font-size: 1.3rem;
  }

  .theme-card {
    flex-direction: column;
    text-align: center;
  }

  .theme-icon {
    width: 100%;
    height: 9rem;
  }

  .color-grid {
    grid-template-columns: 1fr;
  }

  .summary-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .color-swatches {
    justify-content: center;
  }

  .plugin-item {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .preview-nav-main {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .preview-mobile {
    padding: 2rem;
  }

  .preview-mobile img {
    max-width: 25rem;
  }

  .sample-data-options {
    gap: 1.5rem;
  }

  .sample-data-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .installation-content {
    padding: 2.5rem;
  }

  .installation-header h2 {
    font-size: 2.6rem;
  }

  .installation-header p {
    font-size: 1.4rem;
  }

  .installation-step {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .installation-step .step-info {
    text-align: center;
  }
}
