/* ==========================================================================
   FLUENT UI DESIGN SYSTEM — paymaster / app shell
   Microsoft Fluent-inspired tokens & base styles for pages using app.css
   ========================================================================== */
:root {
    /* Brand defaults (overridden by org PrimaryColor via paymaster theme CSS) */
    --color-brand-primary: #137A6F;
    --color-brand-primary-hover: #0F635A;
    --color-brand-primary-active: #0A5249;
    --color-brand-primary-light: rgba(19, 122, 111, 0.12);
    --color-brand-primary-soft: rgba(19, 122, 111, 0.06);
    --color-brand-primary-strong: rgba(19, 122, 111, 0.16);
    --color-brand-secondary: #D6682C;
    --color-brand-secondary-hover: #b85624;
    --color-fluent-brand: #0F6CBD;
    --color-fluent-brand-hover: #115EA3;
    /* Fluent neutrals */
    --color-bg-white: #ffffff;
    --color-bg-light-gray: #f5f5f5;
    --color-bg-subtle: #fafafa;
    --color-border-light: #e0e0e0;
    --color-border-strong: #d1d1d1;
    /* Fluent text */
    --color-text-dark: #242424;
    --color-text-charcoal: #424242;
    --color-text-muted: #707070;
    --color-text-white: #ffffff;
    /* Aliases used across templates */
    --color-brand-accent: var(--color-brand-primary);
    --color-brand-accent-hover: var(--color-brand-primary-hover);
    --color-brand-blue: var(--color-brand-primary);
    --color-brand-blue-hover: var(--color-brand-primary-hover);
    --color-aws-orange: var(--color-brand-primary);
    --color-aws-orange-hover: var(--color-brand-primary-hover);
    --color-aws-blue: var(--color-brand-primary);
    --color-aws-blue-hover: var(--color-brand-primary-hover);
    /* Status */
    --color-aws-alert-success: #0e700e;
    --color-aws-alert-error: #b10e1c;
    --color-fluent-warning: #8a8886;
    --color-fluent-info: #0F6CBD;
    /* Typography & layout — Segoe UI / Fluent */
/*    --font-family-aws: "Segoe UI", "Segoe UI Web (West European)", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;*/
    --font-family-aws: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-family-fluent: var(--font-family-aws);
    --max-width-aws: 1220px;
    --header-height-aws: 48px;
    --utility-height-aws: 32px;
    --border-radius-aws: 0;
    --border-radius-fluent: 0;
    --border-radius-fluent-lg: 0;
    /* Fluent elevation */
    --shadow-fluent-4: 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.14);
    --shadow-fluent-8: 0 0 2px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.14);
    --shadow-fluent-16: 0 0 2px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.14);
    --shadow-fluent-28: 0 0 8px rgba(0, 0, 0, 0.12), 0 14px 28px rgba(0, 0, 0, 0.14);
    /* Button depth */
    --shadow-btn-inset: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(0, 0, 0, 0.12);
    --shadow-btn-inset-primary: inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 -1px 0 rgba(0, 0, 0, 0.22);
    --shadow-btn-inset-active: inset 0 2px 3px rgba(0, 0, 0, 0.18);
    /* Fluent motion */
    --duration-fluent-fast: 100ms;
    --duration-fluent-normal: 200ms;
    --easing-fluent: cubic-bezier(0.33, 0, 0.67, 1);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--color-bg-subtle);
    color: var(--color-text-dark);
    font-family: var(--font-family-aws);
    font-size: 14px;
    line-height: 1.4286;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-dark);
  font-weight: 600;
  line-height: 1.25;
}

a {
  color: var(--color-brand-primary);
  text-decoration: none;
  transition: color var(--duration-fluent-fast) var(--easing-fluent);
}

a:hover {
  color: var(--color-brand-primary-hover);
  text-decoration: underline;
}

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

input:not([type="button"]):not([type="submit"]):not([type="reset"]),
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  font-family: inherit;
}

input:not([type="button"]):not([type="submit"]):not([type="reset"]):read-only,
input:not([type="button"]):not([type="submit"]):not([type="reset"]):disabled,
textarea:read-only,
textarea:disabled,
select:disabled {
  background: #f0f0f0;
  color: var(--color-text-muted);
  cursor: not-allowed;
}

ul {
  list-style: none;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 0;
  border: 3px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
  background-clip: content-box;
  border: 3px solid transparent;
}

:focus-visible {
  outline: 1px solid var(--color-brand-primary);
  outline-offset: 1px;
}

/* ==========================================================================
   SHARED SHELL — header / logo
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height-aws);
  background-color: var(--color-bg-white);
  z-index: 1000;
  border-bottom: 1px solid var(--color-border-light);
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.header-container {
  max-width: var(--max-width-aws);
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1002;
  text-decoration: none;
}

.logo-link:hover {
  text-decoration: none;
}

.logo-img {
/*  width: 32px;*/
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.2px;
  color: var(--color-text-dark);
}

/* ==========================================================================
   SHARED LAYOUT BLOCKS (dashboard content sections)
   ========================================================================== */
.main-content {
  min-height: 50vh;
}

.container-row {
  width: 100%;
  padding: 40px 0;
}

.container-row.white-row {
  background-color: var(--color-bg-white);
}

.container-row.gray-row {
  background-color: var(--color-bg-light-gray);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.grid-container {
  max-width: var(--max-width-aws);
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text-dark);
}

.section-subtitle {
  color: var(--color-text-charcoal);
  font-size: 0.9375rem;
  font-weight: 400;
  margin-bottom: 28px;
  max-width: 800px;
}

/* ==========================================================================
   HERO / GLANCE CARDS
   ========================================================================== */
.aws-hero {
  background: linear-gradient(180deg, var(--color-brand-primary-soft) 0%, var(--color-bg-subtle) 100%);
  color: var(--color-text-dark);
  padding: 40px 0 48px;
  border-bottom: 1px solid var(--color-border-light);
}

.hero-grid {
  max-width: var(--max-width-aws);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: flex-start;
}

.hero-left h2.overline {
  color: var(--color-brand-primary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  font-weight: 600;
}

.hero-left h1 {
  color: var(--color-text-dark);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.hero-left p {
  color: var(--color-text-charcoal);
  font-size: 1rem;
  margin-bottom: 28px;
  max-width: 620px;
}

.hero-actions-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-right-card {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-fluent-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-fluent-4);
}

.hero-right-card h3 {
  color: var(--color-text-dark);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--color-border-light);
  padding-bottom: 12px;
}

.announcement-item {
  margin-bottom: 16px;
}

.announcement-item:last-child {
  margin-bottom: 0;
}

.announcement-tag {
  color: var(--color-brand-primary);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.announcement-item h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 4px 0 6px;
}

.announcement-item h4 a {
  color: var(--color-text-dark);
  text-decoration: none;
}

.announcement-item h4 a:hover {
  color: var(--color-brand-primary);
  text-decoration: underline;
}

.announcement-item p {
  color: var(--color-text-charcoal);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.announcement-item-divider {
  border-top: 1px solid var(--color-border-light);
  padding-top: 14px;
}

/* ==========================================================================
   FLUENT BUTTONS (base — refined further in dashboard overrides)
   ========================================================================== */
.btn,
button.btn,
input[type="submit"].btn,
input[type="button"].btn,
a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  padding: 6px 16px;
  font-family: var(--font-family-fluent);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--border-radius-fluent);
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-btn-inset);
  transition:
    background-color var(--duration-fluent-fast) var(--easing-fluent),
    border-color var(--duration-fluent-fast) var(--easing-fluent),
    color var(--duration-fluent-fast) var(--easing-fluent),
    box-shadow var(--duration-fluent-fast) var(--easing-fluent);
}

.btn:hover {
  text-decoration: none;
}

.btn:active:not(:disabled):not(.disabled) {
  box-shadow: var(--shadow-btn-inset-active);
}

.btn-primary {
  background-color: var(--color-brand-primary);
  color: var(--color-text-white) !important;
  border-color: var(--color-brand-primary-hover);
  box-shadow: var(--shadow-btn-inset-primary);
}

.btn-primary:hover {
  background-color: var(--color-brand-primary-hover);
  border-color: var(--color-brand-primary-active);
  color: var(--color-text-white) !important;
  text-decoration: none;
}

.btn-secondary {
  background-color: #e8e8e8;
  color: var(--color-text-dark) !important;
  border-color: #c7c7c7;
  box-shadow: var(--shadow-btn-inset);
}

.btn-secondary:hover {
  background-color: #dedede;
  border-color: #b3b3b3;
  color: var(--color-text-dark) !important;
  text-decoration: none;
}

.btn-large {
  min-height: 40px;
  padding: 8px 24px;
  font-size: 0.9375rem;
}

.console-cta-btn {
  border-radius: var(--border-radius-fluent);
  font-weight: 600;
}

.btn-text {
  color: var(--color-brand-primary);
  font-weight: 600;
  background: transparent;
  border: none;
  box-shadow: none;
}

.btn-text:hover {
  color: var(--color-brand-primary-hover);
  text-decoration: underline;
}

/* ==========================================================================
   FORM CONTROLS (shared / login-style panels if used under app.css)
   ========================================================================== */
.form-panel {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-fluent-lg);
  padding: 28px;
  box-shadow: var(--shadow-fluent-4);
}

.form-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.form-control {
  width: 100%;
  min-height: 32px;
  padding: 6px 10px;
  font-size: 0.875rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--border-radius-fluent);
  background: var(--color-bg-white);
  transition: border-color var(--duration-fluent-fast) var(--easing-fluent), box-shadow var(--duration-fluent-fast) var(--easing-fluent);
}

.form-control:hover {
  border-color: #616161;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-brand-primary);
  box-shadow: 0 0 0 1px var(--color-brand-primary);
}

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.form-error {
  color: var(--color-aws-alert-error);
  font-size: 0.8125rem;
  margin-top: 6px;
}

/* ==========================================================================
   END FLUENT FOUNDATION
   ========================================================================== */

body.dashboard-page {
  background: var(--color-bg-subtle);
  display: flex;
  flex-direction: column;
  max-height: 100vh;
  overflow: hidden;
}

.main-form {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  max-height: 100%;
  overflow: hidden;
}

.dashboard-header.main-header {
  height: var(--header-height-aws);
  background: #ffffff;
  border-bottom: 1px solid var(--color-border-light);
  box-shadow: none;
}

.dashboard-header .header-container {
  gap: 12px;
  max-width: unset;
  padding: 0 16px;
}

.sidebar-toggle {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--border-radius-fluent);
  background: transparent;
  color: var(--color-text-dark);
  transition: background-color var(--duration-fluent-fast) var(--easing-fluent);
}

.sidebar-toggle:hover {
  background: #f0f0f0;
}

.sidebar-toggle span,
.sidebar-toggle span::before,
.sidebar-toggle span::after {
  width: 16px;
  height: 1.5px;
  display: block;
  background: currentColor;
  content: "";
  position: relative;
  border-radius: 0;
}

