.stat-row {
    margin-top: 15px;
}

.stat-card {
    background-color: #ffffff;
    border: none;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
    padding-bottom: 60px;
    display: flex; /* Flexbox használata az elrendezéshez */
    flex-direction: column; /* Elemek függőleges irányban való elrendezése */
    justify-content: space-between; /* A tartalom és a navigátor közötti hely kiegyenlítése */
    height: 305px; /* Adjon meg egy fix magasságot, ha szükséges, pl. 300px */
}

.stat-card:hover {
    transform: translateY(-5px); /* Kis animáció a kártya fölé húzva */
}

.stat-header {
  display: flex;
  justify-content: space-between;
  padding: 5px 10px;
  background-color: #e9ecef; /* Világos háttérszín a fejléc számára */
  border-radius: 5px;
  margin-bottom: 5px; /* Kis távolság a fejléc és a lista között */
  font-weight: bold; /* Félkövér betűtípus a fejlécek számára */
}

.stat-icon {
    font-size: 30px;
    color: #007bff; /* Válassz egy színt, amely illeszkedik a webhelyed stílusához */
}

.stat-value {
    font-size: 26px;
    font-weight: bold;
    color: #333333;
}

.stat-card h5 {
    font-size: 18px;
    color: #666666;
    margin-bottom: 10px;
}

.stat-list-container {
    overflow-y: auto; /* Görgethetővé teszi a konténert, ha a tartalom meghaladja a magasságot */
    max-height: 150px; /* A görgethető terület maximális magassága, állítsd be szükség szerint */
    margin-bottom: 10px; /* Távolság a navigátor gombok és a lista között */
}

.stat-list-container {
  display: flex;
  flex-direction: column;
}

.stat-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px;
  border-bottom: 1px solid #ccc;
  background-color: #f2f2f2;
  border-radius: 5px;
  margin: 5px 0;
  box-sizing: border-box;
}

.stat-list-item span {
    display: block;
    flex-basis: 33.33%;
    text-align: center;
}

.stat-list-item:last-child {
  border-bottom: none;
}


/* Font Awesome ikonok (ha használod) */
.stat-icon i {
    margin-bottom: 5px;
}

.stat-content {
    /*overflow-y: auto;*/
    flex: 1;
    max-height: 200px; /* Korlátozza a maximális magasságot, változtasd meg igény szerint */    
    padding: 10px;
    text-align: center; /* Középre igazítja a szöveget */
    flex-grow: 1;
}

/* A listaelemek stílusának beállítása a stat-contenten belül */
.stat-content ul {
    padding: 0;
    margin: 0;
    list-style-type: none; /* Eltávolítja a pontokat */
}

.stat-content li {
    background-color: #f2f2f2;
    padding: 5px;
    margin-bottom: 5px;
    border-radius: 5px;
}

#lowStockProducts li {
    background-color: #f2f2f2; /* Enyhe szürke háttér az egyes listaelemek számára */
    padding: 5px 10px; /* Kis padding a tartalom és a szélek között */
    margin-bottom: 5px; /* Kis távolság a listaelemek között */
    border-radius: 5px; /* Lekerekített sarkok */
    list-style-type: none; /* Eltávolítja a listaelemek előtti pontokat */
}


/* Navigation Buttons*/
.navigator {
    position: absolute; /* Pozícionálja abszolút módon a stat-card-on belül */
    bottom: 10px; /* Helyezd el alul, a kártya szélétől 10px-re */
    left: 0;
    right: 0;
    text-align: center;
    /*transform: translateX(-50%); /* Középre igazítja a navigátort */
    width: 100%; /* Teljes szélesség a kártyán belül */
    margin-top: 10px;
}

.navigator button {
    /*border: none;
    background-color: transparent;
    cursor: pointer;
    padding: 5px 10px;
    margin: 0 5px;
    font-size: 20px;*/
    min-width: 80px; /* Fix szélesség a gomboknak */
    height: 35px; /* Fix magasság a gomboknak */
    margin: 0 10px; /* Távolság a gombok között */
    background-color: #007bff; /* Háttérszín */
    color: white; /* Szövegszín */
    border-radius: 5px; /* Lekerekített sarkok */
    border: 1px solid #0056b3; /* Keret */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Kis árnyék */
    transition: background-color 0.3s; /* Színváltás animáció */
}

.navigator button:disabled {
    color: #ccc;
    cursor: not-allowed;
}

.navigator button:hover {
    background-color: #0056b3; /* Sötétebb háttérszín ráhovereléskor */
}

.fc-event-custom div {
    font-size: 1.2em;
    line-height: 1.4;
}