/* ==========================================================================
   MDS Prototype Shared Styles
   Approximates the movementdisorders.org visual language
   ========================================================================== */

/* --- Google Fonts (Lato — MDS primary typeface) --- */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* MDS Brand Colors (from vars.css) */
  --mds-brand-primary:       #AF2626;  /* MDS Red */
  --mds-brand-primary-hover: #7D0D0D;  /* Darker red */
  --mds-brand-secondary:     #136294;  /* Blue */
  --mds-white:       #ffffff;
  --mds-off-white:   #EFEFEB;   /* --color-light */
  --mds-gray-50:     #EFEFEB;
  --mds-gray-100:    #DEDED7;   /* --color-medium-light */
  --mds-gray-200:    #DEDED7;
  --mds-gray-300:    #C7C8C3;   /* --color-light-medium */
  --mds-gray-400:    #70705A;   /* --color-medium */
  --mds-gray-500:    #666666;
  --mds-gray-600:    #555555;   /* --color-dark */
  --mds-gray-700:    #444444;
  --mds-gray-800:    #333333;
  --mds-text:        #444444;   /* --color-text-dark */
  --mds-text-light:  #555555;
  --mds-text-muted:  #666666;   /* --color-text-medium */
  --mds-link:        #AF2626;   /* brand-primary for links */
  --mds-link-hover:  #7D0D0D;   /* brand-primary-hover */
  --mds-border:      #DEDED7;
  --mds-success:     #377852;   /* European green, closest MDS green */
  --mds-warning:     #d97706;
  --mds-error:       #AF2626;
  --mds-info:        #136294;

  /* Regional colors */
  --mds-pan-american: #0F8484;
  --mds-european:     #377852;
  --mds-africa:       #8c4975;
  --mds-asia:         #256ba4;

  /* Spacing */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Typography */
  --font-sans: 'Lato', Arial, Helvetica, sans-serif;
  --font-size-xs:   13px;   /* --fontsize-secondary: 1.3rem */
  --font-size-sm:   13px;
  --font-size-base: 16px;   /* --fontsize-primary: 1.6rem */
  --font-size-md:   16px;
  --font-size-lg:   18px;   /* h4 size */
  --font-size-xl:   22px;   /* h3 size */
  --font-size-2xl:  26px;   /* h2 size */
  --font-size-3xl:  32px;   /* h1 size */

  /* Layout */
  --content-max-width: 1175px;  /* --siteBoundsWidth */
  --header-height: 64px;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--mds-text);
  background: var(--mds-white);
  line-height: 1.4;   /* --lineheight-titanBody */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--mds-link);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--mds-link-hover);
  text-decoration: underline;
}

img { max-width: 100%; }

/* ==========================================================================
   HEADER
   ========================================================================== */

.mds-header {
  background: var(--mds-white);
  color: var(--mds-text);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--mds-brand-primary);
  box-shadow: 0 3px 6px rgba(0,0,0,0.16);  /* --standard-box-shadow */
}

.mds-header-inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.mds-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--mds-text);
  flex-shrink: 0;
}
.mds-logo:hover {
  color: var(--mds-text);
  text-decoration: none;
}

.mds-logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.mds-nav {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.mds-nav li a {
  color: var(--mds-text);
  font-size: var(--font-size-base);
  font-weight: 700;
  padding: 0 14px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.mds-nav li a:hover {
  color: var(--mds-brand-primary);
  background: var(--mds-off-white);
  text-decoration: none;
}

.mds-header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
}

.mds-user-info {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  color: var(--mds-text);
}

.mds-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--mds-brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--mds-white);
}

.mds-member-badge {
  background: var(--mds-brand-primary);
  color: var(--mds-white);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 4px;
}

.mds-header-link {
  color: var(--mds-text) !important;
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-decoration: none !important;
  padding: 6px 12px;
  border-radius: 4px;
  transition: all 0.1s ease;
}
.mds-header-link:hover {
  color: var(--mds-brand-primary) !important;
  text-decoration: underline !important;
}
.mds-header-link--primary {
  background: var(--mds-brand-primary);
  color: var(--mds-white) !important;
  border: 2px solid var(--mds-brand-primary);
}
.mds-header-link--primary:hover {
  background: var(--mds-white);
  color: var(--mds-brand-primary) !important;
  text-decoration: none !important;
}

/* ==========================================================================
   MAIN CONTENT AREA
   ========================================================================== */

.mds-main {
  flex: 1;
  background: var(--mds-off-white);  /* #EFEFEB — MDS light */
}

.mds-content {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
}

/* ==========================================================================
   SEARCH COMPONENT
   ========================================================================== */

.mds-search-container {
  max-width: 780px;
  margin: 0 auto;
}

