:root {
  --brand: #f5b800;
  --brand-dark: #d69d00;
  --ink: #111111;
  --muted: #70757d;
  --line: #e8e8e8;
  --panel: #ffffff;
  --page: #f7f7f6;
}

.attendance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: .35rem .75rem;
    max-height: 260px;
    overflow: auto;
    padding: .75rem;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: .5rem;
    background: #fff;
}

html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin-bottom: 60px;
  background: var(--page);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
}

a {
  color: inherit;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 0.2rem rgba(245, 184, 0, .24);
}

.app-navbar {
  min-height: 104px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .04);
}

.app-brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 43px;
  height: 31px;
  display: inline-block;
  background: var(--brand);
  clip-path: polygon(0 100%, 0 8%, 18% 35%, 35% 0, 50% 35%, 67% 0, 84% 35%, 100% 8%, 100% 100%);
}

.app-nav-links {
  gap: 1.25rem;
}

.app-nav-links .nav-link {
  position: relative;
  color: #151515;
  font-weight: 500;
  padding: .55rem .15rem;
}

.app-nav-links .nav-link:hover::after,
.app-nav-links .nav-link:focus::after {
  transform: scaleX(1);
}

.app-nav-links .nav-link::after {
  content: "";
  position: absolute;
  left: .15rem;
  right: .15rem;
  bottom: .15rem;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .15s ease;
}

.app-nav-links .dropdown-menu {
  min-width: 240px;
  padding: .6rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .10);
}

.app-nav-links .dropdown-item {
  border-radius: 8px;
  padding: .55rem .7rem;
}

.app-nav-links .dropdown-item:active,
.app-nav-links .dropdown-item:hover {
  background: rgba(245, 184, 0, .18);
  color: #111;
}

.app-nav-links .dropdown-header {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.nav-mode-item .nav-link {
  padding-left: .7rem;
  padding-right: .7rem;
  border-radius: 999px;
}

.site-admin-link {
  background: #111;
  color: #fff !important;
}

.club-admin-link {
  background: rgba(245, 184, 0, .18);
}

.member-link {
  background: #f1f1f1;
}

.mode-banner {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  align-items: center;
  padding: .75rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  font-size: .95rem;
}

.mode-banner strong {
  padding: .25rem .65rem;
  border-radius: 999px;
}

.mode-platform {
  background: #111;
  color: #fff;
}

.mode-platform strong {
  background: var(--brand);
  color: #111;
}

.mode-club {
  background: #fff7d6;
  color: #332800;
}

.mode-club strong {
  background: var(--brand);
  color: #111;
}

.mode-member {
  background: #f1f3f5;
  color: #1f2933;
}

.mode-member strong {
  background: #fff;
  color: #111;
}

.mode-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: .28rem .7rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.mode-platform-pill {
  background: #111;
  color: #fff;
}

.mode-club-pill {
  background: var(--brand);
  color: #111;
}

.admin-context-note {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .85rem;
  align-items: center;
  margin-bottom: 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid #f0d266;
  border-radius: 14px;
  background: #fff8dc;
}

.admin-context-note span {
  color: #594600;
}

.admin-context-note a {
  margin-left: auto;
  font-weight: 800;
  color: #111;
}

.admin-choice-card {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .45rem;
  width: 100%;
  padding: 1.35rem;
  border: 1px solid #e2e2e2;
  border-radius: 14px;
  background: #fff;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
}

.admin-choice-card strong {
  font-size: 1.15rem;
}

.admin-choice-card span {
  color: var(--muted);
  line-height: 1.45;
}

.platform-choice {
  border-top: 5px solid #111;
}

.disabled-card {
  opacity: .62;
}

.password-inline-form {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) auto;
  gap: .45rem;
  align-items: center;
  min-width: 230px;
}

.navbar-nav {
  align-items: center;
}

.nav-bell {
  width: 24px;
  height: 24px;
  display: inline-block;
  border: 2px solid #111;
  border-bottom: 0;
  border-radius: 12px 12px 8px 8px;
  position: relative;
  margin-right: 1.25rem;
}

.nav-bell::before {
  content: "";
  width: 12px;
  height: 4px;
  border: 2px solid #111;
  border-top: 0;
  position: absolute;
  left: 4px;
  bottom: -6px;
  border-radius: 0 0 8px 8px;
}

.user-chip {
  padding: 0 !important;
}

.user-avatar {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand);
  color: #111;
  font-weight: 800;
}

.page-shell {
  padding-top: 3rem;
}

.klubb-hero {
  min-height: 555px;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .50) 34%, rgba(0, 0, 0, .08) 62%),
    url('/images/klubbadmin-hero.jpg');
  background-size: cover;
  background-position: center;
}