.sidebar-toggle span::before {
  position: absolute;
  top: -5px;
}

.sidebar-toggle span::after {
  position: absolute;
  top: 5px;
}

@media (min-width: 769px) {
  .sidebar-toggle {
    display: none;
  }
}

.dashboard-nav-spacer {
  flex: 1;
}

.user-menu {
  position: relative;
  margin-left: auto;
}

.user-menu-btn {
  min-height: 32px;
  max-width: 240px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 2px 8px 2px 2px;
  border: 1px solid transparent;
  border-radius: var(--border-radius-fluent);
  background: transparent;
  color: var(--color-text-dark);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color var(--duration-fluent-fast) var(--easing-fluent),
    border-color var(--duration-fluent-fast) var(--easing-fluent);
}

.user-menu-btn:hover {
  background: #f0f0f0;
}

.user-menu-btn:focus-visible {
  outline: none;
  border-color: var(--color-brand-primary);
  box-shadow: 0 0 0 1px var(--color-brand-primary);
}

.user-menu-btn[aria-expanded="true"] {
  background: #f0f0f0;
}

.user-menu-btn[aria-expanded="true"] .user-menu-chevron {
  transform: rotate(180deg);
}

.user-menu-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  line-height: 1.2;
}

.user-name {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--color-text-dark);
  font-size: 0.8125rem;
  font-weight: 600;
}

.user-menu-chevron {
  flex-shrink: 0;
  color: var(--color-text-muted);
  transition: transform var(--duration-fluent-fast) var(--easing-fluent);
}

.user-avatar {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-brand-primary);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.user-avatar-lg {
  width: 40px;
  height: 40px;
  font-size: 0.8125rem;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 80;
  width: min(280px, calc(100vw - 24px));
  display: none;
  padding: 4px;
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-fluent);
  background: var(--color-bg-white);
  box-shadow: var(--shadow-fluent-16);
  animation: fluent-menu-in var(--duration-fluent-normal) var(--easing-fluent);
}

.user-dropdown.is-open {
  display: block;
}

@keyframes fluent-menu-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.user-dropdown-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px 12px;
}

.user-dropdown-identity {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.user-dropdown-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--color-text-dark);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}

.user-dropdown-caption {
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.3;
}

.user-dropdown-divider {
  height: 1px;
  margin: 4px 0;
  background: var(--color-border-light);
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  width: 100%;
  margin: 0;
  padding: 0 8px;
  border: 0;
  border-radius: var(--border-radius-fluent);
  background: transparent;
  color: var(--color-text-dark);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--duration-fluent-fast) var(--easing-fluent);
}

.user-dropdown-item svg {
  flex-shrink: 0;
  color: var(--color-text-charcoal);
}

.user-dropdown-item:hover,
.user-dropdown-item:focus {
  background: #f0f0f0;
  color: var(--color-text-dark);
  text-decoration: none;
  outline: none;
}

.user-dropdown-item:focus-visible {
  box-shadow: inset 0 0 0 1px var(--color-brand-primary);
}

.user-dropdown-item-danger {
  color: var(--color-aws-alert-error);
}

.user-dropdown-item-danger svg {
  color: var(--color-aws-alert-error);
}

.user-dropdown-item-danger:hover,
.user-dropdown-item-danger:focus {
  background: rgba(177, 14, 28, 0.08);
  color: var(--color-aws-alert-error);
}

.logout-confirm-modal {
  max-width: 420px;
}

.logout-confirm-message {
  margin: 0;
  color: var(--color-text-charcoal);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: calc(100vh - var(--header-height-aws));
  max-height: 100%;
  overflow: hidden;
}

.dashboard-sidebar {
  position: sticky;
  top: var(--header-height-aws);
  height: calc(100vh - var(--header-height-aws));
  overflow-y: auto;
  border-right: 1px solid var(--color-border-light);
  background: #ffffff;
  padding: 8px 0 24px;
}

.sidebar-section {
  padding: 4px 0 8px;
}

.sidebar-section + .sidebar-section {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border-light);
}

.sidebar-section h2 {
  margin: 0 16px 6px;
  padding: 4px 0;
  color: var(--color-text-muted);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sidebar-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 40px;
  padding: 8px 16px 8px 20px;
  margin: 0;
  color: var(--color-text-dark);
  border-left: 3px solid transparent;
  border-radius: 0;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
  transition:
    background-color var(--duration-fluent-fast) var(--easing-fluent),
    color var(--duration-fluent-fast) var(--easing-fluent),
    border-color var(--duration-fluent-fast) var(--easing-fluent);
}

.sidebar-link-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--color-text-muted);
  transition: color var(--duration-fluent-fast) var(--easing-fluent);
}

.sidebar-link:hover .sidebar-link-icon,
.sidebar-link.active .sidebar-link-icon {
  color: currentColor;
}

.sidebar-link:hover {
  background: #f5f5f5;
  color: var(--color-text-dark);
  text-decoration: none;
}

.sidebar-link.active {
  background: var(--color-brand-primary-light);
  border-left-color: var(--color-brand-primary);
  color: var(--color-brand-primary);
  font-weight: 600;
  text-decoration: none;
}

.sidebar-link.active:hover {
  background: var(--color-brand-primary-strong);
  color: var(--color-brand-primary);
}

.sidebar-badge {
  min-width: 20px;
  padding: 1px 6px;
  border-radius: 0;
  background: #f0f0f0;
  color: var(--color-text-muted);
  font-size: 0.6875rem;
  text-align: center;
  font-weight: 600;
}

.dashboard-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  max-height: 100%;
  overflow-y: auto;
  flex: 1;
}

.dashboard-hero {
  padding-top: 54px;
  padding-bottom: 54px;
}

.dashboard-hero .hero-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
}

.dashboard-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.dashboard-kpi {
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-fluent-lg);
  background: var(--color-bg-white);
  padding: 18px 20px;
  box-shadow: var(--shadow-fluent-4);
}

.dashboard-kpi span {
  display: block;
  color: var(--color-text-muted);
  font-size: .75rem;
  font-weight: 600;
}

.dashboard-kpi strong {
  display: block;
  margin-top: 8px;
  color: var(--color-text-dark);
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 600;
}

.dashboard-kpi small {
  display: block;
  margin-top: 8px;
  color: var(--color-brand-primary);
  font-size: .75rem;
  font-weight: 600;
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

/* ==========================================================================
   INSIGHT DASHBOARD
   ========================================================================== */
.insight-dashboard {
  padding: 20px 20px 40px;
  background: var(--color-bg-subtle);
  min-height: calc(100vh - var(--header-height-aws));
}

.insight-greeting {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 20px;
}

.insight-eyebrow {
  margin: 0 0 6px;
  color: var(--color-brand-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.insight-greeting h1 {
  margin: 0;
  color: var(--color-text-dark);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
}

.insight-lede {
  margin: 8px 0 0;
  max-width: 520px;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.insight-greeting-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

.insight-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.insight-kpi {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-fluent);
  background: var(--color-bg-white);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--duration-fluent-fast) var(--easing-fluent),
    box-shadow var(--duration-fluent-fast) var(--easing-fluent);
}

a.insight-kpi:hover {
  border-color: var(--color-brand-primary);
  box-shadow: var(--shadow-fluent-4);
  text-decoration: none;
  color: inherit;
}

.insight-kpi-label {
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.insight-kpi-value {
  color: var(--color-text-dark);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.1;
}

.insight-kpi-meta {
  color: var(--color-text-charcoal);
  font-size: 0.75rem;
}

.insight-chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.insight-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-fluent);
  background: var(--color-bg-white);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.insight-panel-wide {
  grid-column: 1 / -1;
}

.insight-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.insight-panel-header h2 {
  margin: 0;
  color: var(--color-text-dark);
  font-size: 0.9375rem;
  font-weight: 600;
}

.insight-panel-header p {
  margin: 4px 0 0;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.insight-link {
  flex-shrink: 0;
  color: var(--color-brand-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
}

.insight-link:hover {
  text-decoration: underline;
}

.insight-chart-wrap {
  position: relative;
  height: 260px;
}

.insight-chart-wrap-sm {
  height: 240px;
}

.insight-chart-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.insight-lower-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
}

.insight-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.insight-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border-light);
}

.insight-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.insight-list-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.insight-list-main strong {
  color: var(--color-text-dark);
  font-size: 0.875rem;
  font-weight: 600;
}

.insight-list-main span {
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

.insight-pill {
  flex-shrink: 0;
  min-width: 40px;
  padding: 4px 8px;
  border-radius: var(--border-radius-fluent);
  background: var(--color-brand-primary-light);
  color: var(--color-brand-primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
}

.insight-pill.pending {
  background: rgba(214, 104, 44, 0.12);
  color: #b85624;
}

.insight-empty {
  padding: 24px 0 8px;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.insight-insight-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.insight-insight-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border-light);
}

.insight-insight-list li:last-child {
  border-bottom: 0;
}

.insight-insight-label {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
}

.insight-insight-list strong {
  color: var(--color-text-dark);
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: right;
}

.insight-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border-light);
}

.insight-quick-links a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--color-border-strong);
  background: #f5f5f5;
  color: var(--color-text-dark);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}

.insight-quick-links a:hover {
  background: #ebebeb;
  text-decoration: none;
}

/* ==========================================================================
   PROFILE SHELL (minimal master — dashboard link in sidebar)
   ========================================================================== */
.profile-shell-page .profile-shell-content {
  background: var(--color-bg-subtle);
}

.profile-shell-dashboard-link {
  justify-content: flex-start !important;
  gap: 10px;
}

.profile-shell-dashboard-link svg {
  flex-shrink: 0;
  color: currentColor;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.work-card {
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-fluent-lg);
  background: var(--color-bg-white);
  padding: 20px 22px;
  box-shadow: var(--shadow-fluent-4);
}

.work-card h3 {
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 600;
}

.work-card p {
  color: var(--color-text-muted);
  font-size: .875rem;
}

.work-list {
  margin-top: 18px;
}

.work-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-top: 1px solid var(--color-border-light);
  color: var(--color-text-charcoal);
  font-size: .83rem;
  font-weight: 600;
}

.work-list strong {
  color: var(--color-text-dark);
}

.activity-dashboard {
  background: var(--color-bg-white);
  min-height: calc(100vh - var(--header-height-aws));
  padding: 20px 20px 44px;
}

.activity-workspace {
  max-width: 1160px;
  padding: 0 0 24px;
}

.activity-greeting {
  display: flex;
  align-items: flex-start;
  padding-bottom: 40px;
  padding-top: 20px;
}

