/*
 * Copyright 2020 Adobe. All rights reserved.
 * This file is licensed to you under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License. You may obtain a copy
 * of the License at http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under
 * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
 * OF ANY KIND, either express or implied. See the License for the specific language
 * governing permissions and limitations under the License.
 */

 :root {
  /* basic/reusable colors */
  --white: #fff;
  --black: #000;
  --danger: #dc3545;
  --light-blue: #4ca4d5;
  
  /* Brand Colors with highlights and lowlights */
  --brand-color-primary-lowlight: #342590;  /* Darker shade */
  --brand-color-primary: #4734c5;           /* Main primary */
  --brand-color-primary-highlight: #6b5ad4; /* Lighter shade */
  
  --brand-color-secondary-lowlight: #6b64c7; /* Darker shade */
  --brand-color-secondary: #8c85da;         /* Main secondary */
  --brand-color-secondary-highlight: #ada8e7; /* Lighter shade */
  
  --brand-color-tertiary-lowlight: #838a9c; /* Darker shade */
  --brand-color-tertiary: #a3aab9;          /* Main tertiary */
  --brand-color-tertiary-highlight: #c3c8d2; /* Lighter shade */
  
  /* Legacy brand color mappings for compatibility */
  --brand-color-primary-1: var(--brand-color-primary);
  --brand-color-primary-2: var(--brand-color-primary-highlight);
  --brand-color-secondary-1: var(--brand-color-secondary);
  --brand-color-secondary-2: var(--brand-color-secondary-highlight);
  
  /* Light mode colors (default) */
  --light-color: #f7f8f9;
  --dark-color: #ccc;
  --darker-color: #818181;
  --darkest-color: #5e5e5e;
  --transparent-black: rgba(0 0 0 / 26%);
  --small-transparent-black: rgba(0 0 0 / 30%);
  --text-color: #232323;
  --light-text-color: var(--white);
  --light-link-color: var(--white);
  --background-color: var(--white);
  --surface-color: #f7f8f9;

  /* Colors - Functional Aliases */
  --color-primary: var(--brand-color-primary);
  --color-primary-hover: var(--brand-color-primary-highlight);
  --color-secondary: var(--brand-color-secondary);
  --color-secondary-hover: var(--brand-color-secondary-highlight);
  --color-tertiary: var(--brand-color-tertiary);
  --color-tertiary-hover: var(--brand-color-tertiary-highlight);
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: var(--danger);
  --color-info: var(--light-blue);

  /* icons */
  --brand-link-secondary-icon: "\e0c8";
  --brand-link-search-icon: "\e0c8";

  /* fonts */
  --body-font-family: arial, sans-serif;
  --heading-font-family: var(--body-font-family);
  --fixed-font-family: 'Roboto Mono', menlo, consolas, 'Liberation Mono', monospace;

  /* body sizes */
  --body-font-size-xl: 24px;
  --body-font-size-l: 20px;
  --body-font-size-m: 16px;
  --body-font-size-xm: 14px;
  --body-font-size-s-plus: 13px;
  --body-font-size-s: 12px;
  --body-font-size-xs: 10px;

  /* heading sizes */
  --heading-font-size-xxxl: 2.75rem;
  --heading-font-size-xxl-plus: 2.625rem;
  --heading-font-size-xxl: 2.5rem;
  --heading-font-size-xl: 2.1875rem;
  --heading-font-size-xl-s: 2rem;
  --heading-font-size-l-plus: 1.5rem;
  --heading-font-size-l: 1.25rem;
  --heading-font-size-xm: 1.15rem;
  --heading-font-size-m: 1rem;
  --heading-font-size-s: 0.75rem;
  --heading-font-size-xs: 0.5rem;

  /* Spacing Scale */
  --space-0: 0;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Standardized breakpoints */
  --screen-xs: 600px;
  --screen-sm: 768px;
  --screen-md: 992px;
  --screen-lg: 1200px;
  --screen-xl: 1440px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 5%);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 10%);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 10%);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 10%);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 10%);

  /* Border Radius */
  --radius-none: 0;
  --radius-sm: 0.125rem;
  --radius: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-full: 9999px;

  /* Site Content Width */
  --content-fixed-width: 1440px;
  --header-fixed-width: 1440px;
  --max-width-small: 720px;
  --max-width-medium: 960px;
  --max-width-large: 1180px;

  /* Header Height Variables for Anchor Link Offsets */
  --header-offset: 120px;
  --header-offset-desktop: 120px;
  --header-offset-mobile: 60px;
}

