/* Tactical premium modal for player report */

#modal-tactico-jugador {
  z-index: 5001 !important;
  --bs-modal-bg: transparent;
  --bs-modal-border-color: transparent;
}

#modal-tactico-jugador .modal-dialog,
#modal-tactico-jugador .tactico-jugador-dialog {
  margin: 0 auto !important;
  min-height: calc(100vh - 1.5rem) !important;
  max-width: min(calc(100vw - 32px), 828px) !important;
  width: fit-content !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}

#modal-tactico-jugador .modal-content,
#modal-tactico-jugador .tactico-jugador-content {
  width: fit-content !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

#modal-tactico-jugador .modal-body {
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  overflow: visible !important;
  width: fit-content !important;
  background: transparent !important;
}

#modal-tactico-jugador [data-tactico-root] {
  border-radius: 14px;
  overflow: visible;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.90),
    0 0 0 1px rgba(201, 168, 76, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.tactico-formation-dd .Select-control,
.tactico-formation-dd.is-focused .Select-control,
.tactico-formation-dd .is-focused .Select-control,
.tactico-formation-dd.is-open .Select-control,
.tactico-formation-dd .is-open .Select-control,
.tactico-formation-dd .Select.is-focused > .Select-control,
.tactico-formation-dd .Select.is-open > .Select-control {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  min-height: 30px !important;
  cursor: pointer !important;
}

.tactico-formation-dd .Select-input,
.tactico-formation-dd .Select-input > input {
  background: transparent !important;
  background-color: transparent !important;
}

.tactico-formation-dd .Select-clear {
  display: none !important;
}

/* Fix extra for unstyled containers in dcc.Dropdown */
.tactico-formation-dd > div {
  background-color: transparent !important;
}

.tactico-formation-dd .Select-value,
.tactico-formation-dd .Select-value-label {
  background: transparent !important;
  background-color: transparent !important;
  color: #e8c97a !important;
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 16px !important;
  letter-spacing: 0.10em !important;
  line-height: 30px !important;
}

.tactico-formation-dd .Select-clear-zone {
  display: none !important;
}

.tactico-formation-dd .Select-placeholder {
  color: rgba(232, 201, 122, 0.45) !important;
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 16px !important;
  background: transparent !important;
}

.tactico-formation-dd .Select-arrow-zone {
  padding-right: 4px;
}

.tactico-formation-dd .Select-arrow {
  border-top-color: rgba(201, 168, 76, 0.60) !important;
  border-width: 5px 4px 2.5px !important;
}

.tactico-formation-dd.is-open .Select-arrow {
  border-bottom-color: rgba(201, 168, 76, 0.60) !important;
  border-top-color: transparent !important;
}

.tactico-formation-dd .Select-menu-outer {
  background: #0b1828 !important;
  border: 1px solid rgba(201, 168, 76, 0.28) !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.70) !important;
  margin-top: 2px !important;
  overflow: hidden !important;
}

.tactico-formation-dd .Select-option {
  background: transparent !important;
  color: rgba(220, 230, 245, 0.75) !important;
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 14px !important;
  letter-spacing: 0.08em !important;
  padding: 8px 14px !important;
  transition: background .12s, color .12s;
}

.tactico-formation-dd .Select-option.is-focused,
.tactico-formation-dd .Select-option:hover {
  background: rgba(201, 168, 76, 0.14) !important;
  color: #e8c97a !important;
}

.tactico-formation-dd .Select-option.is-selected {
  background: rgba(201, 168, 76, 0.10) !important;
  color: #e8c97a !important;
}

#tactico-mode-primary-btn:hover {
  background-color: rgba(201, 168, 76, 0.22) !important;
  color: #e8c97a !important;
  border-color: #c9a84c !important;
  box-shadow: 0 0 10px rgba(201, 168, 76, 0.24) !important;
}

#tactico-mode-secondary-btn:hover {
  background-color: rgba(79, 163, 247, 0.16) !important;
  color: #7dc4ff !important;
  border-color: #4fa3f7 !important;
  box-shadow: 0 0 10px rgba(79, 163, 247, 0.22) !important;
}

#tactico-jugador-aplicar:hover {
  background-color: rgba(201, 168, 76, 0.24) !important;
  box-shadow: 0 0 18px rgba(201, 168, 76, 0.36) !important;
  transform: translateY(-1px);
}

#tactico-jugador-cerrar:hover {
  background-color: rgba(220, 230, 245, 0.08) !important;
  color: rgba(220, 230, 245, 0.70) !important;
  border-color: rgba(220, 230, 245, 0.32) !important;
}

#modal-tactico-jugador + .modal-backdrop {
  opacity: 0.72 !important;
  background-color: #010810 !important;
}

body.modal-open #modal-tactico-jugador .tactico-formation-dd .Select-menu-outer {
  z-index: 9999 !important;
}