.activity-greeting h1 {
  max-width: 560px;
  margin: -6px 0 0;
  color: #27272a;
  font-size: clamp(2.2rem, 4.15vw, 3.55rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: 0;
}

.activity-section {
  margin-bottom: 42px;
  padding-top: 12px;
}

.activity-section h2 {
  margin-bottom: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #b7b7b7;
  color: var(--color-text-dark);
  font-size: .92rem;
  font-weight: 800;
  line-height: 1;
}

.activity-row {
  display: grid;
  /* grid-template-columns: minmax(0, .92fr) minmax(0, .92fr) minmax(0, 1.36fr); */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

.activity-row.activity-row-wide {
  grid-template-columns: 1fr;
}

.activity-group {
  min-width: 0;
}

.activity-group.colspan-2{
  column-span: 2;
}

.activity-group-title {
  margin-bottom: 7px;
  color: #222;
  font-size: .84rem;
  font-weight: 600;
}

.activity-tile-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(96px, 1fr);
  gap: 20px;
}

.activity-tile {
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 9px 8px 7px;
  overflow: hidden;
  border: 1px solid var(--color-brand-primary-hover);
  background: var(--color-brand-primary);
  color: var(--color-text-white);
  text-align: left;
  text-decoration: none;
}

.activity-tile:hover {
  background: var(--color-brand-primary-hover);
  color: var(--color-text-white);
  text-decoration: none;
}

.activity-tile-label {
  min-height: 28px;
  display: block;
  color: rgba(255, 255, 255, .94);
  font-size: .74rem;
  font-weight: 500;
  line-height: 1.13;
}

.activity-tile-number {
  display: block;
  margin-top: 3px;
  font-size: 2.45rem;
  font-weight: 300;
  line-height: .9;
  letter-spacing: 0;
}

.activity-tile-rule {
  display: block;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 20px;
  border-top: 1px solid rgba(255, 255, 255, .55);
}

.activity-tile-arrow {
  display: block;
  color: rgba(255, 255, 255, .78);
  font-size: 1.25rem;
  line-height: .75;
}

.activity-sidebar-handle {
  position: fixed;
  left: 270px;
  top: 43%;
  z-index: 50;
  width: 24px;
  height: 48px;
  border: 0;
  border-radius: 0;
  background: var(--color-brand-primary-hover);
  color: #fff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, .24);
  font-size: 1.25rem;
}

.directory-page {
  padding: 20px;
  background: var(--color-bg-subtle);
  /* min-height: calc(100vh - var(--header-height-aws)); */
  display: flex;
  flex: 1;
  flex-direction: column;
  max-height: 100%;
  overflow: hidden;
}

/* ==========================================================================
   ORGANISATION SETTINGS (employee-style horizontal tabs)
   ========================================================================== */
.org-settings-page {
  gap: 0;
}

.org-settings-tabs.employee-tabs {
  margin-top: 0;
}

.org-settings-tabs .employee-tab {
  text-decoration: none;
}

.org-settings-tabs .employee-tab:hover {
  color: var(--color-brand-primary);
  text-decoration: none;
}

.org-settings-content.employee-tab-content {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.org-settings-content .employee-tab-panel.active {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.org-settings-content .directory-toolbar {
  padding: 16px;
  border-bottom: 1px solid var(--color-border-light);
}

.org-settings-content .directory-summary {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border-light);
}

.org-settings-content .directory-table-wrap {
  flex: 1;
  overflow: auto;
  padding: 0;
}

.org-overview-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 4px 0 24px;
  overflow: auto;
  max-height: 100%;
}

.org-overview-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-light);
  padding: 18px 20px 8px;
}

.org-overview-card-title {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.org-overview-card-lead {
  margin: 0 0 16px;
  font-size: 0.85rem;
  color: var(--color-text-charcoal);
  line-height: 1.45;
}

.org-logo-preview-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
  padding-bottom: 12px;
}

.org-logo-preview {
  width: 88px;
  height: 88px;
  border: 1px solid var(--color-border-light);
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.org-logo-preview-img {
  max-width: 72px;
  max-height: 72px;
  object-fit: contain;
}

.org-logo-filename {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.org-primary-color-row {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  flex-wrap: wrap;
  padding: 8px 0 16px;
  border-top: 1px solid var(--color-border-light);
  margin-top: 8px;
}

.org-color-picker {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.org-color-picker input[type="color"] {
  width: 44px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--color-border-light);
  background: #fff;
  cursor: pointer;
}

.org-color-hex {
  width: 110px !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.org-color-swatch {
  width: 64px;
  height: 64px;
  border: 1px solid var(--color-border-light);
  background: var(--color-brand-primary);
  flex-shrink: 0;
}

.app-footer {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  padding: 14px 20px;
  border-top: 1px solid var(--color-border-light);
  background: #fafafa;
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

.app-footer-brand {
  font-weight: 600;
  color: var(--color-text-charcoal);
}

.app-footer-copy {
  color: var(--color-text-muted);
}

.dashboard-header .logo-text {
  font-size: 0.9rem;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.directory-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 22px;
}

.directory-header h1 {
  margin-bottom: 6px;
  font-size: 1.25rem;
  font-weight: 600;
}

.directory-header p {
  color: var(--color-text-muted);
  font-size: .875rem;
}

.directory-panel {
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-fluent-lg);
  background: var(--color-bg-white);
  flex: 1;
  display: flex;
  flex-direction: column;
  max-height: 100%;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.directory-toolbar {
  align-items: end;
  padding: 16px;
  border-bottom: 1px solid var(--color-border-light);
}

.directory-control label {
  display: block;
  margin-bottom: 4px;
  color: var(--color-text-charcoal);
  font-size: .75rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.directory-input,
.directory-select {
  width: 100%;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--border-radius-fluent);
  background: var(--color-bg-white);
  color: var(--color-text-dark);
  font-size: .875rem;
}

.directory-input:focus,
.directory-select:focus,
.field select:focus,
.field input:focus {
  border-color: var(--color-brand-primary);
  box-shadow: 0 0 0 1px var(--color-brand-primary);
}

.directory-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  color: var(--color-text-muted);
  font-size: .84rem;
  border-bottom: 1px solid var(--color-border-light);
}

.directory-table-wrap {
  overflow: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  max-height: 100%;
  max-width: 100%;
  position: relative;
}

.directory-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  border: 1px solid var(--color-border-light);

}

    .directory-table.responsive{
        width: unset;
        min-width: unset;
    }

    .directory-table thead {
        position: sticky;
        top: -2px;
        z-index: 1;
    }

.directory-table th,
.directory-table td {
  padding: 4px 6px;
  border: 1px solid var(--color-border-light);
  text-align: left;
  font-size: .86rem;
  vertical-align: middle;
  white-space: nowrap;
}

.directory-table th {
  background: #f5f5f5;
  color: var(--color-text-charcoal);
  font-size: .75rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  padding: 10px 8px;
}

.directory-table tbody tr:nth-child(even) {
  background: #fafafa;
}

.directory-table tbody tr:hover {
  background: var(--color-brand-primary-light);
}

.directory-table th:first-child,
.directory-table td:first-child {
  width: 92px;
  text-align: center;
}

.directory-table th.amount-col,
.directory-table td.amount-col {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.directory-table a.period-col {
  color: var(--color-brand-primary);
  font-weight: 700;
  text-decoration: none;
}

.directory-table a.period-col:hover {
  text-decoration: underline;
}

.directory-sort {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  background: transparent;
  border: 0;
  font-weight: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
}

.directory-sort::after {
  content: "\2195";
  color: #8c959c;
  font-size: .72rem;
}

.directory-sort[aria-sort="ascending"]::after {
  content: "\2191";
  color: var(--color-brand-primary);
}

.directory-sort[aria-sort="descending"]::after {
  content: "\2193";
  color: var(--color-brand-primary);
}

.employee-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.employee-avatar {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-brand-primary-light);
  color: var(--color-brand-primary);
  font-size: .72rem;
  font-weight: 800;
  flex: 0 0 auto;
}

.employee-name {
  display: block;
  color: var(--color-text-dark);
  font-weight: 800;
}

.employee-email {
  display: block;
  margin-top: 2px;
  color: var(--color-text-muted);
  font-size: .76rem;
  font-weight: 500;
}

.row-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.icon-button {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-aws);
  background: var(--color-bg-white);
  color: var(--color-text-charcoal);
}

.icon-button:hover {
  border-color: var(--color-brand-primary);
  color: var(--color-brand-primary);
  background: var(--color-brand-primary-light);
}

.icon-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: var(--border-radius-fluent);
  font-size: .6875rem;
  font-weight: 600;
}

.status-pill.active {
  background: rgba(14, 112, 14, .12);
  color: #0e700e;
}

.status-pill.on-leave {
  background: rgba(214, 104, 44, .14);
  color: var(--color-brand-secondary);
}

.status-pill.probation {
  background: var(--color-brand-primary-light);
  color: var(--color-brand-primary);
}

.status-pill.pending {
  background: rgba(138, 136, 134, .18);
  color: #605e5c;
}

.status-pill.rejected {
  background: rgba(177, 14, 28, .12);
  color: #b10e1c;
}

.directory-empty {
  display: none;
  padding: 34px 18px;
  color: var(--color-text-muted);
  text-align: center;
  font-weight: 700;
}

.directory-action-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 9px 16px;
  border-bottom: 1px solid var(--color-border-light);
  background: #ffffff;
  overflow-x: auto;
  flex-shrink: 0;
}

.directory-action {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: var(--border-radius-fluent);
  background: transparent;
  color: var(--color-text-dark);
  font-size: .8125rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--duration-fluent-fast) var(--easing-fluent);
}

.directory-action:hover,
.directory-action.active {
  border-color: transparent;
  background: #f0f0f0;
  color: var(--color-text-dark);
}

.directory-action.active {
  background: var(--color-brand-primary-light);
  color: var(--color-brand-primary);
}

.directory-action svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Statutory reports action bar */
.statutory-action-bar {
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px 12px;
  overflow-x: visible;
}

.report-type-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 6px 12px;
  border-radius: var(--border-radius-fluent);
  background: var(--color-brand-primary-light);
  color: var(--color-brand-primary);
  font-size: .78rem;
  font-weight: 800;
}

.report-type-indicator .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-brand-primary);
  flex-shrink: 0;
}

.report-type-indicator-text {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 6px;
  min-width: 0;
}

.report-type-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 220px;
  min-width: 0;
  max-width: 360px;
  margin-left: auto;
}

.report-type-switch label {
  flex: 0 0 auto;
  font-size: .72rem;
  font-weight: 700;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.report-type-switch select,
.report-type-switch .form-control {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

.statutory-action-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.directory-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-top: 1px solid var(--color-border-light);
}

.directory-page-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--color-text-muted);
  font-size: .84rem;
}

.directory-control.compact {
  min-width: 82px;
}

.directory-control.compact .directory-select {
  height: 34px;
}

.employee-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 100%;
}

.employee-form-wide {
  grid-column: 1 / -1;
}

.pagination-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.page-indicator {
  color: var(--color-text-charcoal);
  font-size: .84rem;
  font-weight: 800;
  min-width: 90px;
  text-align: center;
}

