/* Roboto Font Definition - Using local bundled fonts */

/* Roboto Regular (400) */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('assets/assets/font/Roboto/static/Roboto-Regular.ttf') format('truetype');
}

/* Roboto Italic (400) */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400;
  src: url('assets/assets/font/Roboto/static/Roboto-Italic.ttf') format('truetype');
}

/* Roboto Light (300) */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('assets/assets/font/Roboto/static/Roboto-Light.ttf') format('truetype');
}

/* Roboto Light Italic (300) */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 300;
  src: url('assets/assets/font/Roboto/static/Roboto-LightItalic.ttf') format('truetype');
}

/* Roboto Medium (500) */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('assets/assets/font/Roboto/static/Roboto-Medium.ttf') format('truetype');
}

/* Roboto Medium Italic (500) */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 500;
  src: url('assets/assets/font/Roboto/static/Roboto-MediumItalic.ttf') format('truetype');
}

/* Roboto Bold (700) */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('assets/assets/font/Roboto/static/Roboto-Bold.ttf') format('truetype');
}

/* Roboto Bold Italic (700) */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 700;
  src: url('assets/assets/font/Roboto/static/Roboto-BoldItalic.ttf') format('truetype');
}

/* Roboto Thin (100) */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100;
  src: url('assets/assets/font/Roboto/static/Roboto-Thin.ttf') format('truetype');
}

/* Roboto Black (900) */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  src: url('assets/assets/font/Roboto/static/Roboto-Black.ttf') format('truetype');
}

/* Use system fonts as fallback */
:root {
  --system-fonts: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

/* Basic font fallback */
body {
  font-family: var(--system-fonts);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Apply Roboto to Flutter elements with proper rendering */
flt-glass-pane * {
  font-family: 'Roboto', Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

flt-paragraph, flt-span {
  font-family: 'Roboto', Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ensure proper text rendering in inputs */
input, textarea, select, button {
  font-family: 'Roboto', Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Basic text color for readability */
html, body {
  color: #212121;
  background-color: #ffffff;
}
