/**
 * NFOS Overseer Receiver - Mismo estilo que [passion_os_dashboard]
 * Todo el CSS va bajo #nfos-receiver-dashboard-app para que no lo pise el tema (p. ej. tema oscuro).
 */

/* Reset forzado: tema claro aunque el sitio sea oscuro */
#nfos-receiver-dashboard-app {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 24px 20px 40px;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(180deg, #fafbfc 0%, #f1f3f5 100%) !important;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  color: #212529 !important;
}

#nfos-receiver-dashboard-app .nfos-dash-header {
  margin-bottom: 28px;
}

#nfos-receiver-dashboard-app .nfos-dash-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.14em;
  color: #111 !important;
  margin: 0 0 24px;
}

#nfos-receiver-dashboard-app .nfos-dash-welcome {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #fff !important;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
  border: 1px solid rgba(0, 0, 0, .04);
}

#nfos-receiver-dashboard-app .nfos-dash-avatar {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #fff !important;
  border-radius: 14px;
  font-size: 22px;
}

#nfos-receiver-dashboard-app .nfos-dash-welcome > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#nfos-receiver-dashboard-app .nfos-dash-greeting {
  font-size: 11px;
  color: #868e96 !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

#nfos-receiver-dashboard-app .nfos-dash-user {
  font-size: 17px;
  font-weight: 700;
  color: #212529 !important;
  letter-spacing: -0.01em;
}

#nfos-receiver-dashboard-app .nfos-dash-section {
  background: #fff !important;
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
  border: 1px solid rgba(0, 0, 0, .04);
  position: relative;
  overflow: visible;
}

#nfos-receiver-dashboard-app .nfos-dash-section h2 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #868e96 !important;
  margin: 0 0 16px;
  text-transform: uppercase;
}

#nfos-receiver-dashboard-app .nfos-dash-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

#nfos-receiver-dashboard-app .nfos-dash-section-head h2 {
  margin: 0;
}

#nfos-receiver-dashboard-app .nfos-dash-period {
  font-size: 11px;
  font-weight: 500;
  color: #868e96 !important;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  background: #f1f3f5 !important;
  border-radius: 999px;
}

#nfos-receiver-dashboard-app .nfos-dash-preset-wrap {
  margin-bottom: 20px;
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
}

#nfos-receiver-dashboard-app .nfos-dash-preset-sync {
  font-size: 14px;
  font-weight: 500;
  color: #495057 !important;
}

#nfos-receiver-dashboard-app .nfos-dash-preset-select {
  width: 100%;
  max-width: 160px;
  padding: 12px 40px 12px 16px;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  background: #f8f9fa !important;
  font-size: 14px;
  font-weight: 500;
  color: #495057 !important;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%23868e96' d='M6 7.5L2 3.5h8z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: border-color .15s, background-color .15s;
  position: relative;
  z-index: 2;
}

#nfos-receiver-dashboard-app .nfos-dash-preset-select:hover {
  background-color: #f1f3f5 !important;
}

#nfos-receiver-dashboard-app .nfos-dash-preset-select:focus {
  outline: none;
  border-color: #adb5bd;
}

#nfos-receiver-dashboard-app .nfos-dash-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

#nfos-receiver-dashboard-app .nfos-dash-card {
  background: #f8f9fa !important;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid transparent;
  transition: background .15s, border-color .15s;
}

#nfos-receiver-dashboard-app .nfos-dash-card:hover {
  background: #f1f3f5 !important;
}

#nfos-receiver-dashboard-app .nfos-dash-card-icon {
  font-size: 22px;
  opacity: .85;
}

#nfos-receiver-dashboard-app .nfos-dash-card-label {
  font-size: 10px;
  color: #868e96 !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

#nfos-receiver-dashboard-app .nfos-dash-card-value {
  font-size: 20px;
  font-weight: 700;
  color: #212529 !important;
  letter-spacing: -0.02em;
}

#nfos-receiver-dashboard-app .nfos-dash-link {
  display: block;
  text-align: center;
  padding: 14px;
  background: #f8f9fa !important;
  border: 1px solid #e9ecef;
  border-radius: 14px;
  color: #495057 !important;
  font-weight: 500;
  font-size: 13px;
  text-decoration: none;
  transition: all .15s;
  letter-spacing: 0.01em;
}

#nfos-receiver-dashboard-app .nfos-dash-link:hover {
  background: #f1f3f5 !important;
  color: #212529 !important;
}

/* Chicas disponibles */
#nfos-receiver-dashboard-app .nfos-dash-chicas-wrap {
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}

#nfos-receiver-dashboard-app .nfos-dash-chicas-card {
  width: 100%;
  padding: 20px 24px;
  border: none;
  background: linear-gradient(135deg, #e64980 0%, #c92a50 100%) !important;
  color: #fff !important;
  cursor: pointer;
  text-align: left;
  display: block;
  transition: opacity .15s;
}

#nfos-receiver-dashboard-app .nfos-dash-chicas-card:hover {
  opacity: .95;
}

#nfos-receiver-dashboard-app .nfos-dash-chicas-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#nfos-receiver-dashboard-app .nfos-dash-chicas-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

#nfos-receiver-dashboard-app .nfos-dash-chicas-count {
  font-size: 20px;
  font-weight: 700;
}

#nfos-receiver-dashboard-app .nfos-dash-chicas-arrow {
  font-size: 10px;
  transition: transform .2s;
  opacity: .9;
}

#nfos-receiver-dashboard-app .nfos-dash-chicas-card.open .nfos-dash-chicas-arrow {
  transform: rotate(180deg);
}

#nfos-receiver-dashboard-app .nfos-dash-chicas-list {
  padding: 16px 24px 20px;
  background: #fff5f7 !important;
  border: 1px solid rgba(0, 0, 0, .04);
  border-top: none;
}

#nfos-receiver-dashboard-app .nfos-dash-chica-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(230, 73, 128, .12);
  font-size: 14px;
}

#nfos-receiver-dashboard-app .nfos-dash-chica-item:last-child {
  border-bottom: none;
}

#nfos-receiver-dashboard-app .nfos-dash-chica-name {
  font-weight: 600;
  color: #212529 !important;
  letter-spacing: -0.01em;
  text-align: left;
}

#nfos-receiver-dashboard-app .nfos-dash-chica-time {
  font-size: 13px;
  color: #868e96 !important;
  font-weight: 500;
}

/* Stock */
#nfos-receiver-dashboard-app .nfos-dash-stock-list .nfos-dash-loading {
  color: #868e96 !important;
  font-size: 13px;
  margin: 0;
}

#nfos-receiver-dashboard-app .nfos-dash-stock-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #f1f3f5;
  font-size: 14px;
}

#nfos-receiver-dashboard-app .nfos-dash-stock-item:last-child {
  border-bottom: none;
}

#nfos-receiver-dashboard-app .nfos-dash-stock-name {
  color: #212529 !important;
  font-weight: 500;
  text-align: left;
}

#nfos-receiver-dashboard-app .nfos-dash-stock-qty {
  font-weight: 700;
  color: #212529 !important;
  font-size: 15px;
}

/* Stock bajo: fila en rojo */
#nfos-receiver-dashboard-app .nfos-dash-stock-item-low .nfos-dash-stock-name,
#nfos-receiver-dashboard-app .nfos-dash-stock-item-low .nfos-dash-stock-qty,
#nfos-receiver-dashboard-app .nfos-dash-stock-qty-low {
  color: #e03131 !important;
}
