/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Feb 27 2025 | 10:43:03 */
/* Base styles for rules */
.rule {
  display: flex;
  align-items: center;
  margin: 5px 0;
  color: red; /* Default text color for unmet rules */
  font-size: 14px;
}

/* Icon styles (default: hexagon with exclamation) */
.rule .icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  color: white;
}

.rule .icon::before {
  content: "!";
  display: block;
}

.rule:not(.valid) .icon {
  background-color: red;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* Valid rules: Green circle with tick and green text */
.rule.valid {
  color: green; /* Text turns green when valid */
}

.rule.valid .icon {
  background-color: green;
  clip-path: circle(50%);
}

.rule.valid .icon::before {
  content: "✓";
}
