/*Autor: Jeremy Dobslaff, 2025*/

:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --btn-bg: #2D3234;
    --btn-hover: #3B4244;
    --progress-bg: #444;
    --progress-fill: #00aaff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    color: var(--text-color);
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, #FF4646, #00A6E8);
}

.spinner-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 15px 0;
}

.spinner {
  border: 4px solid #2D3234;
  border-top: 4px solid #FFFFFF; 
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* Container-Element */
.switch-container {
  display: flex;
  justify-content: flex-end; /* Richtet Inhalt rechtsbündig aus */
  margin-left: auto; /* Rechts ausrichten */
  text-align: right;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2D3234;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 0px;
  bottom: 0px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #805AAA;
}

input:focus + .slider {
  box-shadow: 0 0 1px #805AAA;
}

input:checked + .slider:before {
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.app-container {
    display: flex;
    flex-direction: column;
    max-height: 2800px;
    max-width: 1200px;
    margin: 75px auto;
    padding: 0 20px;
	border: 2px solid;
	border-color: #d3d8de;
	background-color: var(--bg-color);
}

/* Header-Layout */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 0;
    position: relative;
}

/* Geräteinformation in der rechten oberen Ecke */
.device-info {
    color: #FFFFFF; 
    font-size: 14px;
    position: absolute;
    top: 15px;
    right: 0;
}


.logo img {
    height: 45px;
}

/* Content Area */
.content-area {
	flex: 1;
    display: flex;
    gap: 20px;
    padding: 10px 0;
}

/* Left Column - Temperature Values */
.left-column {
    width: 20%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.temp-block {
    background-color: var(--bg-color);
    position: relative;
    height: 130px;
	width: 200px;
}

.temp-label {
    margin-bottom: 5px;
	left: 0px;
	text-align: left;
}

.label-prefix-set {
    color: #ffffff; 
	font-size: 40px;
}

.label-prefix-int {
    color: #27D251; 
	font-size: 40px;
}

.label-prefix-ext {
    color: #805BA8; 
	font-size: 40px;
}

.label-text {
    color: #ffffff; /* Weiße Farbe für "set" */
	font-size: 30px;
}


.temp-value {
    font-size: 50px;
    font-weight: normal;
	position: absolute;
	text-align: right;
	bottom: 0px;
	right: 0px;
    cursor: pointer;
}

.temp-unit {
    position: absolute;
    right: 0px;
	text-align: right;
	top: 0px;
    font-size: 40px;
}

/* Right Column - Buttons */
.right-column {
    width: 80%;
}

.buttons-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
    height: 20%;
}

.control-btn, .placeholder-btn {
    background-color: var(--btn-bg);
    border: none;
    border-radius: 5px;
    height: 130px;
    width: 160px;
    color: var(--text-color);
    padding: 10px;
    text-align: left;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Titel am unteren Rand ausrichten */
    transition: background-color 0.2s;
}

.placeholder-btn {
    background-color: transparent;
    cursor: default;
}

.control-btn:hover {
    background-color: var(--btn-hover);
}

.btn-icon-smaller {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 45px;
    height: 45px;
}

.btn-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 50px;
    height: 50px;
}

.btn-icon-2 {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 50px;
    height: 50px;
}

/* Basiszustand der Icons - #5C6266 (mittleres Grau) */
.btn-icon, .btn-icon-2 {
    transition: filter 0.5s;
}

/* Icon-Farben für aktive Zustände */
.btn-icon.heating-active {
    filter: invert(45%) sepia(90%) saturate(1500%) hue-rotate(345deg) brightness(95%) contrast(95%); /* Orange */
}

.btn-icon-2.cooling-active {
    filter: invert(65%) sepia(50%) saturate(1000%) hue-rotate(175deg) brightness(90%) contrast(95%); /* Blau */
}



.btn-icon-2-2 {
    position: absolute;
    bottom: 12px;
    left: 13px;
    width: 45px;
    height: 45px;
}

