
   
   
.ibm-plex-sans-<uniquifier> {
  font-family: "IBM Plex Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" <width>;
}



#page-loader {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
}

.loader-blur-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
  background-color: rgba(0, 0, 0, 0.1); /* optional sötétítés */
}

.loader-card {
  background: var(--card);
  color: var(--text);
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  z-index: 10;
  width: 280px;
  max-width: 60%;
  text-align: center;
}

.loader-text {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.loader-bar {
  position: relative;
  width: 100%;
  height: 2px;
  background: var(--border);
  overflow: hidden;
  border-radius: 10px;
}

.loader-bar-gradient {
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  animation: moveGradient 0.5s infinite linear;
}

@keyframes moveGradient {
  0% { left: -50%; }
  100% { left: 100%; }
}


   
   :root {
	   
	   --badge-pro: gold;
  --badge-free: var(--primary);
  
      --bg: #f3f4f4;
      --text: #1a1a1a;
      --card: #ffffff;
      --primary: #4287f9;
      --border: #dedede;
	  --label: #555;
 --gauge-bg: #ffffff;
  --gauge-fill: #4287f9;
  --gauge-unfill: #4287f933;
  --gauge-min: #0066ff66;
  --gauge-normal: #00cc6666;
  --gauge-max: #ff333366;
    }

   body.dark {
      --bg: #1c222f;
      --text: #e5e7eb;
      --card: #283144;
      --primary: #4287f9;
      --border: #151A21;
	  --label: #999;
--gauge-bg: #283144;
  --gauge-fill: #ffffff;
  --gauge-unfill: #ffffff33;
  --gauge-min: #0066ff66;
  --gauge-normal: #00cc6666;
  --gauge-max: #ff333366;
    }

    body {
      margin: 0;
      font-family: 'IBM Plex Sans';
      background: var(--bg);
      color: var(--text);
      transition: background 0.3s, color 0.3s;
      line-height: 1.4;    
}

    .container {
      max-width: 980px;
      margin: auto;
      padding: 0 1rem;
    }
	
	.comment {
  font-size: 0.8rem !important;
  color: color-mix(in srgb, var(--text) 80%, black);
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

u {
  text-decoration: underline;
  text-decoration-style: dashed;
  font-weight: 200;
}

    header {
      background: var(--card);
      border-bottom: 1px solid var(--border);
    }

    .header-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 1rem;
    }

    .logo {
      font-size: 1.2rem;
      font-weight: bold;
    }

    .nav-right {
      display: flex;
      align-items: center;
      gap: 1.5rem;
    }


    .theme-switch {
      position: relative;
      display: inline-block;
      width: 40px;
      height: 20px;
    }

    .theme-switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }

    .slider {
      position: absolute;
      cursor: pointer;
      top: 0; left: 0;
      right: 0; bottom: 0;
      background-color: #ccc;
      border-radius: 20px;
      transition: .4s;
    }

    .slider:before {
      position: absolute;
      content: "";
      height: 14px; width: 14px;
      left: 3px;
      bottom: 3px;
      background-color: white;
      transition: .4s;
      border-radius: 50%;
    }

    .theme-switch input:checked + .slider {
      background-color: var(--primary);
    }

    .theme-switch input:checked + .slider:before {
      transform: translateX(20px);
    }

    nav {
      display: none;
      flex-direction: column;
      background: var(--card);
      padding: 1rem;
    }

    .text-white {
		color: #fff;
	}
    nav a {
      color: var(--primary);
      text-decoration: none;
      padding: 0.5rem 0;
    }

    nav.show {
      display: flex;
    }

    .card {
      background: var(--card);
      padding: 1rem;
      margin-bottom: 0.85rem;
      border-radius: 14px;
      border: 0px solid var(--border);
    }

    footer {
      padding: 2rem 1rem;
      text-align: center;
      font-size: 0.9rem;
      color: #888;
    }

    /* Desktop Styles */
    @media(min-width: 768px) {
      nav {
        display: flex !important;
        flex-direction: row;
        gap: 1rem;
        background: none;
        padding: 0;
      }

      .nav-right {
        gap: 1.5rem;
      }
    }

   
	
	.main {
  display: flex;
  flex-direction: column;
  gap: 0rem;
  margin-top: 1rem;
}

