/* Custom font override for basecoat - Futura PT */
/* This must be loaded after basecoat CSS to override Tailwind's font settings */

/* @font-face declarations for Futura PT - add your font files to static/fonts/ */
/* If you have Futura PT font files, uncomment and update these paths: */
/*
@font-face {
  font-family: 'Futura PT';
  src: url('/static/fonts/FuturaPT-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Futura PT';
  src: url('/static/fonts/FuturaPT-Book.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Futura PT';
  src: url('/static/fonts/FuturaPT-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Futura PT';
  src: url('/static/fonts/FuturaPT-Demi.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Futura PT';
  src: url('/static/fonts/FuturaPT-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
*/

/* Using Jost font */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&display=swap');

html,
body,
html *,
body *,
html *::before,
html *::after,
body *::before,
body *::after {
  font-family: 'Futura PT', 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Override Tailwind font utilities */
.font-sans,
.font-serif,
.font-mono,
[class*="font-"] {
  font-family: 'Futura PT', 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Override basecoat component classes */
.btn,
.input,
.select,
.textarea,
.alert,
.card,
.card-header,
.card-body,
.field,
.fieldset,
.label,
.legend,
h1, h2, h3, h4, h5, h6,
p, span, div, section, article,
a, button, input, select, textarea,
table, th, td, tr {
  font-family: 'Futura PT', 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Fix alert text wrapping - force inline display */
.alert {
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  display: block !important;
  flex-direction: row !important;
}

.alert *,
.alert span,
.alert p,
.alert div {
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  display: inline !important;
  flex-direction: row !important;
}

.alert > * {
  display: inline !important;
}

/* Override any flex/grid on alerts */
.alert-success,
.alert-info,
.alert-warning,
.alert-destructive,
.alert-danger,
.alert-error {
  display: block !important;
  flex-direction: row !important;
  white-space: normal !important;
}

.alert-success *,
.alert-info *,
.alert-warning *,
.alert-destructive *,
.alert-danger *,
.alert-error * {
  display: inline !important;
  white-space: normal !important;
}
