/* =======================
   GLOBAL VARIABLES
========================== */
:root {
  --mustard-gold: #b08e51;
  --dropdown-radius: 8px;
  --dropdown-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  --font: 'Inter', sans-serif;
  --btn-padding: 10px 16px;
}

/* =======================
   BASE STYLES
========================== */
.customer-detail {
  padding: 30px;
  background-color: white;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 14px;
  color: #1C1C1C;
}

.customer-detail .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.customer-detail .header h5 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #000;
}

.customer-detail .header span {
  font-size: 14px;
  font-weight: 500;
}

.customer-detail .header strong {
  font-weight: 700;
  font-size: 16px;
}

/* .customer-detail .details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin-bottom: 25px;
  font-weight: 500;
} */
.details {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 equal columns */
  gap: 40px; /* spacing between columns */
  font-family: Arial, sans-serif;
  margin: 20px 0;
}

.details .label {
  font-size: 13px;
  color: #666;
  margin-bottom: 4px;
}

.details .value {
  font-size: 14px;
  font-weight: 500;
  color: #000;
}

/* =======================
   CUSTOM DROPDOWN
========================== */
.custom-dropdown {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 220px;
  margin-bottom: 20px;
}

.custom-dropdown-toggle {
  background-color: var(--mustard-gold);
  color: #fff;
  border: none;
  padding: var(--btn-padding);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--dropdown-radius);
  font-family: var(--font);
  width: 100%;
  text-align: left;
  position: relative;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.custom-dropdown-toggle::after {
  content: "▼";
  position: absolute;
  right: 16px;
  font-size: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  pointer-events: none;
}

.custom-dropdown-menu {
  background-color: #fff;
  border-radius: var(--dropdown-radius);
  box-shadow: var(--dropdown-shadow);
  min-width: 220px;
  padding: 6px 0;
  border: none;
  margin-top: 4px;
}

.custom-dropdown-item {
  font-size: 14px;
  font-weight: 500;
  padding: var(--btn-padding);
  color: #1C1C1C;
  font-family: var(--font);
  transition: background-color 0.2s ease;
}

.custom-dropdown-item:hover {
  background-color: #f3f3f3;
  color: #000;
}

/* =======================
   TEXT AREA
========================== */
.text-box textarea {
  width: 100%;
  resize: none;
  padding: 10px;
  font-size: 14px;
  border-radius: 5px;
  border: 1px solid #ccc;
  height: 120px;
  font-family: var(--font);
}

/* =======================
   ACTION BUTTONS
========================== */
.action-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.action-buttons .btn-danger {
  background-color: #F44336;
  color: white;
  border: none;
  padding: 8px 20px;
  font-weight: 500;
  font-size: 14px;
  border-radius: 4px;
}

.action-buttons .btn-primary {
  background-color: #708CF0;
  color: white;
  border: none;
  padding: 8px 20px;
  font-weight: 500;
  font-size: 14px;
  border-radius: 4px;
}

.action-buttons .btn-danger:hover {
  background-color: #d32f2f;
}

.action-buttons .btn-primary:hover {
  background-color: #5b7bdd;
}

/* =======================
   RESPONSIVE STYLES
========================== */
@media (max-width: 600px) {
  .customer-detail {
    padding: 20px;
  }

  .customer-detail .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .custom-dropdown,
  .custom-dropdown-toggle,
  .custom-dropdown-menu {
    width: 100% !important;
  }

  .action-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .action-buttons .btn {
    width: 100%;
  }
}
