.loader {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 180px;
    height: 180px;
    margin: -30px 0 0 -30px;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    animation: spin 2s linear infinite;
    z-index: 1; /* A kör animációja mögött van */
}

.loader-text {
    position: relative;
    z-index: 2; /* A szöveg mindig a kör fölött van */
    color: #000; /* Szöveg színe */
    font-size: 14px; /* Szöveg mérete */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.custom-card-style-1 {
    min-height: 400px;
}

.work-container h4{
    margin-top: 15px !important;
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around; /* Esetleg: space-between vagy center */
}

.tag-container a {
    margin: 1px;
}

.active-tag {
    color: var(--primary);
}
.active-category {
    color: var(--primary) !important;
    font-weight: 800;
}

.service-ul li{
    padding-bottom: 15px;
}

.work-container h3{
    font-size: 1.4em;
    font-weight: 600;
    line-height: 27px;
    margin: 0 0 14px 0;
}

.img-custom {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
}

.sale-row {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .col-md-6 img {
        margin-top: 20px; /* Távolság a gomb és a kép között kisebb képernyőkön */
    }

    .sale-btn {
        margin-bottom: 20px; /* Extra távolság a gomb alatt */
    }
}

#kerjAjanlatot {
    border: 1px solid black;
    border-radius: 15px;
    padding: 15px;
}


@media (max-width: 768px) {
    .ajanlatkeres-img {
        display: none;
    }
}

.blog-excel-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
    text-align: left;
}

.blog-excel-table,
.blog-excel-table th,
.blog-excel-table td {
    border: 1px solid #dddddd;
}

.blog-excel-table th,
.blog-excel-table td {
    padding: 12px 15px;
}

.blog-excel-table thead {
    background-color: #f2f2f2;
}

.toggle-blog-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    padding: 15px;
    border: 1px solid #ddd; /* Vékony szegély */
    border-radius: 8px; /* Lekerekített sarkak */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Árnyék */
    background-color: #fff; /* Fehér háttér, hogy kiemelkedjen */
}

.toggle-blog-content.show {
    max-height: 500px; /* Ezt állítsd be a tartalom tényleges magassága alapján */
    opacity: 1;
}

.toggle-blog-arrow {
    display: inline-block;
    transition: transform 0.3s ease; /* Nyíl animálása */
    font-size: 18px;
}

.toggle-blog-arrow.collapsed {
    transform: rotate(-90deg); /* Nyíl elfordítása, ha rejtett a tartalom */
}

.chat-list {
    list-style-type: none; /* Eltávolítja az alapértelmezett listastílust */
    padding: 20px;
    margin: 0;
    background-color: #f9f9f9; /* Világos háttérszín */
    border: 1px solid #ddd; /* Finom szürke keret */
    border-radius: 10px; /* Lekerekített sarkak */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Árnyék a chat-lista körül */
}

/* Chat üzenetek formázása */
.chat-message {
    padding: 10px 15px;
    margin: 10px 0;
    border-radius: 10px;
    max-width: 80%; /* Buborék szélessége */
    display: inline-block;
    position: relative;
    font-family: Arial, sans-serif;
}

/* Emberi chat üzenetek */
.chat-message.human {
    background-color: #d1e7fd; /* Világoskék buborék */
    color: #333;
    margin-left: auto; /* Jobbra igazítva */
    text-align: right;
}

/* Bot chat üzenetek */
.chat-message.bot {
    background-color: #f1f1f1; /* Világosszürke buborék */
    color: #333;
    margin-right: auto; /* Balra igazítva */
}

/* Chat buborékok árnyék */
.chat-message.human, .chat-message.bot {
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.1); /* Halvány árnyék a buborékhoz */
}

/* Kicsit eltolja az ikonokat */
.chat-message i {
    margin-right: 5px;
}

@media (max-width: 600px) {
    .chat-message {
        max-width: 100%; /* A buborékok kitöltik a képernyő szélességét mobilon */
        padding: 10px; /* Kicsit kisebb padding mobilon */
    }

    .chat-list {
        padding: 15px; /* A chat lista belső margója kisebb lesz mobilon */
        border-radius: 5px; /* Kicsit élesebb sarkak mobilon */
    }

    .chat-message.human {
        margin-left: 0; /* Mobilon ne igazítódjon teljesen jobbra */
        text-align: left; /* Balra igazítás mobilon */
    }

    .chat-message.bot {
        margin-right: 0; /* Mobilon ne igazítódjon teljesen balra */
    }
}

