.menu-fade {
    visibility: hidden;
}
body.menu-ready .menu-fade {
    visibility: visible;
    transition: visibility 0s ease-in;
}

/* 🌙 Sötét téma beállítása */
body {

	font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: #333;
	padding-top: 60px; /* A menü magasságától függően állítsd be */
}
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('logo_color.png') no-repeat center center fixed; /* Fixált háttér másolata */
    background-size: contain; /* Kép méretezése */
    opacity: 0.1; /* 20% átlátszóság */
    z-index: -1; /* Háttérben marad */
}

.navbar {
    background-color: #343a40 !important;
}

.navbar a {
    color: #fff !important;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

/* 📊 Admin kártyák */
.card {
    border-radius: 10px;
	border-width:5px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: scale(1.02);
}

.card-title {
    font-weight: bold;
}

.card-icon {
    font-size: 2.5rem;
    color: #007bff;
}

.btn {
    border-radius: 5px;
}

/* 🌙 Sötét mód */
.dark-mode {
    background-color: #212529;
    color: #f8f9fa;
}

.dark-mode .card {
    background-color: #343a40;
    color: #fff;
}

.dark-mode .navbar {
    background-color: #212529 !important;
}
/* Mobilbarát betűméret és táblázat */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .btn {
        padding: 6px 8px;
        font-size: 12px;
    }

    .table th, .table td {
        font-size: 12px;
        padding: 5px;
    }

    .navbar-brand {
        font-size: 18px;
    }

    .card-title {
        font-size: 16px;
    }
}
/* Grafikonok méretezése */
canvas {
    max-width: 100% !important;
    height: auto; !important;
    display: block;
#    margin: 0 auto;
}
 /* Flash üzenet stílusa */
    #flash-message {
      position: fixed;
      top: 70px;
      right: 20px;
      z-index: 1050;
    }
   
    /* Táblázat fejléce modern megjelenés */
    .table thead th {
      background-color: #343a40;
      color: #fff;
    }
    /* A dashboard fejléc stílusa */
    .dashboard-header {
      margin-top: 1rem;
      margin-bottom: 2rem;
    }
@keyframes fadePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.badge-blink {
  animation: fadePulse 3s infinite;
}