.onboarding-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.onboarding-metric {
  border: 1px solid var(--color-border-light);
  background: var(--color-bg-white);
  padding: 16px;
}

.onboarding-metric span {
  display: block;
  color: var(--color-text-muted);
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.onboarding-metric strong {
  display: block;
  margin-top: 8px;
  color: var(--color-text-dark);
  font-size: 1.65rem;
  line-height: 1;
}

.onboarding-stage {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 0;
  background: var(--color-brand-primary-light);
  color: var(--color-brand-primary);
  font-size: .72rem;
  font-weight: 800;
}

.onboarding-stage.pending {
  background: rgba(214, 104, 44, .14);
  color: var(--color-brand-secondary);
}

.onboarding-stage.complete {
  background: rgba(46, 125, 50, .12);
  color: #2e7d32;
}

.progress-track {
  width: 130px;
  height: 8px;
  overflow: hidden;
  border-radius: 0;
  background: var(--color-bg-light-gray);
}

    .progress-fill {
      height: 100%;
      display: block;
      background: var(--color-brand-primary);
    }

    .calendar-shell {
      border: 1px solid var(--color-border-light);
      background: var(--color-bg-white);
      display: flex;
      flex-direction: column;
      min-height: 0;
      overflow: hidden;
    }

    .calendar-toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      padding: 14px 16px;
      border-bottom: 1px solid var(--color-border-light);
      background: #fff;
    }

    .calendar-toolbar h2 {
      font-size: 1rem;
      margin: 0;
    }

    .calendar-nav {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .calendar-grid-wrap {
      overflow: auto;
      flex: 1;
    }

    .shift-calendar {
      min-width: 980px;
      display: grid;
      grid-template-columns: 170px repeat(7, minmax(110px, 1fr));
      border-top: 1px solid var(--color-border-light);
      border-left: 1px solid var(--color-border-light);
    }

    .calendar-cell {
      min-height: 112px;
      padding: 10px;
      border-right: 1px solid var(--color-border-light);
      border-bottom: 1px solid var(--color-border-light);
      background: #fff;
    }

    .calendar-head {
      min-height: 58px;
      background: #f7f8f8;
      color: var(--color-text-charcoal);
      font-size: .74rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .03em;
    }

    .calendar-staff {
      background: #fbfbfb;
      font-weight: 800;
      color: var(--color-text-dark);
    }

    .calendar-staff span {
      display: block;
      margin-top: 4px;
      color: var(--color-text-muted);
      font-size: .74rem;
      font-weight: 600;
    }

    .shift-card {
      display: block;
      padding: 8px;
      border-left: 3px solid var(--color-brand-primary);
      background: var(--color-brand-primary-light);
      color: var(--color-text-dark);
      font-size: .76rem;
      font-weight: 800;
      line-height: 1.25;
    }

    .shift-card + .shift-card {
      margin-top: 7px;
    }

    .shift-card small {
      display: block;
      margin-top: 3px;
      color: var(--color-text-muted);
      font-size: .7rem;
      font-weight: 700;
    }

    .shift-card.warning {
      border-left-color: var(--color-brand-secondary);
      background: rgba(214, 104, 44, .14);
    }

.employee-profile-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--color-border-light);
  background: var(--color-bg-white);
  margin-bottom: 16px;
}

.employee-profile-avatar {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-brand-primary);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
}

.employee-profile-title h1 {
  margin-bottom: 4px;
  font-size: 1.25rem;
}

.employee-profile-title p {
  color: var(--color-text-muted);
  font-size: .88rem;
}

.employee-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border: 1px solid var(--color-border-light);
  background: var(--color-bg-subtle);
  color: var(--color-text-charcoal);
  font-size: .74rem;
  font-weight: 800;
}

.employee-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  border: 1px solid var(--color-border-light);
  border-bottom: 0;
  background: #f7f8f8;
  padding: 8px 8px 0;
  flex-shrink: 0;
}

.employee-tab {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 0 13px;
  border: 1px solid transparent;
  border-bottom: 0;
  background: transparent;
  color: var(--color-text-charcoal);
  font-size: .82rem;
  font-weight: 800;
}

.employee-tab svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.employee-tab.active {
  background: var(--color-bg-white);
  border-color: var(--color-border-light);
  color: var(--color-brand-primary);
}

.employee-tab-content {
  flex: 1;
  border: 1px solid var(--color-border-light);
  background: var(--color-bg-white);
  display: flex;
  flex-direction: column;
  max-height: 100%;
  overflow-y: auto;
}

.employee-tab-panel {
  display: none;
  flex: 1;
  /* padding: 18px; */
  overflow: auto;
}

.employee-tab-panel.padding {
  padding: 18px;
}

.employee-tab-panel.active {
  display: flex;
  flex-direction: column;
  max-height: 100%;

}

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.detail-card {
  border: 1px solid var(--color-border-light);
  background: var(--color-bg-white);
  padding: 16px;
}

.detail-card h3 {
  margin-bottom: 12px;
  font-size: .96rem;
}

.detail-list {
  display: grid;
  gap: 10px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--color-border-light);
  color: var(--color-text-muted);
  font-size: .82rem;
}

.detail-item strong {
  color: var(--color-text-dark);
  text-align: right;
}

.timeline-list {
  display: grid;
  gap: 12px;
}

.timeline-item {
  border-left: 3px solid var(--color-brand-primary);
  padding: 2px 0 2px 12px;
  color: var(--color-text-muted);
  font-size: .84rem;
}

.timeline-item strong {
  display: block;
  color: var(--color-text-dark);
  margin-bottom: 2px;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 48px 18px 28px;
  background: rgba(0, 0, 0, 0.4);
}

.overlay.is-visible {
  display: flex;
}

.modal-window {
  width: min(100%, 660px);
  max-height: min(86vh, 640px);
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-fluent-lg);
  box-shadow: var(--shadow-fluent-28);
  color: var(--color-text-dark);
  overflow: hidden;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 20px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--color-border-light);
  margin-bottom: 0;
}

.modal-title {
  font-size: 1.125rem;
  font-weight: 600;
}

.modal-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: var(--border-radius-fluent);
  background: transparent;
  color: var(--color-text-muted);
  font-size: 24px;
  line-height: 1;
  font-weight: 400;
  transition: background-color var(--duration-fluent-fast) var(--easing-fluent);
}

.modal-close:hover {
  background: #f0f0f0;
  color: var(--color-text-dark);
}

.modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 28px 0;
}

.modal-section-title {
  padding-bottom: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid #9d9d9d;
  color: #333;
  font-size: 16px;
  font-weight: 700;
}

.field-list {
  max-width: 340px;
}

.field {
  margin-bottom: 8px;

}

.field label {
  display: block;
  margin-bottom: 6px;
  color: #686868;
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
}

.field label .required {
  color: var(--color-aws-alert-error);
  margin-left: 2px;
}

.form-error {
  display: none;
  margin-top: 4px;
  color: var(--color-aws-alert-error);
  font-size: 11px;
  font-weight: 600;
}

.field .form-error.show {
  display: block;
}

.field input.error,
.field select.error,
.field textarea.error,
.field input.error:invalid,
.field select.error:invalid,
.field textarea.error:invalid {
  border-color: var(--color-aws-alert-error);
  box-shadow: 0 0 0 1px var(--color-aws-alert-error);
}

/* ASP.NET validator styles */
.validator-error {
  display: block;
  margin-top: 4px;
  color: var(--color-aws-alert-error);
  font-size: 11px;
  font-weight: 600;
}

.import-error-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--color-aws-alert-error);
  font-size: 12px;
  line-height: 1.45;
}

.import-error-list li {
  margin-bottom: 4px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--border-radius-fluent);
  background-color: var(--color-bg-white);
  color: var(--color-text-dark);
  font-size: 0.875rem;
  padding: 6px 10px;
  min-height: 32px;
}

.field input:invalid,
.field select:invalid,
.field textarea:invalid {
  border-color: #c8c8c8;
  box-shadow: none;
  background-color: var(--color-bg-white);
  color: var(--color-text-charcoal);
}

.field input:focus:invalid,
.field select:focus:invalid,
.field textarea:focus:invalid {
  border-color: var(--color-brand-primary);
  box-shadow: 0 0 0 1px var(--color-brand-primary);
}

.field select option {
  color: var(--color-text-charcoal);
  background-color: var(--color-bg-white);
}

.field input:read-only,
.field input:disabled,
.field select:disabled,
.field textarea:read-only,
.field textarea:disabled {
  background-color: #f0f0f0;
  color: var(--color-text-muted);
  cursor: not-allowed;
}

.field input,
.field select {
  height: 36px;
}

.field textarea {
  min-height: 76px;
  resize: vertical;
}

.field input[type="file"] {
  height: auto;
}

.field .form-control {
  width: 100%;
  height: 36px;
  padding: 6px 10px;
  border: 1px solid #c8c8c8;
  border-radius: var(--border-radius-aws);
  background-color: var(--color-bg-white);
  color: var(--color-text-charcoal);
  font-size: 12px;
}

.field .form-control:invalid,
.field select.form-control:invalid {
  border-color: #c8c8c8;
  box-shadow: none;
  background-color: var(--color-bg-white);
  color: var(--color-text-charcoal);
}

.field .form-control:focus {
  border-color: var(--color-brand-primary);
  box-shadow: 0 0 0 1px var(--color-brand-primary);
}

.modal-spacer {
  height: 50px;
  border-bottom: 1px solid #dedede;
}

.totals {
  padding-top: 14px;
  color: #5b5b5b;
  font-size: 14px;
}

.filter-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  border: 0;
  background: transparent;
  color: #237f89;
  font-size: 12px;
}

.filter-link span:first-child {
  font-size: 25px;
  font-weight: 300;
  line-height: .6;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 22px 20px;
  margin-top: 6px;
  border-top: 1px solid #dedede;
  flex-shrink: 0;
}

.modal-btn {
  min-width: 92px;
  height: 30px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid #b8b8b8;
  color: #333;
  font-size: 12px;
  font-weight: 600;
}

.modal-btn:hover {
  background: #f2f2f2;
}

/* ==========================================================================
   BUTTONS (Fluent overrides)
   ========================================================================== */
.btn,
button.btn,
input[type="submit"].btn,
input[type="button"].btn,
a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  padding: 6px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--border-radius-fluent);
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-btn-inset);
  transition:
    background-color var(--duration-fluent-fast) var(--easing-fluent),
    border-color var(--duration-fluent-fast) var(--easing-fluent),
    color var(--duration-fluent-fast) var(--easing-fluent),
    box-shadow var(--duration-fluent-fast) var(--easing-fluent);
}

.btn:hover {
  text-decoration: none;
}

.btn:active:not(:disabled):not(.disabled) {
  box-shadow: var(--shadow-btn-inset-active);
}

.btn:focus-visible {
  outline: 1px solid var(--color-brand-primary);
  outline-offset: 1px;
}