.sidebar {
  display: block;
}

@media(min-width: 768px) {
  .main {
    flex-direction: row;
    align-items: flex-start;
	 gap: 2rem;
	  //margin-top: 2rem;
  }

  .content {
    flex: 2;
  }

  .sidebar {
    flex: 1;
    margin-left: -1rem;
  }

  .sidebar .card {
    margin-top: 0;
  }
}


 
.tag {
  display: inline-block;
  font-family: monospace;
  font-size: 0.85rem;
  padding: 0rem 0.3rem;
  border-radius: 3px;
  border: 1px solid;
  line-height: 1.4;
  margin: 0 0.1rem;
}

/* Light / dark kompatibilis színek */
.tag-red {
  background-color: rgba(255, 0, 0, 0.1);
  color: #a30000;
  border-color: #ffa4a4;
}

body.dark .tag-red {
  background-color: rgba(255, 0, 0, 0.2);
  color: #ffcccc;
  border-color: #cc4444;
}

.tag-yellow {
  background-color: rgba(255, 200, 0, 0.15);
  color: #8a6d00;
  border-color: #ffd966;
}

.tag-text {
  background-color: var(--card);
  color: var(--text);
  border-color: var(--border);
}

body.dark .tag-yellow {
  background-color: rgba(255, 200, 0, 0.2);
  color: #ffe9a8;
  border-color: #d2a100;
}

.tag-blue {
  background-color: rgba(0, 100, 255, 0.1);
  color: #003ea6;
  border-color: #99c2ff;
}

body.dark .tag-blue {
  background-color: rgba(0, 100, 255, 0.2);
  color: #cce0ff;
  border-color: #5a9dff;
}

.tag-green {
  background-color: rgba(0, 200, 100, 0.1);
  color: #005c3a;
  border-color: #8ef1b8;
}

body.dark .tag-green {
  background-color: rgba(0, 200, 100, 0.2);
  color: #b1fdd1;
  border-color: #48d18c;
}
body.dark .tag-text {
  background-color: var(--card);
  color: var(--text);
  border-color: var(--border);
}

.alert {
  padding: 1rem;
  border-left: 6px solid;
  border-radius: 12px;
  margin: 1rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: italic
}

/* --- Info --- */
.alert-info {
  background-color: rgba(0, 123, 255, 0.07);
  border-color: #4dabf7;
  color: #084298;
}

body.dark .alert-info {
  background-color: rgba(30, 144, 255, 0.1);
  border-color: #4dabf7;
  color: #a5d8ff;
}

/* --- Warning --- */
.alert-warning {
  background-color: rgba(255, 193, 7, 0.1);
  border-color: #ffc107;
  color: #856404;
}

body.dark .alert-warning {
  background-color: rgba(255, 193, 7, 0.15);
  border-color: #ffcd39;
  color: #ffe08a;
}

/* --- Danger --- */
.alert-danger {
  background-color: rgba(220, 53, 69, 0.1);
  border-color: #dc3545;
  color: #842029;
}

body.dark .alert-danger {
  background-color: rgba(220, 53, 69, 0.15);
  border-color: #e35d6a;
  color: #f8d7da;
}

/* --- Success --- */
.alert-success {
  background-color: rgba(40, 167, 69, 0.1);
  border-color: #28a745;
  color: #0f5132;
}

body.dark .alert-success {
  background-color: rgba(40, 167, 69, 0.15);
  border-color: #34d399;
  color: #d1f1df;
}
h1, h2, h3, h4 { margin:10px 0px 10px 0px;}
h2 {
  font-weight: 700;
}
.head-text {
  line-height: 1.2 !important;
  font-weight: 100;
  font-size: 18px;
}

