/**
 * Opal Email Guard - email address filtering on the front-office forms
 *
 * @author    JFO
 * @copyright 2026 Opal
 * @license   Proprietary - All rights reserved
 */

/* Email field refused by the module (views/js/front/opalemailguard.js). The ring is a box-shadow: it does not change
   the size of the field and shows even on themes whose fields have no border. */
input.opalemailguard-invalid,
input.opalemailguard-invalid:hover,
input.opalemailguard-invalid:focus {
  border-color: #c8102e !important;
  outline: none;
  box-shadow: 0 0 0 1px #c8102e, 0 0 0 4px rgba(200, 16, 46, 0.2) !important;
}

/* Theme form group of the field (registration, checkout, identity): label and error in red */
.opalemailguard-invalid-group .form-control-label,
.opalemailguard-invalid-group .help-block,
.opalemailguard-invalid-group .help-block .text-danger {
  color: #c8102e;
}
