/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* Câmpurile cu greșeli (application.js, initFieldValidation; ApplicationHelper#field_error): chenar roșu și textul de sub câmp.
   Înscrierea, profilul și pasul „Make it yours”. */
[data-field].is-invalid input:not([type="radio"]):not([type="checkbox"]) { border-color: #f43f5e; box-shadow: 0 0 0 3px rgba(244, 63, 94, .2); }
[data-field].is-invalid input.peer + span { border-color: rgba(244, 63, 94, .75); }
[data-field-error] { margin-top: .4rem; font-size: .8rem; color: #fda4af; display: flex; align-items: center; gap: .35rem; }
[data-field-error]::before { content: "!"; display: inline-flex; flex-shrink: 0; width: 1rem; height: 1rem; align-items: center; justify-content: center; border-radius: 9999px; background: rgba(244, 63, 94, .25); font-size: .7rem; font-weight: 700; }
