

/*!***************************************************************
            COLORS
****************************************************************/




.bg-red,
.bg-yellow,
.bg-aqua,
.bg-blue,
.bg-light-blue,
.bg-green,
.bg-navy,
.bg-teal,
.bg-olive,
.bg-lime,
.bg-orange,
.bg-fuchsia,
.bg-purple,
.bg-maroon,
.bg-black,
.bg-red-active,
.bg-yellow-active,
.bg-aqua-active,
.bg-blue-active,
.bg-light-blue-active,
.bg-green-active,
.bg-navy-active,
.bg-teal-active,
.bg-olive-active,
.bg-lime-active,
.bg-orange-active,
.bg-fuchsia-active,
.bg-purple-active,
.bg-maroon-active,
.bg-black-active,
.callout.callout-danger,
.callout.callout-warning,
.callout.callout-info,
.callout.callout-success,
.alert-success,
.alert-danger,
.alert-error,
.alert-warning,
.alert-info,
.label-danger,
.label-info,
.label-warning,
.label-primary,
.label-success,
.modal-primary .modal-body,
.modal-primary .modal-header,
.modal-primary .modal-footer,
.modal-warning .modal-body,
.modal-warning .modal-header,
.modal-warning .modal-footer,
.modal-info .modal-body,
.modal-info .modal-header,
.modal-info .modal-footer,
.modal-success .modal-body,
.modal-success .modal-header,
.modal-success .modal-footer,
.modal-danger .modal-body,
.modal-danger .modal-header,
.modal-danger .modal-footer {
 color:#fff !important
}

.bg-gray {
 color:#000;
 background-color:#d2d6de !important
}
.bg-gray-light {
 background-color:#f7f7f7
}
.bg-black {
 background-color:#111 !important
}
.bg-red,
.callout.callout-danger,
.alert-danger,
.alert-error,
.label-danger,
.modal-danger .modal-body {
 background-color:#dd4b39 !important
}
.bg-yellow,
.callout.callout-warning,
.alert-warning,
.label-warning,
.modal-warning .modal-body {
 background-color:#f39c12 !important
}
.bg-aqua,
.callout.callout-info,
.alert-info,
.label-info,
.modal-info .modal-body {
 background-color:#00c0ef !important
}
.bg-blue {
 background-color:#0073b7 !important
}
.bg-light-blue,
.label-primary,
.modal-primary .modal-body {
 background-color:#3c8dbc !important
}
.bg-green,
.callout.callout-success,
.alert-success,
.label-success,
.modal-success .modal-body {
 background-color:#00a65a !important
}
.bg-navy {
 background-color:#001f3f !important
}
.bg-teal {
 background-color:#39cccc !important
}
.bg-olive {
 background-color:#3d9970 !important
}
.bg-lime {
 background-color:#01ff70 !important
}
.bg-orange {
 background-color:#ff851b !important
}
.bg-fuchsia {
 background-color:#f012be !important
}
.bg-purple {
 background-color:#605ca8 !important
}
.bg-maroon {
 background-color:#d81b60 !important
}
.bg-gray-active {
 color:#000;
 background-color:#b5bbc8 !important
}
.bg-black-active {
 background-color:#000 !important
}
.bg-red-active,
.modal-danger .modal-header,
.modal-danger .modal-footer {
 background-color:#d33724 !important
}
.bg-yellow-active,
.modal-warning .modal-header,
.modal-warning .modal-footer {
 background-color:#db8b0b !important
}
.bg-aqua-active,
.modal-info .modal-header,
.modal-info .modal-footer {
 background-color:#00a7d0 !important
}
.bg-blue-active {
 background-color:#005384 !important
}
.bg-light-blue-active,
.modal-primary .modal-header,
.modal-primary .modal-footer {
 background-color:#357ca5 !important
}
.bg-green-active,
.modal-success .modal-header,
.modal-success .modal-footer {
 background-color:#008d4c !important
}
.bg-navy-active {
 background-color:#001a35 !important
}
.bg-teal-active {
 background-color:#30bbbb !important
}
.bg-olive-active {
 background-color:#368763 !important
}
.bg-lime-active {
 background-color:#00e765 !important
}
.bg-orange-active {
 background-color:#ff7701 !important
}
.bg-fuchsia-active {
 background-color:#db0ead !important
}
.bg-purple-active {
 background-color:#555299 !important
}
.bg-maroon-active {
 background-color:#ca195a !important
}
[class^="bg-"].disabled {
 opacity:.65;
 filter:alpha(opacity=65)
}



