/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* Global font configuration - Montserrat */
html,
body {
  font-family: 'Montserrat', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  font-family: 'Montserrat', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Remove outline from MUI inputs globally - Most comprehensive approach */
.MuiOutlinedInput-input:focus,
.MuiOutlinedInput-input:focus-visible,
.MuiOutlinedInput-input:focus-within {
  outline: none !important;
  box-shadow: none !important;
}

.MuiOutlinedInput-root .MuiOutlinedInput-input:focus,
.MuiOutlinedInput-root .MuiOutlinedInput-input:focus-visible,
.MuiOutlinedInput-root .MuiOutlinedInput-input:focus-within {
  outline: none !important;
  box-shadow: none !important;
}

/* Remove outline from the root element as well */
.MuiOutlinedInput-root:focus,
.MuiOutlinedInput-root:focus-within,
.MuiOutlinedInput-root:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* Remove any browser default focus styles - Most comprehensive */
input:focus, 
input:focus-visible,
input:focus-within,
textarea:focus, 
textarea:focus-visible,
textarea:focus-within,
select:focus,
select:focus-visible,
select:focus-within {
  outline: none !important;
  box-shadow: none !important;
}

/* Additional specific selectors for MUI */
.MuiTextField-root input:focus,
.MuiTextField-root input:focus-visible,
.MuiTextField-root input:focus-within {
  outline: none !important;
  box-shadow: none !important;
}

/* Ensure MUI input borders are properly styled */
.MuiOutlinedInput-root .MuiOutlinedInput-notchedOutline {
  border-color: #e5e7eb !important;
}

.MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline {
  border-color: #d1d5db !important;
}

.MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline {
  border-color: #0446F2 !important;
  border-width: 1px !important;
}
