/* General App styles - using Tailwind for most styling */
.App {
  font-family: 'Carlito', 'Segoe UI', 'Inter', 'Roboto', sans-serif;
  color: #333;
}

.App-header {
  text-align: center;
  padding: 30px 0;
  border-bottom: 1px solid #eaeaea;
  margin-bottom: 30px;
}

.App-header h1 {
  margin: 0;
  color: #2c3e50;
  font-size: 2.2rem;
  font-weight: 600;
}

.App-header p {
  color: #7f8c8d;
  margin-top: 8px;
  font-size: 1.1rem;
}

.App-footer {
  margin-top: 50px;
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid #eaeaea;
  color: #7f8c8d;
  font-size: 0.9rem;
}

/* Civil Claims Form Styles */
.small-claims-form-container {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 30px;
  margin-bottom: 30px;
}

.small-claims-form-container h1 {
  text-align: center;
  margin-bottom: 30px;
  color: #2c3e50;
  font-size: 1.8rem;
}

/* Form Progress Styles */
.form-progress {
  margin-bottom: 30px;
}

.steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 30px;
}

.steps::before {
  content: '';
  position: absolute;
  background: #e5e5e5;
  height: 3px;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

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

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #e5e5e5;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.step.active .step-number {
  background-color: #3498db;
  color: white;
}

.step.completed .step-number {
  background-color: #2ecc71;
  color: white;
}

.step-name {
  font-size: 0.8rem;
  color: #666;
  text-align: center;
}

.step.active .step-name {
  color: #3498db;
  font-weight: 600;
}

/* Form Navigation Styles */
.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eaeaea;
}

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: #3498db;
  color: white;
}

.btn-primary:hover {
  background-color: #2980b9;
}

.btn-secondary {
  background-color: #95a5a6;
  color: white;
}

.btn-secondary:hover {
  background-color: #7f8c8d;
}

.btn-info {
  background-color: #27ae60;
  color: white;
}

.btn-info:hover {
  background-color: #219955;
}

/* Form Components Shared Styles */
.form-section {
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #eaeaea;
}

.form-section:last-child {
  border-bottom: none;
}

.form-section h2 {
  margin-bottom: 20px;
  color: #2c3e50;
  font-size: 1.4rem;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px 15px;
}

.form-group {
  flex: 1 1 300px;
  margin: 0 10px 15px;
}

.form-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #34495e;
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  transition: border-color 0.2s;
}

.form-control:focus {
  border-color: #3498db;
  outline: none;
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 10px;
}

.text-muted {
  color: #7f8c8d;
  font-size: 0.9rem;
  margin-top: 4px;
}

/* Validation styles */
.is-invalid {
  border-color: #e74c3c;
}

.error-message {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 4px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .steps {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .steps::before {
    height: 100%;
    width: 3px;
    left: 18px;
    top: 0;
    transform: none;
  }
  
  .step {
    flex-direction: row;
    margin-bottom: 15px;
    width: 100%;
  }
  
  .step-number {
    margin-right: 15px;
    margin-bottom: 0;
  }
  
  .form-navigation {
    flex-direction: column;
    gap: 10px;
  }
  
  .btn {
    width: 100%;
  }
}