p {
	color: var(--text);
	
	}

.form-control {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 5px 8px;
  border-radius: 3px; 
  margin-bottom: 5px;
  box-sizing: border-box;
  font-size: 1rem;
}
input, select { width: 80%;}
button { cursor: pointer;
}

 #console {
  position: relative;
  background: #eee;
  color: #333;
  padding: 10px;
  height: 300px;
  overflow-y: auto;
  font-family: monospace;
  border-radius: 8px;
  margin-top: 20px;
  box-sizing: border-box;
  max-width: 100%;
  background: var(--bg);
 border: 1px solid var(--border);
 color: var(--text);
  width: 100%;
  font-size: 11px;
  
  /* Ezek biztosítják a vízszintes scrollt */
 overflow-x: auto;
  white-space: pre-wrap;  /* vagy pre-line */
  word-break: break-all;
}

/* WebKit alapú böngészők (Chrome, Edge, Safari) */
#console::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

#console::-webkit-scrollbar-track {
  background: var(--card); /* világosabb háttér */
  border-radius: 4px;
}

#console::-webkit-scrollbar-thumb {
  background-color: var(--primary); /* a kékes szín */
  border-radius: 8px;
  border: 2px solid var(--card); /* kis belső padding hatás */
}

#console::-webkit-scrollbar-thumb:hover {
  background-color: #1d4ed8; /* hover-re erősebb árnyalat */
}
textarea {
  resize: none;
  cursor: pointer;
}
  
 .grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0px, 1fr));
  gap: 1rem;
  text-align: center;
} 

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}


.heading-label {
  font-size: 0.90rem; 
  text-transform: uppercase;
  font-weight: 700;
  color: var(--label) !important;
    
}

.graph {
  width: 100% !important;
  height: 250px !important;
}

.card .graph {
  color: var(--label);
}

.diagram {
  position: relative;
}

.home-text {
  position: absolute;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 4px;
  pointer-events: none;
}


.sun-label {
  top: 73%;
  right: 64%;
  font-size: clamp(20px, 4vw, 32px);
  width: auto;
  text-align: right;
  color: #edad4e;
  font-weight: 800;
}

.in-label {
  top: 11%;
  right: 18%;
  font-size: clamp(20px, 4vw, 32px);
  width: auto;
  text-align: right;
  color: #4c99cf;
  font-weight: 800;
}

.out-label {
  top: 73%;
  left: 62%;
  font-size: clamp(20px, 4vw, 32px);
  width: auto;
  text-align: right;
  color: #7ad36e;
  font-weight: 800;
}


small {
 font-size: 1.3rem
}





.read-more-container {
  width: 100%;
  max-width: 600px;
  position: relative;
  margin: 20px auto;
  font-family: Arial, sans-serif;
}

.read-more-content {
  max-height: 4.5em; /* kb. 2-3 sor */
  overflow: hidden;
  position: relative;
  transition: max-height 0.6s ease;
}

.read-more-content.collapsed::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3em;
  background: linear-gradient(to bottom, transparent, var(--card));
  pointer-events: none;
}

.read-more-content.expanded {
  max-height: 1000px; /* elég nagy, hogy teljes szöveg megjelenjen */
}

.read-more-toggle {
  margin-top: 10px;
  cursor: pointer;
  padding: 4px 8px;
 }

.card-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}


.card-row img {
  max-height: 120px;
  border-radius: 10px;
}

.card-text {
  flex: 1;
  text-align: left;
}

.price-1 { 
  font-weight: 800;
  color: var(--text);
  font-size: 1.65rem;
  margin: 10px;
  
}

.tax-info {
  font-size: 0.65rem;
  color: var(--text);
}

@media (max-width: 600px) {
  .card-row {
    flex-direction: column;
    align-items: flex-start;

  }
   .card-text {	display:none;}
  .card-row img {
    align-self: center;
  }
}