/* ==========================================================
   LumiShine Inquiry Form – lms7 scoped styles
   All selectors scoped under .lms7-wrap to avoid WP conflicts
   ========================================================== */

.lms7-wrap,
.lms7-wrap *,
.lms7-wrap *::before,
.lms7-wrap *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-width: 0;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.08);
}

.lms7-wrap {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #000000;
  color: #ffffff;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.lms7-wrap button,
.lms7-wrap input,
.lms7-wrap textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.lms7-wrap button {
  cursor: pointer;
  background: none;
}

.lms7-wrap textarea {
  resize: none;
}

/* Container & Grid
   ========================================================== */

.lms7-wrap .lms7-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.lms7-wrap .lms7-grid {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Form Card
   ========================================================== */

.lms7-wrap .lms7-form-card {
  background-color: #0e0e0e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.lms7-wrap .lms7-form > * + * {
  margin-top: 1.5rem;
}

/* Form Fields
   ========================================================== */

.lms7-wrap .lms7-fields > * + * {
  margin-top: 1rem;
}

.lms7-wrap .lms7-label {
  display: block;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #d1d5db;
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.lms7-wrap .lms7-label--mb3 {
  margin-bottom: 0.75rem;
}

.lms7-wrap .lms7-req {
  color: #00ff9c;
}

.lms7-wrap .lms7-input {
  width: 100%;
  background-color: #0b0b0b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.25rem;
  padding: 0.75rem 1rem;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  outline: none;
  transition: border-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.lms7-wrap .lms7-input::placeholder {
  color: #4b5563;
}

.lms7-wrap .lms7-input:focus {
  border-color: rgba(0, 255, 156, 0.5);
}

.lms7-wrap .lms7-input--error {
  border-color: #ef4444;
}

.lms7-wrap .lms7-textarea {
  width: 100%;
  background-color: #0b0b0b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.25rem;
  padding: 0.75rem 1rem;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  outline: none;
  resize: none;
  transition: border-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.lms7-wrap .lms7-textarea::placeholder {
  color: #4b5563;
}

.lms7-wrap .lms7-textarea:focus {
  border-color: rgba(0, 255, 156, 0.5);
}

/* Errors
   ========================================================== */

.lms7-wrap .lms7-error {
  color: #ef4444;
  font-size: 0.75rem;
  line-height: 1rem;
  margin-top: 0.25rem;
  display: none;
}

.lms7-wrap .lms7-error--visible {
  display: block;
}

.lms7-wrap .lms7-error--mt2 {
  margin-top: 0.5rem;
}

/* Selection Grids
   ========================================================== */

.lms7-wrap .lms7-sel-grid-3 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.lms7-wrap .lms7-sel-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.lms7-wrap .lms7-sel-grid-color {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

/* Selection Buttons
   ========================================================== */

.lms7-wrap .lms7-sel-btn {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.25rem;
  background-color: #0b0b0b;
  color: #9ca3af;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  font-weight: 400;
}

.lms7-wrap .lms7-sel-btn:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.lms7-wrap .lms7-sel-btn--active {
  background-color: rgba(0, 255, 156, 0.1);
  border-color: #00ff9c;
  color: #00ff9c;
}

.lms7-wrap .lms7-sel-btn--active:hover {
  border-color: #00ff9c;
}

/* File Upload
   ========================================================== */

.lms7-wrap .lms7-upload-wrapper > * + * {
  margin-top: 0.5rem;
}

.lms7-wrap .lms7-upload-area {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 2rem 1rem;
  border: 2px dashed rgba(255, 255, 255, 0.08);
  border-radius: 0.25rem;
  cursor: pointer;
  background-color: #0b0b0b;
  transition: border-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.lms7-wrap .lms7-upload-area:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.lms7-wrap .lms7-upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.lms7-wrap .lms7-upload-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #6b7280;
}

.lms7-wrap .lms7-upload-text {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #9ca3af;
}

.lms7-wrap .lms7-upload-hint {
  font-size: 0.75rem;
  line-height: 1rem;
  color: #4b5563;
}

.lms7-wrap .lms7-upload-input {
  display: none;
}

/* File List
   ========================================================== */

.lms7-wrap .lms7-file-list {
  display: none;
}

.lms7-wrap .lms7-file-list--visible {
  display: block;
}

.lms7-wrap .lms7-file-list > * + * {
  margin-top: 0.5rem;
}

.lms7-wrap .lms7-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #0b0b0b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.25rem;
  padding: 0.5rem 1rem;
}

.lms7-wrap .lms7-file-name {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #d1d5db;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.lms7-wrap .lms7-file-remove {
  color: #6b7280;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.lms7-wrap .lms7-file-remove:hover {
  color: #ef4444;
}

.lms7-wrap .lms7-file-remove svg {
  width: 1rem;
  height: 1rem;
}

/* Submit Button
   ========================================================== */

.lms7-wrap .lms7-submit {
  width: 100%;
  background-color: #00ff9c;
  color: #000000;
  padding: 1rem 0;
  border-radius: 0.25rem;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  border: none;
  cursor: pointer;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.lms7-wrap .lms7-submit:hover {
  box-shadow: 0 0 20px rgba(0, 255, 156, 0.5);
}

.lms7-wrap .lms7-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Messages
   ========================================================== */

.lms7-wrap .lms7-msg {
  display: none;
  padding: 1rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-align: center;
}

.lms7-wrap .lms7-msg--visible {
  display: block;
}

.lms7-wrap .lms7-msg--success {
  background-color: rgba(0, 255, 156, 0.1);
  border: 1px solid rgba(0, 255, 156, 0.3);
  color: #00ff9c;
}

.lms7-wrap .lms7-msg--error {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

/* Responsive – md (768px)
   ========================================================== */

@media (min-width: 768px) {
  .lms7-wrap {
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .lms7-wrap .lms7-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .lms7-wrap .lms7-form-card {
    padding: 2rem;
  }

  .lms7-wrap .lms7-sel-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Responsive – lg (1024px)
   ========================================================== */

@media (min-width: 1024px) {
  .lms7-wrap .lms7-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