.btn-title {
    font-size: 16px;
    text-align: right;
    padding-right: 5px;
    margin-bottom: 0px;
}

.btn-info {
	position: absolute;
    font-size: 16px;
    text-align: right;
	color: #AAAAAA;
    right: 10px;
    top: 10px;
}

.btn-content {
    margin-top: 5px;
    width: 100%;
    display: flex;
    flex-direction: column;
	font-size: 16px;
}

.dual-value {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.center-align {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.progress-container {
    height: 20px;
    background-color: var(--progress-bg);
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    margin-bottom: 5px;
}

.progress-bar {
    height: 100%;
    background-color: var(--progress-fill);
    width: 0%;
    transition: width 0.3s;
}

.progress-value {
    text-align: center;
}

/* Neue Sektionen für die korrekte Anordnung */
.top-section, .bottom-section {
    position: absolute;
    display: flex;
    align-items: center;
    right: 10px;
}

.top-section {
    top: 10px;
	right: 10px;
}

.bottom-section {
    bottom: 10px;
	right: 10px;
}

.bottom-section.niveau {
    width: 100%;
    right: 0;
    padding: 0 10px;
    justify-content: space-between;
}

/* Text-Werte */
.value-text {
    font-size: 16px;
    margin-right: 10px;
    white-space: nowrap;
	text-align: bottom;
	margin-top: 25px;
}

.value-text.left {
    margin-right: auto;
    text-align: left;
	margin-top: 85px;
}

.value-text.right {
    margin-left: 10px;
    text-align: right;
	margin-top: 85px;
}

.value-text.bar {
    margin-right: 30px;
    text-align: left;
}

/* Gauge Container Stile */
.gauge-container {
    background-color: #000000;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.gauge-container.vertical {
    width: 8px;
    height: 50px;
}

.gauge-container.vertical-large {
    width: 8px;
    height: 110px;
}

.gauge-fill {
    background-color: #ffffff;
    position: absolute;
    transition: width 0.5s, height 0.5s;
}

/* Vertikale Füllungen gehen von unten nach oben */
.gauge-container.vertical .gauge-fill {
    width: 100%;
    bottom: 0;
}

.gauge-container.vertical-large .gauge-fill {
    width: 100%;
    bottom: 0;
}




/* Footer */
.footer {
    display: flex;
    justify-content: right;
    align-items: right;
    padding: 15px 0;
}

.lock-button {
    width: 100px;
    height: 100px;
    border-radius: 5px;
    background-color: var(--btn-bg);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lock-button img {
    width: 70px;
    height: 70px;
}

.lock-button:hover {
    background-color: var(--btn-hover);
}

/* Modal für Temperatureinstellung */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 100;
    justify-content: center;
    align-items: center;
}

/* Modal-Styling */
.modal-content {
    background-color: var(--bg-color);
    border-radius: 8px;
    overflow: hidden; /* Für Schatteneffekt */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	padding: 20px;
	border: 2px solid;
	border-color: #d3d8de;
	max-height: 500px;
	width: 500px;
	top: 30px;
	overflow: auto;
	/* Scrollbalken-Styling */
    /* Breite des Scrollbalkens */
    &::-webkit-scrollbar {
        width: 10px;
    }
    
    /* Hintergrundfarbe des Scrollbalken-Tracks */
    &::-webkit-scrollbar-track {
        background: #000000;
        border-radius: 5px;
    }
    
    /* Farbe des eigentlichen Scrollbalkens (Thumb) */
    &::-webkit-scrollbar-thumb {
        background: #5C6266;
        border-radius: 5px;
    }
    
    /* Hover-Effekt für den Scrollbalken */
    &::-webkit-scrollbar-thumb:hover {
        background: #5C6266;
    }
}

/* Header */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
	height: 40px;
    background: #2D3234;
    border-bottom: 1px solid #333;
    margin-bottom: 15px; /* Abstand zum Body */
}

.modal-title {
    font-size: 18px;
    font-weight: bold;
	margin-right: auto;
}

.modal-close {
    background: #ffffff;
    border: none;
    font-size: 24px;
    color: #2D3234;
    cursor: pointer;
    padding: 10px;
	border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body {
    padding: 0px;
	align-items: center;
}

/* Allgemeine Input-Zeile */
.input-row, .input-row-dark, .input-row-label { /* Gemeinsame Styles */
    display: flex;
    height: 50px;
    width: 100%;
	align-items: center;
    padding: 0 5px; /* Innenabstand */
    margin-bottom: 0px; /* Margin entfernen */
    border-bottom: 1px solid #333; /* Trennlinie zwischen Zeilen */
}

.input-row {
    background: #5C6266;
    color: white;
}


.input-row-dark { /* Nur Styles für dunklen Hintergrund */
    background: var(--bg-color);
    color: var(--text-color);
    border: 1px solid white; /* Weißer Rahmen */
}

.input-row-label { /* Nur Styles für dunklen Hintergrund */
    background: var(--bg-color);
    color: var(--text-color);
}

.input-row-large { 
    display: flex;
    align-items: center;
    height: 180px;
    width: 100%;
    padding: 0 5px; /* Innenabstand */
    margin-bottom: 0px; /* Margin entfernen */
    border-bottom: 1px solid #333; /* Trennlinie zwischen Zeilen */
	background: var(--bg-color);
    color: var(--text-color);
    border: 1px solid white; /* Weißer Rahmen */
}

.buttons-grid-upgrade {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
	height: auto;
	position: relative;
	top: 70px; /* Verschiebe nach unten */
    left: 20px; /* Verschiebe nach rechts */
}

.label {
    width: 250px; /* Einheitliche Label-Breite */
    text-align: left;
	font-size: 16px;
}

#min-temp-value, #max-temp-value {
    font-size: 16px;
    color: #FFFFFF;
}

/* Input-Felder */
.text-input {
    background: #5C6266; /* Grauer Hintergrund */
    color: #ffffff;   /* Weißer Text */
    height: 30px;
    margin-left: auto; /* Rechts ausrichten */
    padding: 5px;
    width: 80px;
    text-align: right;
	font-size: 16px;
	border: 1px solid #555;
}

.drop-input, #control-variable-select {
    background: #FFFFFF; /* Grauer Hintergrund */
    color: #000000;   /* Schwarzer Text */
    height: 35px;
    margin-right: 20px; /* Rechts ausrichten */
    padding: 5px;
    width: 200px;
    text-align: left;
	font-size: 16px;
}

