/* QnB CSS */

main.container {
  padding-top: 2rem;
  padding-bottom: 2rem;
  background-color: var(--color-bg);
  flex: 1;
}

main.container .form-content .form-content-data,
main.container .form-progress .progress-list {
  border: 1px solid var(--color-border);
  background-color: var(--color-light);
  /* padding: 1rem 0.75rem; */
  padding: 30px 20px;
}

main.container .form-content {
  min-height: 271px;
  width: 100%;
}

main.container .form-content .form-content-data {
  /* padding-bottom: 0.5rem; */
  min-height: 271px;
}

main.container .content-footer {
  background-color: var(--color-bg-dark);
  border: 1px solid var(--color-border);
  border-top: unset;
  padding: 30px 20px;
}

main.container .form-progress {
  display: none;
}

main.container .form-progress .progress-list {
  border-left: unset;
  padding: unset;
}

main.container .form-progress .progress-list ul {
  margin: unset;
  padding-left: unset;
  list-style: none;
}

main.container .form-progress .progress-list ul li {
  padding: 1rem 0.75rem;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  background-color: var(--color-bg-dark);
}

main.container .form-progress .progress-list ul li:last-child {
  border-bottom: unset;
}

main.container .form-progress .progress-list ul li.active::before,
main.container .form-progress .progress-list ul li:has(~ li.active)::before  {
  content: "";
  position: absolute;
  right: 0.6rem;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  background-image: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2316A34A" class="size-6"> <path fill-rule="evenodd" d="M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm13.36-1.814a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z" clip-rule="evenodd" /> </svg>');
  background-size: contain;
}

main.container .form-progress .progress-list ul li.active,
main.container .form-progress .progress-list ul li:has(~ li.active) {
  background-color: var(--color-light);
}

.form-content .form-title {
  text-align: center;
  font-weight: 500;
  font-size: 1.375rem;
  margin-bottom: 1rem;
}

.form-content .content {
  border: 1px solid var(--color-border);
  border-top: unset;
  min-height: 280px;
}

.pet-details .btn-radio .btn {
  background-color: var(--color-light);
  color: var(--color-btn-default) !important;
  font-size: 15px;
  width: 100%;
  border-radius: unset;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  border-top: unset;
  border-left: unset;
  text-align: start;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 15px;
  padding-bottom: 15px;
}

.pet-details .btn-check:checked+.btn {
    background-color: var(--color-border);
}

/* .pet-details .col-12:nth-child(2n) .btn-radio .btn {
  border-right: unset;
} */

.pet-details .btn-radio .btn:hover {
  background-color: #f3f3f3 !important;
  border-color: var(--color-border) !important;
}

.pet-details .list-container {
  max-height: 283px;
  overflow-y: auto;
}

.pet-details .list-container .pet-img {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background-color: var(--color-muted);
  border-radius: 50%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url('/static/assets/placeholder_small_mammal.png');
}

.pet-details .list-container .pet-img.bird-prey {
  background-image: url('/static/assets/placeholder_bird_of_prey.png');
}

.pet-details .list-container .pet-img.mammal {
  background-image: url('/static/assets/placeholder_exotic_mammal.png');
}

.pet-details .list-container .pet-img.bird-large {
  background-image: url('/static/assets/placeholder_bird_large.png');
}

.pet-details .list-container .pet-img.reptile {
  background-image: url('/static/assets/placeholder_reptile.png');
}

.pet-details .list-container .pet-img.bird-small {
  background-image: url('/static/assets/placeholder_bird_small.png');
}

.pet-details .list-container .pet-img.mammal-small {
  background-image: url('/static/assets/placeholder_small_mammal.png');
}

/* From API */
.pet-details .list-container .pet-img.birds {
  background-image: url('/static/assets/placeholder_bird_large.png');
}

.pet-details .list-container .pet-img.birds-of-prey {
  background-image: url('/static/assets/placeholder_bird_of_prey.png');
}

.pet-details .list-container .pet-img.cat{
  background-image: url('/static/assets/placeholder_cat.png');
}

.pet-details .list-container .pet-img.dog {
  background-image: url('/static/assets/placeholder_small_mammal.png');
}

.pet-details .list-container .pet-img.lizards {
  background-image: url('/static/assets/placeholder_reptile.png');
}

.pet-details .list-container .pet-img.mammals {
  background-image: url('/static/assets/placeholder_exotic_mammal.png');
}

.pet-details .list-container .pet-img.rabbit {
  background-image: url('/static/assets/placeholder_rabbit.png');
}

.pet-details .list-container .pet-img.snakes {
  background-image: url('/static/assets/placeholder_snakes.png');
}

.pet-details .list-container .pet-img.tortoises {
  background-image: url('/static/assets/placeholder_tortoise.png');
}

.pet-details .list-container .pet-img.turtles {
  background-image: url('/static/assets/placeholder_tortoise.png');
}

.pet-details .list-container .pet-desc {
  flex: 1 1 auto;
}

.pet-details .list-container .pet-desc .pet-label {
  margin-bottom: unset;
  font-weight: 300;
}

.pet-details .list-container .pet-desc .pet-sublabel {
  margin-bottom: unset;
  color: var(--color-subtext);
  font-size: 0.75rem;
  font-weight: 300;
}

.pet-details .list-container .pet-icon {
  background-color: #d5c7c1;
  padding: 0.15rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pet-details .list-container .pet-icon svg {
  fill: var(--color-light);
  margin-top: -2px;
  margin-left: -1px;
}

.container-loader {
  display: flex;
  min-height: 283px;
}

.empty-placeholder {
  width: 100%;
  height: 283px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-muted);
}

.scroll-label { 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 0.5rem;
}

.scroll-label p {
  margin-bottom: unset;
  font-size: 12px;
}

.scroll-label svg {
  fill: var(--color-muted);
}

.pet-item, .species-type, .species-group,
.species-subgroup, .species-details, .content-footer {
    display: none;
    opacity: 0;
}

.pet-item.show, .species-type.active, .species-group.active, 
.species-subgroup.active, .species-details.active, .content-footer.show {
    display: block;
    opacity: 1;
    transition-property: display opacity;
    transition-duration: 0.3s;
    transition-behavior: allow-discrete;
    
    @starting-style {
        opacity: 0;
    }
}

.species-details .pet-img {
    width: 75px;
    height: 75px;
    min-width: 75px;
    background-color: var(--color-muted);
    border-radius: 50%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin: auto;
    background-image: url('/static/assets/placeholder_small_mammal.png');
    margin-top: 1rem;
}