/* Global Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #fdfcfb, #e2d1c3);
  margin: 0;
  padding: 30px;
  color: #333;
}

/* Header */
header {
  background-color: #7a5c43;
  color: white;
  padding: 15px 0;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

/* Form Styling */
form {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: auto;
  animation: fadeIn 0.5s ease-out;
}

/* Animation for Fade In */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form Group */
.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

input,
select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  box-sizing: border-box;
  transition: all 0.3s ease-in-out;
}

input:focus,
select:focus {
  border-color: #28a745;
  outline: none;
  box-shadow: 0 0 5px rgba(40, 167, 69, 0.5);
}

/* Button Styling */
button {
  background-color: #7a5c43;
  color: white;
  padding: 12px 25px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  width: 100%;
}

button:hover {
  background-color: #5a3e2b;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Unit Block */
.unit-block {
  background: #f9f7f4;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-bottom: 15px;
  transition: background 0.3s ease-in-out;
}

.unit-block:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.unit-block h4 {
  margin-bottom: 15px;
  color: #5d4b3e;
  font-size: 18px;
}

/* Flexbox Layout */
.flex-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.flex-col {
  flex: 1;
  min-width: 180px;
}

/* Footer */
footer {
  background-color: #7a5c43;
  color: white;
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
  margin-top: 30px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .flex-row {
    flex-direction: column;
  }

  header {
    font-size: 20px;
    padding: 12px 0;
  }

  .form-group input,
  .form-group select {
    font-size: 14px;
    padding: 8px;
  }

  footer {
    font-size: 12px;
    padding: 15px 0;
  }
}

/* Step Container (Multi-Step Form Future Use) */
.step-container {
  display: none;
}
.step-container.active {
  display: block;
}

/* Customer Details Layout */
.customer-details {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.customer-details .left-details,
.customer-details .right-details {
  width: 48%;
}

.customer-details p {
  margin: 8px 0;
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .customer-details .left-details,
  .customer-details .right-details {
    width: 100%;
  }
}