.btn:disabled,
.btn.disabled,
.btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-primary {
  background-color: var(--color-brand-primary);
  color: #fff !important;
  border-color: var(--color-brand-primary-hover);
  box-shadow: var(--shadow-btn-inset-primary);
}

.btn-primary:hover:not(:disabled):not(.disabled) {
  background-color: var(--color-brand-primary-hover);
  border-color: var(--color-brand-primary-active);
  color: #fff !important;
}

.btn-primary:active:not(:disabled):not(.disabled) {
  background-color: var(--color-brand-primary-active);
  border-color: var(--color-brand-primary-active);
  box-shadow: var(--shadow-btn-inset-active);
}

.btn-secondary {
  background: #e8e8e8;
  color: var(--color-text-dark) !important;
  border-color: #c7c7c7;
  box-shadow: var(--shadow-btn-inset);
}

.btn-secondary:hover:not(:disabled):not(.disabled) {
  background: #dedede;
  border-color: #b3b3b3;
  color: var(--color-text-dark) !important;
}

.btn-secondary:active:not(:disabled):not(.disabled) {
  background: #d4d4d4;
  box-shadow: var(--shadow-btn-inset-active);
}

.btn-danger {
  background-color: var(--color-aws-alert-error);
  color: #fff !important;
  border-color: #8b0a15;
  box-shadow: var(--shadow-btn-inset-primary);
}

.btn-danger:hover:not(:disabled):not(.disabled) {
  background-color: #8b0a15;
  border-color: #6e0810;
  color: #fff !important;
}

.btn-danger:active:not(:disabled):not(.disabled) {
  background-color: #6e0810;
  box-shadow: var(--shadow-btn-inset-active);
}

.btn-danger:focus-visible {
  outline-color: var(--color-aws-alert-error);
}

.btn-sm {
  padding: 5px 10px;
  font-size: 0.78rem;
}

/* Table row actions stay quieter; pagination keeps inset depth */
.table-btn,
.directory-table .btn {
  box-shadow: none;
  transform: none;
  background-image: none;
  background-color: transparent;
  border-color: transparent;
  color: var(--color-text-dark);
}

.table-btn:hover:not(:disabled):not(.disabled),
.directory-table .btn:hover:not(:disabled):not(.disabled) {
  background-color: #eef1f4;
  border-color: var(--color-border-light);
  box-shadow: none;
}

.table-btn:active:not(:disabled):not(.disabled),
.directory-table .btn:active:not(:disabled):not(.disabled) {
  background-color: #e2e8e0;
  box-shadow: var(--shadow-btn-inset-active);
}

.directory-pagination .btn,
.pagination-actions .btn {
  box-shadow: var(--shadow-btn-inset);
}

.directory-pagination .btn-secondary,
.pagination-actions .btn-secondary {
  background-color: #e8e8e8;
  border-color: #c7c7c7;
  box-shadow: var(--shadow-btn-inset);
}

.directory-pagination .btn-secondary:hover:not(:disabled):not(.disabled),
.pagination-actions .btn-secondary:hover:not(:disabled):not(.disabled) {
  background-color: #dedede;
  background-image: none;
  border-color: #b3b3b3;
}

.directory-pagination .btn-secondary:active:not(:disabled):not(.disabled),
.pagination-actions .btn-secondary:active:not(:disabled):not(.disabled) {
  background-color: #d4d4d4;
  background-image: none;
  box-shadow: var(--shadow-btn-inset-active);
}

.modal-btn {
  box-shadow: var(--shadow-btn-inset);
  border-radius: var(--border-radius-fluent);
  min-height: 32px;
  font-weight: 600;
  background: #e8e8e8;
  border: 1px solid #c7c7c7;
  color: var(--color-text-dark);
}

.modal-btn:hover {
  background: #dedede;
}

.modal-btn.text-white,
.modal-btn.btn-primary {
  background-color: var(--color-brand-primary) !important;
  border-color: var(--color-brand-primary-hover) !important;
  color: #fff !important;
  box-shadow: var(--shadow-btn-inset-primary);
}

.modal-btn.text-white:hover,
.modal-btn.btn-primary:hover {
  background-color: var(--color-brand-primary-hover) !important;
  border-color: var(--color-brand-primary-active) !important;
  color: #fff !important;
}

.modal-btn.text-white:active,
.modal-btn.btn-primary:active {
  background-color: var(--color-brand-primary-active) !important;
  border-color: var(--color-brand-primary-active) !important;
}

.modal-btn.modal-btn-decline,
.modal-btn.btn-danger {
  background-color: var(--color-aws-alert-error) !important;
  border-color: #8b0a15 !important;
  color: #fff !important;
  box-shadow: var(--shadow-btn-inset-primary);
}

.modal-btn:active:not(:disabled):not(.disabled) {
  box-shadow: var(--shadow-btn-inset-active);
}

@media (max-width: 1024px) {
  .dashboard-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .dashboard-kpi-grid,
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .insight-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .onboarding-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

  .details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .activity-row,
  .activity-row.activity-row-wide {
    grid-template-columns: 1fr;
  }

  .dashboard-hero .hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .dashboard-header .header-container {
    height: var(--header-height-aws);
  }

  .dashboard-layout {
    display: flex;
    flex-direction: column;
  }

  .dashboard-sidebar {
    position: fixed;
    inset: var(--header-height-aws) auto 0 0;
    z-index: 70;
    width: min(86vw, 248px);
    height: calc(100vh - var(--header-height-aws));
    transform: translateX(-100%);
    transition: transform .24s ease;
    box-shadow: var(--shadow-fluent-16);
  }

  .dashboard-sidebar.is-open {
    transform: translateX(0);
  }

  .dashboard-kpi-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .insight-dashboard {
    padding: 16px 14px 34px;
  }

  .insight-greeting {
    align-items: stretch;
    flex-direction: column;
  }

  .insight-kpi-grid,
  .insight-chart-grid,
  .insight-lower-grid {
    grid-template-columns: 1fr;
  }

  .insight-panel-wide {
    grid-column: auto;
  }

  .directory-page {
    padding: 20px 14px 34px;
  }

  .directory-header,
  .directory-summary,
  .directory-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .statutory-action-bar {
    align-items: stretch;
  }

  .report-type-indicator {
    flex: 1 1 100%;
  }

  .report-type-switch {
    flex: 1 1 100%;
    max-width: none;
    margin-left: 0;
  }

  .statutory-action-buttons {
    flex: 1 1 100%;
  }

  .directory-page-meta {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .pagination-actions {
    justify-content: space-between;
  }

  .employee-form-grid {
    grid-template-columns: 1fr;
  }

      .onboarding-grid {
        grid-template-columns: 1fr;
      }

      .calendar-toolbar {
        align-items: stretch;
        flex-direction: column;
      }

  /* .employee-profile-header {
        grid-template-columns: 1fr;
      } */

  .details-grid {
    grid-template-columns: 1fr;
  }

  .activity-dashboard {
    padding: 0 14px 34px;
  }

  /* .activity-greeting {
        min-height: 150px;
      } */

  .activity-tile-grid {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-columns: auto;
  }

  .activity-sidebar-handle {
    left: 0;
  }

  .dashboard-hero {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .user-menu-btn .user-name {
    display: none;
  }

  .overlay {
    padding: 16px 10px;
  }

  .modal-window {
    max-height: calc(100vh - 32px);
  }

  .modal-actions {
    flex-wrap: wrap;
    padding: 12px;
    margin-top: 28px;
  }

  .modal-btn {
    flex: 1 1 44%;
  }
}

@media (max-width: 520px) {
  .activity-greeting h1 {
    font-size: 2.35rem;
  }

  .activity-tile-grid {
    grid-template-columns: 1fr;
  }

  .report-type-switch {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
}

/* ==========================================================================
   TAILWIND-STYLE TEXT UTILITIES
   ========================================================================== */

/* Font size */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }
.text-8xl { font-size: 6rem; line-height: 1; }
.text-9xl { font-size: 8rem; line-height: 1; }

/* Font weight */
.font-thin { font-weight: 100; }
.font-extralight { font-weight: 200; }
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }

/* Text alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

/* Text transform */
.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }
.normal-case { text-transform: none; }

/* Font style */
.italic { font-style: italic; }
.not-italic { font-style: normal; }

/* Text decoration */
.underline { text-decoration: underline; }
.line-through { text-decoration: line-through; }
.no-underline { text-decoration: none; }