.mds-search-bar {
  position: relative;
  margin-bottom: var(--space-md);
}

.mds-search-input {
  width: 100%;
  font-family: var(--font-sans);
  font-size: var(--font-size-md);
  padding: 14px 52px 14px 18px;
  border: 1px solid var(--mds-gray-200);
  border-radius: 50px;  /* MDS search bar pill shape */
  background: var(--mds-white);
  color: var(--mds-text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.mds-search-input:focus {
  border-color: var(--mds-brand-primary);
  box-shadow: 0 0 0 3px rgba(175,38,38,0.12);
}
.mds-search-input::placeholder {
  color: var(--mds-gray-400);
}

.mds-search-input--active {
  border-color: var(--mds-brand-primary);
  background: var(--mds-white);
}

.mds-search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--mds-brand-primary);
  color: var(--mds-white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.1s ease;
}
.mds-search-btn:hover {
  background: var(--mds-brand-primary-hover);
}
.mds-search-btn svg {
  width: 18px;
  height: 18px;
}

.mds-search-helper {
  font-size: var(--font-size-sm);
  color: var(--mds-text-muted);
  text-align: center;
  margin-bottom: var(--space-lg);
}

/* ==========================================================================
   SUGGESTED QUERIES / CHIPS
   ========================================================================== */

.mds-query-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-lg);
}

.mds-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--mds-white);
  border: 1px solid var(--mds-gray-200);
  border-radius: 20px;
  font-size: var(--font-size-sm);
  color: var(--mds-text-light);
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}
.mds-chip:hover {
  border-color: var(--mds-brand-primary);
  color: var(--mds-brand-primary);
  background: rgba(175,38,38,0.04);
  text-decoration: none;
}
.mds-chip svg {
  width: 14px;
  height: 14px;
  opacity: 0.5;
}

/* ==========================================================================
   AI RESPONSE AREA
   ========================================================================== */

.mds-response {
  background: var(--mds-white);
  border: 1px solid var(--mds-gray-200);
  border-radius: 10px;
  padding: var(--space-xl) var(--space-xl) var(--space-lg);
  margin-top: var(--space-lg);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.mds-response-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--mds-gray-200);
}

.mds-response-icon {
  width: 28px;
  height: 28px;
  background: var(--mds-brand-primary);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mds-response-icon svg {
  width: 16px;
  height: 16px;
  color: var(--mds-white);
}

.mds-response-label {
  font-size: var(--font-size-sm);
  font-weight: 900;
  color: var(--mds-brand-primary);
  letter-spacing: 0.02em;
}

.mds-response-body {
  font-size: var(--font-size-base);
  line-height: 1.75;
  color: var(--mds-text);
}

.mds-response-body p {
  margin-bottom: var(--space-md);
}
.mds-response-body p:last-child {
  margin-bottom: 0;
}

.mds-response-body strong {
  font-weight: 700;
  color: var(--mds-text);
}

/* Citation superscripts */
.mds-cite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  color: var(--mds-brand-primary);
  background: rgba(175,38,38,0.08);
  width: 18px;
  height: 18px;
  border-radius: 3px;
  text-decoration: none;
  vertical-align: super;
  margin: 0 1px;
  line-height: 1;
  transition: background 0.15s ease;
}
.mds-cite:hover {
  background: rgba(175,38,38,0.18);
  text-decoration: none;
}

/* ==========================================================================
   CITATIONS / SOURCES
   ========================================================================== */

.mds-sources {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--mds-gray-200);
}

.mds-sources-title {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--mds-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-md);
}

.mds-source-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.mds-source-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

.mds-source-num {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(175,38,38,0.08);
  color: var(--mds-brand-primary);
  font-size: 11px;
  font-weight: 900;
  border-radius: 3px;
  margin-top: 1px;
}

.mds-source-link {
  color: var(--mds-link);
  font-weight: 500;
}
.mds-source-link:hover {
  color: var(--mds-link-hover);
}

.mds-source-domain {
  color: var(--mds-text-muted);
  font-size: var(--font-size-xs);
  margin-left: 4px;
}

/* Grouped sources by type */
.mds-source-group {
  margin-bottom: var(--space-md);
}
.mds-source-group:last-child {
  margin-bottom: 0;
}

.mds-source-group-title {
  font-size: var(--font-size-xs);
  font-weight: 900;
  color: var(--mds-text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-xs);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--mds-gray-100);
}

/* ==========================================================================
   FEEDBACK
   ========================================================================== */

.mds-feedback {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--mds-gray-100);
}

.mds-feedback-label {
  font-size: var(--font-size-sm);
  color: var(--mds-text-muted);
}