/* Dark mode colors when body has 'dark' class */
body.dark {
  --text-color: #e5e5e5;
  --background-color: #1a1a1a;
  --surface-color: #2d2d2d;
  --light-color: #2d2d2d;
  --dark-color: #666;
  --darker-color: #999;
  --darkest-color: #ccc;
  --transparent-black: rgba(255 255 255 / 10%);
  --small-transparent-black: rgba(255 255 255 / 15%);
  
  /* Dark mode brand color adjustments for better visibility */
  --brand-color-primary-lowlight: #5e4bdb;
  --brand-color-primary: #7b6be4;
  --brand-color-primary-highlight: #9888ec;
  
  --brand-color-secondary-lowlight: #9f99e3;
  --brand-color-secondary: #b5b0ec;
  --brand-color-secondary-highlight: #cbc7f4;
  
  --brand-color-tertiary-lowlight: #b1b7c4;
  --brand-color-tertiary: #c5cad4;
  --brand-color-tertiary-highlight: #d9dde3;
  
  /* Additional dark mode overrides */
  --link-color: var(--brand-color-primary);
  --link-hover-color: var(--brand-color-primary-highlight);
  --back-to-top-button: #333;
  --back-to-top-button-hover: #555;
  --site-focus-color: var(--brand-color-primary);
}

/* Light mode colors when body has 'light' class (same as defaults) */
body.light {
  --text-color: #232323;
  --background-color: var(--white);
  --surface-color: #f7f8f9;
  --light-color: #f7f8f9;
  --dark-color: #ccc;
  --darker-color: #818181;
  --darkest-color: #5e5e5e;
  --transparent-black: rgba(0 0 0 / 26%);
  --small-transparent-black: rgba(0 0 0 / 30%);
  
  /* Light mode brand colors (same as root defaults) */
  --brand-color-primary-lowlight: #342590;
  --brand-color-primary: #4734c5;
  --brand-color-primary-highlight: #6b5ad4;
  
  --brand-color-secondary-lowlight: #6b64c7;
  --brand-color-secondary: #8c85da;
  --brand-color-secondary-highlight: #ada8e7;
  
  --brand-color-tertiary-lowlight: #838a9c;
  --brand-color-tertiary: #a3aab9;
  --brand-color-tertiary-highlight: #c3c8d2;
}

@font-face {
  font-family: work-sans;
  size-adjust: 115%;
  ascent-override: 92%;
  src: local("Arial");
}

@font-face {
  font-family: work-sans;
  size-adjust: 110%;
  ascent-override: 92%;
  font-weight: 700;
  src: local("Arial");
}

@font-face {
  font-family: 'Material Icons';
  src: url('../fonts/MaterialIcons-Regular.woff2') format('woff2');
  font-display: block; /* Use block to prevent FOUC */
  font-style: normal;
}

html {
    scroll-behavior: smooth;
    text-size-adjust: none;
    /* stylelint-disable-next-line */
    -moz-text-size-adjust: none;
    /* stylelint-disable-next-line */
    -webkit-text-size-adjust: none;
}

body {
  font-size: var(--body-font-size-m);
  margin: 0;
  font-family: var(--body-font-family);
  line-height: var(--text-line-height, normal);
  color: var(--text-color);
  background-color: var(--background-color);
  display: none;
}

body.appear {
  display: block;
}

/* Anchor link offset to account for sticky/fixed header */
:target {
  scroll-margin-block-start: var(--header-offset, 120px);
}

/* Desktop header offset - accounts for sticky header */
@media (width > 1024px) {
  :target {
    scroll-margin-block-start: var(--header-offset-desktop, 120px);
  }
}

/* Mobile header offset - accounts for fixed header positioning */
@media (width <= 1024px) {
  :target {
    scroll-margin-block-start: var(--header-offset-mobile, 60px);
  }
}

h1, h2, h3,
h4, h5, h6 {
  font-family: var(--heading-font-family);
  font-weight: var(--font-normal);
  line-height: 1.25;
  margin-top: 1em;
  margin-bottom: .5em;
}

h1 { 
  font-size: var(--heading-font-size-xxl);
}

h2 { 
  font-size: var(--heading-font-size-xl);
  line-height: 1.25;
  margin-top: 1em;
  margin-bottom: .5em;
  
}

h3 { 
  color: var(--h3-color, var(--text-color));
  font-size: var(--heading-font-size-xl-s);
  margin-bottom: .75rem;
}

h4 { 
  color: var(--h4-color, var(--text-color));
  font-size: var(--heading-font-size-l-plus);
}

