@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20,400,0,0');

/* Shared by every icon glyph, in light DOM and duplicated inside each
   Web Component's shadow root (shadow DOM doesn't inherit class rules from
   here, only the underlying @font-face registration, which is global). */
.material-symbols-outlined {
  font-family: var(--icon-font-family);
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
}

:root {
  --input-height: 36px;
  --input-min-height: 36px;
  --input-max-height: 36px;
  --input-padding: 7px 11px;
  --input-font-size: 13.5px;
  --input-radius: 8px;
  --dropdown-height: 36px;
  --dropdown-min-height: 36px;
  --dropdown-max-height: 36px;
  --dropdown-padding: 7px 11px;
  --dropdown-font-size: 13.5px;
  --dropdown-radius: 8px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-black);
  font-family: var(--font-family);
  font-size: var(--text-body-size);
  font-weight: var(--text-body-weight);
  line-height: var(--text-body-line);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, p, figure {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input, select, textarea {
  font-family: inherit;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Text style utility classes (AppTextStyles) */
.text-heading {
  font-size: var(--text-heading-size);
  font-weight: var(--text-heading-weight);
  line-height: var(--text-heading-line);
  color: var(--color-black);
}

.text-title {
  font-size: var(--text-title-size);
  font-weight: var(--text-title-weight);
  line-height: var(--text-title-line);
  color: var(--color-black);
}

.text-title-small {
  font-size: var(--text-title-small-size);
  font-weight: var(--text-title-small-weight);
  line-height: var(--text-title-small-line);
  color: var(--color-black);
}

.text-subtitle {
  font-size: var(--text-subtitle-size);
  font-weight: var(--text-subtitle-weight);
  line-height: var(--text-subtitle-line);
  color: var(--color-grey-700);
}

.text-body {
  font-size: var(--text-body-size);
  font-weight: var(--text-body-weight);
  line-height: var(--text-body-line);
  color: var(--color-black);
}

.text-caption {
  font-size: var(--text-caption-size);
  font-weight: var(--text-caption-weight);
  line-height: var(--text-caption-line);
  color: var(--color-grey-700);
}

.text-small {
  font-size: var(--text-small-size);
  font-weight: var(--text-small-weight);
  line-height: var(--text-small-line);
  color: var(--color-grey-700);
}

.card-surface {
  background: var(--color-white);
  border-radius: var(--radius-medium);
  box-shadow: var(--card-shadow);
}

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

@keyframes pulseDot {
  0% { opacity: 0.3; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1.15); }
}

/* Standard Country Code Dropdown (Used across all phone inputs) */
.country-code-wrap {
  display: flex;
  align-items: center;
  background: var(--color-white);
  border: 1px solid var(--color-grey-300);
  border-radius: 8px;
  padding: 0 2px 0 6px;
  height: 36px;
  min-height: 36px;
  max-height: 36px;
  width: 70px;
  box-sizing: border-box;
  flex-shrink: 0;
  transition: border-color 120ms ease;
}

.country-code-wrap:focus-within {
  border-color: var(--color-primary);
}

.country-code-select {
  border: none;
  background: transparent;
  font-family: var(--font-family);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--color-grey-800);
  outline: none;
  cursor: pointer;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}

