html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background-color: #f8f9fa;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Wizard Progress Styles */
.wizard-progress {
  padding: 20px 0;
}

.wizard-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
}

.step-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #e9ecef;
  border: 3px solid #dee2e6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #6c757d;
  transition: all 0.3s ease;
}

.wizard-step.active .step-circle {
  background-color: #0d6efd;
  border-color: #0d6efd;
  color: white;
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.25);
}

.wizard-step.completed .step-circle {
  background-color: #198754;
  border-color: #198754;
  color: white;
}

.step-title {
  margin-top: 8px;
  font-size: 0.85rem;
  color: #6c757d;
  text-align: center;
  max-width: 80px;
}

.wizard-step.active .step-title {
  color: #0d6efd;
  font-weight: 600;
}

.wizard-step.completed .step-title {
  color: #198754;
}

.step-line {
  flex: 1;
  height: 3px;
  background-color: #dee2e6;
  margin: 22px 10px 0 10px;
  min-width: 30px;
}

.step-line.completed {
  background-color: #198754;
}

/* Wizard Content */
.wizard-content {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.step-header {
  text-align: center;
  margin-bottom: 30px;
}

.step-header h2 {
  color: #212529;
  margin-bottom: 10px;
}

/* Selection Cards */
.selection-card {
  border-radius: 12px;
  transition: all 0.3s ease;
}

.selection-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.selection-card.active,
.selection-card:focus {
  background-color: #0d6efd;
  color: white;
  border-color: #0d6efd;
}

/* Tarife Cards */
.tarife-card {
  border: 2px solid #dee2e6;
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tarife-card:hover {
  border-color: #0d6efd;
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.tarife-card.selected {
  border-color: #0d6efd;
  background-color: #f0f7ff;
}

.tarife-card.selected .btn-outline-primary {
  background-color: #0d6efd;
  color: white;
}

/* Wizard Buttons */
.wizard-buttons {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid #dee2e6;
  margin-top: 30px;
}

/* Form Styles */
.form-label {
  font-weight: 500;
  color: #495057;
}

.form-select, .form-control {
  border-radius: 8px;
}

/* Card Styles */
.card {
  border-radius: 12px;
  border: 1px solid #e9ecef;
}

.card-header {
  border-radius: 12px 12px 0 0 !important;
}

/* Responsive */
@media (max-width: 768px) {
  .wizard-content {
    padding: 20px 15px;
  }
  
  .step-circle {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  
  .step-line {
    min-width: 15px;
    margin: 17px 5px 0 5px;
  }
}