.mds-feedback-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--mds-gray-200);
  border-radius: 6px;
  background: var(--mds-white);
  cursor: pointer;
  color: var(--mds-gray-400);
  transition: all 0.15s ease;
}
.mds-feedback-btn:hover {
  border-color: var(--mds-brand-primary);
  color: var(--mds-brand-primary);
  background: rgba(175,38,38,0.04);
}
.mds-feedback-btn svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   DISCLAIMER
   ========================================================================== */

.mds-disclaimer {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  background: var(--mds-gray-50);
  border-radius: 6px;
  font-size: var(--font-size-xs);
  color: var(--mds-text-muted);
  line-height: 1.5;
}
.mds-disclaimer svg {
  width: 14px;
  height: 14px;
  display: inline;
  vertical-align: -2px;
  margin-right: 4px;
  opacity: 0.6;
}

/* ==========================================================================
   ANNOTATION CALLOUTS (prototype walk-through labels)
   ========================================================================== */

.mds-annotation {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #7c3aed;
  background: #f5f3ff;
  border: 1px dashed #c4b5fd;
  border-radius: 4px;
  padding: 4px 10px;
  margin-bottom: var(--space-md);
  letter-spacing: 0.02em;
}
.mds-annotation svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.mds-annotation--inline {
  margin-left: var(--space-sm);
  vertical-align: middle;
}

/* ==========================================================================
   GATED CONTENT
   ========================================================================== */

.mds-gated-item {
  position: relative;
  padding: var(--space-md);
  background: var(--mds-gray-50);
  border: 1px solid var(--mds-gray-200);
  border-radius: 8px;
  margin-bottom: var(--space-sm);
}

.mds-gated-item--locked {
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 10px,
    rgba(0,0,0,0.008) 10px,
    rgba(0,0,0,0.008) 20px
  ), var(--mds-gray-50);
}

.mds-gated-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: 4px;
}

.mds-lock-icon {
  color: var(--mds-gray-400);
  flex-shrink: 0;
}
.mds-lock-icon svg {
  width: 16px;
  height: 16px;
}

.mds-gated-title {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--mds-text);
}

.mds-gated-teaser {
  font-size: var(--font-size-sm);
  color: var(--mds-text-muted);
  margin-bottom: var(--space-sm);
  padding-left: 24px;
}

.mds-gated-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--mds-warning);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mds-gated-login {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--font-size-sm);
  color: var(--mds-brand-primary);
  font-weight: 700;
  margin-left: var(--space-md);
  cursor: pointer;
}
.mds-gated-login:hover {
  color: var(--mds-link-hover);
}

/* Public result item */
.mds-result-item {
  padding: var(--space-md);
  background: var(--mds-white);
  border: 1px solid var(--mds-gray-200);
  border-radius: 8px;
  margin-bottom: var(--space-sm);
}

.mds-result-title {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--mds-link);
  margin-bottom: 4px;
}
.mds-result-title a {
  color: inherit;
}
.mds-result-title a:hover {
  color: var(--mds-link-hover);
}

.mds-result-url {
  font-size: var(--font-size-xs);
  color: var(--mds-success);
  margin-bottom: 6px;
}

.mds-result-snippet {
  font-size: var(--font-size-sm);
  color: var(--mds-text-light);
  line-height: 1.5;
}

/* ==========================================================================
   CTA BLOCK (Membership upsell)
   ========================================================================== */

.mds-cta-block {
  background: var(--mds-off-white);
  border: 1px solid var(--mds-gray-200);
  border-top: 3px solid var(--mds-brand-primary);
  border-radius: 0;
  padding: var(--space-xl);
  margin-top: var(--space-lg);
  text-align: center;
}

.mds-cta-title {
  font-size: var(--font-size-xl);
  font-weight: 900;
  color: var(--mds-text);
  margin-bottom: var(--space-sm);
}

.mds-cta-text {
  font-size: var(--font-size-base);
  color: var(--mds-text-light);
  margin-bottom: var(--space-lg);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.mds-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.mds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  font-weight: 900;
  padding: 6px 20px;
  border-radius: 4px;
  border: 2px solid var(--mds-brand-primary);
  cursor: pointer;
  transition: all 0.1s ease;
  text-decoration: none;
}

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

.mds-btn--secondary {
  background: var(--mds-white);
  color: var(--mds-brand-primary);
  border: 2px solid var(--mds-brand-primary);
}
.mds-btn--secondary:hover {
  background: var(--mds-brand-primary);
  color: var(--mds-white);
  text-decoration: none;
}

/* ==========================================================================
   PATIENT REDIRECT (warm, soft styling)
   ========================================================================== */

.mds-redirect-card {
  background: #fefce8;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: var(--space-xl);
  margin-top: var(--space-lg);
}

