body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: var(--bs-primary-bg);
    color: var(--bs-body-color);
    
  }
  .bootstrap-select .dropdown-menu {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
  }
  
  .bootstrap-select .dropdown-menu .dropdown-item:hover {
    background-color: var(--bs-primary) !important;
    color:       var(--bs-light)   !important;
  }
  .popup {
    display: none;
    position: fixed;
    top: 1rem;                  /* vertical distance from top */
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    background-color: #444;
    color: white;
    border-radius: 0.25rem;
    border: var(--bs-danger-border-subtle);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

  .container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
  }
  
  h1 {
    text-align: center;
    margin-bottom: 1rem;
  }

  
  .chart-wrapper {
    position: relative;
    width: 100%;
    height: 600px;   /* pick whatever fixed height you like */
  }
  
  .chart-wrapper canvas {
    width: 100% !important;
    height: 100% !important;
  }

  #piAccordion .accordion-button {
    color: inherit;

  }

  #WAOptions{
    margin-top: 2rem;
  }
  
/* Advanced-settings as responsive grid */
.advanced-settings {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

/* Ensure each control is full-width within its grid cell */
.advanced-settings .adv-control {
  display: flex;
  flex-direction: column;
}

/* For the switch, align label and switch on one line */
.advanced-settings .adv-control.form-switch {
  flex-direction: row;
  align-items: center;
  gap: .5rem;
}

.form-check > label {
  margin: 0rem !important;
}

/* Full-width slider */
#iconSizeInput {
  width: 100%;
}


/* both selector rows share the same base styling */
.selector-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#mode-selector > label{
  margin: 0rem !important;
}

.accordion-button{
  font-weight: bold !important;
}

.disclaimer{
  margin-top: 2rem;
}
  

/* override the built-in 200px bottom padding */
.wowhead-embed-talent-calc > div {
  /* original: padding-top: calc(55.555% + 200px); */
  padding-top: 58.55% !important;
}

/* if you want the container height to collapse to the iframe's content */
.wowhead-embed-talent-calc {
  min-height: auto !important;
}


/* Grid container for gear items */
.gear-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
  gap: 8px;
  padding: 10px;
  justify-items: center;
}

/* Each gear link */
.gear-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  border-bottom: none !important;
}

.wowhead-tooltip a {
  border-bottom: none !important;
}
#archonLink {
  border-bottom: none !important;
}

/* The icon itself */
.gear-item img {
  width: 56px;
  height: 56px;
  border-radius: 4px;
  transition: transform 0.2s, box-shadow 0.2s;
}


/* Hover and focus styles */
.gear-item:hover img,
.gear-item:focus img {
  transform: scale(1.1);
  box-shadow: 0 0 8px rgba(0,0,0,0.6);
}


#targetSelect {
  width: 30%;
  margin-left: 2rem;
}
.controls label {
  margin: 0 !important;
}

  