/* General Styles */

body {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --tw-text-opacity: 1;
  color: rgb(243 244 246 / var(--tw-text-opacity, 1));
}

.App {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

/* Header Styles */

header h1 {
  font-weight: 700;
  letter-spacing: -0.025em;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

/* Navigation Styles */

.nav-pills .nav-link {
  margin-bottom: 0.5rem;
  border-radius: 0.25rem;
  --tw-text-opacity: 1;
  color: rgb(229 231 235 / var(--tw-text-opacity, 1));
  transition-property: all;
  transition-duration: 200ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0;
}

.nav-pills .nav-link:not(.active):hover {
  background-color: rgb(59 130 246 / 0.1);
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

/* Card Styles */

.category-card {
  cursor: pointer;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(55 65 81 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  transition-property: transform;
  transition-duration: 200ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover {
  --tw-translate-y: -0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  --tw-border-opacity: 1;
  border-color: rgb(75 85 99 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.card-title {
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(229 231 235 / var(--tw-text-opacity, 1));
}

.card-body {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}

/* Remove rounding from card backgrounds and images */

.card,
.card-img,
.card-img-top,
.card-img-bottom {
  border-radius: 0 !important;
  overflow: hidden;
}

.card-header,
.card-footer {
  border-radius: 0 !important;
}

/* Button Styles */

button {
  --tw-bg-opacity: 1;
  background-color: rgb(59 130 246 / var(--tw-bg-opacity, 1));
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  transition-property: all;
  transition-duration: 200ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

button:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(96 165 250 / var(--tw-bg-opacity, 1));
}

button:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(147 197 253 / var(--tw-ring-opacity, 1));
}

/* Modal Styles */

.modal-header {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.modal-content {
  overflow: hidden;
  border-radius: 0.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
}

/* Combat Content Styles */

.badge {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  padding-left: 0.625rem;
  padding-right: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}

table {
  margin-bottom: 1rem;
  width: 100%;
  --tw-text-opacity: 1;
  color: rgb(229 231 235 / var(--tw-text-opacity, 1));
}

table th,
table td {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Combat info specific styling */

.table-danger {
  background-color: rgb(239 68 68 / 0.2);
}

.table-warning {
  background-color: rgb(250 204 21 / 0.2);
}

.table-info {
  background-color: rgb(96 165 250 / 0.2);
}

.table-success {
  background-color: rgb(22 163 74 / 0.2);
}

/* Sin Colors */

.bg-purple {
  --tw-bg-opacity: 1;
  background-color: rgb(126 34 206 / var(--tw-bg-opacity, 1));
}

/* Remove rounding from all Bootstrap components */

.btn, 
.card, 
.modal-content, 
.dropdown-menu, 
.list-group-item, 
.form-control, 
.input-group-text, 
.badge, 
.alert, 
.progress, 
.tooltip, 
.popover, 
.carousel-control-prev, 
.carousel-control-next {
  border-radius: 0 !important;
}

/* Remove rounding on some Bootstrap classes */

.rounded,
.rounded-top,
.rounded-bottom,
.rounded-start,
.rounded-end,
.rounded-circle,
.rounded-pill {
  border-radius: 0 !important;
}

/* Accordion Fixes */

.accordion-content-wrapper {
  width: 100%;
}

/* Fix for accordion content visibility */

.accordion-collapse.collapse.show {
  visibility: visible !important;
  height: auto !important;
  opacity: 1 !important;
}

.accordion-collapse.collapse.show .accordion-body {
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
}

/* Fix for transition */

.accordion-collapse {
  transition: height 0.35s ease, opacity 0.2s ease;
}

.accordion-body {
  transition: opacity 0.2s ease;
}

.accordion-button {
  z-index: 3;
  position: relative;
}

/* Remove rounding from accordion elements */

.accordion-button,
.accordion-button:not(.collapsed),
.accordion-item,
.accordion-header,
.accordion-body {
  border-radius: 0 !important;
}

.accordion-button:focus {
  box-shadow: none !important;
}

.accordion-button::after {
  border-radius: 0 !important;
}

/* Bullet Point Styles */

ul {
  list-style-type: disc;
  padding-left: 1.3em;
}

li {
  margin-bottom: 8px;
}

/* Footer Styles */

footer {
  margin-top: auto;
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}

/* Responsive adjustments */

@media (max-width: 768px) {
  .category-card {
    margin-bottom: 1rem;
  }

  .nav-pills {
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
  }

  .nav-pills .nav-item {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
  }
}

::-webkit-scrollbar {
  width: 0.5rem;
}

::-webkit-scrollbar-track {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
}

::-webkit-scrollbar-thumb {
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
  -webkit-transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

::-webkit-scrollbar-thumb:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
}