.temp-input {
    width: 100%;
    padding: 10px;
    font-size: 20px;
    border: 1px solid #555;
    border-radius: 4px;
    background-color: var(--btn-bg);
    color: #ffffff;
}

/* Für die Buttons im Bestätigungsmodal (Operator-Rechte) */
#op-rights-modal .modal-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Für die Buttons im Temperaturmodal */
#temp-modal .modal-footer {  /* Hier .modal-footer verwenden */
    display: flex;
    justify-content: center;
    gap: 10px;
    border-top: none; /* Optional: Rahmen entfernen, wenn nicht gewünscht */
    text-align: center; /* Optional: Text im Footer zentrieren */
}


.modal-btn {
    background-color: #555;
    color: white;
    padding: 10px 20px;
    margin: 0 5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Footer */
.modal-footer {
	align-items: center;
    border-top: none;
    padding-top: 15px; /* Abstand zum Body */
    display: flex;
    justify-content: flex-end; /* Buttons rechts ausrichten */
    margin-top: auto; /* Footer am unteren Rand fixieren */
}

.modal-btn.cancel {
    background-color: #555;
    color: white;
}

.modal-btn.confirm {
    background-color: #555;
    color: white;
}

.warn-image {
    height: 100px;
    width: 100px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Behält das Seitenverhältnis bei */
}

.error-message {
    color: #ff0000;
    background-color: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff0000;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 14px;
    display: none;
}

/* Bestätigungsfenster Styling */
.modal-content.confirmation {
    max-width: 400px;
}

.modal-message {
    margin-bottom: 25px;
    line-height: 1.5;
	max-width: 400px;
}

/* Styles für das Control Variable Modal */
#control-variable-modal .modal-body {
    padding: 20px;
}