h5 {
  color: var(--h5-color, var(--text-color));
  font-size: var(--heading-font-size-s);
  margin-bottom: 1.5rem;
}

h6 { 
  color: var(--h6-color, var(--text-color));
  font-size: var(--heading-font-size-xs) 
}

p, dl, ol, ul, pre, blockquote {
  margin-top: 1em;
  margin-bottom: 1em;
  overflow-wrap: break-word;
}

code, pre {
  font-family: var(--fixed-font-family);
  font-size: var(--body-font-size-s);
}

code {
  padding: .125em;
}

pre {
  overflow: scroll;
}

main pre {
  background-color: var(--light-color);
  padding: 1em;
  border-radius: .25em;
  overflow-x: auto;
  white-space: pre;
}

body.dark main pre {
  background-color: var(--surface-color);
  color: var(--text-color);
}

/* links */
a {
  color: var(--link-color, #0078bd);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: var(--link-hover-color,  #12175e);
}

a.external-link:hover span {
  text-decoration: underline;
}

a.external-link::after {
  position: relative;
  top: 2px;
  left: 3px;
  font-family: "Material Icons", sans-serif;
  content: "\e89e";
  line-height: 1;
}

.back-to-top {
  display: inline-block;
  background-color: var(--back-to-top-button, var(--brand-color-primary-1));
  border: 2px solid var(--back-to-top-button, var(--brand-color-primary-1));
  color: transparent;
  width: 45px;
  height: 45px;
  text-align: center;
  border-radius: 2px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color .3s, opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  transform: translateY(100px) scale(0.8);
}

.back-to-top i {
  color: var(--back-to-top-icon, var(--white));
  display: block;
  font-size: 28px;
  transition: transform .3s ease;
}

.back-to-top:hover {
  background-color: var(--back-to-top-button-hover, var(--text-color));
  border-color: var(--back-to-top-button-hover, var(--text-color));
  transform: translateY(0) scale(1.1);
}

.back-to-top:hover i {
  transform: translateY(0) scale(1.2);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

a.skip-main {
  left: -999px;
  position: absolute;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: -999;
}

/* buttons */
button {
  border: none;
  font: inherit;
  background: none;
  padding: 0;
  cursor: pointer;
}

.button {
  font-family: var(--body-font-family);
  font-size: var(--body-font-size-m);
  display: inline-flex;
  align-items: baseline;
  box-sizing: border-box;
  text-decoration: none;
  border: 0;
  padding: 15px 30px;
  text-align: center;
  font-style: normal;
  font-weight: 700;
  cursor: pointer;
  color: var(--background-color);
  background-color: var(--brand-color-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: var(--radius-full);
  transition: background-color 0.3s ease;
}

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: var(--site-focus-color, var(--brand-color-secondary-2)) auto 1px;
}

.button:hover,
.button:focus-visible {
  background-color: var(--brand-color-primary-highlight);
  text-decoration: none;
  color: var(--background-color);
  cursor: pointer;
}

button:disabled, button:disabled:hover {
  background-color: var(--light-color);
  cursor: unset;
}

.button.primary {
  background-color: var(--brand-color-primary);
  color: var(--button-primary-text-color, var(--white));
}

.button.primary:hover,
.button.primary:focus-visible{
  background-color: var(--brand-color-primary-highlight);
}

/* Removed default pin icon from primary buttons */
/* .button.primary::before rule has been removed */

.button.secondary{
 background-color: var(--brand-color-secondary);
}

.button.secondary:hover,
.button.secondary:focus-visible{
  background-color: var(--brand-color-secondary-highlight);
}

.button.tertiary{
 background-color: var(--brand-color-tertiary);
}

.button.tertiary:hover,
.button.tertiary:focus-visible{
  background-color: var(--brand-color-tertiary-highlight);
}

img {
  font-style: italic;
  height: auto;
  max-width: 100%;
  vertical-align: middle;
}

.icon {
  display: inline-block;
  width: 1rem;
  margin: 5px;
}

/* Prevent FOUC for Material Icons */
.icon::before {
  font-family: 'Material Icons', sans-serif;
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
}

.icon img {
 vertical-align: text-top;
 filter: var(--social-icon-color)
}


/* sections */
.section {
  margin-inline: auto;
}

.section:not(:where(.hero-container, .product-hero-container)) {
  margin-block: 3rem;
}

.section:empty {
  display: none;
}

main > .section:first-of-type {
  margin-block: 0;
}

.section > div {
  padding-inline: .8rem;
  max-width: var(--content-fixed-width);
  margin-inline: auto;
}

.section.full-width > div {
  max-width: unset;
  padding-inline: 0;
}

.section.content-full-width > div {
  max-width: unset;
  padding-inline: 0;
}

.section.has-bg-image {
  background-image: linear-gradient(rgb(255 255 255 / 80%), rgb(255 255 255 / 80%)), var(--bg-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  margin-block: 0;
  padding-block: 2rem;
}

.section[class*='bg-color'] {
  margin-block: 0;
  padding-block: 2rem;
}

/* Section Styles */

.section.center-default-text .default-content-wrapper {
  text-align: center;
}

/* Heading-only text alignment classes for sections */
.section.heading-left h1,
.section.heading-left h2,
.section.heading-left h3,
.section.heading-left h4,
.section.heading-left h5,
.section.heading-left h6 {
  text-align: left !important;
}

.section.heading-center h1,
.section.heading-center h2,
.section.heading-center h3,
.section.heading-center h4,
.section.heading-center h5,
.section.heading-center h6 {
  text-align: center !important;
}

.section.heading-right h1,
.section.heading-right h2,
.section.heading-right h3,
.section.heading-right h4,
.section.heading-right h5,
.section.heading-right h6 {
  text-align: right !important;
}


.section.center-images picture {
  display: flex;
  justify-content: center;
}

.section.inline-buttons .button-container {
  display: inline-flex;
}


.section.margin-bottom-small {
  margin-bottom: 2.5rem;
}

.section.margin-bottom-off {
  margin-bottom: 0;
}

.section.margin-top-small {
  margin-top: 2.5rem;
}

.section.margin-top-off {
  margin-top: 0;
}

.section.blog-content {
  max-width: 950px;
}

/* Section BG Colors */

.bg-color-light-blue {
  background-color: var(--bg-color-light-blue);
}

.bg-well-royal-blue {
  background-color: var(--bg-well-royal-blue, #035fe6);
  max-width: var(--content-fixed-width);
  max-height: 900px;
  padding-bottom: 20px;
  padding-top: 10px;
}

.bg-well-royal-blue h2{
  color: var(--white);
  font-size: var(--heading-font-size-l-plus);
  padding: 0 60px;
  margin-bottom: 0;
  padding-bottom: 0;
  margin-top: 10px;
  width: auto;
}

.bg-well-royal-blue p a{
  font-family: var(--body-font-family);
  font-size: var(--heading-font-size-m);
  text-decoration: underline;
  color: var(--white);
  padding: 0 100px;
  margin-top: 0;
  display: block;
  width: auto;
  row-gap: 0;
  line-height: 1;
}

.bg-well-royal-blue p a:last-child {
  margin-bottom: 0;
}

.bg-well-royal-blue p {
  margin-top: 8px;
  margin-bottom: 8px;
}

.bg-well-blue {
  background-color: var(--bg-well-blue, #136ff6);
  max-width: var(--content-fixed-width);
  margin-bottom: 0;
  padding-top: 35px;
  padding-bottom: 35px;
}

.bg-well-blue .columns-img-col {
  height: auto;
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
} 

.bg-well-blue .columns-img-col picture {
  display: grid;
  justify-content: center;
}

.bg-well-blue h3{
  width: auto;
  color: var(--white);
  padding-right: 80px;
  font-size: var(--heading-font-size-xl);
  margin-bottom: 5px;
}

.bg-well-blue p {
  width: auto;
  color: var(--white);
  margin-top: 5px;
  margin-left: 0;
}

.bg-well-red {
  background-color: var(--bg-well-red, var(--danger));
  max-width: var(--content-fixed-width);
  margin-top: 0;
  padding-top: 35px;
  padding-bottom: 35px;
}

.bg-well-red .columns-img-col {
  height: auto;
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
} 

.bg-well-red .columns-img-col picture {
  display: grid;
  justify-content: center;
}

.bg-well-red h3{
  width: auto;
  color: var(--white);
  font-size: var(--heading-font-size-xl);
  margin-bottom: 5px;
}

.bg-well-red p {
  width: auto;
  color: var(--white);
  margin-top: 5px;
}

@media (width >= 900px) {
  .article img {
    width: 419px;
  }
}

.modal-wrapper .columns-wrapper {
  padding: 0 24px;
}


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Loader */
.loader {
  display: block;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #6c757d;
  width: 5.5rem;
  height: 5.5rem;
  animation: rotate 2s linear infinite;
  text-align: center;
  margin: 2rem auto;
}

/* Dark mode loader */
body.dark .loader {
  border-color: #333;
  border-top-color: #999;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    opacity: 0.6;
  }
  
  50% {
    opacity: 0.8;
  }
  
  100% {
    opacity: 0.6;
  }
}

/* A header skeleton styles while we wait for the header to load */
header {
  transition: opacity 0.2s ease-in-out;
}

header.header-skeleton {
  box-shadow: 0 2px 4px 0 var(--transparent-black);
  opacity: 0.8;
}

header.header-skeleton .skeleton-alert {
  min-height: 34px;
  background-color: var(--brand-color-secondary-2);
  animation: pulse 1.5s ease-in-out infinite;
}

header.header-skeleton .skeleton-utility {
  min-height: 45px;
  background-color: var(--brand-color-secondary-1);
  animation: pulse 1.5s ease-in-out infinite;
  animation-delay: 0.1s;
}

header.header-skeleton .skeleton-body {
  min-height: 86px;
  background-color: var(--background-color);
  animation: pulse 1.5s ease-in-out infinite;
  animation-delay: 0.2s;
}

.icpusa header.header-skeleton .skeleton-body {
  min-height: 123px;
  background-color: #004b85;
}

header.header-skeleton .skeleton-vertical-body {
  min-height: 47px;
  background-color: var(--background-color);
}

@media (width <= 1024px) {
  header.header-skeleton .skeleton-body {
    min-height: 50px;
  }

  header.header-skeleton .skeleton-utility {
    min-height: unset;
    background-color: var(--mobile-utiliry-bg-color, var(--white));
  }
}


/* Section Meatadata Created Play buttons throught the image modal link key. */
.has-play-button {
  position: relative;
}

.has-play-button .play-button-link {
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  max-width: 60px;
}

.has-play-button .play-button-link svg {
  width: 100%;
  height: 100%;
}

.has-play-button .play-button-link circle.bg-fill {
  fill: var(--play-button-color, rgb(0 120 189 / 50%)) !important;
}

.has-play-button .play-button-link:hover circle.bg-fill {
  fill: var(--play-button-hover-color, var(--brand-color-secondary-1)) !important;
}

.block[data-block-status="loading"] {
  display: none;
}

/* Utility Framework - Tailwind-style classes for AEM Edge Delivery */

/* Display Utilities */
.display-block { display: block !important; }
.inline-block { display: inline-block !important; }
.inline { display: inline !important; }
.flex { display: flex !important; }
.inline-flex { display: inline-flex !important; }
.grid { display: grid !important; }
.hidden { display: none !important; }

/* Flexbox Utilities */
.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-baseline { align-items: baseline; }
.items-stretch { align-items: stretch; }

/* Grid Utilities */
.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-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

/* Gap Utilities */
.gap-0 { gap: var(--space-0); }
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* Margin Utilities */
.m-0 { margin: var(--space-0) !important; }
.m-1 { margin: var(--space-1) !important; }
.m-2 { margin: var(--space-2) !important; }
.m-3 { margin: var(--space-3) !important; }
.m-4 { margin: var(--space-4) !important; }
.m-5 { margin: var(--space-5) !important; }
.m-6 { margin: var(--space-6) !important; }
.m-8 { margin: var(--space-8) !important; }
.m-auto { margin: auto !important; }

/* Margin Top */
.mt-0 { margin-top: var(--space-0) !important; }
.mt-1 { margin-top: var(--space-1) !important; }
.mt-2 { margin-top: var(--space-2) !important; }
.mt-3 { margin-top: var(--space-3) !important; }
.mt-4 { margin-top: var(--space-4) !important; }
.mt-5 { margin-top: var(--space-5) !important; }
.mt-6 { margin-top: var(--space-6) !important; }
.mt-8 { margin-top: var(--space-8) !important; }
.mt-auto { margin-top: auto !important; }

/* Margin Right */
.mr-0 { margin-right: var(--space-0) !important; }
.mr-1 { margin-right: var(--space-1) !important; }
.mr-2 { margin-right: var(--space-2) !important; }
.mr-3 { margin-right: var(--space-3) !important; }
.mr-4 { margin-right: var(--space-4) !important; }
.mr-5 { margin-right: var(--space-5) !important; }
.mr-6 { margin-right: var(--space-6) !important; }
.mr-8 { margin-right: var(--space-8) !important; }
.mr-auto { margin-right: auto !important; }

/* Margin Bottom */
.mb-0 { margin-bottom: var(--space-0) !important; }
.mb-1 { margin-bottom: var(--space-1) !important; }
.mb-2 { margin-bottom: var(--space-2) !important; }
.mb-3 { margin-bottom: var(--space-3) !important; }
.mb-4 { margin-bottom: var(--space-4) !important; }
.mb-5 { margin-bottom: var(--space-5) !important; }
.mb-6 { margin-bottom: var(--space-6) !important; }
.mb-8 { margin-bottom: var(--space-8) !important; }
.mb-auto { margin-bottom: auto !important; }

/* Margin Left */
.ml-0 { margin-left: var(--space-0) !important; }
.ml-1 { margin-left: var(--space-1) !important; }
.ml-2 { margin-left: var(--space-2) !important; }
.ml-3 { margin-left: var(--space-3) !important; }
.ml-4 { margin-left: var(--space-4) !important; }
.ml-5 { margin-left: var(--space-5) !important; }
.ml-6 { margin-left: var(--space-6) !important; }
.ml-8 { margin-left: var(--space-8) !important; }
.ml-auto { margin-left: auto !important; }

/* Margin X-axis */
.mx-0 {
  margin-left: var(--space-0) !important;
  margin-right: var(--space-0) !important;
}

.mx-1 {
  margin-left: var(--space-8) !important;
  margin-right: var(--space-8) !important;
}

.mx-2 {
  margin-left: var(--space-16) !important;
  margin-right: var(--space-16) !important;
}

.mx-3 {
  margin-left: var(--space-24) !important;
  margin-right: var(--space-24) !important;
}

.mx-4 {
  margin-left: var(--space-32) !important;
  margin-right: var(--space-32) !important;
}

.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Margin Y-axis */
.my-0 {
  margin-top: var(--space-0) !important;
  margin-bottom: var(--space-0) !important;
}

.my-1 {
  margin-top: var(--space-8) !important;
  margin-bottom: var(--space-8) !important;
}

.my-2 {
  margin-top: var(--space-16) !important;
  margin-bottom: var(--space-16) !important;
}

.my-3 {
  margin-top: var(--space-24) !important;
  margin-bottom: var(--space-24) !important;
}

.my-4 {
  margin-top: var(--space-32) !important;
  margin-bottom: var(--space-32) !important;
}

.my-auto {
  margin-top: auto !important;
  margin-bottom: auto !important;
}

/* Padding Utilities */
.p-0 { padding: var(--space-0) !important; }
.p-1 { padding: var(--space-1) !important; }
.p-2 { padding: var(--space-2) !important; }
.p-3 { padding: var(--space-3) !important; }
.p-4 { padding: var(--space-4) !important; }
.p-5 { padding: var(--space-5) !important; }
.p-6 { padding: var(--space-6) !important; }
.p-8 { padding: var(--space-8) !important; }

/* Padding Top */
.pt-0 { padding-top: var(--space-0) !important; }
.pt-1 { padding-top: var(--space-1) !important; }
.pt-2 { padding-top: var(--space-2) !important; }
.pt-3 { padding-top: var(--space-3) !important; }
.pt-4 { padding-top: var(--space-4) !important; }
.pt-5 { padding-top: var(--space-5) !important; }
.pt-6 { padding-top: var(--space-6) !important; }
.pt-8 { padding-top: var(--space-8) !important; }

/* Padding Right */
.pr-0 { padding-right: var(--space-0) !important; }
.pr-1 { padding-right: var(--space-1) !important; }
.pr-2 { padding-right: var(--space-2) !important; }
.pr-3 { padding-right: var(--space-3) !important; }
.pr-4 { padding-right: var(--space-4) !important; }
.pr-5 { padding-right: var(--space-5) !important; }
.pr-6 { padding-right: var(--space-6) !important; }
.pr-8 { padding-right: var(--space-8) !important; }

/* Padding Bottom */
.pb-0 { padding-bottom: var(--space-0) !important; }
.pb-1 { padding-bottom: var(--space-1) !important; }
.pb-2 { padding-bottom: var(--space-2) !important; }
.pb-3 { padding-bottom: var(--space-3) !important; }
.pb-4 { padding-bottom: var(--space-4) !important; }
.pb-5 { padding-bottom: var(--space-5) !important; }
.pb-6 { padding-bottom: var(--space-6) !important; }
.pb-8 { padding-bottom: var(--space-8) !important; }

/* Padding Left */
.pl-0 { padding-left: var(--space-0) !important; }
.pl-1 { padding-left: var(--space-1) !important; }
.pl-2 { padding-left: var(--space-2) !important; }
.pl-3 { padding-left: var(--space-3) !important; }
.pl-4 { padding-left: var(--space-4) !important; }
.pl-5 { padding-left: var(--space-5) !important; }
.pl-6 { padding-left: var(--space-6) !important; }
.pl-8 { padding-left: var(--space-8) !important; }

/* Padding X-axis */
.px-0 {
  padding-left: var(--space-0) !important;
  padding-right: var(--space-0) !important;
}

.px-1 {
  padding-left: var(--space-8) !important;
  padding-right: var(--space-8) !important;
}

.px-2 {
  padding-left: var(--space-16) !important;
  padding-right: var(--space-16) !important;
}

.px-3 {
  padding-left: var(--space-24) !important;
  padding-right: var(--space-24) !important;
}

.px-4 {
  padding-left: var(--space-32) !important;
  padding-right: var(--space-32) !important;
}

/* Padding Y-axis */
.py-0 {
  padding-top: var(--space-0) !important;
  padding-bottom: var(--space-0) !important;
}

.py-1 {
  padding-top: var(--space-8) !important;
  padding-bottom: var(--space-8) !important;
}

.py-2 {
  padding-top: var(--space-16) !important;
  padding-bottom: var(--space-16) !important;
}

.py-3 {
  padding-top: var(--space-24) !important;
  padding-bottom: var(--space-24) !important;
}

.py-4 {
  padding-top: var(--space-32) !important;
  padding-bottom: var(--space-32) !important;
}

/* Position Utilities */
.static { position: static !important; }
.relative { position: relative !important; }
.absolute { position: absolute !important; }
.fixed { position: fixed !important; }
.sticky { position: sticky !important; }

/* Width Utilities */
.w-full { width: 100% !important; }
.w-screen { width: var(--content-fixed-width) !important; }
.w-auto { width: auto !important; }
.w-25 { width: 25% !important; }
.w-33 { width: 33.3333% !important; }
.w-50 { width: 50% !important; }
.w-66 { width: 66.6667% !important; }
.w-75 { width: 75% !important; }

/* Height Utilities */
.h-full { height: 100% !important; }
.h-screen { height: 100vh !important; }
.h-auto { height: auto !important; }

/* Typography - Font Size */
.text-xs { font-size: var(--body-font-size-xs) !important; }
.text-sm { font-size: var(--body-font-size-s) !important; }
.text-base { font-size: var(--body-font-size-m) !important; }
.text-lg { font-size: var(--body-font-size-l) !important; }
.text-xl { font-size: var(--body-font-size-xl) !important; }
.text-2xl { font-size: var(--heading-font-size-l) !important; }
.text-3xl { font-size: var(--heading-font-size-xl) !important; }
.text-4xl { font-size: var(--heading-font-size-xxl) !important; }

/* Typography - Font Weight */
.font-thin { font-weight: 100 !important; }
.font-light { font-weight: 300 !important; }
.font-normal { font-weight: 400 !important; }
.font-medium { font-weight: 500 !important; }
.font-semibold { font-weight: 600 !important; }
.font-bold { font-weight: 700 !important; }

/* Typography - Text Alignment */
.text-left { text-align: left !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.text-justify { text-align: justify !important; }

/* Typography - Text Color */
.text-primary { color: var(--color-primary) !important; }
.text-secondary { color: var(--color-secondary) !important; }
.text-tertiary { color: var(--color-tertiary) !important; }
.text-white { color: var(--white) !important; }
.text-black { color: var(--black) !important; }
.text-gray-500 { color: var(--darker-color) !important; }
.text-gray-600 { color: var(--darkest-color) !important; }

/* Background Colors */
.bg-primary { background-color: var(--color-primary) !important; }
.bg-secondary { background-color: var(--color-secondary) !important; }
.bg-tertiary { background-color: var(--color-tertiary) !important; }
.bg-white { background-color: var(--white) !important; }
.bg-black { background-color: var(--black) !important; }
.bg-gray-100 { background-color: var(--light-color) !important; }
.bg-gray-200 { background-color: var(--dark-color) !important; }
.bg-transparent { background-color: transparent !important; }

/* Border Utilities */
.border { border-width: 1px !important; }
.border-0 { border-width: 0 !important; }
.border-2 { border-width: 2px !important; }
.border-4 { border-width: 4px !important; }
.border-solid { border-style: solid !important; }
.border-dashed { border-style: dashed !important; }
.border-dotted { border-style: dotted !important; }
.border-none { border-style: none !important; }

/* Border Colors */
.border-primary { border-color: var(--color-primary) !important; }
.border-secondary { border-color: var(--color-secondary) !important; }
.border-gray-200 { border-color: var(--dark-color) !important; }
.border-gray-300 { border-color: var(--darker-color) !important; }

/* Border Radius */
.rounded-none { border-radius: var(--radius-none) !important; }
.rounded-sm { border-radius: var(--radius-sm) !important; }
.rounded { border-radius: var(--radius) !important; }
.rounded-md { border-radius: var(--radius-md) !important; }
.rounded-lg { border-radius: var(--radius-lg) !important; }
.rounded-xl { border-radius: var(--radius-xl) !important; }
.rounded-2xl { border-radius: var(--radius-2xl) !important; }
.rounded-full { border-radius: var(--radius-full) !important; }

/* Shadow Utilities */
.shadow-none { box-shadow: none !important; }
.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow { box-shadow: var(--shadow) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.shadow-xl { box-shadow: var(--shadow-xl) !important; }

/* Opacity Utilities */
.opacity-0 { opacity: 0 !important; }
.opacity-25 { opacity: 0.25 !important; }
.opacity-50 { opacity: 0.5 !important; }
.opacity-75 { opacity: 0.75 !important; }
.opacity-100 { opacity: 1 !important; }

/* Overflow Utilities */
.overflow-auto { overflow: auto !important; }
.overflow-hidden { overflow: hidden !important; }
.overflow-visible { overflow: visible !important; }
.overflow-scroll { overflow: scroll !important; }
.overflow-x-auto { overflow-x: auto !important; }
.overflow-y-auto { overflow-y: auto !important; }

/* Z-Index Utilities */
.z-0 { z-index: 0 !important; }
.z-10 { z-index: 10 !important; }
.z-20 { z-index: 20 !important; }
.z-30 { z-index: 30 !important; }
.z-40 { z-index: 40 !important; }
.z-50 { z-index: 50 !important; }
.z-auto { z-index: auto !important; }

/* Cursor Utilities */
.cursor-auto { cursor: auto; }
.cursor-default { cursor: default; }
.cursor-pointer { cursor: pointer; }
.cursor-wait { cursor: wait; }
.cursor-move { cursor: move; }
.cursor-not-allowed { cursor: not-allowed; }

/* Dark Mode Utilities */
body.dark .dark\:bg-gray-900 { background-color: #111827 !important; }
body.dark .dark\:text-white { color: #fff !important; }
body.dark .dark\:border-gray-700 { border-color: #374151 !important; }

/* Responsive Utilities */
@media (width >= 600px) {
  .xs\:flex { display: flex; }
  .xs\:hidden { display: none; }
  .xs\:block { display: block; }
}

@media (width >= 768px) {
  .sm\:flex { display: flex; }
  .sm\:hidden { display: none; }
  .sm\:block { display: block; }
  .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\:text-lg { font-size: var(--body-font-size-l); }
  .sm\:p-6 { padding: var(--space-6); }
}

@media (width >= 992px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:block { display: block; }
  .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\:text-xl { font-size: var(--body-font-size-xl); }
  .md\:text-2xl { font-size: var(--heading-font-size-l); }
  .md\:py-24 {
    padding-top: var(--space-24);
    padding-bottom: var(--space-24);
  }
  .md\:rounded-lg { border-radius: var(--radius-lg); }
}

@media (width >= 1200px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:block { display: block; }
  .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\:w-50 { width: 50%; }
  .lg\:text-3xl { font-size: var(--heading-font-size-xl); }
}

@media (width >= 1440px) {
  .xl\:flex { display: flex; }
  .xl\:hidden { display: none; }
  .xl\:block { display: block; }
  .xl\:text-2xl { font-size: var(--heading-font-size-l); }
  .xl\:text-4xl { font-size: var(--heading-font-size-xxl); }
}

/* State Modifiers */
.hover\:bg-primary:hover { background-color: var(--color-primary-hover) !important; }
.hover\:text-white:hover { color: var(--white) !important; }
.hover\:opacity-75:hover { opacity: 0.75 !important; }
.focus\:outline-none:focus { outline: 0 !important; }
.focus\:ring-2:focus { 
  outline: 2px solid transparent !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 2px var(--color-primary) !important;
}
.disabled\:opacity-50:disabled { opacity: 0.5 !important; }
.disabled\:cursor-not-allowed:disabled { cursor: not-allowed !important; }
