:root {
  --primary-color: #5d87ff;
  --secondary-color: #ffae1f;
  --tertiary-color: #c8c8c8;
  --background: #16142a;
  --primary-gradient: linear-gradient(
    135deg,
    rgb(3, 16, 77) 0%,
    rgb(36, 11, 61) 100%
  );
  --success-gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  --danger-gradient: linear-gradient(135deg, #fc466b 0%, #3f5efb 100%);
  --warning-gradient: linear-gradient(135deg, #fdbb2d 0%, #22c1c3 100%);
}

body {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
  min-height: 100vh;
}

li {
    font-size: 12px;
}

.installer-container {
  max-width: 800px;
  width: 100%;
  margin: 2rem auto;
  padding: 0 0.5rem;
}

.installer-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: none;
}

.installer-header {
  background: var(--primary-gradient);
  color: white;
  padding: 1rem;
  text-align: center;
}

.installer-header h1 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.installer-header p {
  opacity: 0.9;
  font-size: 1.1rem;
}

.installer-body {
  padding: 2rem;
}

.step-indicator {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.step {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 1rem;
  font-weight: bold;
  color: #6c757d;
  position: relative;
}

.step.completed {
  background: var(--success-gradient);
  color: white;
}

.step.completed::after {
  background: var(--success-gradient);
}

.step.active {
  background: var(--primary-gradient);
  color: white;
  transform: scale(1.1);
  transition: all 0.3s ease;
}

.step::after {
  content: "";
  position: absolute;
  right: -2rem;
  width: 2rem;
  height: 2px;
  background: #e9ecef;
  top: 50%;
  transform: translateY(-50%);
}

.step:last-child::after {
  display: none;
}

.requirements-section {
  margin-bottom: 2rem;
}

.requirement-item {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.requirement-item.success {
  background: linear-gradient(
    135deg,
    rgba(17, 153, 142, 0.1) 0%,
    rgba(56, 239, 125, 0.1) 100%
  );
  border-left: 4px solid #38ef7d;
}

.requirement-item.danger {
  background: linear-gradient(
    135deg,
    rgba(252, 70, 107, 0.1) 0%,
    rgba(63, 94, 251, 0.1) 100%
  );
  border-left: 4px solid #fc466b;
}

.requirement-item.warning {
  background: linear-gradient(
    135deg,
    rgba(253, 187, 45, 0.1) 0%,
    rgba(34, 193, 195, 0.1) 100%
  );
  border-left: 4px solid #fdbb2d;
}

.requirement-icon {
  font-size: 1.5rem;
  margin-right: 1rem;
  width: 30px;
  text-align: center;
}

.requirement-content {
  flex: 1;
}

.requirement-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.requirement-description {
  color: #6c757d;
  font-size: 11px;
}

.requirement-status {
  font-weight: bold;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 12px;
}

.status-success {
  background: #d4edda;
  color: #155724;
}

.status-danger {
  background: #f8d7da;
  color: #721c24;
}

.status-warning {
  background: #fff3cd;
  color: #856404;
}

.instructions {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.1) 0%,
    rgba(118, 75, 162, 0.1) 100%
  );
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-left: 4px solid #667eea;
}

.instructions h4 {
  color: #667eea;
  margin-bottom: 1rem;
}

.btn-installer {
  background: var(--primary-gradient);
  border: none;
  border-radius: 25px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  color: white;
  transition: all 0.3s ease;
}

.btn-installer:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
  color: white;
}

.btn-installer:disabled {
  background: #6c757d;
  transform: none;
  box-shadow: none;
}

.fade-in {
  animation: fadeIn 0.8s ease-in;
}

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

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

.pulse {
  animation: pulse 2s infinite;
}

.form-section {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.05) 0%,
    rgba(118, 75, 162, 0.05) 100%
  );
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.form-section h4 {
  color: #667eea;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.form-section h4 i {
  margin-right: 0.5rem;
}

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

.form-floating > .form-control,
.form-floating > .form-select {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-floating > label {
  color: #6c757d;
}

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

.input-group-text {
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: 10px 0 0 10px;
}

.password-toggle {
  cursor: pointer;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-left: none;
  border-radius: 0 10px 10px 0;
  color: #6c757d;
  transition: all 0.3s ease;
}

.password-toggle:hover {
  background: #e9ecef;
  color: #495057;
}

.btn-installer {
  background: var(--primary-gradient);
  border: none;
  border-radius: 25px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  color: white;
  transition: all 0.3s ease;
}

.btn-installer:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
  color: white;
}

.btn-outline-installer {
  border: 2px solid #667eea;
  color: #667eea;
  border-radius: 25px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline-installer:hover {
  background: var(--primary-gradient);
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
}

.test-connection {
  background: var(--success-gradient);
  border: none;
  border-radius: 20px;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  color: white;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.test-connection:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(17, 153, 142, 0.3);
  color: white;
}

.info-box {
  background: linear-gradient(
    135deg,
    rgba(253, 187, 45, 0.1) 0%,
    rgba(34, 193, 195, 0.1) 100%
  );
  border-left: 4px solid #fdbb2d;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 2rem;
}

.info-box h6 {
  color: #856404;
  margin-bottom: 0.5rem;
}

.info-box p {
  color: #6c757d;
  margin-bottom: 0;
  font-size: 0.9rem;
}

.fade-in {
  animation: fadeIn 0.8s ease-in;
}

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

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

.form-control:valid {
  border-color: #28a745;
}

.form-control:invalid {
  border-color: #dc3545;
}

.validation-feedback {
  display: block;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.valid-feedback {
  color: #28a745;
}

.invalid-feedback {
  color: #dc3545;
}

@media (max-width: 768px) {
  .installer-header h1 {
    font-size: 2rem;
  }

  .installer-body {
    padding: 1.5rem;
  }

  .form-section {
    padding: 1.5rem;
  }
}

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

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}
* {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
        background: linear-gradient(135deg, #091755 0%, #101b5b 100%);
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    .container {
        background: white;
        border-radius: 12px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        max-width: 800px;
        width: 100%;
        padding: 40px;
        text-align: center;
    }

    .icon {
        width: 80px;
        height: 80px;
        margin: 0 auto 20px;
        background: #f0f4ff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 40px;
    }

    h1 {
        color: #2d3748;
        font-size: 28px;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .message {
        color: #4a5568;
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 30px;
    }

    .steps {
        background: #f7fafc;
        border-left: 4px solid #667eea;
        padding: 20px;
        text-align: left;
        border-radius: 6px;
        margin-top: 20px;
    }

    .steps-title {
        color: #2d3748;
        font-weight: 600;
        margin-bottom: 15px;
        font-size: 18px;
    }

    .steps ol {
        padding-left: 20px;
    }

    .steps li {
        color: #4a5568;
        margin-bottom: 10px;
        line-height: 1.5;
    }

    .steps code {
        background: #edf2f7;
        padding: 2px 6px;
        border-radius: 3px;
        font-family: 'Courier New', monospace;
        font-size: 14px;
        color: #e53e3e;
    }

    .warning {
        background: #fff5f5;
        border: 1px solid #feb2b2;
        color: #c53030;
        padding: 12px;
        border-radius: 6px;
        margin-top: 20px;
        font-size: 14px;
    }