.mds-redirect-card p {
  margin-bottom: var(--space-md);
}

.mds-resource-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.mds-resource-link {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--mds-white);
  border: 1px solid var(--mds-gray-200);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
}
.mds-resource-link:hover {
  border-color: var(--mds-brand-primary);
  box-shadow: 0 3px 6px rgba(0,0,0,0.16);
  text-decoration: none;
}

.mds-resource-link-icon {
  width: 40px;
  height: 40px;
  background: var(--mds-gray-100);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--mds-brand-primary);
}
.mds-resource-link-icon svg {
  width: 20px;
  height: 20px;
}

.mds-resource-link-content {
  flex: 1;
}

.mds-resource-link-title {
  font-weight: 600;
  color: var(--mds-link);
  font-size: var(--font-size-base);
}

.mds-resource-link-desc {
  font-size: var(--font-size-sm);
  color: var(--mds-text-muted);
  margin-top: 2px;
}

.mds-resource-link-arrow {
  color: var(--mds-gray-400);
  flex-shrink: 0;
}
.mds-resource-link-arrow svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   GUARDRAIL / SAFETY
   ========================================================================== */

.mds-guardrail {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-left: 4px solid #ef4444;
  border-radius: 8px;
  padding: var(--space-lg);
  margin-top: var(--space-lg);
}

.mds-guardrail-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-weight: 600;
  color: #991b1b;
  font-size: var(--font-size-base);
}
.mds-guardrail-header svg {
  width: 20px;
  height: 20px;
  color: #ef4444;
  flex-shrink: 0;
}

.mds-guardrail p {
  font-size: var(--font-size-base);
  color: var(--mds-text);
  line-height: 1.65;
  margin-bottom: var(--space-md);
}
.mds-guardrail p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   NO RESULTS / OUT OF SCOPE
   ========================================================================== */

.mds-no-results {
  text-align: center;
  padding: var(--space-xl) 0;
}

.mds-no-results-icon {
  width: 56px;
  height: 56px;
  background: var(--mds-gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  color: var(--mds-gray-400);
}
.mds-no-results-icon svg {
  width: 28px;
  height: 28px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.mds-footer {
  background: var(--mds-gray-300);   /* --color-light-medium: #C7C8C3 */
  border-top: 3px solid var(--mds-brand-primary);
  padding: var(--space-xl) var(--space-lg);
  margin-top: auto;
}

.mds-footer-inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.mds-footer-text {
  font-size: var(--font-size-xs);
  color: var(--mds-text-muted);
  line-height: 1.5;
}

.mds-footer-links {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}
.mds-footer-links a {
  font-size: var(--font-size-xs);
  color: var(--mds-text-muted);
}
.mds-footer-links a:hover {
  color: var(--mds-text);
}

/* ==========================================================================
   FOLLOW-UP QUESTION
   ========================================================================== */

.mds-followup {
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--mds-gray-200);
}

.mds-followup-label {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--mds-text-muted);
  margin-bottom: var(--space-sm);
}

.mds-followup-bar {
  position: relative;
}

.mds-followup-input {
  width: 100%;
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  padding: 12px 52px 12px 20px;
  border: 1px solid var(--mds-gray-200);
  border-radius: 50px;
  background: var(--mds-white);
  color: var(--mds-text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.mds-followup-input:focus {
  border-color: var(--mds-brand-primary);
  box-shadow: 0 0 0 3px rgba(175,38,38,0.12);
}
.mds-followup-input::placeholder {
  color: var(--mds-gray-400);
}

.mds-followup-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--mds-brand-primary);
  color: var(--mds-white);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.1s ease;
}
.mds-followup-btn:hover {
  background: var(--mds-brand-primary-hover);
}
.mds-followup-btn svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.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;
}

.mds-mt-sm  { margin-top: var(--space-sm); }
.mds-mt-md  { margin-top: var(--space-md); }
.mds-mt-lg  { margin-top: var(--space-lg); }
.mds-mt-xl  { margin-top: var(--space-xl); }
.mds-mb-sm  { margin-bottom: var(--space-sm); }
.mds-mb-md  { margin-bottom: var(--space-md); }
.mds-mb-lg  { margin-bottom: var(--space-lg); }
.mds-mb-xl  { margin-bottom: var(--space-xl); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  .mds-header-inner {
    padding: 0 var(--space-md);
  }
  .mds-nav li a {
    padding: 0 10px;
    font-size: var(--font-size-xs);
  }
  .mds-content {
    padding: var(--space-xl) var(--space-md);
  }
}

@media (max-width: 768px) {
  .mds-nav {
    display: none;
  }
  .mds-logo-text {
    display: none;
  }
}
