/* 🔷 Front-End Form */
#ricrf-form-wrapper {
  background: linear-gradient(to right, #4b6cb7, #182848);
  color: #fff;
  padding: 2rem;
  border-radius: 8px;
  max-width: 600px;
  margin: 2rem auto;
  text-align: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

#ricrf-lead-form input,
#ricrf-lead-form select,
#ricrf-lead-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin: 0.5rem 0;
  border: none;
  border-radius: 4px;
}

#ricrf-lead-form button.glow-button {
  background: #ffd700;
  color: #000;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 10px #ffd700;
  transition: box-shadow 0.3s ease;
}

#ricrf-lead-form button.glow-button:hover {
  box-shadow: 0 0 20px #ffd700;
}

/* 🧩 Admin Table Styling */

/* 🔲 Base interest colors */
.ricrf-yes {
  background-color: #e6ffe6 !important; /* light green */
}

.ricrf-no {
  background-color: #ffe6e6 !important; /* light red */
}

.ricrf-maybe {
  background-color: #e6f3ff !important; /* very light blue */
}

/* 🟣 New lead overrides all interest colors */
.ricrf-new {
  background-color: #f3e6ff !important; /* light purple */
  z-index: 1;
}

/* 🟡 Call back highlight (layered effect) */
.ricrf-callback td {
  box-shadow: inset 0 0 0 3px #fff176;
}

/* 🔽 Inline Edit Form */
.ricrf-edit-form {
  background: #f9f9f9;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.ricrf-edit-form textarea {
  width: 100%;
  height: 60px;
  margin-bottom: 0.5rem;
}

.ricrf-edit-form label {
  display: inline-block;
  margin-right: 1rem;
  font-weight: 500;
}

.ricrf-save-msg {
  color: green;
  font-weight: bold;
}

/* 🔑 Key Styling */
.ricrf-key {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  margin-right: 0.5rem;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.9rem;
}

.ricrf-key.ricrf-yes {
  background-color: #c6f6c6;
}

.ricrf-key.ricrf-no {
  background-color: #f6c6c6;
}

.ricrf-key.ricrf-maybe {
  background-color: #cfe9ff;
}

.ricrf-key.ricrf-callback {
  background-color: #fff176;
}

.ricrf-key.ricrf-new {
  background-color: #e0cfff;
}

#ricrf-lead-form input::placeholder,
#ricrf-lead-form textarea::placeholder {
  color: #fff;
  opacity: 1; /* Ensures full opacity in some browsers */
}

/* Optional: If you want to style the select placeholder too */
#ricrf-lead-form select {
  color: #fff;
}
#ricrf-lead-form select option:first-child {
  color: #ccc; /* Lighter gray to mimic placeholder look */
}

.ricrf-delete-button {
  background-color: #f8d7da; /* Light red */
  color: #721c24; /* Dark red text */
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.ricrf-delete-button:hover {
  background-color: #f5c6cb;
}

.ricrf-delete-button .dashicons {
  font-size: 18px;
}