.klubb-hero.compact {
  min-height: 430px;
}

.klubb-hero-content {
  width: min(680px, calc(100% - 3rem));
  margin-left: clamp(1.5rem, 5vw, 6rem);
  color: #fff;
}

.klubb-hero h1 {
  margin-bottom: 1.55rem;
  font-size: clamp(2.6rem, 4.5vw, 4.1rem);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: 0;
}

.klubb-hero p {
  margin: 0 0 .6rem;
  max-width: 560px;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  color: rgba(255, 255, 255, .95);
}

.btn-brand {
  min-width: 210px;
  padding: 1rem 1.6rem;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(180deg, #ffd331 0%, var(--brand) 100%);
  color: #111;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(245, 184, 0, .28);
}

.btn-brand:hover {
  background: linear-gradient(180deg, #ffd94b 0%, #ffc20f 100%);
  color: #111;
}

.btn-hero-outline {
  min-width: 210px;
  padding: 1rem 1.6rem;
  border: 2px solid rgba(255, 255, 255, .82);
  border-radius: 7px;
  color: #fff;
  font-weight: 800;
  background: rgba(255, 255, 255, .08);
}

.btn-hero-outline:hover {
  color: #111;
  background: #fff;
}

.pilot-intro {
  max-width: 980px;
  margin: 0 auto 2rem;
  padding: 2rem;
  border: 1px solid #e2e2e2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
}

.pilot-intro h2 {
  margin: .3rem 0 .75rem;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
}

.pilot-intro p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.auth-page {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  min-height: calc(100vh - 104px);
  margin: -3rem calc(50% - 50vw) 0;
  background: #fff;
}

.auth-hero {
  min-height: 620px;
  display: flex;
  align-items: end;
  padding: clamp(2rem, 5vw, 5rem);
  color: #fff;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, .72) 100%),
    url('/images/klubbadmin-hero.jpg');
  background-size: cover;
  background-position: center;
}

.auth-hero h1 {
  margin: .45rem 0 1rem;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
}

.auth-hero p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, .92);
  font-size: 1.25rem;
  line-height: 1.6;
}

.auth-panel-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 4rem);
  background: var(--page);
}

.auth-panel {
  width: min(100%, 480px);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border: 1px solid #e2e2e2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .08);
}

.auth-panel-header {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

.auth-panel-header h2 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 800;
}

.auth-panel-header p {
  margin: .2rem 0 0;
  color: var(--muted);
}

.form-page-header {
  margin-bottom: 1.5rem;
}

.form-page-header h1 {
  margin: .25rem 0 .35rem;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 800;
}

.form-page-header p {
  margin: 0;
  color: var(--muted);
}

.form-panel {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid #e2e2e2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .05);
}

.eyebrow {
  color: var(--brand-dark);
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0 auto 2.5rem;
}

.feature-card {
  min-height: 156px;
  display: grid;
  grid-template-columns: 80px 1fr 24px;
  align-items: center;
  gap: 1.1rem;
  padding: 1.55rem;
  border: 1px solid #e2e2e2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}

.feature-card:hover {
  color: #111;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .08);
}

.feature-icon {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #ffeaa8 0%, #ffd45a 100%);
  position: relative;
}

.feature-body strong {
  display: block;
  margin-bottom: .6rem;
  font-size: 1.25rem;
}

.feature-body small {
  display: block;
  color: var(--muted);
  line-height: 1.55;
  font-size: .98rem;
}

.feature-arrow {
  width: 14px;
  height: 14px;
  border-right: 3px solid #111;
  border-bottom: 3px solid #111;
  transform: rotate(-45deg);
}

.icon-members::before,
.icon-members::after {
  content: "";
  position: absolute;
  border: 3px solid #111;
}

.icon-members::before {
  width: 18px;
  height: 18px;
  top: 22px;
  left: 22px;
  border-radius: 50%;
}

.icon-members::after {
  width: 34px;
  height: 20px;
  left: 20px;
  bottom: 18px;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  border-bottom: 0;
}

.icon-fees::before {
  content: "";
  width: 36px;
  height: 28px;
  border: 3px solid #111;
  border-radius: 6px;
  position: absolute;
}

.icon-fees::after {
  content: "";
  width: 10px;
  height: 10px;
  border: 3px solid #111;
  border-radius: 50%;
  position: absolute;
  right: 21px;
}

.icon-calendar::before {
  content: "";
  width: 34px;
  height: 34px;
  border: 3px solid #111;
  border-radius: 5px;
  position: absolute;
}

.icon-calendar::after {
  content: "";
  width: 34px;
  height: 3px;
  background: #111;
  position: absolute;
  top: 29px;
}

.icon-message::before {
  content: "";
  width: 42px;
  height: 32px;
  border: 3px solid #111;
  border-radius: 50%;
  position: absolute;
}

.icon-message::after {
  content: "";
  width: 14px;
  height: 14px;
  border-left: 3px solid #111;
  border-bottom: 3px solid #111;
  position: absolute;
  left: 24px;
  bottom: 18px;
  transform: rotate(-18deg);
}

.icon-docs::before,
.icon-reports::before,
.icon-settings::before,
.icon-page::before,
.icon-boat::before,
.icon-queue::before,
.icon-property::before {
  content: "";
  width: 36px;
  height: 36px;
  border: 3px solid #111;
  border-radius: 8px;
  position: absolute;
}

.icon-page::after {
  content: "";
  width: 22px;
  height: 3px;
  background: #111;
  position: absolute;
  box-shadow: 0 9px 0 #111, 0 18px 0 #111;
}

.public-page-preview {
  position: sticky;
  top: 1rem;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
}

.public-page-preview-hero {
  min-height: 310px;
  display: flex;
  align-items: end;
  padding: 1.5rem;
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .44) 45%, rgba(0, 0, 0, .18) 100%),
    url('/images/klubbadmin-hero.jpg');
  background-size: cover;
  background-position: center;
}

