/* BEGIN STYLESHEET */
/* Direct stylesheet authoring is an advanced feature. Knowledge of CSS required.*/

:root {
	--rune-primary: #EEFC54;
}

.psc-Card, .psc-PlantInfo, .psc-EnergyStats {
	/* Base Items */
	background-color: #083344;
	box-shadow: 5px 5px 0px 0px black;

	/* Specific to screen sizes */
	font-size: 1.8vmin;
}

.psc-CardTitle{
	font-size: 2.1vmin;
}

.psc-EnergyValue{
	font-size: 3.0vmin;
	color: var(--rune-primary);
	font-weight: bold;
}

.psc-RelicValue{
	font-size: 1.8vmin;
}

.psc-FilterInput{
	font-size: 2.0vmin;
}

.psc-FilterDropdown{
	font-size: 2.1vmin;
}

.psc-SiteDetails{
	/* Specific to screen sizes */
	font-size: 1.6vmin;
}

.psc-SiteDetailsTitle{
	font-size: 36px;
	font-weight: bold;
	text-align: center;
}

@media screen and (max-width: 850px) {
	.psc-PlantInfo, .psc-EnergyStats{
		font-size: 3.0vmin;
	}
	
	.psc-CardTitle{
		font-size: 4.0vmin;
	}
	
	.psc-EnergyValue{
		font-size: 6.5vmin;
	}

	.psc-FilterInput{
		font-size: 5.0vmin;
	}

	.psc-FilterDropdown{
		font-size: 4.0vmin;
	}

	.psc-SiteDetails{
		/* Specific to screen sizes */
		font-size: 2.1vmin;
	}

	.psc-RelicValue{
		font-size: 3.8vmin;
	}

	.psc-Lights{
		font-size: 1vmin;
	}
}

@media screen and (min-width: 851px) and (max-width: 1250px) {
	.psc-SiteDetails{
		/* Specific to screen sizes */
		font-size: 1.4vmin;
	}
}



/* VESTAS DEMO */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0a0a0a;
  color: #e5e5e5;
}

.psc-header {
  background: #000;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  border-bottom: 1px solid #1a1a1a;
}

.psc-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: bold;
}

.psc-user-section {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.psc-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
}

.psc-sidebar {
  background: #111111;
  border-radius: 12px;
  padding: 1.5rem;
  height: fit-content;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  border: 1px solid #222222;
}

.psc-main-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.psc-card {
  background: #111111;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  border: 1px solid #222222;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.psc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
  border-color: #333333;
}

.psc-card-header {
  font-size: 0.9rem;
  font-weight: 600;
  color: #888;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.psc-plant-info h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #e5e5e5;
}

.psc-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid #222222;
}

.psc-info-row:last-child {
  border-bottom: none;
}

.psc-info-label {
  font-weight: 500;
  color: #888;
}

.psc-info-value {
  font-weight: 600;
  color: #e5e5e5;
}

