+.auth-container {
+ max-width: 600px;
+}
+
+/* Rules for tabs inside secondary background sections */
+
+.bg-body-secondary .nav-tabs {
+ --bs-border-color: var(--bs-secondary-border-subtle);
+ --bs-secondary-bg: var(--bs-secondary-border-subtle);
+ margin-bottom: -1px;
+}
+
+/* Rules for traces */
+
+img.trace_image {
+ mix-blend-mode: darken;
+}
+
+@include color-mode(dark) {
+ img.trace_image {
+ filter: invert(1);
+ mix-blend-mode: lighten;
+ }
+}
+
+/* Rules for map sidebar icons */
+
+.browse-section {
+ .node::before,
+ .way::before,
+ .relation::before {
+ display: inline-block;
+ width: 25px;
+ margin-left: -25px;
+ }
+
+ .node, .way, .relation {
+ margin-left: 25px;
+ }
+}
+
+@each $class, $item in $map-sidebar-icons {
+ .browse-section #{$class}::before {
+ content: image-url('browse/#{map.get($item, "filename")}');
+ }
+
+ @if map.get($item, "invert") {
+ @include color-mode(dark) {
+ .browse-section #{$class}::before {
+ filter: invert(.8) hue-rotate(180deg);
+ }
+ }
+ }
+}