/* --- Premium Enquiry Form (Pixel-Perfect Layout) --- */
.pem-form {
  max-width: 760px;
  margin: 50px auto;
  padding: 45px 40px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  font-family: "Inter", "Segoe UI", Roboto, sans-serif;
}

/* Grid layout */
.pem-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 22px;
  align-items: end;
}
.pem-form-row.full {
  grid-template-columns: 1fr;
}

@media (max-width: 768px) {
  .pem-form-row {
    grid-template-columns: 1fr;
  }
}

/* Labels */
.pem-form label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  color: #111;
  margin-bottom: 8px;
}

/* All Inputs */
.pem-form input,
.pem-form select,
.pem-form textarea {
  width: 100%;
  height: 52px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #d9dce1;
  font-size: 15px;
  color: #333;
  background: #fff;
  box-sizing: border-box;
  transition: all 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

/* Fix select dropdowns sizing */
.pem-form select {
  background-image: url("data:image/svg+xml;utf8,<svg fill='%231dbf73' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 45px !important;
  line-height: normal;
}

/* --- Phone number combo --- */
.pem-phone-input {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pem-phone-input select {
  flex: 0 0 115px;
  height: 52px !important;
  padding: 10px 8px !important;
}
.pem-phone-input input {
  flex: 1;
  height: 52px !important;
}

/* Textarea */
.pem-form textarea {
  height: 140px;
  resize: vertical;
  line-height: 1.6;
}

/* Focus styles */
.pem-form input:focus,
.pem-form select:focus,
.pem-form textarea:focus {
  border-color: #1dbf73;
  box-shadow: 0 0 0 3px rgba(29,191,115,0.15);
  outline: none;
}

/* Button */
.pem-form button {
  width: 100%;
  max-width: 230px;
  margin: 30px auto 0;
  display: block;
  height: 50px;
  border: none;
  border-radius: 8px;
  background: #1dbf73;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
}
.pem-form button:hover {
  background: #18a562;
  transform: translateY(-1px);
}
.pem-form button:active {
  background: #12824d;
  transform: translateY(0);
}

/* Validation messages */
.pem-error,
.pem-char-msg {
  color: #e63946;
  font-size: 13px;
  margin-top: 5px;
  display: block;
}

/* Dashboard Table */
.pem-dashboard {
  margin: 40px auto;
  width: 95%;
  max-width: 1100px;
}
.pem-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
}
.pem-table thead {
  background: #1dbf73;
  color: #fff;
}
.pem-table th,
.pem-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f1f1f1;
  text-align: left;
}
.pem-table tr:nth-child(even) {
  background: #f9fafb;
}
.status-pending {
  background: #fff3cd;
  color: #856404;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
}
