/* ========== Global Reset & Base Styles ========== */
#lmlc-form * {
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

#lmlc-form {
  max-width: 600px;
  margin: 0 auto;
  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* ========== Form Headings & Labels ========== */
#lmlc-form h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  text-align: center;
}

#lmlc-form label {
  display: block;
  margin: 10px 0 5px;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ========== Inputs & Selects ========== */
#lmlc-form input[type="text"],
#lmlc-form input[type="email"],
#lmlc-form select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  margin-bottom: 10px;
}

/* ========== Monthly Cuts label ========== */
#service_label {
    display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* or space-between if you want a little spacing */
  margin: 15px auto;
  text-align: center;
}
/* ========== Sliders ========== */

.lmlc-field.lmlc-toggle-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* or space-between if you want a little spacing */
  margin: 15px auto;
  text-align: center;
}


/* ========== Toggle Sliders (Patched) ========== */
.lmlc-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
  margin-bottom: 8px;
}

/* Hide the checkbox */
.lmlc-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

/* Slider Style */
.slider {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  background-color: #ccc;
  border-radius: 34px;
  transition: background-color 0.3s;
  flex-shrink: 0;
}

/* Circle inside slider */
.slider:before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s;
}

/* Checked State */
.lmlc-toggle input:checked + .slider {
  background-color: #4CAF50;
}

.lmlc-toggle input:checked + .slider:before {
  transform: translateX(18px);
}

/* Field Wrapper */
.lmlc-field {
  margin-bottom: 20px;
}

/* ========== Summary & Notes ========== */
#acreage_summary {
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 20px;
  padding: 10px;
  background: #f8f8f8;
  border-left: 5px solid #4CAF50;
}

#lmlc_next_date {
  margin-top: 10px;
  font-style: italic;
  font-size: 0.95rem;
}

.lmlc-extra {
  font-weight: bold;
  margin-left: 10px;
}

.note {
  font-size: 0.85rem;
  color: #666;
  margin-top: 5px;
}

/* ========== Error ========== */
#error,
#lmlc-error {
  color: red;
  margin-top: 15px;
  font-weight: bold;
}

/* ========== Submit Button ========== */
#lmlc-form button[type="submit"] {
  background-color: #4CAF50;
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 1rem;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  margin-top: 15px;
}

#lmlc-form button[type="submit"]:hover {
  background-color: #45a049;
}

/* ========== Responsive ========== */
@media (max-width: 500px) {
  #lmlc-form {
    padding: 15px;
  }

  .lmlc-toggle-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .slider {
    width: 38px;
    height: 20px;
  }

  .slider:before {
    width: 16px;
    height: 16px;
  }
}

/* ========== Contractor Login Styling ========== */
.lmlc-login-wrapper {
  max-width: 420px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

.lmlc-login-wrapper h2 {
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #222;
}

.lmlc-login-form label {
  display: block;
  margin-bottom: 1rem;
  color: #444;
}

.lmlc-login-form input {
  width: 100%;
  padding: 0.6rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
  margin-top: 0.3rem;
}

.lmlc-login-form button {
  width: 100%;
  padding: 0.75rem;
  background: #1e90ff;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

.lmlc-login-form button:hover {
  background: #0077cc;
}

.lmlc-login-error {
  color: red;
  text-align: center;
  margin-bottom: 1rem;
  font-weight: bold;
}