#control-variable-select {
    appearance: none; /* Entfernt Standard-Dropdown-Pfeil */
    -webkit-appearance: none; /* Für Safari */
    background-image: url("image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M12 16l-6-6h12z' fill='rgba(255,255,255,1)'/%3E%3C/svg%3E"); /* Dropdown-Pfeil Icon */
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px; /* Platz für Dropdown-Pfeil */
}

#control-variable-modal .modal-footer {
    border-top: none;
    padding-top: 0;
}

/* Pump Modal Styles */
#pump-modal .modal-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#pump-modal .input-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

#pump-modal .label {
    width: 120px;
    text-align: left;
}

#pump-level {
    width: 100%; /* Volle Breite für den Slider */
}

#pump-level-value, #pump-pressure-value {
    width: 40px;
    text-align: right;
}

/* Level Modal Styles */
#level-modal .modal-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#level-modal .input-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

#level-modal .label {
    width: 150px;
    text-align: left;
}

#level-modal select, #level-modal input {
    border: 1px solid #555;
    border-radius: 4px;
}

#level-modal select { /* Dropdown Styling */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M12 16l-6-6h12z' fill='rgba(255,255,255,1)'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}


#level-display {
    width: 30px; /* Breite für Level-Anzeige */
    text-align: right;
}

/* Device Selection Modal Styles */
#device-selection-modal .modal-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#device-selection-modal .label {
    width: 150px; /* Breite für die Label */
    text-align: left;
}

#device-selection-modal select, #device-selection-modal input[type="text"] {
    width: 100%; /* Volle Breite für Input-Felder */
    padding: 8px;
    border: 1px solid #555;
    border-radius: 4px;
}

#device-selection-modal select { /* Dropdown-Styling */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M12 16l-6-6h12z' fill='rgba(255,255,255,1)'/%3E%3C/svg%3E"); /* Dropdown Icon */
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

#found-devices {
    display: flex;
    align-items: center;
    gap: 10px;
}

#extended-settings {
    margin-top: 50px; /* Abstand zum oberen Bereich */
}

.indented {
    margin-left: 20px; /* Einrückung für manuelle Eingabe */
}

.label-radio {
    margin-right: 20px;
}

#device-selection-modal .modal-footer button {
    margin: 0 5px;
}

#device-selection-modal .modal-btn.confirm {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

/* Messages Modal Styles */
#messages-modal .modal-body {
    padding: 20px;
}

.message-highlight {
    border: 2px solid #FFCC00 !important;
    box-shadow: 0 0 8px #FFCC00;
}

.message-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 10px;
    padding: 15px; 
    background-color: #2D3234;
    border-radius: 4px;
    min-height: 50px;
    height: auto;
}

.message-text {
    font-size: 16px;
    color: white;
    flex: 1;
}

.warn-image {
    width: 24px;
    height: 24px;
    max-width: 24px;
    max-height: 24px;
    object-fit: contain;
}

#messages-count {
    font-weight: bold;
}


.message-text {
    font-size: 16px;
}

/* Control Variables Modal Styles */
#control-variables-modal .modal-body {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Abstand zwischen den Zeilen */
}

#control-variables-modal .input-row {
    display: flex;
    align-items: center;
    gap: 5px; /* Abstand zwischen Label und Input */
}

#control-variables-modal .label {
    width: 130px;
    text-align: left;
}

#control-variables-modal select,
#control-variables-modal input[type="number"] {
    -moz-appearance: textfield; /* Entfernt Pfeile bei Number-Inputs in Firefox */
	border: 1px solid #555;
}