.psc-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.psc-metric-card {
  background: linear-gradient(135deg, #2a2a00 0%, #3a3a10 100%);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid #4a4a20;
  transition: transform 0.2s ease;
}

.psc-metric-card:hover {
  transform: scale(1.02);
  border-color: #EEFC54;
  box-shadow: 0 0 20px rgba(238, 252, 84, 0.1);
}

.psc-metric-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ccc;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.psc-metric-value {
  font-size: 2rem;
  font-weight: bold;
  color: #EEFC54;
  margin-bottom: 0.25rem;
}

.psc-metric-unit {
  font-size: 0.9rem;
  color: #999;
  font-weight: 500;
}

.psc-system-status {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.psc-status-section {
  background: #111111;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  border: 1px solid #222222;
}

.psc-status-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid #222222;
}

.psc-status-item:last-child {
  border-bottom: none;
}

.psc-status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.psc-rune-section {
  background: linear-gradient(135deg, #0a2a0a 0%, #0a2a2a 100%);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid #2a4a2a;
}

.psc-rune-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.psc-rune-item:last-child {
  margin-bottom: 0;
}

.psc-chart-container {
  background: #111111;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  border: 1px solid #222222;
}

.psc-chart-placeholder {
  height: 200px;
  background: linear-gradient(135deg, #2a2a10 0%, #1a2a2a 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-weight: 500;
  border: 1px solid #333333;
}

.psc-dc-voltage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.psc-voltage-card {
  background: linear-gradient(135deg, #0a2a2a 0%, #0a2a0a 100%);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  border: 1px solid #2a4a4a;
  transition: border-color 0.2s ease;
}

.psc-voltage-card:hover {
  border-color: #CEFCFF;
}

.psc-voltage-title {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.psc-voltage-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: #CEFCFF;
  margin-bottom: 0.25rem;
}

.psc-voltage-unit {
  font-size: 0.8rem;
  color: #888;
}

.psc-filter-section {
  background: #111111;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  border: 1px solid #222222;
  margin-bottom: 1rem;
}

.psc-filter-control {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.psc-filter-input {
  background: #1a1a1a;
  border: 1px solid #333333;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: #e5e5e5;
  font-weight: 500;
}

.psc-filter-input:focus {
  outline: none;
  border-color: #EEFC54;
}

.psc-status-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(40, 80, 20, 0.8);
  border: 1px solid #4a8a2a;
  border-radius: 20px;
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #7dd55c;
}

.psc-status-badge.psc-status-operational {
  background: rgba(40, 80, 20, 0.8);
  border-color: #4a8a2a;
  color: #7dd55c;
}

.psc-status-badge.psc-status-warning {
  background: rgba(60, 50, 10, 0.8);
  border-color: #8a7a2a;
  color: #d5c55c;
}

.psc-status-badge.psc-status-error {
  background: rgba(80, 20, 20, 0.8);
  border-color: #8a2a2a;
  color: #d55c5c;
}

.psc-status-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7dd55c;
  animation: pulse 2s infinite;
}

.psc-status-badge.psc-status-warning .psc-status-pulse {
  background: #d5c55c;
}

.psc-status-badge.psc-status-error .psc-status-pulse {
  background: #d55c5c;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
  100% { opacity: 1; transform: scale(1); }
}

.psc-mode-badge {
  background: rgba(10, 40, 40, 0.8);
  border: 1px solid #2a6a6a;
  border-radius: 6px;
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #5cb8d5;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.psc-mode-badge.psc-mode-manual {
  background: rgba(10, 40, 40, 0.8);
  border-color: #2a6a6a;
  color: #5cb8d5;
}

.psc-mode-badge.psc-mode-auto {
  background: rgba(40, 40, 10, 0.8);
  border-color: #6a6a2a;
  color: #d5c55c;
}

.psc-control-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.psc-switch-track {
  width: 36px;
  height: 18px;
  background: #4a8a2a;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.psc-control-switch:not(.active) .psc-switch-track {
  background: #333;
}

.psc-switch-thumb {
  width: 14px;
  height: 14px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.psc-control-switch.active .psc-switch-thumb {
  transform: translateX(18px);
}

.psc-switch-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #7dd55c;
}

.psc-control-switch:not(.active) .psc-switch-label {
  color: #888;
}

@media (max-width: 1024px) {
  .psc-container {
      grid-template-columns: 1fr;
      padding: 1rem;
  }
  
  .psc-metrics-grid {
      grid-template-columns: repeat(2, 1fr);
  }
  
  .psc-system-status {
      grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .psc-metrics-grid {
      grid-template-columns: 1fr;
  }
  
  .psc-dc-voltage-grid {
      grid-template-columns: repeat(2, 1fr);
  }
}









/* BEGIN STYLE CLASSES */
.psc-Header\/DropDown {
  background-color: var(--neutral-20);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  color: var(--neutral-100);
  margin-bottom: 10px;
  margin-top: 10px;
}

.psc-Header\/Header {
  background-color: #003E69;
  color: #E7F5FF;
  font-size: 14px;
  line-height: 17px;
  fill: #FFFFFF;
}

.psc-Header\/Icon {
  color: #FFFFFF;
  cursor: pointer;
  fill: #FFFFFF;
}

.psc-Menu\/All_Header {
  background-color: var(--neutral-80);
  color: var(--neutral-10);
  font-size: 14px;
  font-weight: bold;
  line-height: 17px;
  text-transform: none;
}

.psc-Menu\/Item {
  background-color: var(--neutral-20);
  border-bottom-style: none;
  border-top-color: var(--neutral-60);
  border-top-style: solid;
  border-top-width: 1px;
  color: var(--neutral-80);
  font-size: 14px;
  line-height: 16px;
  text-transform: uppercase;
}
.psc-Menu\/Item:last-child {
  border-bottom-color: var(--neutral-60);
  border-bottom-style: solid;
  border-bottom-width: 1px;
}
.psc-Menu\/Item:hover {
  background-color: var(--callToActionHighlight);
}

.psc-Menu\/Menu {
  background-color: var(--neutral-30);
}

.psc-Page\/Alarm\/Alarm {
  border-bottom-style: none;
  border-left-color: var(--neutral-40);
  border-left-style: solid;
  border-left-width: 1px;
  border-right-color: var(--neutral-40);
  border-right-style: solid;
  border-right-width: 1px;
  border-top-style: none;
}

.psc-Page\/Alarm\/Page {
  background-color: var(--neutral-20);
}

.psc-Page\/Animations\/marquee {
  background-image: } @keyframes marquee {from { transform: translateX(100%); } to {transform: translateX(-100%); } } {;
  margin-left: 15px;
}

.psc-Page\/Animations\/rotation {
  background-image: } @keyframes rotation { from { transform: rotate(-45deg); } to { transform: rotate(0deg); } };
}

.psc-Page\/Bold {
  font-weight: bold;
}

.psc-Page\/Button {
  background-color: #EEFC54;
  color: #000000;
  font-size: 18px;
  font-weight: bolder;
}
.psc-Page\/Button:hover {
  background-color: #FFFFFF;
}

.psc-Page\/GPUCard\/Main {
  background-color: #171726;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  color: #FFFFFF;
}

.psc-Page\/Inverters\/InverterFault {
  background-color: #FFFFFF;
}

.psc-Page\/Inverters\/Offline {
  background-color: #960019;
}

.psc-Page\/Inverters\/Online {
  background-color: #9ACD32;
}

.psc-Page\/Margins {
  margin-left: 12px;
  margin-right: 12px;
}

.psc-Page\/MinerCard\/Inner {
  background-color: #27272A;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  margin: 8px;
  padding: 5px;
  text-align: center;
}

.psc-Page\/MinerCard\/Main {
  background-color: #18181B;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  color: #FFFFFF;
}

.psc-Page\/Modes\/Auto {
  color: #54B48D;
}

.psc-Page\/Modes\/Manual {
  color: #CEDF85;
}

.psc-Page\/Modes\/Stop {
  color: #D42E5C;
}

.psc-Page\/Page {
  border-left-color: var(--neutral-60);
  border-left-style: solid;
  border-left-width: 1px;
  font-size: 14px;
  line-height: 20px;
}

.psc-Page\/SiteOverview\/Card {
  background-color: #083344;
}

.psc-Page\/SiteOverview\/Title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
}

.psc-Page\/Text {
  font-size: 14px;
  line-height: 20px;
}

.psc-Page\/Unit {
  color: #6B7280;
}

.psc-Page\/Zier\/Headers {
  color: #EEFC54;
  font-weight: bold;
}

.psc-Page\/Zier\/Table_Row_Hover {
  background-color: #041E2E;
}
@media (hover: 1800px) {
  .psc-Page\/Zier\/Table_Row_Hover {
    background-color: white;
  }
}

.psc-Title\/Icon {
  fill: var(--neutral-90);
}

.psc-Title\/Text {
  color: var(--neutral-90);
  font-size: 16px;
  font-weight: bold;
  line-height: 19px;
  margin-left: 6px;
  fill: var(--neutral-90);
}

.psc-Title\/Title {
  background-color: var(--neutral-30);
  border-bottom-color: var(--neutral-60);
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-top-color: var(--neutral-60);
  border-top-style: solid;
  border-top-width: 1px;
}

@keyframes psc-Header\/Alarm_Active-anim {
  0% {
    color: #E7F5FF;
    fill: #E7F5FF;
  }
  100% {
    color: #FF2E2E;
    fill: #FF2E2E;
  }
}
.psc-Header\/Alarm_Active {
  animation-name: psc-Header\/Alarm_Active-anim;
  animation-delay: 0s;
  animation-direction: alternate;
  animation-duration: 2s;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
