/* Installation & Provider Setup Section Styles */

/* Selection Buttons */
.method-selector,
.provider-selector {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.selector-buttons {
  display: flex;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 4px;
  position: relative;
  box-shadow: none;
  border: 1px solid var(--color-primary);
}

.method-btn,
.provider-btn {
  background: none;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-muted);
  transition: all var(--transition-speed) ease;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}

.method-btn.active,
.provider-btn.active {
  background: var(--color-primary);
  color: white;
  box-shadow: none;
  border: 1px solid var(--color-primary);
}

.method-btn:not(.active) .badge,
.provider-btn:not(.active) .badge {
  color: var(--color-muted);
}

.method-btn:hover:not(.active),
.provider-btn:hover:not(.active) {
  color: var(--color-primary);
}

/* Installation Content */
.installation-content,
.provider-content {
  position: relative;
}

.method-instructions,
.provider-instructions {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.method-instructions.active,
.provider-instructions.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Step-by-Step Instructions */
.instruction-step {
  margin-bottom: 4rem;
  position: relative;
}

.step-number {
  position: absolute;
  top: -20px;
  /* transform: translate(-50%, -50%); */
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: white;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  z-index: 10;
  box-shadow: none;
}

.step-content {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: none;
  border: none;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.step-content:hover {
  transform: translateY(-5px);
  box-shadow: none;
}

.step-content h4 {
  color: var(--color-dark);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.step-content p {
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 0;
}

.step-image {
  text-align: center;
  padding: 1rem;
}

.step-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: none;
  transition: transform var(--transition-speed);
}

.step-image img:hover {
  transform: scale(1.02);
}

/* Alternating Layout */
.step-left .step-number {
  right: 10%;
}

.step-right .step-number {
  left: 10%;
}

/* Code styling */
code {
  background: var(--color-bg-alt);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius);
  font-family: 'Monaco', 'Consolas', monospace;
  font-size: 0.9rem;
  color: var(--color-primary);
  font-weight: 500;
}

/* Links */
a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-speed);
}

a:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

/* Post Install & Provider Note */
.post-install,
.provider-note {
  margin-top: 3rem;
  text-align: center;
}

.post-install .alert,
.provider-note .alert {
  border-radius: var(--radius);
  border: none;
  padding: 1.5rem 2rem;
  font-size: 1.1rem;
  box-shadow: none;
}

.alert-success {
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  color: #155724;
}

.alert-info {
  background: linear-gradient(135deg, #d1ecf1, #bee5eb);
  color: #0c5460;
}

/* Responsive Design */
@media (max-width: 768px) {
  .selector-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .method-btn,
  .provider-btn {
    margin: 2px 0;
    text-align: center;
  }
  
  .step-number {
    position: relative;
    left: auto !important;
    top: auto !important;
    transform: none;
    margin: 0 auto 1.5rem auto;
  }

  .step-left .step-number {
    right: auto;
  }
  
  .instruction-step {
    margin-bottom: 3rem;
  }
  
  .step-content {
    padding: 1rem;
  }
  
  .step-content h4 {
    font-size: 1.25rem;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {

}
