/* ==========================================================================
   FLAMEBOOSTS - Complemento Oficial para FlameHosting
   Mantiene el 100% de la fidelidad visual de MegaHosting-FlameHosting
   ========================================================================== */

/* Discord Nitro Float Badge en Avatar */
.discord-avatar-wrap {
  position: relative;
  display: inline-block;
}

.discord-avatar-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--bs-primary);
  object-fit: cover;
}

.discord-avatar-wrap.boosting .discord-avatar-img {
  border-color: #f47fff;
  box-shadow: 0 0 16px rgba(244, 127, 255, 0.45);
}

.nitro-float-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: linear-gradient(135deg, #f47fff 0%, #ec4899 50%, #5865F2 100%);
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #111111;
  font-size: 12px;
}

/* Indicadores de Estado de Servidor */
.server-status-pill {
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.server-status-pill.active {
  background: rgba(0, 183, 98, 0.15);
  color: #00b762;
  border: 1px solid rgba(0, 183, 98, 0.3);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.status-dot.active {
  background: #00b762;
  box-shadow: 0 0 8px #00b762;
}

/* Botón Discord */
.btn-discord {
  background: #5865F2 !important;
  color: #fff !important;
  font-weight: 600;
  border: none;
  border-top-left-radius: 15px !important;
  border-top-right-radius: 2px !important;
  border-bottom-right-radius: 15px !important;
  border-bottom-left-radius: 2px !important;
  transition: all 0.25s ease;
}

.btn-discord:hover {
  background: #4752c4 !important;
  color: #fff !important;
}

.btn-nitro {
  background: linear-gradient(135deg, #ff7b00 0%, #ec4899 50%, #5865F2 100%) !important;
  color: #fff !important;
  font-weight: 700;
  border: none;
  border-top-left-radius: 15px !important;
  border-top-right-radius: 2px !important;
  border-bottom-right-radius: 15px !important;
  border-bottom-left-radius: 2px !important;
  transition: all 0.25s ease;
}

.btn-nitro:hover {
  filter: brightness(1.1);
  color: #fff !important;
}

/* Selección interactiva de tarjeta */
.select-option-card {
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.select-option-card:hover {
  border-color: var(--bs-primary) !important;
  transform: translateY(-3px);
}

.select-option-card.selected {
  border-color: var(--bs-primary) !important;
  background: rgba(255, 123, 0, 0.05) !important;
  box-shadow: 0 0 20px rgba(255, 123, 0, 0.2);
}

.select-option-card input[type="radio"] {
  position: absolute;
  top: 15px;
  right: 15px;
  accent-color: var(--bs-primary);
}

/* Toast Container */
#flame-toast-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   STATUS PAGE COMPONENT STYLES
   ========================================================================== */
.service-icon-box {
  width: 50px;
  height: 50px;
  border-top-left-radius: 14px;
  border-bottom-right-radius: 14px;
  border-top-right-radius: 2px;
  border-bottom-left-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.service-icon-box.online {
  background: rgba(22, 201, 114, 0.12);
  color: #16c972;
  border: 1px solid rgba(22, 201, 114, 0.35);
  box-shadow: 0 0 12px rgba(22, 201, 114, 0.2);
}
.service-icon-box.offline {
  background: rgba(240, 62, 90, 0.12);
  color: #f03e5a;
  border: 1px solid rgba(240, 62, 90, 0.35);
  box-shadow: 0 0 12px rgba(240, 62, 90, 0.2);
}

/* Tarjeta de servicio con acentos laterales en los lados */
.status-service-card {
  border-top-left-radius: 32px !important;
  border-bottom-right-radius: 32px !important;
  border-top-right-radius: 6px !important;
  border-bottom-left-radius: 6px !important;
  background: #111111 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  overflow: hidden !important;
}

.status-service-card.card-online {
  border-left: 3px solid #16c972 !important;
  border-right: 1px solid rgba(22, 201, 114, 0.25) !important;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4), -3px 0 16px rgba(22, 201, 114, 0.12) !important;
}

.status-service-card.card-online:hover {
  border-color: rgba(22, 201, 114, 0.4) !important;
  border-left-color: #25e786 !important;
  border-right-color: rgba(22, 201, 114, 0.45) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.65), -6px 0 25px rgba(22, 201, 114, 0.25), 6px 0 20px rgba(22, 201, 114, 0.15) !important;
}

.status-service-card.card-offline {
  border-left: 3px solid #f03e5a !important;
  border-right: 1px solid rgba(240, 62, 90, 0.25) !important;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4), -3px 0 16px rgba(240, 62, 90, 0.15) !important;
}

.status-service-card.card-offline:hover {
  border-color: rgba(240, 62, 90, 0.5) !important;
  border-left-color: #ff4767 !important;
  border-right-color: rgba(240, 62, 90, 0.45) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.65), -6px 0 25px rgba(240, 62, 90, 0.35) !important;
}

.metric-box {
  background: rgba(0, 0, 0, 0.4);
  border-top-left-radius: 14px;
  border-bottom-right-radius: 14px;
  border-top-right-radius: 2px;
  border-bottom-left-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s ease;
}

.metric-box:hover {
  background: rgba(255, 123, 0, 0.05);
  border-color: rgba(255, 123, 0, 0.2);
}

.history-bar-container {
  height: 28px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 4px;
}

.history-bar-pill {
  height: 100%;
  border-radius: 3px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.history-bar-pill:hover {
  transform: scaleY(1.3);
}

.bar-online {
  background: #16c972;
  opacity: 0.85;
}

.bar-online:hover {
  background: #25e786;
  opacity: 1;
  box-shadow: 0 0 10px rgba(22, 201, 114, 0.8);
}

.bar-offline {
  background: #f03e5a;
  opacity: 0.9;
}

.bar-offline:hover {
  background: #ff4767;
  opacity: 1;
  box-shadow: 0 0 10px rgba(240, 62, 90, 0.8);
}

.spin {
  animation: spin 1s linear infinite;
  display: inline-block;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