.public-page-preview-hero h2 {
  margin: .3rem 0 .65rem;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
}

.public-page-preview-hero p {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, .92);
}

.public-page-preview-body {
  padding: 1.25rem;
}

.public-page-preview-body section + section {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e8e8e8;
}

.public-page-preview-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
}

.public-page-preview-body p {
  margin-bottom: 0;
  color: var(--muted);
  white-space: pre-line;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.dashboard-header h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
}

.dashboard-header p {
  margin: .35rem 0 0;
  color: var(--muted);
}

.metric-card,
.module-card {
  min-height: 132px;
  padding: 1.25rem;
  border: 1px solid #e2e2e2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
}

.metric-label {
  color: var(--muted);
  font-size: .9rem;
}

.metric-value {
  margin-top: .25rem;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
}

.metric-note {
  color: var(--muted);
  font-size: .9rem;
}

.boat-map-shell {
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.boat-map-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .85rem;
  padding: .85rem 1rem;
  border-bottom: 1px solid #e2e2e2;
}

.boat-map-range {
  width: min(320px, 100%);
}

.boat-map-viewport {
  min-height: 420px;
  max-height: 70vh;
  overflow: auto;
  padding: 1.25rem;
  background: linear-gradient(135deg, #dff4fb 0%, #edf7f4 100%);
  scrollbar-gutter: stable;
}

.boat-map {
  display: inline-flex;
  gap: 2rem;
  align-items: center;
  min-width: min-content;
}

.boat-map-vertical {
  flex-direction: row;
}

.boat-map-horizontal {
  display: inline-grid;
  grid-template-columns: 96px max-content 96px;
  align-items: stretch;
}

.dock-map-stack {
  grid-column: 2;
  display: grid;
  gap: 2rem;
  align-content: start;
}

.boat-map-horizontal > .map-side-label:first-child {
  grid-column: 1;
  grid-row: 1;
}

.boat-map-horizontal > .map-side-label:last-child {
  grid-column: 3;
  grid-row: 1;
}

.map-edge {
  min-width: 100%;
  padding: .55rem .85rem;
  border: 1px solid rgba(17, 17, 17, .12);
  border-radius: 8px;
  font-weight: 800;
  display: flex;
  gap: .45rem;
  align-items: center;
  justify-content: center;
}

.map-edge-top {
  margin-bottom: 1.25rem;
}

.map-edge-bottom {
  margin-top: 1.25rem;
}

.from-bottom-to-top .map-edge-top,
.water-side,
.from-top-to-bottom .map-edge-bottom {
  background: #d8f3ff;
  color: #0d5267;
}

.from-bottom-to-top .map-edge-bottom,
.land-side,
.from-top-to-bottom .map-edge-top {
  background: #e4f6df;
  color: #285c24;
}

.map-side-label {
  min-width: 96px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  align-items: center;
  justify-content: center;
  padding: .8rem;
  border: 1px solid rgba(17, 17, 17, .12);
  border-radius: 8px;
  font-weight: 800;
}

.map-symbol {
  font-size: 1.45rem;
  line-height: 1;
}

.dock-map {
  display: grid;
  gap: .55rem;
  align-items: stretch;
  position: relative;
}

.dock-map-vertical {
  grid-template-columns: minmax(92px, auto) 34px minmax(92px, auto);
  grid-template-rows: 28px 1fr 28px;
}

.dock-map-vertical .dock-side-left {
  grid-column: 1;
  grid-row: 2;
}

.dock-map-vertical .dock-walkway {
  grid-column: 2;
  grid-row: 2;
}

.dock-map-vertical .dock-side-right {
  grid-column: 3;
  grid-row: 2;
}

.dock-map-vertical .dock-label {
  grid-column: 2;
  grid-row: 3;
  align-self: center;
}

.dock-map-vertical.land-at-start .dock-label {
  grid-row: 1;
}

.dock-map-horizontal {
  grid-template-columns: auto max-content auto;
  grid-template-rows: auto 34px auto;
}

.dock-map-horizontal .dock-label {
  grid-column: 3;
  grid-row: 2;
  align-self: center;
  margin-inline: .25rem;
}

.dock-map-horizontal.land-at-start .dock-label {
  grid-column: 1;
}

.dock-map-horizontal .dock-side {
  grid-auto-flow: column;
  grid-auto-columns: 116px;
}

.dock-map-horizontal .dock-side-left {
  grid-column: 2;
  grid-row: 1;
}

.dock-map-horizontal .dock-side-right {
  grid-column: 2;
  grid-row: 3;
}

.dock-map-horizontal .dock-walkway {
  grid-column: 2;
  grid-row: 2;
  min-height: 34px;
  background: repeating-linear-gradient(
    90deg,
    #c8ad76 0,
    #c8ad76 14px,
    #b99a62 14px,
    #b99a62 18px
  );
}

.dock-label {
  justify-self: center;
  padding: .25rem .7rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-weight: 800;
}

.dock-land-symbol {
  margin-right: .25rem;
  font-weight: 900;
}

.dock-label-link {
  text-decoration: none;
}

.dock-label-link:hover {
  color: #fff;
  text-decoration: underline;
}

.dock-side {
  display: grid;
  gap: .4rem;
}

.dock-walkway {
  min-height: 100%;
  border: 2px solid #8b7a5b;
  border-radius: 4px;
  background: repeating-linear-gradient(
    0deg,
    #c8ad76 0,
    #c8ad76 14px,
    #b99a62 14px,
    #b99a62 18px
  );
  display: block;
  cursor: pointer;
}

.dock-walkway:hover {
  filter: brightness(.94);
}

.boat-slot-tile {
  width: 116px;
  min-height: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .2rem;
  padding: .45rem .55rem;
  border: 1px solid rgba(17, 17, 17, .16);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(17, 17, 17, .08);
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.boat-slot-tile strong,
.boat-slot-tile span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.boat-slot-tile span {
  color: var(--muted);
  font-size: .82rem;
}

.boat-slot-tile.occupied {
  border-color: rgba(17, 17, 17, .28);
  background: #fff8dc;
}

.boat-slot-tile.free {
  background: #f5fbf8;
}

.clickable-row {
  cursor: pointer;
}

.clickable-row:hover td {
  background: rgba(245, 184, 0, .12);
}

.footer {
  background: #fff;
}

@media (max-width: 1200px) {
  .feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .app-navbar {
    min-height: 78px;
  }

  .navbar-nav {
    align-items: stretch;
  }

  .app-nav-links {
    gap: .25rem;
    padding-top: 1rem;
  }

  .app-nav-links .nav-link {
    padding: .75rem .85rem;
  }

  .nav-mode-item .nav-link {
    border-radius: 10px;
  }

  .app-nav-links .dropdown-menu {
    box-shadow: none;
    border-radius: 10px;
  }

  .klubb-hero,
  .klubb-hero.compact {
    min-height: 460px;
  }

  .feature-strip {
    grid-template-columns: 1fr;
  }

  .feature-card {
    grid-template-columns: 68px 1fr 18px;
    min-height: 128px;
    padding: 1.15rem;
  }

  .feature-icon {
    width: 62px;
    height: 62px;
  }

  .auth-page {
    grid-template-columns: 1fr;
    margin-top: -3rem;
  }

  .auth-hero {
    min-height: 360px;
    align-items: center;
  }

  .boat-map-viewport {
    min-height: 340px;
    padding: 1rem;
  }

  .dock-map-vertical {
    grid-template-columns: minmax(82px, auto) 28px minmax(82px, auto);
  }

  .dock-map-horizontal {
    grid-template-columns: auto max-content auto;
  }

  .boat-slot-tile {
    width: 92px;
    min-height: 58px;
  }
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
  text-align: start;
}