/* Einheit für Inputs */
.unit {
    max-width: 200px; /* Breite für die Einheit */
    text-align: left;
	font-size: 16px;
}

#control-variables-modal select {
    -webkit-appearance: none; /* Entfernt Standard-Dropdown-Pfeil */
    -moz-appearance: none;
    appearance: none;
    background-image: url("image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M12 16l-6-6h12z' fill='rgba(255,255,255,1)'/%3E%3C/svg%3E"); /* Dropdown-Pfeil */
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px; /* Platz für Dropdown-Pfeil */
}

.indented {
    margin-left: 20px;
}

/* Limits Modal Styles */
#limits-modal .modal-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#limits-modal .input-row {
    display: flex;
    align-items: center;
    gap: 10px;
	border: 1px solid #555;
}

#limits-modal .label {
    width: 120px;
    text-align: left;
}

#limits-modal input {
    border: 1px solid #555;
    border-radius: 4px;
}

#tmax-exp-tank, #tmax-value { /* Styles für die nicht-editierbaren Felder */
    width: 50px; /* Breite für die Werte */
    text-align: right;
    padding-right: 5px; /* Abstand zur Einheit */
}

.unit {
    width: 30px; /* Breite für die Einheit */
}


/* Control Parameter Modal Styles */
#control-parameter-modal .modal-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#control-parameter-modal .input-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

#control-parameter-modal .label {
    width: 140px; /* Angepasste Breite für Label */
    text-align: left;
}

#control-parameter-modal input, #control-parameter-modal select {
    border: 1px solid #555;
    border-radius: 4px;
}

#control-parameter-modal select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M12 16l-6-6h12z' fill='rgba(255,255,255,1)'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

#control-parameter-modal .unit {
    width: 20px;
    text-align: left;
}

/* Checkbox-Styling für "Tv manual/auto" */
#tv-manual-auto {
    width: auto; /* Automatische Breite für Checkbox */
    margin-left: auto; /* Nach rechts verschieben */
}

/* Control Parameter Modal Styles */
#setup-modal .modal-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#setup-modal .input-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

#setup-modal .label {
    width: 140px; /* Angepasste Breite für Label */
    text-align: left;
}

#setup-modal input, #setup-modal select {
    border: 1px solid #555;
    border-radius: 4px;
}

#setup-modal select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M12 16l-6-6h12z' fill='rgba(255,255,255,1)'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

#setup-modal .unit {
    width: 20px;
    text-align: left;
}





/* Start/Pause-Button Styling */
.start-button, .pause-button {
    background-color: var(--btn-bg);
    border: none;
    border-radius: 5px;
    width: 100px;
    height: 100px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s;
}

.start-button {
    background-color: var(--btn-bg);
}

.pause-button {
    background-color: var(--btn-bg);
}

.start-button:hover, .pause-button:hover {
    filter: brightness(1.1);
}

.start-button img, .pause-button img {
    width: 60px;
    height: 60px;
}



/* Responsive Design */
@media (max-width: 992px) {
    .content-area {
        flex-direction: column;
    }
    
    .left-column, .right-column {
        width: 100%;
    }
    
    .left-column {
        margin-bottom: 15px;
    }
    
    .buttons-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }
    
    .placeholder-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .buttons-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(5, 1fr);
    }
}

@media (max-width: 480px) {
    .buttons-grid {
        grid-template-columns: 1fr;
    }
    
    .temp-block {
        height: auto;
        padding-bottom: 10px;
    }
    
    .temp-unit {
        position: relative;
        right: auto;
        top: auto;
        align-self: flex-end;
    }
}

/* Rotation-Animation */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Klasse für die Rotation, die wir später im JavaScript hinzufügen */
.rotating {
    animation: rotate 5s linear infinite; /* 2 Sekunden pro Umdrehung, endlos wiederholen */
}