.plan {
    width: 100%;
}

.price-counter-box {
    background-color: #d6d8db; /* erősebb szürke */
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.plan-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.price-label {
    white-space: nowrap;
    font-size: 0.9rem;
}

@media (max-width: 767.98px) {
    .plan {
        width: 100%;
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .plan h3 {
        font-size: 1.25rem;
    }

    .price {
        font-size: 1.1rem !important;
    }
}

.post-cards {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px; /* kártyák közötti hely */
}

.post-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.post-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.post-card h3 {
    font-size: 1rem;
    padding: 10px;
    margin: 0;
}

.card-3d-wrap {
    perspective: 1000px;
}
.card-3d {
    transform: translateZ(0);
    transition: transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.06);
    border: 0;
    border-radius: 1rem;
}
.card-3d:hover {
    transform: translateY(-6px) rotateX(2deg);
    box-shadow: 0 16px 40px rgba(0,0,0,.12), 0 6px 12px rgba(0,0,0,.08);
}

article section a,
article section a:hover,
article section a:visited,
article section a:active {
    text-decoration: none !important;
    font-weight: bolder;
}


/* ===== Alap kártya ===== */
.supplier-card {
    background: #f2f2f2;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1.5rem;
    height: 100%;
}

.supplier-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.1);
}

/* ===== Kategória (bal fent) ===== */
.supplier-category {
    text-align: left;
    margin-bottom: 0.75rem;
}

.supplier-badge {
    display: inline-block;
    border-radius: 6px;
    font-size: 0.8rem;
    padding: 4px 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.supplier-badge.category {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #e0e0e0;
}

.supplier-badge.category:hover {
    background: #e9ecef;
}

/* ===== Logo vagy név ===== */
.supplier-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
}

.supplier-logo img {
    max-height: 50px;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(0.2);
    transition: filter 0.3s ease;
}
.supplier-card:hover .supplier-logo img {
    filter: grayscale(0);
}

.supplier-name {
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: #222;
}

/* ===== Leírás ===== */
.supplier-desc {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0.5rem 0 1rem 0;
    text-align: center;
}

/* ===== Tag-ek (legalul jobbra) ===== */
.supplier-tags {
    margin-top: auto;
    text-align: right;
}

.supplier-badge.tag {
    background: #e8f0ff;
    color: #0d6efd;
    border: 1px solid #cfe2ff;
}

.supplier-badge.tag:hover {
    background: #dbe5ff;
}

/* ===== Footer ===== */
.supplier-footer {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 1rem;
    margin-top: 1rem;
    text-align: center;
}

/* ===== Link reset ===== */
.supplier-card a,
.supplier-card a:hover {
    text-decoration: none !important;
}

/* ===== Kategória szűrő blokk ===== */
.supplier-category-filter {
    gap: 0.5rem;
}

.supplier-badge.category.active {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.2);
}


/* ===== Szűrő kártya ===== */
.supplier-filter-card {
    background: #f2f2f2;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.supplier-filter-card .supplier-badge.category.active {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}

/* ===== "Összes" kategória badge (kiemelt) ===== */
.supplier-category-filter a:first-child {
    background: black !important; /* sötétszürke */
    color: #fff !important;
    border-color: black !important;
    font-weight: 500;
}

.supplier-category-filter a:first-child:hover {
    background: #212529 !important;
    border-color: #212529 !important;
}

.text-muted {
    color: #6c757d !important;
}

/* ===== Statikus információs kártya ===== */
.supplier-intro-card {
    background: #f2f2f2;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 14px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    transition: none !important;
}

/* ne mozduljon hoverre */
.supplier-intro-card:hover {
    transform: none !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.05) !important;
}


/* ===== Supplier fő kártya-keret (3D hatás) ===== */
.supplier-main {
    background: #fff;
    border-radius: 18px;
    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.06),
        0 2px 6px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    padding: 2rem 2.5rem;
    margin-bottom: 2rem;
    max-width: 1300px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* ne legyen hover animáció */
.supplier-main:hover {
    transform: none !important;
    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.06),
        0 2px 6px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.supplier-card.no-equal {
    height: auto !important;
}


body.admin-body a,
body.admin-body a:link,
body.admin-body a:visited,
body.admin-body a:hover {
    text-decoration: none !important;
}