/* Base form */
.rf-form {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  padding: 30px;
  max-width: 720px;
  margin: 40px auto;
  font-family: 'Segoe UI', Helvetica, Arial, sans-serif;
  color: #1c1e21;
}

/* Section headings */
.rf-heading {
  color: #1877f2; /* Facebook blue */
  font-size: 20px;
  font-weight: 600;
  margin: 25px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid #e9ebee;
}

/* Description text */
.rf-hint {
  font-size: 14px;
  color: #606770;
  margin-bottom: 15px;
}

/* Grid layout for fields */
.rf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

/* Form field */
.rf-field label {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  display: block;
  color: #1c1e21;
}

.rf-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccd0d5;
  border-radius: 8px;
  font-size: 15px;
  transition: border 0.2s, box-shadow 0.2s;
}

.rf-field input:focus {
  border-color: #1877f2;
  outline: none;
  box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.2);
}

/* Buttons */
.rf-btn {
  background: #1877f2;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  margin-top: 12px;
  transition: background 0.25s, transform 0.1s;
}

.rf-btn:hover {
  background: #145dbf;
}

.rf-btn:active {
  transform: scale(0.97);
}

/* Add / remove variations */
.rf-add {
  background: #42b72a;
}

.rf-add:hover {
  background: #36a420;
}

.rf-remove {
  background: #f02849;
}

.rf-remove:hover {
  background: #d91c3c;
}

/* Submit button */
.rf-submit-btn {
  width: 100%;
  font-size: 16px;
  padding: 14px;
  margin-top: 20px;
}

/* Terms and consent */
.rf-terms {
  margin: 20px 0 10px;
  font-size: 14px;
  color: #444;
}

.rf-terms a {
  color: #1877f2;
  text-decoration: none;
  font-weight: 600;
}

.rf-terms a:hover {
  text-decoration: underline;
}

.rf-consent {
  margin-bottom: 15px;
  font-size: 14px;
  color: #1c1e21;
}

.rf-consent input {
  margin-right: 8px;
}

/* Success message */
.rf-success {
  background: #e6f3ff;
  border: 1px solid #cce0ff;
  color: #0a58ca;
  padding: 15px;
  border-radius: 8px;
  margin: 20px auto;
  max-width: 600px;
  text-align: center;
  font-weight: 500;
}
