{"version":3,"sources":["../../../../src/nhsuk/components/error-summary/_index.scss"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,4BAA4B;AAC5B,kCAAkC;;AAElC,GAAG;AACH,0BAA0B;AAC1B,EAAE;AACF,kCAAkC;AAClC,GAAG;;AAEH;EACE;IACE,qDAAqD;;IAErD,0BAA0B;IAC1B,8BAA8B;IAC9B,oCAAoC;IACpC,6CAA6C;;IAE7C;MACE,yDAAyD;MACzD,6CAA6C;MAC7C,wDAAwD;IAC1D;EACF;;EAEA;IACE,aAAa;;IAEb,sCAAsC;IACtC,6CAA6C;EAC/C;;EAEA;IACE;MACE,gBAAgB;IAClB;;IAEA;MACE,0CAA0C;IAC5C;;IAEA;MACE,6CAA6C;IAC/C;EACF;;EAEA,2DAA2D;EAC3D;IACE,gBAAgB;EAClB;;EAEA,kDAAkD;EAClD;IACE,gBAAgB;EAClB;;EAEA;IACE,+BAA+B;IAC/B,+BAA+B;EACjC;AACF","file":"_index.scss","sourcesContent":["@use \"../../core/settings\" as *;\n@use \"../../core/tools\" as *;\n@forward \"../../core/styles/lists\";\n\n////\n/// Error summary component\n///\n/// @group components/error-summary\n////\n\n@include nhsuk-exports(\"nhsuk/components/error-summary\") {\n  .nhsuk-error-summary {\n    border: $nhsuk-border-width solid $nhsuk-error-colour;\n\n    @include nhsuk-text-colour;\n    @include nhsuk-font($size: 19);\n    @include nhsuk-responsive-padding(4);\n    @include nhsuk-responsive-margin(8, \"bottom\");\n\n    &:focus {\n      border: $nhsuk-focus-width solid $nhsuk-focus-text-colour;\n      outline: $nhsuk-focus-width solid transparent;\n      box-shadow: 0 0 0 $nhsuk-focus-width $nhsuk-focus-colour;\n    }\n  }\n\n  .nhsuk-error-summary__title {\n    margin-top: 0;\n\n    @include nhsuk-font(26, $weight: bold);\n    @include nhsuk-responsive-margin(4, \"bottom\");\n  }\n\n  .nhsuk-error-summary__body {\n    p {\n      margin-bottom: 0;\n    }\n\n    > * + * {\n      @include nhsuk-responsive-margin(4, \"top\");\n    }\n\n    > :last-child {\n      @include nhsuk-responsive-margin(1, \"bottom\");\n    }\n  }\n\n  // Cross-component class - adjusts styling of list component\n  .nhsuk-error-summary__list {\n    margin-bottom: 0;\n  }\n\n  // Remove the bottom margin from the last list item\n  .nhsuk-error-summary__list li:last-child {\n    margin-bottom: 0;\n  }\n\n  .nhsuk-error-summary__list a {\n    @include nhsuk-font-weight-bold;\n    @include nhsuk-link-style-error;\n  }\n}\n"]}
