/*
  The default border color has changed to `currentcolor` in Tailwind CSS v4,
  so we've added these compatibility styles to make sure everything still
  looks the same as it did with Tailwind CSS v3.

  If we ever want to remove these styles, we need to add an explicit border
  color utility to any element that depends on these defaults.
*/
@layer base {
  *,
  ::after,
  ::before,
  ::backdrop,
  ::file-selector-button {
    border-color: var(--color-gray-200, currentcolor);
  }
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#root {
  width: 100vw;
  height: 100vh;
}

/* Hide default details marker */
details summary::-webkit-details-marker {
  display: none;
}

details summary::marker {
  display: none;
}

/* Rotate chevron when details is open */
details[open] summary .chevron-icon {
  transform: rotate(180deg);
}

/* Remove visited link styles */
a:visited {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}


/* RadioButtonGroup styles - работает без JavaScript через CSS :checked селектор */
.radio-button-input:checked + .radio-button-label {
  background-color: #101828;
  color: white;
  border-color: transparent;
}

.radio-button-input:checked + .radio-button-label:hover {
  opacity: 1;
}