.bg-teal-gradient {
 background:#39cccc !important;
 background:-webkit-gradient(linear, left bottom, left top, color-stop(0, #39cccc), color-stop(1, #7adddd)) !important;
 background:-ms-linear-gradient(bottom, #39cccc, #7adddd) !important;
 background:-moz-linear-gradient(center bottom, #39cccc 0, #7adddd 100%) !important;
 background:-o-linear-gradient(#7adddd, #39cccc) !important;
 filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#7adddd', endColorstr='#39cccc', GradientType=0) !important;
 color:#fff
}
.bg-light-blue-gradient {
 background:#3c8dbc !important;
 background:-webkit-gradient(linear, left bottom, left top, color-stop(0, #3c8dbc), color-stop(1, #67a8ce)) !important;
 background:-ms-linear-gradient(bottom, #3c8dbc, #67a8ce) !important;
 background:-moz-linear-gradient(center bottom, #3c8dbc 0, #67a8ce 100%) !important;
 background:-o-linear-gradient(#67a8ce, #3c8dbc) !important;
 filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#67a8ce', endColorstr='#3c8dbc', GradientType=0) !important;
 color:#fff
}
.bg-blue-gradient {
 background:#0073b7 !important;
 background:-webkit-gradient(linear, left bottom, left top, color-stop(0, #0073b7), color-stop(1, #0089db)) !important;
 background:-ms-linear-gradient(bottom, #0073b7, #0089db) !important;
 background:-moz-linear-gradient(center bottom, #0073b7 0, #0089db 100%) !important;
 background:-o-linear-gradient(#0089db, #0073b7) !important;
 filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0089db', endColorstr='#0073b7', GradientType=0) !important;
 color:#fff
}
.bg-aqua-gradient {
 background:#00c0ef !important;
 background:-webkit-gradient(linear, left bottom, left top, color-stop(0, #00c0ef), color-stop(1, #14d1ff)) !important;
 background:-ms-linear-gradient(bottom, #00c0ef, #14d1ff) !important;
 background:-moz-linear-gradient(center bottom, #00c0ef 0, #14d1ff 100%) !important;
 background:-o-linear-gradient(#14d1ff, #00c0ef) !important;
 filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#14d1ff', endColorstr='#00c0ef', GradientType=0) !important;
 color:#fff
}
.bg-yellow-gradient {
 background:#f39c12 !important;
 background:-webkit-gradient(linear, left bottom, left top, color-stop(0, #f39c12), color-stop(1, #f7bc60)) !important;
 background:-ms-linear-gradient(bottom, #f39c12, #f7bc60) !important;
 background:-moz-linear-gradient(center bottom, #f39c12 0, #f7bc60 100%) !important;
 background:-o-linear-gradient(#f7bc60, #f39c12) !important;
 filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f7bc60', endColorstr='#f39c12', GradientType=0) !important;
 color:#fff
}
.bg-purple-gradient {
 background:#605ca8 !important;
 background:-webkit-gradient(linear, left bottom, left top, color-stop(0, #605ca8), color-stop(1, #9491c4)) !important;
 background:-ms-linear-gradient(bottom, #605ca8, #9491c4) !important;
 background:-moz-linear-gradient(center bottom, #605ca8 0, #9491c4 100%) !important;
 background:-o-linear-gradient(#9491c4, #605ca8) !important;
 filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#9491c4', endColorstr='#605ca8', GradientType=0) !important;
 color:#fff
}
.bg-green-gradient {
 background:#00a65a !important;
 background:-webkit-gradient(linear, left bottom, left top, color-stop(0, #00a65a), color-stop(1, #00ca6d)) !important;
 background:-ms-linear-gradient(bottom, #00a65a, #00ca6d) !important;
 background:-moz-linear-gradient(center bottom, #00a65a 0, #00ca6d 100%) !important;
 background:-o-linear-gradient(#00ca6d, #00a65a) !important;
 filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ca6d', endColorstr='#00a65a', GradientType=0) !important;
 color:#fff
}
.bg-red-gradient {
 background:#dd4b39 !important;
 background:-webkit-gradient(linear, left bottom, left top, color-stop(0, #dd4b39), color-stop(1, #e47365)) !important;
 background:-ms-linear-gradient(bottom, #dd4b39, #e47365) !important;
 background:-moz-linear-gradient(center bottom, #dd4b39 0, #e47365 100%) !important;
 background:-o-linear-gradient(#e47365, #dd4b39) !important;
 filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e47365', endColorstr='#dd4b39', GradientType=0) !important;
 color:#fff
}
.bg-black-gradient {
 background:#111 !important;
 background:-webkit-gradient(linear, left bottom, left top, color-stop(0, #111), color-stop(1, #2b2b2b)) !important;
 background:-ms-linear-gradient(bottom, #111, #2b2b2b) !important;
 background:-moz-linear-gradient(center bottom, #111 0, #2b2b2b 100%) !important;
 background:-o-linear-gradient(#2b2b2b, #111) !important;
 filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#2b2b2b', endColorstr='#111111', GradientType=0) !important;
 color:#fff
}
.bg-maroon-gradient {
 background:#d81b60 !important;
 background:-webkit-gradient(linear, left bottom, left top, color-stop(0, #d81b60), color-stop(1, #e73f7c)) !important;
 background:-ms-linear-gradient(bottom, #d81b60, #e73f7c) !important;
 background:-moz-linear-gradient(center bottom, #d81b60 0, #e73f7c 100%) !important;
 background:-o-linear-gradient(#e73f7c, #d81b60) !important;
 filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e73f7c', endColorstr='#d81b60', GradientType=0) !important;
 color:#fff
}

/* Enhanced Chart Styles - Add to miningcore.css or miningcore-colors.css */

/* Network Difficulty - Red - Series A (drawn first, below) - NO SHADING */
.ct-series-a .ct-line {
  stroke: #ff4444 !important;
  stroke-width: 2px;
  stroke-dasharray: 5, 5;
}

.ct-series-a .ct-point {
  stroke: #ff4444 !important;
  fill: #ff4444 !important;
}

.ct-series-a .ct-area {
  fill: none !important;
  fill-opacity: 0 !important;
}

/* Pool Hashrate - Dark Blue - Series B (drawn second, on top) */
.ct-series-b .ct-line {
  stroke: #1565c0 !important;
  stroke-width: 3px;
}

.ct-series-b .ct-point {
  stroke: #1565c0 !important;
  fill: #1565c0 !important;
}

.ct-series-b .ct-area {
  fill: #2196f3 !important;
  fill-opacity: 0.25;
}

/* Point styling with hover effects */
.ct-point-circle {
  stroke-width: 6px;
  fill-opacity: 0.8;
  transition: all 0.2s ease;
  cursor: pointer;
}

.ct-point-circle:hover {
  stroke-width: 10px !important;
  fill-opacity: 1 !important;
}

/* Tooltip styling */
.chartist-tooltip {
  position: absolute;
  display: none;
  background: rgba(0, 0, 0, 0.95);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  pointer-events: none;
  z-index: 1000;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  line-height: 1.6;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Chart container positioning */
.ct-chart {
  position: relative;
}

/* Chart info note */
.ct-chart-note {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 11px;
  color: #666;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  max-width: 200px;
  text-align: center;
}

/* Legend styling */
.ct-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 15px;
  padding: 0;
  list-style: none;
}

.ct-legend li {
  display: flex;
  align-items: center;
  margin: 5px 15px;
  font-size: 13px;
  font-weight: 500;
}

.ct-legend-box {
  display: inline-block;
  width: 20px;
  height: 3px;
  margin-right: 8px;
  border-radius: 2px;
}

/* Grid styling */
.ct-grid {
  stroke: rgba(0, 0, 0, 0.1);
  stroke-width: 1px;
  stroke-dasharray: 2px;
}

/* Label styling */
.ct-label {
  font-size: 12px;
  fill: rgba(0, 0, 0, 0.6);
  color: rgba(0, 0, 0, 0.6);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .chartist-tooltip {
    font-size: 11px;
    padding: 8px 10px;
  }
  
  .ct-point-circle {
    stroke-width: 4px;
  }
  
  .ct-point-circle:hover {
    stroke-width: 8px !important;
  }
}

/* Dashboard Chart Styling - Force blue color like stats page */
#chartDashboardHashRate .ct-series-a .ct-line {
  stroke: #1565c0 !important;
  stroke-width: 3px !important;
}

#chartDashboardHashRate .ct-series-a .ct-point {
  stroke: #1565c0 !important;
  fill: #1565c0 !important;
}

#chartDashboardHashRate .ct-series-a .ct-area {
  fill: #2196f3 !important;
  fill-opacity: 0.25 !important;
}

/* Make sure tooltips and hover effects work on dashboard */
#chartDashboardHashRate .ct-point-circle {
  stroke-width: 6px !important;
  fill-opacity: 0.8 !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  stroke: #1565c0 !important;
  fill: #1565c0 !important;
}

#chartDashboardHashRate .ct-point-circle:hover {
  stroke-width: 10px !important;
  fill-opacity: 1 !important;
}

/* Dashboard Chart - Same style as Stats page */
#chartDashboardHashRate .ct-series-a .ct-line {
  stroke: #1565c0 !important;
  stroke-width: 3px !important;
}

#chartDashboardHashRate .ct-series-a .ct-point {
  stroke: #1565c0 !important;
  fill: #1565c0 !important;
}

#chartDashboardHashRate .ct-series-a .ct-area {
  fill: #2196f3 !important;
  fill-opacity: 0.25 !important;
}

#chartDashboardHashRate .ct-point-circle {
  stroke-width: 6px !important;
  fill-opacity: 0.8 !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}

#chartDashboardHashRate .ct-point-circle:hover {
  stroke-width: 10px !important;
  fill-opacity: 1 !important;
}
