// @tailwind base;
// Colors.
:root {
  --site-primary: #9DC4B5;
  --site-primary-light: #BAD9A2;
  --site-gray: #565264;
  --site-secondary: #246A73;
  --site-tertiary: #93A392;
  --site-quarternary: #E2EB98;
  --site-white: #EFF9F0;
  --site-platinum: #EFF9F0;
  --site-danger: #D7263D;
}

// Other variables.
$container-full: 1300px;
$container-plus-padding: 1216px;

// Partials.
@import "partials/reset";
@import "partials/headings";
@import "partials/local-tasks";
@import "partials/buttons";
@import "partials/header";
@import "partials/footer";
@import "partials/tables";
@import "partials/hero";
@import "partials/recent-fights";
@import "partials/fighter";
@import "partials/fighters-view";
@import "partials/fight";
@import "partials/event";
@import "partials/article";
@import "partials/snippet";
@import "partials/breadcrumbs";
@import "partials/characters";
@import "partials/lb-styles";

html {
  font-size: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.region-content {
  padding: 0;
}

body {
  background: var(--site-white);
  color: var(--site-primary);
  font-family: "Ubuntu", sans-serif;
  margin: auto;
}

a {
  color: var(--site-gray);
  text-decoration: none;
  cursor: pointer;
}

img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

p {
  color: var(--site-gray);
}

.container {
  max-width: $container-full;
  margin: auto;

  @media screen and (max-width: $container-full) {
    margin: 0 50px;
  }
}

blockquote {
  font-style: italic;
  border-left: 1px solid var(--site-primary);
  padding-left: 20px;
}

pre, code {
  display: block;
  max-width: 100%;
  white-space: pre;
  overflow-x: auto;
  background: var(--site-gray);
  padding: 1rem;
}

pre {
  margin: 0;
}

code {
  display: block;
}

/* Container to line up radios nicely */
#views-exposed-form-snippets-block-1 fieldset {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 0;
  border: none;
}

/* Hide the default radio input */
#views-exposed-form-snippets-block-1 fieldset input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 1.2rem;
  height: 1.2rem;
  border: 2px solid #6c9e9b; /* soft green border */
  border-radius: 50%;
  background: #f2f7f5; /* light background */
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

/* Hover effect */
#views-exposed-form-snippets-block-1 fieldset input[type="radio"]:hover {
  border-color: #4a7a77;
}

/* Checked state with a modern filled circle */
#views-exposed-form-snippets-block-1 fieldset input[type="radio"]:checked {
  border-color: #4a7a77;
  background: #6c9e9b;
}

#views-exposed-form-snippets-block-1 fieldset input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.5rem;
  height: 0.5rem;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* Label styling */
#views-exposed-form-snippets-block-1 fieldset label {
  font-size: 0.95rem;
  color: #333;
  cursor: pointer;
  user-select: none;
}

#views-exposed-form-snippets-block-1 fieldset .form-item {
  margin: 0 10px;
}