/* Text color utilities using CSS variables */
.text-white { color: #fff; }
.text-black { color: #000; }
.text-dark { color: var(--color-text-dark); }
.text-charcoal { color: var(--color-text-charcoal); }
.text-muted { color: var(--color-text-muted); }
.text-primary { color: var(--color-brand-primary); }
.text-primary-hover { color: var(--color-brand-primary-hover); }
.text-secondary { color: var(--color-brand-secondary); }
.text-error { color: var(--color-aws-alert-error); }
.text-success { color: var(--color-aws-alert-success); }
.text-inherit { color: inherit; }
.text-transparent { color: transparent; }

/* Line height */
.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }
.leading-loose { line-height: 2; }
.leading-3 { line-height: 0.75rem; }
.leading-4 { line-height: 1rem; }
.leading-5 { line-height: 1.25rem; }
.leading-6 { line-height: 1.5rem; }
.leading-7 { line-height: 1.75rem; }
.leading-8 { line-height: 2rem; }
.leading-9 { line-height: 2.25rem; }
.leading-10 { line-height: 2.5rem; }

/* Letter spacing */
.tracking-tighter { letter-spacing: -0.05em; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-normal { letter-spacing: 0; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }

/* Whitespace */
.whitespace-normal { white-space: normal; }
.whitespace-nowrap { white-space: nowrap; }
.whitespace-pre { white-space: pre; }
.whitespace-pre-line { white-space: pre-line; }
.whitespace-pre-wrap { white-space: pre-wrap; }

/* Word break */
.break-normal { overflow-wrap: normal; word-break: normal; }
.break-words { overflow-wrap: break-word; }
.break-all { word-break: break-all; }

/* Text overflow */
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.text-ellipsis { text-overflow: ellipsis; }
.text-clip { text-overflow: clip; }

/* Vertical alignment */
.align-baseline { vertical-align: baseline; }
.align-top { vertical-align: top; }
.align-middle { vertical-align: middle; }
.align-bottom { vertical-align: bottom; }
.align-text-top { vertical-align: text-top; }
.align-text-bottom { vertical-align: text-bottom; }

/* ==========================================================================
   TAILWIND-STYLE FLEX, GRID & HIDDEN UTILITIES
   ========================================================================== */

/* Display */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.contents { display: contents; }

/* Flex container */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-row { flex-direction: row; }
.flex-row-reverse { flex-direction: row-reverse; }
.flex-col { flex-direction: column; }
.flex-col-reverse { flex-direction: column-reverse; }
.flex-wrap { flex-wrap: wrap; }
.flex-wrap-reverse { flex-wrap: wrap-reverse; }
.flex-nowrap { flex-wrap: nowrap; }

/* Flex grow / shrink */
.flex-1 { flex: 1 1 0%; }
.flex-auto { flex: 1 1 auto; }
.flex-initial { flex: 0 1 auto; }
.flex-none { flex: none; }
.grow { flex-grow: 1; }
.grow-0 { flex-grow: 0; }
.shrink { flex-shrink: 1; }
.shrink-0 { flex-shrink: 0; }

/* Justify content */
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-evenly { justify-content: space-evenly; }

/* Align items */
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.items-stretch { align-items: stretch; }

/* Align self */
.self-start { align-self: flex-start; }
.self-end { align-self: flex-end; }
.self-center { align-self: center; }
.self-baseline { align-self: baseline; }
.self-stretch { align-self: stretch; }
.self-auto { align-self: auto; }

/* Align content */
.content-start { align-content: flex-start; }
.content-end { align-content: flex-end; }
.content-center { align-content: center; }
.content-between { align-content: space-between; }
.content-around { align-content: space-around; }
.content-evenly { align-content: space-evenly; }
.content-stretch { align-content: stretch; }

/* Place items / content */
.place-items-center { place-items: center; }
.place-items-start { place-items: start; }
.place-items-end { place-items: end; }
.place-items-stretch { place-items: stretch; }
.place-content-center { place-content: center; }
.place-content-start { place-content: start; }
.place-content-end { place-content: end; }
.place-content-between { place-content: space-between; }
.place-content-around { place-content: space-around; }
.place-content-evenly { place-content: space-evenly; }
.place-content-stretch { place-content: stretch; }

/* Order */
.order-1 { order: 1; }
.order-2 { order: 2; }
.order-3 { order: 3; }
.order-4 { order: 4; }
.order-5 { order: 5; }
.order-6 { order: 6; }
.order-7 { order: 7; }
.order-8 { order: 8; }
.order-9 { order: 9; }
.order-10 { order: 10; }
.order-11 { order: 11; }
.order-12 { order: 12; }
.order-first { order: -9999; }
.order-last { order: 9999; }
.order-none { order: 0; }

/* Visibility */
.visible { visibility: visible; }
.invisible { visibility: hidden; }

/* ==========================================================================
   TAILWIND-STYLE GRID UTILITIES
   ========================================================================== */
.grid { display: grid; }
.inline-grid { display: inline-grid; }

/* Grid template columns */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-cols-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.grid-cols-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.grid-cols-9 { grid-template-columns: repeat(9, minmax(0, 1fr)); }
.grid-cols-10 { grid-template-columns: repeat(10, minmax(0, 1fr)); }
.grid-cols-11 { grid-template-columns: repeat(11, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.grid-cols-none { grid-template-columns: none; }

/* Grid template rows */
.grid-rows-1 { grid-template-rows: repeat(1, minmax(0, 1fr)); }
.grid-rows-2 { grid-template-rows: repeat(2, minmax(0, 1fr)); }
.grid-rows-3 { grid-template-rows: repeat(3, minmax(0, 1fr)); }
.grid-rows-4 { grid-template-rows: repeat(4, minmax(0, 1fr)); }
.grid-rows-5 { grid-template-rows: repeat(5, minmax(0, 1fr)); }
.grid-rows-6 { grid-template-rows: repeat(6, minmax(0, 1fr)); }
.grid-rows-none { grid-template-rows: none; }

/* Gap */
.gap-0 { gap: 0; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 20px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.gap-10 { gap: 40px; }
.gap-12 { gap: 48px; }

.gap-x-0 { column-gap: 0; }
.gap-x-1 { column-gap: 4px; }
.gap-x-2 { column-gap: 8px; }
.gap-x-3 { column-gap: 12px; }
.gap-x-4 { column-gap: 16px; }
.gap-x-5 { column-gap: 20px; }
.gap-x-6 { column-gap: 24px; }
.gap-x-8 { column-gap: 32px; }
.gap-x-10 { column-gap: 40px; }
.gap-x-12 { column-gap: 48px; }

.gap-y-0 { row-gap: 0; }
.gap-y-1 { row-gap: 4px; }
.gap-y-2 { row-gap: 8px; }
.gap-y-3 { row-gap: 12px; }
.gap-y-4 { row-gap: 16px; }
.gap-y-5 { row-gap: 20px; }
.gap-y-6 { row-gap: 24px; }
.gap-y-8 { row-gap: 32px; }
.gap-y-10 { row-gap: 40px; }
.gap-y-12 { row-gap: 48px; }

/* Column span */
.col-span-1 { grid-column: span 1 / span 1; }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-3 { grid-column: span 3 / span 3; }
.col-span-4 { grid-column: span 4 / span 4; }
.col-span-5 { grid-column: span 5 / span 5; }
.col-span-6 { grid-column: span 6 / span 6; }
.col-span-7 { grid-column: span 7 / span 7; }
.col-span-8 { grid-column: span 8 / span 8; }
.col-span-9 { grid-column: span 9 / span 9; }
.col-span-10 { grid-column: span 10 / span 10; }
.col-span-11 { grid-column: span 11 / span 11; }
.col-span-12 { grid-column: span 12 / span 12; }
.col-span-full { grid-column: 1 / -1; }

/* Row span */
.row-span-1 { grid-row: span 1 / span 1; }
.row-span-2 { grid-row: span 2 / span 2; }
.row-span-3 { grid-row: span 3 / span 3; }
.row-span-4 { grid-row: span 4 / span 4; }
.row-span-5 { grid-row: span 5 / span 5; }
.row-span-6 { grid-row: span 6 / span 6; }
.row-span-full { grid-row: 1 / -1; }

/* Column start / end */
.col-start-1 { grid-column-start: 1; }
.col-start-2 { grid-column-start: 2; }
.col-start-3 { grid-column-start: 3; }
.col-start-4 { grid-column-start: 4; }
.col-start-5 { grid-column-start: 5; }
.col-start-6 { grid-column-start: 6; }
.col-start-7 { grid-column-start: 7; }
.col-start-8 { grid-column-start: 8; }
.col-start-9 { grid-column-start: 9; }
.col-start-10 { grid-column-start: 10; }
.col-start-11 { grid-column-start: 11; }
.col-start-12 { grid-column-start: 12; }
.col-start-13 { grid-column-start: 13; }
.col-end-1 { grid-column-end: 1; }
.col-end-2 { grid-column-end: 2; }
.col-end-3 { grid-column-end: 3; }
.col-end-4 { grid-column-end: 4; }
.col-end-5 { grid-column-end: 5; }
.col-end-6 { grid-column-end: 6; }
.col-end-7 { grid-column-end: 7; }
.col-end-8 { grid-column-end: 8; }
.col-end-9 { grid-column-end: 9; }
.col-end-10 { grid-column-end: 10; }
.col-end-11 { grid-column-end: 11; }
.col-end-12 { grid-column-end: 12; }
.col-end-13 { grid-column-end: 13; }

/* Row start / end */
.row-start-1 { grid-row-start: 1; }
.row-start-2 { grid-row-start: 2; }
.row-start-3 { grid-row-start: 3; }
.row-start-4 { grid-row-start: 4; }
.row-start-5 { grid-row-start: 5; }
.row-start-6 { grid-row-start: 6; }
.row-start-7 { grid-row-start: 7; }
.row-end-1 { grid-row-end: 1; }
.row-end-2 { grid-row-end: 2; }
.row-end-3 { grid-row-end: 3; }
.row-end-4 { grid-row-end: 4; }
.row-end-5 { grid-row-end: 5; }
.row-end-6 { grid-row-end: 6; }
.row-end-7 { grid-row-end: 7; }

/* Auto flow */
.grid-flow-row { grid-auto-flow: row; }
.grid-flow-col { grid-auto-flow: column; }
.grid-flow-dense { grid-auto-flow: dense; }
.grid-flow-row-dense { grid-auto-flow: row dense; }
.grid-flow-col-dense { grid-auto-flow: column dense; }

/* Auto columns */
.auto-cols-auto { grid-auto-columns: auto; }
.auto-cols-min { grid-auto-columns: min-content; }
.auto-cols-max { grid-auto-columns: max-content; }
.auto-cols-fr { grid-auto-columns: minmax(0, 1fr); }

/* Auto rows */
.auto-rows-auto { grid-auto-rows: auto; }
.auto-rows-min { grid-auto-rows: min-content; }
.auto-rows-max { grid-auto-rows: max-content; }
.auto-rows-fr { grid-auto-rows: minmax(0, 1fr); }

/* Justify / Align */
.justify-items-start { justify-items: start; }
.justify-items-end { justify-items: end; }
.justify-items-center { justify-items: center; }
.justify-items-stretch { justify-items: stretch; }
.justify-start { justify-content: start; }
.justify-end { justify-content: end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-evenly { justify-content: space-evenly; }
.align-items-start { align-items: start; }
.align-items-end { align-items: end; }
.align-items-center { align-items: center; }
.align-items-baseline { align-items: baseline; }
.align-items-stretch { align-items: stretch; }
.align-content-start { align-content: start; }
.align-content-end { align-content: end; }
.align-content-center { align-content: center; }
.align-content-between { align-content: space-between; }
.align-content-around { align-content: space-around; }
.align-content-evenly { align-content: space-evenly; }
.align-content-stretch { align-content: stretch; }
.place-items-center { place-items: center; }
.place-items-start { place-items: start; }
.place-items-end { place-items: end; }
.place-items-stretch { place-items: stretch; }
.place-content-center { place-content: center; }
.place-content-start { place-content: start; }
.place-content-end { place-content: end; }
.place-content-between { place-content: space-between; }
.place-content-around { place-content: space-around; }
.place-content-evenly { place-content: space-evenly; }
.place-content-stretch { place-content: stretch; }

/* Responsive breakpoints */
@media (min-width: 576px) {
  .sm\:grid { display: grid; }
  .sm\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sm\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .sm\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .sm\:grid-cols-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .sm\:grid-cols-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .sm\:grid-cols-9 { grid-template-columns: repeat(9, minmax(0, 1fr)); }
  .sm\:grid-cols-10 { grid-template-columns: repeat(10, minmax(0, 1fr)); }
  .sm\:grid-cols-11 { grid-template-columns: repeat(11, minmax(0, 1fr)); }
  .sm\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .sm\:col-span-1 { grid-column: span 1 / span 1; }
  .sm\:col-span-2 { grid-column: span 2 / span 2; }
  .sm\:col-span-3 { grid-column: span 3 / span 3; }
  .sm\:col-span-4 { grid-column: span 4 / span 4; }
  .sm\:col-span-5 { grid-column: span 5 / span 5; }
  .sm\:col-span-6 { grid-column: span 6 / span 6; }
  .sm\:col-span-7 { grid-column: span 7 / span 7; }
  .sm\:col-span-8 { grid-column: span 8 / span 8; }
  .sm\:col-span-9 { grid-column: span 9 / span 9; }
  .sm\:col-span-10 { grid-column: span 10 / span 10; }
  .sm\:col-span-11 { grid-column: span 11 / span 11; }
  .sm\:col-span-12 { grid-column: span 12 / span 12; }
  .sm\:col-span-full { grid-column: 1 / -1; }
  .sm\:flex { display: flex; }
  .sm\:inline-flex { display: inline-flex; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:flex-row-reverse { flex-direction: row-reverse; }
  .sm\:flex-col { flex-direction: column; }
  .sm\:flex-col-reverse { flex-direction: column-reverse; }
  .sm\:flex-wrap { flex-wrap: wrap; }
  .sm\:flex-wrap-reverse { flex-wrap: wrap-reverse; }
  .sm\:flex-nowrap { flex-wrap: nowrap; }
  .sm\:flex-1 { flex: 1 1 0%; }
  .sm\:flex-auto { flex: 1 1 auto; }
  .sm\:flex-initial { flex: 0 1 auto; }
  .sm\:flex-none { flex: none; }
  .sm\:grow { flex-grow: 1; }
  .sm\:grow-0 { flex-grow: 0; }
  .sm\:shrink { flex-shrink: 1; }
  .sm\:shrink-0 { flex-shrink: 0; }
  .sm\:justify-start { justify-content: flex-start; }
  .sm\:justify-end { justify-content: flex-end; }
  .sm\:justify-center { justify-content: center; }
  .sm\:justify-between { justify-content: space-between; }
  .sm\:justify-around { justify-content: space-around; }
  .sm\:justify-evenly { justify-content: space-evenly; }
  .sm\:items-start { align-items: flex-start; }
  .sm\:items-end { align-items: flex-end; }
  .sm\:items-center { align-items: center; }
  .sm\:items-baseline { align-items: baseline; }
  .sm\:items-stretch { align-items: stretch; }
  .sm\:self-start { align-self: flex-start; }
  .sm\:self-end { align-self: flex-end; }
  .sm\:self-center { align-self: center; }
  .sm\:self-baseline { align-self: baseline; }
  .sm\:self-stretch { align-self: stretch; }
  .sm\:self-auto { align-self: auto; }
  .sm\:content-start { align-content: flex-start; }
  .sm\:content-end { align-content: flex-end; }
  .sm\:content-center { align-content: center; }
  .sm\:content-between { align-content: space-between; }
  .sm\:content-around { align-content: space-around; }
  .sm\:content-evenly { align-content: space-evenly; }
  .sm\:content-stretch { align-content: stretch; }
  .sm\:place-items-center { place-items: center; }
  .sm\:place-items-start { place-items: start; }
  .sm\:place-items-end { place-items: end; }
  .sm\:place-items-stretch { place-items: stretch; }
  .sm\:place-content-center { place-content: center; }
  .sm\:place-content-start { place-content: start; }
  .sm\:place-content-end { place-content: end; }
  .sm\:place-content-between { place-content: space-between; }
  .sm\:place-content-around { place-content: space-around; }
  .sm\:place-content-evenly { place-content: space-evenly; }
  .sm\:place-content-stretch { place-content: stretch; }
  .sm\:gap-0 { gap: 0; }
  .sm\:gap-1 { gap: 4px; }
  .sm\:gap-2 { gap: 8px; }
  .sm\:gap-3 { gap: 12px; }
  .sm\:gap-4 { gap: 16px; }
  .sm\:gap-5 { gap: 20px; }
  .sm\:gap-6 { gap: 24px; }
  .sm\:gap-8 { gap: 32px; }
  .sm\:gap-10 { gap: 40px; }
  .sm\:gap-12 { gap: 48px; }
  .sm\:gap-x-0 { column-gap: 0; }
  .sm\:gap-x-1 { column-gap: 4px; }
  .sm\:gap-x-2 { column-gap: 8px; }
  .sm\:gap-x-3 { column-gap: 12px; }
  .sm\:gap-x-4 { column-gap: 16px; }
  .sm\:gap-x-5 { column-gap: 20px; }
  .sm\:gap-x-6 { column-gap: 24px; }
  .sm\:gap-x-8 { column-gap: 32px; }
  .sm\:gap-x-10 { column-gap: 40px; }
  .sm\:gap-x-12 { column-gap: 48px; }
  .sm\:gap-y-0 { row-gap: 0; }
  .sm\:gap-y-1 { row-gap: 4px; }
  .sm\:gap-y-2 { row-gap: 8px; }
  .sm\:gap-y-3 { row-gap: 12px; }
  .sm\:gap-y-4 { row-gap: 16px; }
  .sm\:gap-y-5 { row-gap: 20px; }
  .sm\:gap-y-6 { row-gap: 24px; }
  .sm\:gap-y-8 { row-gap: 32px; }
  .sm\:gap-y-10 { row-gap: 40px; }
  .sm\:gap-y-12 { row-gap: 48px; }
}

@media (min-width: 768px) {
  .md\:grid { display: grid; }
  .md\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .md\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .md\:grid-cols-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .md\:grid-cols-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .md\:grid-cols-9 { grid-template-columns: repeat(9, minmax(0, 1fr)); }
  .md\:grid-cols-10 { grid-template-columns: repeat(10, minmax(0, 1fr)); }
  .md\:grid-cols-11 { grid-template-columns: repeat(11, minmax(0, 1fr)); }
  .md\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .md\:col-span-1 { grid-column: span 1 / span 1; }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:col-span-3 { grid-column: span 3 / span 3; }
  .md\:col-span-4 { grid-column: span 4 / span 4; }
  .md\:col-span-5 { grid-column: span 5 / span 5; }
  .md\:col-span-6 { grid-column: span 6 / span 6; }
  .md\:col-span-7 { grid-column: span 7 / span 7; }
  .md\:col-span-8 { grid-column: span 8 / span 8; }
  .md\:col-span-9 { grid-column: span 9 / span 9; }
  .md\:col-span-10 { grid-column: span 10 / span 10; }
  .md\:col-span-11 { grid-column: span 11 / span 11; }
  .md\:col-span-12 { grid-column: span 12 / span 12; }
  .md\:col-span-full { grid-column: 1 / -1; }
  .md\:flex { display: flex; }
  .md\:inline-flex { display: inline-flex; }
  .md\:flex-row { flex-direction: row; }
  .md\:flex-row-reverse { flex-direction: row-reverse; }
  .md\:flex-col { flex-direction: column; }
  .md\:flex-col-reverse { flex-direction: column-reverse; }
  .md\:flex-wrap { flex-wrap: wrap; }
  .md\:flex-wrap-reverse { flex-wrap: wrap-reverse; }
  .md\:flex-nowrap { flex-wrap: nowrap; }
  .md\:flex-1 { flex: 1 1 0%; }
  .md\:flex-auto { flex: 1 1 auto; }
  .md\:flex-initial { flex: 0 1 auto; }
  .md\:flex-none { flex: none; }
  .md\:grow { flex-grow: 1; }
  .md\:grow-0 { flex-grow: 0; }
  .md\:shrink { flex-shrink: 1; }
  .md\:shrink-0 { flex-shrink: 0; }
  .md\:justify-start { justify-content: flex-start; }
  .md\:justify-end { justify-content: flex-end; }
  .md\:justify-center { justify-content: center; }
  .md\:justify-between { justify-content: space-between; }
  .md\:justify-around { justify-content: space-around; }
  .md\:justify-evenly { justify-content: space-evenly; }
  .md\:items-start { align-items: flex-start; }
  .md\:items-end { align-items: flex-end; }
  .md\:items-center { align-items: center; }
  .md\:items-baseline { align-items: baseline; }
  .md\:items-stretch { align-items: stretch; }
  .md\:self-start { align-self: flex-start; }
  .md\:self-end { align-self: flex-end; }
  .md\:self-center { align-self: center; }
  .md\:self-baseline { align-self: baseline; }
  .md\:self-stretch { align-self: stretch; }
  .md\:self-auto { align-self: auto; }
}

@media (min-width: 992px) {
  .lg\:grid { display: grid; }
  .lg\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .lg\:grid-cols-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .lg\:grid-cols-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .lg\:grid-cols-9 { grid-template-columns: repeat(9, minmax(0, 1fr)); }
  .lg\:grid-cols-10 { grid-template-columns: repeat(10, minmax(0, 1fr)); }
  .lg\:grid-cols-11 { grid-template-columns: repeat(11, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-1 { grid-column: span 1 / span 1; }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-6 { grid-column: span 6 / span 6; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:col-span-8 { grid-column: span 8 / span 8; }
  .lg\:col-span-9 { grid-column: span 9 / span 9; }
  .lg\:col-span-10 { grid-column: span 10 / span 10; }
  .lg\:col-span-11 { grid-column: span 11 / span 11; }
  .lg\:col-span-12 { grid-column: span 12 / span 12; }
  .lg\:col-span-full { grid-column: 1 / -1; }
  .lg\:flex { display: flex; }
  .lg\:inline-flex { display: inline-flex; }
  .lg\:flex-row { flex-direction: row; }
  .lg\:flex-row-reverse { flex-direction: row-reverse; }
  .lg\:flex-col { flex-direction: column; }
  .lg\:flex-col-reverse { flex-direction: column-reverse; }
  .lg\:flex-wrap { flex-wrap: wrap; }
  .lg\:flex-wrap-reverse { flex-wrap: wrap-reverse; }
  .lg\:flex-nowrap { flex-wrap: nowrap; }
  .lg\:flex-1 { flex: 1 1 0%; }
  .lg\:flex-auto { flex: 1 1 auto; }
  .lg\:flex-initial { flex: 0 1 auto; }
  .lg\:flex-none { flex: none; }
  .lg\:grow { flex-grow: 1; }
  .lg\:grow-0 { flex-grow: 0; }
  .lg\:shrink { flex-shrink: 1; }
  .lg\:shrink-0 { flex-shrink: 0; }
  .lg\:justify-start { justify-content: flex-start; }
  .lg\:justify-end { justify-content: flex-end; }
  .lg\:justify-center { justify-content: center; }
  .lg\:justify-between { justify-content: space-between; }
  .lg\:justify-around { justify-content: space-around; }
  .lg\:justify-evenly { justify-content: space-evenly; }
  .lg\:items-start { align-items: flex-start; }
  .lg\:items-end { align-items: flex-end; }
  .lg\:items-center { align-items: center; }
  .lg\:items-baseline { align-items: baseline; }
  .lg\:items-stretch { align-items: stretch; }
}

@media (min-width: 1200px) {
  .xl\:grid { display: grid; }
  .xl\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .xl\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xl\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .xl\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .xl\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .xl\:grid-cols-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .xl\:grid-cols-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .xl\:grid-cols-9 { grid-template-columns: repeat(9, minmax(0, 1fr)); }
  .xl\:grid-cols-10 { grid-template-columns: repeat(10, minmax(0, 1fr)); }
  .xl\:grid-cols-11 { grid-template-columns: repeat(11, minmax(0, 1fr)); }
  .xl\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .xl\:col-span-1 { grid-column: span 1 / span 1; }
  .xl\:col-span-2 { grid-column: span 2 / span 2; }
  .xl\:col-span-3 { grid-column: span 3 / span 3; }
  .xl\:col-span-4 { grid-column: span 4 / span 4; }
  .xl\:col-span-5 { grid-column: span 5 / span 5; }
  .xl\:col-span-6 { grid-column: span 6 / span 6; }
  .xl\:col-span-7 { grid-column: span 7 / span 7; }
  .xl\:col-span-8 { grid-column: span 8 / span 8; }
  .xl\:col-span-9 { grid-column: span 9 / span 9; }
  .xl\:col-span-10 { grid-column: span 10 / span 10; }
  .xl\:col-span-11 { grid-column: span 11 / span 11; }
  .xl\:col-span-12 { grid-column: span 12 / span 12; }
   .xl\:col-span-full { grid-column: 1 / -1; }
  .xl\:flex { display: flex; }
  .xl\:inline-flex { display: inline-flex; }
  .xl\:flex-row { flex-direction: row; }
  .xl\:flex-row-reverse { flex-direction: row-reverse; }
  .xl\:flex-col { flex-direction: column; }
  .xl\:flex-col-reverse { flex-direction: column-reverse; }
  .xl\:flex-wrap { flex-wrap: wrap; }
  .xl\:flex-wrap-reverse { flex-wrap: wrap-reverse; }
  .xl\:flex-nowrap { flex-wrap: nowrap; }
  .xl\:flex-1 { flex: 1 1 0%; }
  .xl\:flex-auto { flex: 1 1 auto; }
  .xl\:flex-initial { flex: 0 1 auto; }
  .xl\:flex-none { flex: none; }
  .xl\:grow { flex-grow: 1; }
  .xl\:grow-0 { flex-grow: 0; }
  .xl\:shrink { flex-shrink: 1; }
  .xl\:shrink-0 { flex-shrink: 0; }
  .xl\:justify-start { justify-content: flex-start; }
  .xl\:justify-end { justify-content: flex-end; }
  .xl\:justify-center { justify-content: center; }
  .xl\:justify-between { justify-content: space-between; }
  .xl\:justify-around { justify-content: space-around; }
  .xl\:justify-evenly { justify-content: space-evenly; }
  .xl\:items-start { align-items: flex-start; }
  .xl\:items-end { align-items: flex-end; }
  .xl\:items-center { align-items: center; }
  .xl\:items-baseline { align-items: baseline; }
  .xl\:items-stretch { align-items: stretch; }
}

/* ==========================================================================
   TAILWIND-STYLE OVERFLOW UTILITIES
   ========================================================================== */
.overflow-auto { overflow: auto; }
.overflow-hidden { overflow: hidden; }
.overflow-visible { overflow: visible; }
.overflow-scroll { overflow: scroll; }
.overflow-clip { overflow: clip; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }
.overflow-x-hidden { overflow-x: hidden; }
.overflow-y-hidden { overflow-y: hidden; }
.overflow-x-visible { overflow-x: visible; }
.overflow-y-visible { overflow-y: visible; }
.overflow-x-scroll { overflow-x: scroll; }
.overflow-y-scroll { overflow-y: scroll; }
.overflow-x-clip { overflow-x: clip; }
.overflow-y-clip { overflow-y: clip; }

/* ==========================================================================
   TAILWIND-STYLE WIDTH UTILITIES
   ========================================================================== */
.w-auto { width: auto; }
.w-full { width: 100%; }
.w-screen { width: 100vw; }
.w-min { width: min-content; }
.w-max { width: max-content; }
.w-fit { width: fit-content; }
.w-0 { width: 0; }
.w-px { width: 1px; }
.w-0_5 { width: 2px; }
.w-1 { width: 4px; }
.w-1_5 { width: 6px; }
.w-2 { width: 8px; }
.w-2_5 { width: 10px; }
.w-3 { width: 12px; }
.w-3_5 { width: 14px; }
.w-4 { width: 16px; }
.w-5 { width: 20px; }
.w-6 { width: 24px; }
.w-7 { width: 28px; }
.w-8 { width: 32px; }
.w-9 { width: 36px; }
.w-10 { width: 40px; }
.w-11 { width: 44px; }
.w-12 { width: 48px; }
.w-14 { width: 56px; }
.w-16 { width: 64px; }
.w-20 { width: 80px; }
.w-24 { width: 96px; }
.w-28 { width: 112px; }
.w-32 { width: 128px; }
.w-36 { width: 144px; }
.w-40 { width: 160px; }
.w-44 { width: 176px; }
.w-48 { width: 192px; }
.w-52 { width: 208px; }
.w-56 { width: 224px; }
.w-60 { width: 240px; }
.w-64 { width: 256px; }
.w-72 { width: 288px; }
.w-80 { width: 320px; }
.w-96 { width: 384px; }
.w-1\/2 { width: 50%; }
.w-1\/3 { width: 33.333333%; }
.w-2\/3 { width: 66.666667%; }
.w-1\/4 { width: 25%; }
.w-3\/4 { width: 75%; }
.w-1\/5 { width: 20%; }
.w-2\/5 { width: 40%; }
.w-3\/5 { width: 60%; }
.w-4\/5 { width: 80%; }
.w-1\/6 { width: 16.666667%; }
.w-5\/6 { width: 83.333333%; }

/* ==========================================================================
   TAILWIND-STYLE MAX-WIDTH UTILITIES
   ========================================================================== */
.max-w-none { max-width: none; }
.max-w-full { max-width: 100%; }
.max-w-min { max-width: min-content; }
.max-w-max { max-width: max-content; }
.max-w-fit { max-width: fit-content; }
.max-w-screen-sm { max-width: 576px; }
.max-w-screen-md { max-width: 768px; }
.max-w-screen-lg { max-width: 992px; }
.max-w-screen-xl { max-width: 1200px; }
.max-w-0 { max-width: 0; }
.max-w-px { max-width: 1px; }
.max-w-0_5 { max-width: 2px; }
.max-w-1 { max-width: 4px; }
.max-w-2 { max-width: 8px; }
.max-w-3 { max-width: 12px; }
.max-w-4 { max-width: 16px; }
.max-w-5 { max-width: 20px; }
.max-w-6 { max-width: 24px; }
.max-w-7 { max-width: 28px; }
.max-w-8 { max-width: 32px; }
.max-w-9 { max-width: 36px; }
.max-w-10 { max-width: 40px; }
.max-w-12 { max-width: 48px; }
.max-w-14 { max-width: 56px; }
.max-w-16 { max-width: 64px; }
.max-w-20 { max-width: 80px; }
.max-w-24 { max-width: 96px; }
.max-w-28 { max-width: 112px; }
.max-w-32 { max-width: 128px; }
.max-w-36 { max-width: 144px; }
.max-w-40 { max-width: 160px; }
.max-w-44 { max-width: 176px; }
.max-w-48 { max-width: 192px; }
.max-w-52 { max-width: 208px; }
.max-w-56 { max-width: 224px; }
.max-w-60 { max-width: 240px; }
.max-w-64 { max-width: 256px; }
.max-w-72 { max-width: 288px; }
.max-w-80 { max-width: 320px; }
.max-w-96 { max-width: 384px; }
.max-w-xs { max-width: 320px; }
.max-w-sm { max-width: 384px; }
.max-w-md { max-width: 448px; }
.max-w-lg { max-width: 512px; }
.max-w-xl { max-width: 576px; }
.max-w-2xl { max-width: 672px; }
.max-w-3xl { max-width: 768px; }
.max-w-4xl { max-width: 896px; }
.max-w-5xl { max-width: 1024px; }
.max-w-6xl { max-width: 1152px; }
.max-w-7xl { max-width: 1280px; }

/* ==========================================================================
   TAILWIND-STYLE MAX-HEIGHT UTILITIES
   ========================================================================== */
.max-h-none { max-height: none; }
.max-h-full { max-height: 100%; }
.max-h-screen { max-height: 100vh; }
.max-h-min { max-height: min-content; }
.max-h-max { max-height: max-content; }
.max-h-fit { max-height: fit-content; }
.max-h-0 { max-height: 0; }
.max-h-px { max-height: 1px; }
.max-h-0_5 { max-height: 2px; }
.max-h-1 { max-height: 4px; }
.max-h-2 { max-height: 8px; }
.max-h-3 { max-height: 12px; }
.max-h-4 { max-height: 16px; }
.max-h-5 { max-height: 20px; }
.max-h-6 { max-height: 24px; }
.max-h-7 { max-height: 28px; }
.max-h-8 { max-height: 32px; }
.max-h-9 { max-height: 36px; }
.max-h-10 { max-height: 40px; }
.max-h-12 { max-height: 48px; }
.max-h-14 { max-height: 56px; }
.max-h-16 { max-height: 64px; }
.max-h-20 { max-height: 80px; }
.max-h-24 { max-height: 96px; }
.max-h-28 { max-height: 112px; }
.max-h-32 { max-height: 128px; }
.max-h-36 { max-height: 144px; }
.max-h-40 { max-height: 160px; }
.max-h-44 { max-height: 176px; }
.max-h-48 { max-height: 192px; }
.max-h-52 { max-height: 208px; }
.max-h-56 { max-height: 224px; }
.max-h-60 { max-height: 240px; }
.max-h-64 { max-height: 256px; }
.max-h-72 { max-height: 288px; }
.max-h-80 { max-height: 320px; }
.max-h-96 { max-height: 384px; }

/* ==========================================================================
   HEX COLOR FILL UTILITIES (for SVG fills)
   ========================================================================== */
.fill-none { fill: none; }
.fill-current { fill: currentColor; }
.fill-white { fill: #fff; }
.fill-black { fill: #000; }
.fill-transparent { fill: transparent; }
.fill-primary { fill: var(--color-brand-primary); }
.fill-primary-hover { fill: var(--color-brand-primary-hover); }
.fill-primary-light { fill: var(--color-brand-primary-light); }
.fill-secondary { fill: var(--color-brand-secondary); }
.fill-error { fill: var(--color-aws-alert-error); }
.fill-success { fill: var(--color-aws-alert-success); }
.fill-dark { fill: var(--color-text-dark); }
.fill-charcoal { fill: var(--color-text-charcoal); }
.fill-muted { fill: var(--color-text-muted); }

a, a:hover { text-decoration: none; }

button { cursor: pointer; }

input:not([type="button"]):not([type="submit"]):not([type="reset"]):read-only,
input:not([type="button"]):not([type="submit"]):not([type="reset"]):disabled,
textarea:read-only, textarea:disabled,
select:disabled {
  background: #f0f0f0;
}
