@import url('https://fonts.googleapis.com/css2?family=Marcellus&display=swap');


:root {
    /* Alapszínek */
    --primary: #ffffff;
    --black: #000000;
    --white: #ffffff;
    --accent: #d32f2f;
    --highlight: #d32f2f;
    --text-light: #ffffff;
    --text-muted: #dddddd;
    --text-dark: #222222;

    /* Árnyék */
    --shadow: 0 8px 20px rgba(0, 0, 0, 0.15);

    /* Menü */
    --menu-bg: rgba(0, 0, 0, 0.5);
    --menu-blur: blur(12px);
    --menu-border: rgba(255, 255, 255, 0.1);
    --menu-link-color: var(--white);
    --menu-link-hover-bg: rgba(255, 255, 255, 0.1);
    --menu-link-hover-color: #ff4d4f;
    --menu-link-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    --menu-close-shadow: 0 0 5px rgba(0, 0, 0, 0.6);

    /* Footer */
    --footer-bg: rgba(0, 0, 0, 0.9);
    --footer-border: rgba(255, 255, 255, 0.1);
    --footer-heading: #f9f9f9;
    --footer-link: #f9f9f9;
    --footer-link-hover: #d32f2f;
    --footer-icon-size: 1.2rem;
    --footer-text: #cccccc;
    --footer-gap: 2rem;
    --footer-max-width: 1200px;
    --footer-logo-shadow: 0 0 10px rgba(0, 0, 0, 0.3);

    /* Kapcsolati lap */
    --form-bg: rgba(255, 255, 255, 0.05);
    --form-blur: blur(20px);
    --form-border: rgba(255, 255, 255, 0.2);
    --input-bg: rgba(255, 255, 255, 0.1);
    --input-border: rgba(255, 255, 255, 0.2);
    --submit-bg: #d32f2f;
    --submit-hover: #d3502f;

    /* Termékek / kártyák */
    --select-bg: rgba(255, 255, 255, 0.07);
    --select-border: rgba(255, 255, 255, 0.2);
    --select-color: #ffffff;
    --select-accent: #d32f2f;
    --select-radius: 12px;
    --select-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);

    --termek-card-bg: rgba(255, 255, 255, 0.06);
    --termek-card-border: rgba(255, 255, 255, 0.2);
    --termek-card-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);

    --termek-gomb-bg: #d32f2f;
    --termek-gomb-hover: #b62828;

    /* Modal */
    --modal-bg: rgba(0, 0, 0, 0.85);
    --modal-content-bg: rgba(255, 255, 255, 0.05);
    --modal-border: rgba(255, 255, 255, 0.2);
    --modal-radius: 16px;
    --modal-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    --modal-close-color: #ffffff;
    --modal-close-hover: #ff4d4f;

    /* Product modal */
    --product-modal-bg: rgba(0, 0, 0, 0.85);
    --product-modal-zindex: 9999;
    --product-modal-close-color: #fff;
    --product-modal-close-hover: #ff4d4f;
    --product-modal-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    --product-modal-radius: 16px;

    /* Kosár */
    --cart-bg: rgba(255, 255, 255, 0.06);
    --cart-border: rgba(255, 255, 255, 0.2);
    --cart-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    --cart-button-bg: #d32f2f;
    --cart-button-hover: #b62828;
    --cart-header-bg: rgba(0, 0, 0, 0.4);
    --cart-header-color: #ffd700;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

body {
    min-height: 100vh;
    font-family: 'Marcellus', serif;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    color: var(--white);
}



/* WebKit alapú böngészők (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

/*ANIMÁCIÓK*/
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLogo {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/*  rolunk.php */
.certificate-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.certificate-img {
    width: 250px;
    cursor: pointer;
    border-radius: 16px;
    transition: transform 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.certificate-img:hover {
    transform: scale(1.05);
}

.certificate-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.certificate-modal.open {
    display: flex;
}

.certificate-modal .modal-content {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
    object-fit: contain;
}

.certificate-modal .close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 10001;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: white;
    cursor: pointer;
    z-index: 10000;
    user-select: none;
}

.nav-arrow.prev {
    left: 2rem;
}

.nav-arrow.next {
    right: 2rem;
}

/*  képnéző */
.image-modal {
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem;
}

.image-modal .modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
}

.image-modal .modal-content {
    max-width: 90%;
    max-height: 90%;
    text-align: center;
    overflow-y: auto;
}

.image-modal img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Mobil: nyilak a kép alatt középen */
.modal-nav {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.modal-prev,
.modal-next {
    font-size: 2rem;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s;
}

.modal-prev:hover,
.modal-next:hover {
    background: rgba(255, 255, 255, 0.5);
    color: black;
}

/* Asztali nézet: nyilak a kép két oldalán */
@media (min-width: 769px) {
    .modal-nav {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        justify-content: space-between;
        padding: 0 3rem;
        /* nyilak nem ragadnak a szélre */
        margin-top: 0;
        pointer-events: none;
        /* csak a gombok legyenek kattinthatók */
    }

    .modal-prev,
    .modal-next {
        pointer-events: auto;
        background: rgba(255, 255, 255, 0.3);
        color: black;
    }
}

footer.hidden {
    display: none !important;
}




.service-content {
    max-width: 1000px;
    margin: 4rem auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 3rem 2rem;
    color: var(--white);
    box-shadow: var(--shadow);
    animation: fadeInUp 0.7s ease both;
}

.service-content h1 {
    text-align: center;
    color: var(--accent);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
}

.service-content h2 {
    color: var(--highlight);
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.service-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-content ul {
    list-style: none;
    padding: 0;
}

.service-content ul li {
    background: rgba(255, 255, 255, 0.07);
    padding: 1rem;
    border-radius: 14px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    font-size: 1.05rem;
    line-height: 1.4;
}

.service-content ul li strong {
    color: var(--accent);
}

@media (max-width: 768px) {
    .service-content {
        padding: 2rem 1rem;
    }

    .service-content h1 {
        font-size: 2rem;
    }

    .service-content h2 {
        font-size: 1.5rem;
    }
}



/* --- header.php  --- */

header {
    width: 100vw;
    max-width: 100%;
    margin: 0;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    position: relative;
    z-index: 900;
    box-sizing: border-box;
}

.header-inner {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.btn-auth {
    padding: 0.6rem 1.2rem;
    background: rgba(30, 30, 30, 0.3);
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 0.2px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 8px 20px rgba(0, 0, 0, 0.25);
}



.btn-auth i {
    font-size: 1.1rem;
}

.btn-auth:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.4),
        0 0 10px rgba(255, 255, 255, 0.06);
}


.logo img {
    width: 350px;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow:
        0 6px 12px rgba(0, 0, 0, 0.6),
        0 0 10px rgba(255, 255, 255, 0.05),
        inset 0 0 3px rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: fadeInLogo 0.8s ease forwards;
}

.logo img:hover {
    transform: scale(1.03) translateY(-2px);
    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.8),
        0 0 12px rgba(255, 255, 255, 0.1),
        inset 0 0 6px rgba(255, 255, 255, 0.2);
}




/* Mobilra kisebb logó */
@media (max-width: 768px) {
    .logo img {
        width: 180px;
    }
}

/* --- MENU OPEN BUTTON --- */
.menu-open-btn {
    background: var(--highlight);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: var(--shadow);
    z-index: 9999;
    display: none;
    /* alapból elrejtve, csak mobilon jelenik meg */
}

@media (max-width: 768px) {
    .menu-open-btn {
        position: fixed !important;
        top: 20px;
        right: 20px;
        z-index: 10000 !important;
        display: block !important;
    }
}



/* --- SIDE MENU --- */
.side-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: var(--menu-bg);
    backdrop-filter: var(--menu-blur);
    -webkit-backdrop-filter: var(--menu-blur);
    overflow-x: hidden;
    transition: width 0.5s;
    padding-top: 60px;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1050;
    border-left: 1px solid var(--menu-border);
}

.side-menu a {
    padding: 16px 32px;
    text-decoration: none;
    font-size: 1.0rem;
    color: var(--menu-link-color);
    display: block;
    font-weight: bold;
    transition: background 0.3s, color 0.3s;
    text-shadow: var(--menu-link-shadow);
}

.side-menu a:hover {
    background-color: var(--menu-link-hover-bg);
    color: var(--menu-link-hover-color);
}

.side-menu .menu-close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--menu-link-color);
    cursor: pointer;
    text-shadow: var(--menu-close-shadow);
}

/* --- LOGO AT BOTTOM --- */
.side-logo-fixed {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.side-logo-fixed img {
    width: 100px;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* --- UNIFIED AUTH BUTTONS (VISIBLE ON ALL DEVICES) --- */
.mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.mobile-auth-buttons .btn-auth {
    width: 160px;
    font-size: 0.85rem;
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    text-align: center;
    justify-content: center;
}

.mobile-auth-buttons .btn-auth i {
    font-size: 1rem;
}

/* Mobil logó eltolás */
@media (max-width: 768px) {
    .side-logo-fixed {
        bottom: 20px;
    }
}

/* --- OVERLAY --- */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    z-index: 1000;
}

.overlay.show {
    display: block;
}

@media (max-width: 768px) {
    .auth-buttons {
        display: none !important;
    }
}




.maincontainer {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url('asztali.png') no-repeat center center fixed;
    background-size: cover;
    position: relative;
    width: 100%;
    z-index: 0;
}

.maincontainer::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('asztali.png');
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 768px) {
    .maincontainer {
        background: url('mobil.png') no-repeat center center fixed;
        background-size: cover;
    }

    .maincontainer::before {
        background-image: url('mobil.png');
    }
}

main.maincontainer {
    flex: 1;
}



/* Csempe rendszer */
.tile-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.tile {
    width: 220px;
    height: 220px;
    background: rgba(200, 200, 200, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: #eeeeee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow:
        0 8px 20px rgba(255, 255, 255, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    opacity: 0;
    animation: fadeInUp 1.0s ease forwards;
}

.tile:nth-child(1) {
    animation-delay: 0.3s;
}

.tile:nth-child(2) {
    animation-delay: 0.6s;
}

.tile:nth-child(3) {
    animation-delay: 0.9s;
}

.tile:nth-child(4) {
    animation-delay: 1.2s;
}

.tile:nth-child(5) {
    animation-delay: 1.5s;
}

.tile:nth-child(6) {
    animation-delay: 1.8s;
}

.tile:nth-child(7) {
    animation-delay: 2.1s;
}

.tile:nth-child(8) {
    animation-delay: 2.4s;
}

.tile:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.4),
        0 0 10px rgba(255, 255, 255, 0.06);
}

.tile i {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
    transition: color 0.3s, transform 0.3s;
}

a.tile,
a.tile:visited,
a.tile:hover,
a.tile:focus,
a.tile:active {
    text-decoration: none;
}



.tile-informatika {
    background-image: url('/informatika.png');
    background-size: cover;
    background-position: center;
}

.tile-webshop {
    background-image: url('/webshop.png');
    background-size: cover;
    background-position: center;
}


/* footer.php */

footer {
    background: var(--footer-bg, #000);
    color: var(--white, #fff);
    padding: 2rem 1rem 1rem;
    font-size: 0.85rem;
    border-top: 1px solid var(--footer-border, rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    z-index: 1;
}

/* ==== Tartalomrács ==== */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

/* ==== Egyes oszlopok ==== */
.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-column.logo {
    align-items: center;
}

.footer-logo {
    max-width: 140px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-column h3,
.footer-column h4 {
    color: var(--footer-heading, #fff);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.footer-column p {
    margin: 0;
    line-height: 1.4;
}

.footer-column a {
    display: block;
    color: var(--footer-link, #fff);
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-column a:hover {
    color: var(--footer-link-hover, #ff4d4f);
    text-decoration: underline;
}

/* ==== Social ikonok egy sorban ==== */
.footer-column.social .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.3rem;
    justify-content: center;
    flex-wrap: nowrap;
}

.social-links a {
    font-size: 1.2rem;
    color: var(--footer-link, #fff);
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--footer-link-hover, #ff4d4f);
}

/* ==== Céges logók középen, sorban ==== */
.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem auto 0;
    flex-wrap: wrap;
}

.footer-logos img {
    height: auto;
    max-height: 40px;
    object-fit: contain;
}

/* ==== Alsó sor ==== */
.footer-bottom {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--footer-border, rgba(255, 255, 255, 0.1));
    font-size: 0.75rem;
    color: var(--footer-text, #ccc);
}

/* ==== Mobil nézet ==== */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column {
        align-items: center;
    }

    .footer-column.social .social-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-logos {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ==== Alsó sor ==== */
.footer-bottom {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--footer-border, rgba(255, 255, 255, 0.1));
    font-size: 0.75rem;
    color: var(--footer-text, #ccc);
}

/* ==== Mobil nézet ==== */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column {
        align-items: center;
    }

    .footer-column.social .social-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-logos {
        flex-direction: column;
        gap: 1rem;
    }
}




.floating-action-button {
    position: fixed;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        inset 3px 3px 6px rgba(255, 255, 255, 0.1),
        inset -3px -3px 6px rgba(0, 0, 0, 0.3),
        0 8px 16px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    z-index: 10000;
}

.floating-action-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.5),
        inset 1px 1px 4px rgba(255, 255, 255, 0.15),
        inset -1px -1px 4px rgba(0, 0, 0, 0.2);
}

/* Kosár: középen */
.floating-action-button.cart {
    bottom: 50%;
    transform: translateY(50%);
}

.floating-action-button.cart i {
    color: #c0c0c0;
    /* ezüst ikon */
}

/* Hívás: alul */
.floating-action-button.call {
    bottom: 20px;
}

.floating-action-button.call i {
    color: #4caf50;
    /* zöld ikon */
}







/* Kapcsolati oldal  */
.contact-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 100px;
    gap: 2rem;
    padding: 2rem;
}

@media (min-width: 768px) {
    .contact-container {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
    }
}

.contact-card,
.contact-form {
    background: var(--form-bg);
    backdrop-filter: var(--form-blur);
    -webkit-backdrop-filter: var(--form-blur);
    border: 1px solid var(--form-border);
    border-radius: 20px;
    padding: 2rem;
    width: 100%;
    max-width: 500px;
    color: var(--white);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover,
.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.contact-card a {
    color: var(--accent);
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 1rem;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 10px;
    color: var(--white);
    font-size: 1rem;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2);
    transition: border 0.3s, box-shadow 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 8px var(--accent);
}

button[name="submit"] {
    background: var(--submit-bg);
    color: var(--white);
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: var(--shadow);
}

button[name="submit"]:hover {
    background: var(--submit-hover);
    transform: translateY(-2px);
}

.custom-h3 {
    font-size: 1.5rem;
    color: var(--accent);
    text-align: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 0.5rem;
}

.buttons-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.button {
    width: 120px;
    height: 60px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    border: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.button::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 12px;
}

.button:hover {
    transform: translateY(-3px);
}

.button.waze {
    background-image: url('/pic/waze.jpg');
}

.button.maps {
    background-image: url('/pic/maps.jpg');
}

/* Overlay kikapcsolása csak ezeknél */
.button.waze::after,
.button.maps::after {
    background: none !important;
}

@media (min-width: 768px) {
    .contact-container {
        align-items: stretch;
    }

    .contact-card,
    .contact-form {
        height: 100%;
    }
}

/*  kategoriak.php  */

.floating-tiles-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
    animation: fadeInUp 0.8s ease forwards;
}

.floating-tile {
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.7s ease forwards;
    opacity: 0;
}

.floating-tile:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.floating-tile .tile-text {
    z-index: 2;
    position: relative;
    padding: 1rem;
}

/* Animációs delay-k osztályokhoz */
.floating-tile1 {
    animation-delay: 0.1s;
}

.floating-tile2 {
    animation-delay: 0.2s;
}

.floating-tile3 {
    animation-delay: 0.3s;
}

.floating-tile4 {
    animation-delay: 0.4s;
}

.floating-tile5 {
    animation-delay: 0.5s;
}

.floating-tile6 {
    animation-delay: 0.6s;
}

.floating-tile7 {
    animation-delay: 0.7s;
}

.floating-tile8 {
    animation-delay: 0.8s;
}

.floating-tile9 {
    animation-delay: 0.9s;
}

.floating-tile10 {
    animation-delay: 1.0s;
}

.floating-tile11 {
    animation-delay: 1.1s;
}

.floating-tile12 {
    animation-delay: 1.2s;
}

.floating-tile13 {
    animation-delay: 1.3s;
}

.floating-tile14 {
    animation-delay: 1.4s;
}

.floating-tile15 {
    animation-delay: 1.5s;
}

.floating-tile16 {
    animation-delay: 1.6s;
}

.floating-tile17 {
    animation-delay: 1.7s;
}

.floating-tile18 {
    animation-delay: 1.8s;
}

.floating-tile19 {
    animation-delay: 1.9s;
}

.floating-tile20 {
    animation-delay: 2.0s;
}

.floating-tile21 {
    animation-delay: 2.1s;
}

.floating-tile22 {
    animation-delay: 2.2s;
}

.floating-tile23 {
    animation-delay: 2.3s;
}

.floating-tile24 {
    animation-delay: 2.4s;
}

.floating-tile25 {
    animation-delay: 2.5s;
}

.floating-tile26 {
    animation-delay: 2.6s;
}

.floating-tile27 {
    animation-delay: 2.7s;
}

.floating-tile28 {
    animation-delay: 2.8s;
}

.floating-tile29 {
    animation-delay: 2.9s;
}

@media (max-width: 768px) {
    .floating-tiles-container {
        gap: 1rem;
        padding: 1rem;
    }

    .floating-tile {
        width: 140px;
        height: 140px;
        font-size: 1rem;
    }
}




/* === products.php === */
.products-layout {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
}

/* Alapból ne jelenjen meg */
.categories-sidebar {
    display: none;
}

/* Csak asztali nézetben és csak akkor, ha van kiválasztott kategória */
@media (min-width: 1025px) {
    body.kategoria-kivalasztva .categories-sidebar {
        display: block;
        background: rgba(255, 255, 255, 0.06);
        backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 16px;
        box-shadow: var(--shadow);
        padding: 1.5rem 1rem;
        width: 220px;
        color: var(--white);
        height: 80vh;
        overflow-y: auto;
        position: sticky;
        top: 20px;
    }

    .products-layout {
        flex-direction: row;
    }
}

.categories-sidebar h3 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--accent);
    border-bottom: 1px solid var(--accent);
    padding-bottom: 0.5rem;
}

.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li a {
    display: block;
    color: var(--white);
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    transition: background 0.3s, transform 0.2s;
}

.categories-list li a:hover,
.categories-list li a.active {
    background: var(--accent);
    color: var(--black);
    transform: translateX(5px);
}

.kategoria-modal-btn {
    display: inline-block;
    background: var(--highlight);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: var(--select-shadow);
    transition: background 0.3s;
}

.kategoria-modal-btn:hover {
    background: var(--termek-gomb-hover);
}

.kategoria-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(8px);
    padding: 2rem;
}

.kategoria-modal {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    width: 100%;
    max-width: 1200px;
    max-height: 95vh;
    overflow-y: auto;
    box-shadow: var(--termek-card-shadow);
    border: 1px solid var(--termek-card-border);
    position: relative;
}

.kategoria-modal h3 {
    color: var(--white);
    margin-bottom: 1rem;
    text-align: center;
}

.modal-kategoria-lista {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-kategoria-lista li a {
    display: block;
    background: var(--select-bg);
    color: var(--white);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-align: center;
    transition: background 0.3s ease;
    border: 1px solid var(--select-border);
    box-shadow: var(--select-shadow);
}

.modal-kategoria-lista li a:hover {
    background: var(--select-accent);
}

.modal-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    cursor: pointer;
    z-index: 10000;
}

.kategoria-aktiv-felirat {
    text-align: center;
    color: var(--white);
    font-size: 1.2rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .modal-kategoria-lista {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .kategoria-modal-overlay {
        align-items: flex-start;
        padding: 1rem;
        overflow-y: auto;
    }

    .kategoria-modal {
        max-height: none;
        height: auto;
        margin-top: 2rem;
    }
}

.termek-kategoria-nev {
    text-align: center;
    font-size: 2rem;
    color: var(--highlight);
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--highlight);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.termekek-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    justify-items: center;
    padding: 0 1rem;
}

@media (min-width: 1024px) {
    .termekek-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.termek-kartya {
    background: var(--termek-card-bg);
    border: 1px solid var(--termek-card-border);
    border-radius: 16px;
    padding: 1.5rem;
    width: 100%;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--termek-card-shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.kartya-belso {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    height: 100%;
}

.termek-nev {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.termek-ar {
    color: #fdd835;
    font-size: 1rem;
    font-weight: bold;
}

.termek-leiras,
.termek-ido,
.termek-viz {
    font-size: 0.9rem;
    color: #ddd;
}

.termek-gomb {
    margin-top: auto;
    background: var(--termek-gomb-bg);
    color: var(--white);
    border: none;
    padding: 0.6rem 1rem;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.termek-gomb:hover {
    background: var(--termek-gomb-hover);
    transform: translateY(-2px);
}

.termek-kep {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.05);
}


/* product.php stílusok */
.product-container {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 2rem;
    background: var(--form-bg);
    border-radius: 20px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    color: var(--text-light);
}

.product-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-name {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    text-align: center;
}

.product-meta {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
    text-align: center;
    font-size: 1rem;
    color: var(--text-light);
}

.product-meta .lot,
.product-meta .sku,
.product-meta .lot strong {
    font-weight: 500;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .product-meta {
        flex-direction: column;
        align-items: center;
        font-size: 0.95rem;
    }
}

.product-price {
    color: var(--footer-heading);
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
}

.image-section {
    text-align: center;
}

.product-image {
    max-width: 100%;
    max-height: 300px;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow);
    cursor: pointer;
    object-fit: contain;
}

@media (max-width: 768px) {
    .product-image {
        max-height: 150px;
    }
}

.product-thumbnails {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.product-thumbnail {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.3s;
}

.product-thumbnail:hover {
    border: 2px solid var(--highlight);
}

.quantity-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.quantity-selector label {
    font-weight: bold;
    color: var(--text-light);
}

.quantity-selector button {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    background: var(--highlight);
    border: none;
    color: var(--white);
    border-radius: 8px;
    cursor: pointer;
}

.quantity-selector input[type="number"] {
    width: 60px;
    padding: 0.4rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--input-border);
    background: var(--input-bg);
    color: var(--text-light);
}

/* Mobilnézet reszponzív */
@media (max-width: 768px) {
    .quantity-selector {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }

    .quantity-selector input[type="number"],
    .quantity-selector button {
        width: 100%;
        max-width: 100px;
    }
}

/* Kosár gomb külön sorban */
#cart-form {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    flex-basis: 100%;
}

.cart-button {
    padding: 0.75rem 1.5rem;
    background: var(--highlight);
    color: var(--white);
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.cart-button:hover {
    background: var(--submit-hover);
}

.product-description {
    margin-top: 2rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* Modal */
.product-modal {
    display: none;
    position: fixed;
    z-index: var(--product-modal-zindex);
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--product-modal-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.product-modal.open {
    display: flex;
}

.product-modal .swiper-container {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: var(--product-modal-radius);
    overflow: hidden;
    box-shadow: var(--product-modal-shadow);
    background-color: var(--form-bg);
}

.product-modal .swiper-slide img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .product-modal .swiper-slide img {
        max-height: 60vh;
    }
}

.product-modal .close {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10000;
    background: none;
    border: none;
}

.product-modal .close:hover {
    color: var(--highlight);
}

.product-description,
.product-description *,
.product-meta,
.product-meta * {
    color: var(--text-light) !important;
}

/* kosar.php */



.cart-container {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 2rem;
    background: var(--cart-bg);
    border: 1px solid var(--cart-border);
    border-radius: 16px;
    box-shadow: var(--cart-shadow);
    backdrop-filter: blur(10px);
    color: var(--white);
    text-align: center;
}

.cart-header,
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--cart-border);
}

.cart-header {
    background: var(--cart-header-bg);
    color: var(--cart-header-color);
    font-weight: bold;
    border-radius: 12px;
}

.cart-header div,
.cart-item div {
    flex: 1;
    text-align: center;
}

.cart-item {
    flex-wrap: wrap;
}

.cart-item .quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cart-item .quantity-control input {
    width: 50px;
    padding: 5px;
    text-align: center;
    border: 1px solid var(--cart-border);
    border-radius: 5px;
    background: var(--input-bg);
    color: var(--white);
}

.cart-item .quantity-control button,
.update-button {
    padding: 6px 12px;
    font-size: 1em;
    color: var(--white);
    background-color: var(--cart-button-bg);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cart-item .quantity-control button:hover,
.update-button:hover {
    background-color: var(--cart-button-hover);
}

.cart-total {
    font-size: 2em;
    margin: 30px 0;
    color: var(--white);
}

.cart-button {
    display: block;
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: var(--cart-button-bg);
    color: var(--white);
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s;
    margin-bottom: 1rem;
}

.cart-button:hover {
    background: var(--cart-button-hover);
}

@media (max-width: 768px) {

    .cart-header div,
    .cart-item div {
        font-size: 0.9em;
    }

    .cart-total {
        font-size: 1.5em;
    }

    .cart-button,
    .update-button {
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {

    .cart-header div,
    .cart-item div {
        font-size: 0.8em;
    }

    .cart-total {
        font-size: 1.2em;
    }

    .cart-item .quantity-control {
        flex-direction: column;
        gap: 5px;
    }

    .cart-item .quantity-control input {
        width: 40px;
    }

    .cart-item .quantity-control button {
        padding: 5px 10px;
        font-size: 0.8em;
    }
}

/* checkout.php*/


.checkout-container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 3rem 2rem;
    background: var(--form-bg);
    backdrop-filter: var(--form-blur);
    border-radius: 24px;
    box-shadow: var(--shadow);
    color: var(--white);
}

.form-and-summary {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 992px) {
    .form-and-summary {
        flex-direction: row;
        align-items: flex-start;
    }
}

.form-container,
.summary-container {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    animation: fadeInUp 0.6s ease both;
}

.section-title {
    font-size: 1.4rem;
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
}

.form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.full-width {
    flex-basis: 100%;
}

input[type="text"],
input[type="email"],
input[type="number"],
textarea,
select {
    flex: 1;
    min-width: 200px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--white);
    padding: 12px 18px;
    border-radius: 14px;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2);
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:hover,
textarea:hover,
select:hover {
    transform: scale(1.02);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='white' d='M2 0L0 2h4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 8px 10px;
    box-shadow: none !important;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 6px var(--accent);
}

textarea {
    resize: vertical;
}

input[type="checkbox"],
input[type="radio"] {
    accent-color: var(--highlight);
    transform: scale(1.1);
    margin-right: 10px;
}

#fizetesi_mod label {
    display: block;
    margin-bottom: 0.5rem;
}

.checkout-totals,
#kedvezmeny,
#szallitasi_dij {
    display: block;
    background: rgba(255, 255, 255, 0.08);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-top: 1rem;
    text-align: center;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 600;
    color: var(--white);
}

#vegosszeg {
    display: block;
    background: rgba(255, 255, 255, 0.08);
    padding: 1.5rem 2rem;
    border-radius: 14px;
    box-shadow: var(--shadow);
    margin-top: 1rem;
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.6;
    font-weight: 700;
    color: var(--highlight);
}

.checkout-totals p {
    margin: 0.5rem 0;
}

.btn-rendeles {
    max-width: 300px;
    margin: 2rem auto 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    display: block;
    width: 100%;
    padding: 1.2rem 2rem;
    background: var(--highlight);
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}

.btn-rendeles:hover {
    background: var(--submit-hover);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

a {
    color: var(--accent);
    text-decoration: underline;
}

a:hover {
    color: var(--highlight);
}

.order-summary-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.order-summary-table th,
.order-summary-table td {
    padding: 14px 18px;
    text-align: center;
    background: rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid var(--input-border);
    transition: background 0.3s ease;
}

.order-summary-table tr:hover td {
    background: rgba(255, 255, 255, 0.12);
}

.order-summary-table th {
    background: var(--highlight);
    color: var(--white);
    font-size: 1rem;
}

.order-summary-table tr:last-child td {
    border-bottom: none;
}

.total-row th,
.total-row td {
    font-weight: bold;
    color: var(--accent);
    background: rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .checkout-container {
        padding: 2rem 1rem;
    }

    .form-group {
        flex-direction: column;
    }

    input[type="text"],
    input[type="email"],
    textarea,
    select {
        min-width: 100%;
    }

    .btn-rendeles {
        font-size: 1rem;
        padding: 1rem;
    }

    .form-and-summary {
        gap: 1rem;
    }
}




/* login.php */

#login {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background: none;
}

.login-container {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    color: var(--white);
    width: 100%;
    max-width: 400px;
    animation: fadeInUp 0.7s ease both;
}

.login-container h2 {
    text-align: center;
    color: var(--accent);
    margin-bottom: 2rem;
}

.login-container label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--white);
}

.login-container input[type="email"],
.login-container input[type="password"] {
    width: 100%;
    padding: 12px 18px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 14px;
    color: var(--white);
    margin-bottom: 1.5rem;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.login-container input:hover {
    transform: scale(1.02);
}

.login-container input:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 6px var(--accent);
}

.login-container button {
    width: 100%;
    padding: 1rem;
    background: var(--highlight);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: background 0.3s, transform 0.2s;
}

.login-container button:hover {
    background: var(--submit-hover);
    transform: translateY(-4px) scale(1.02);
}

.login-container p {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.95rem;
    color: var(--white);
}

.login-container a {
    color: var(--accent);
    text-decoration: underline;
}

.login-container a:hover {
    color: var(--highlight);
}

/* loader animáció */
.loader {
    border: 6px solid rgba(255, 255, 255, 0.1);
    border-top: 6px solid var(--accent);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 2rem auto;
}




/* responsive */
@media (max-width: 480px) {
    .login-container {
        padding: 2rem 1.5rem;
    }

    .login-container h2 {
        font-size: 1.5rem;
    }
}


/* register.php */

#register {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background: none;
}

.register-container {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    color: var(--white);
    width: 100%;
    max-width: 450px;
    animation: fadeInUp 0.7s ease both;
}

.register-container h2 {
    text-align: center;
    color: var(--accent);
    margin-bottom: 2rem;
}

.register-container label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--white);
}

.register-container input[type="text"],
.register-container input[type="email"],
.register-container input[type="password"] {
    width: 100%;
    padding: 12px 18px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 14px;
    color: var(--white);
    margin-bottom: 1.5rem;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.register-container input:hover {
    transform: scale(1.02);
}

.register-container input:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 6px var(--accent);
}

.register-container button {
    width: 100%;
    padding: 1rem;
    background: var(--highlight);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: background 0.3s, transform 0.2s;
}

.register-container button:hover {
    background: var(--submit-hover);
    transform: translateY(-4px) scale(1.02);
}

.register-container p {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.95rem;
    color: var(--white);
}

.register-container a {
    color: var(--accent);
    text-decoration: underline;
}

.register-container a:hover {
    color: var(--highlight);
}

/* loader animáció */
.loader {
    border: 6px solid rgba(255, 255, 255, 0.1);
    border-top: 6px solid var(--accent);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 2rem auto;
}




/* responsive */
@media (max-width: 480px) {
    .register-container {
        padding: 2rem 1.5rem;
    }

    .register-container h2 {
        font-size: 1.5rem;
    }
}

/*myacount.php*/
.account-container {
    background: var(--background-blur);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
    border-radius: 20px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
}

.account-container h1,
.account-container h2 {
    color: var(--highlight);
    margin-bottom: 15px;
    text-align: center;
}

.account-container p {
    margin-bottom: 20px;
    text-align: center;
}

.account-container form {
    display: flex;
    flex-direction: column;
}

.account-container label {
    margin-bottom: 5px;
    font-weight: 600;
}

.account-container input,
.account-container select {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--input-border);
    border-radius: 10px;
    background: var(--input-bg);
    color: var(--primary);
    outline: none;
}

.account-container input::placeholder,
.account-container select {
    color: rgba(255, 255, 255, 0.7);
}

.account-container button {
    background-color: var(--highlight);
    color: var(--primary);
    padding: 12px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    transition: background-color 0.3s ease;
}

.account-container button:hover {
    background-color: #c2942f;
}

.loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid var(--highlight);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}



/* Reszponzivitás */
@media (max-width: 768px) {
    .account-container {
        padding: 20px;
    }

    .account-container button {
        font-size: 14px;
        padding: 10px;
    }
}


/* request_password_reset.php */

.password-reset-container {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    color: var(--white);
    width: 100%;
    max-width: 400px;
    animation: fadeInUp 0.7s ease both;
    margin: 4rem auto;
}

.password-reset-container h2 {
    text-align: center;
    color: var(--accent);
    margin-bottom: 2rem;
}

.password-reset-container label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--white);
}

.password-reset-container input[type="email"] {
    width: 100%;
    padding: 12px 18px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 14px;
    color: var(--white);
    margin-bottom: 1.5rem;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.password-reset-container input:hover {
    transform: scale(1.02);
}

.password-reset-container input:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 6px var(--accent);
}

.password-reset-container button {
    width: 100%;
    padding: 1rem;
    background: var(--highlight);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: background 0.3s, transform 0.2s;
}

.password-reset-container button:hover {
    background: var(--submit-hover);
    transform: translateY(-4px) scale(1.02);
}

/* Reszponzív */
@media (max-width: 480px) {
    .password-reset-container {
        padding: 2rem 1.5rem;
    }

    .password-reset-container h2 {
        font-size: 1.5rem;
    }
}

/* reset_password.php */


.reset-password-container {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.reset-password-container h2 {
    color: #d32f2f;
    margin-bottom: 2rem;
}

.reset-password-container form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reset-password-container label {
    text-align: left;
    font-weight: 600;
}

.reset-password-container input[type="password"] {
    width: 100%;
    padding: 12px 18px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 14px;
    color: var(--white);
    font-size: 1rem;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.reset-password-container input[type="password"]:hover {
    transform: scale(1.02);
}

.reset-password-container input[type="password"]:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 6px var(--accent);
}


.reset-password-container button {
    padding: 1rem;
    background: #d32f2f;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: background 0.3s, transform 0.2s;
}

.reset-password-container button:hover {
    background: #b62828;
    transform: translateY(-4px) scale(1.02);
}

.error {
    color: #ff4d4f;
    font-weight: bold;
    margin-top: 2rem;
}

.reset-password-button {
    display: inline-block;
    width: 100%;
    padding: 1rem 1.5rem;
    background: #d32f2f;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: background 0.3s, transform 0.2s;
    margin-top: 1rem;
}

.reset-password-button:hover {
    background: #b62828;
    transform: translateY(-4px) scale(1.02);
}

/* ADMIN */
body.admin-dashboard {
    position: relative;
    min-height: 100vh;
    background: url('/asztali.png') no-repeat center center fixed;
    background-size: cover;
    color: var(--white);
}

body.admin-dashboard::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('/asztali.png');
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 768px) {
    body.admin-dashboard {
        background: url('/mobil.png') no-repeat center center fixed;
        background-size: cover;
    }

    body.admin-dashboard::before {
        background-image: url('/mobil.png');
    }
}

/* ADMIN SIDEBAR */
#admin-sidebar {
    position: fixed;
    top: 0;
    left: -260px;
    width: 260px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.5);
    transition: left 0.3s ease;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    padding: 2rem 1rem;
}

#admin-sidebar.aside-open {
    left: 0;
}

#admin-sidebar p {
    color: var(--highlight);
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

#admin-sidebar a {
    color: var(--white);
    text-decoration: none;
    padding: 10px 15px;
    margin: 5px 0;
    border-radius: 8px;
    transition: background 0.3s, transform 0.2s;
    font-weight: 500;
    display: block;
}

#admin-sidebar a:hover {
    background: var(--highlight);
    color: var(--black);
    transform: translateX(5px);
}

/* Menü gomb mobil nézethez */
.admin-menu-button {
    position: fixed;
    top: 20px;
    left: 20px;
    background: var(--highlight);
    color: var(--white);
    border: none;
    padding: 10px 15px;
    font-size: 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    z-index: 10001;
    box-shadow: var(--shadow);
}

/* Asztali nézet - mindig látható sidebar */
@media (min-width: 1025px) {
    #admin-sidebar {
        left: 0;
    }

    .admin-menu-button {
        display: none;
    }
}

/* ADMIN TILE RENDSZER */
.admin-tiles-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 5rem 2rem 2rem 280px;
    min-height: 100vh;
}

@media (max-width: 1024px) {
    .admin-tiles-container {
        padding: 5rem 1rem 2rem 1rem;
    }
}

.admin-tile {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: var(--shadow);
}

.admin-tile:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

/* Egységes link stílus */
.admin-tile a,
.admin-tile-link {
    color: var(--white);
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* ADMIN RENDELÉSEK - GLASSMORPHIC VERZIÓ */

.orders-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.order-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    padding: 2rem;
    max-width: 700px;
    width: 100%;
    color: var(--white);
    animation: fadeInUp 0.7s ease both;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.order-id {
    color: var(--highlight);
    font-weight: bold;
    font-size: 1.4rem;
}

.order-date-badge {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 5px 10px;
    border-radius: 10px;
    color: #ffd700;
    font-size: 0.85rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.order-status {
    padding: 5px 14px;
    border-radius: 16px;
    font-weight: bold;
    color: #fff;
    font-size: 0.85rem;
    text-transform: uppercase;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.status-fuggoben {
    background-color: #d4af37;
}

.status-elfogadva {
    background-color: #2ecc71;
}

.status-szallitas-alatt {
    background-color: #3498db;
}

.status-teljesitve {
    background-color: #1abc9c;
}

.status-elutasitva {
    background-color: #e74c3c;
}

.status-sztorno {
    background-color: #e67e22;
}

.order-details p {
    margin: 0.3rem 0;
    font-size: 0.95rem;
}

.order-details strong {
    color: var(--accent);
    display: inline-block;
    min-width: 130px;
}

.actions {
    margin-top: 2rem;
    text-align: center;
}

.toggle-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    max-width: 300px;
    width: 100%;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

.toggle-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.actions-list {
    display: none;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
    align-items: center;
}

/* GOMBOK EGYSÉGES GLASS STYLE + KISEBB MÉRET */
.actions-list button {
    max-width: 280px;
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
    margin-bottom: 8px;
}

.actions-list button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px) scale(1.02);
}



/*kategoriak.php*/


.category-container {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    box-shadow: var(--shadow);
    color: var(--white);
    animation: fadeInUp 0.7s ease both;
}

.category-container h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
    padding-bottom: 0.5rem;
}

/* táblázat glass effect */
.table-glass {
    width: 100%;
    border-collapse: collapse;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow);
    border-radius: 14px;
    overflow: hidden;
    margin-top: 20px;
}

.table-glass th,
.table-glass td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 0.95rem;
}

.table-glass th {
    background: rgba(255, 255, 255, 0.1);
    font-weight: 600;
}

/* gomb */
.btn-glass {
    padding: 10px 18px;
    background: var(--highlight);
    color: var(--white);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
}

.btn-glass:hover {
    background: var(--submit-hover);
    transform: translateY(-3px) scale(1.02);
}

/* ===== Modal saját glass design (NE ütközzön mással) ===== */
.category-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeInScale 0.4s ease forwards;
}

.category-modal-content {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    margin: 10% auto;
    padding: 30px;
    width: 90%;
    max-width: 450px;
    color: var(--white);
    box-shadow: var(--shadow);
    position: relative;
    text-align: center;
    animation: fadeInScale 0.4s ease both;
}

.category-modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--accent);
}

.category-modal-close:hover {
    color: var(--highlight);
}

/* form input glass */
.category-modal-content input[type="text"],
.category-modal-content input[type="number"] {
    width: 100%;
    padding: 12px 16px;
    margin: 10px 0 15px 0;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.category-modal-content input:focus {
    outline: none;
    box-shadow: 0 0 6px var(--accent);
}

/* alert üzenet glass */
.alert-glass {
    max-width: 600px;
    margin: 20px auto;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    text-align: center;
    padding: 12px 18px;
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow);
}




/* Új mediatar.php egyedi css */

.media-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.media-upload-form input[type="file"] {
    display: none;
}

.media-upload-form label[for="files"] {
    display: inline-block;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
    margin-bottom: 10px;
}

.media-upload-form label[for="files"]:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.media-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 20px;
}

.media-image-container {
    position: relative;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.media-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}

.media-image-container:hover {
    transform: scale(1.05);
}

.media-image-container form {
    position: absolute;
    top: 5px;
    right: 5px;
}

.media-image-container button.media-delete-btn {
    background: var(--highlight);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    width: 28px;
    height: 28px;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

.media-image-container button.media-delete-btn:hover {
    background: var(--submit-hover);
}

.media-pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.media-pagination a {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 12px;
    margin: 0 4px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.media-pagination a:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.media-pagination a.active {
    background: var(--highlight);
    color: var(--white);
    font-weight: bold;
}

.media-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
}

.media-modal.open {
    display: flex;
}

.media-modal .media-modal-content {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
}

.media-modal img#mediaModalImage {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 14px;
    box-shadow: var(--shadow);
    object-fit: contain;
}

.media-modal .media-close {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
    transition: color 0.3s ease;
}

.media-modal .media-close:hover {
    color: var(--highlight);
}


/*velemenyek.php*/


.reviews-full {
    display: flex;
    justify-content: center;
    padding: 4rem 1rem;
}

.reviews-container {
    max-width: 1100px;
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    padding: 2rem;
    color: var(--white);
    animation: fadeInUp 0.7s ease both;
}

.reviews-container h2 {
    text-align: center;
    color: var(--highlight);
    margin-bottom: 2rem;
}

/* Form stílus */

.reviews-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.reviews-form input,
.reviews-form textarea {
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--white);
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.reviews-form input:focus,
.reviews-form textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 8px var(--accent);
}

/* Táblázat stílus */

.reviews-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.reviews-table th,
.reviews-table td {
    padding: 14px 18px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.reviews-table th {
    background: var(--highlight);
    color: var(--white);
    font-weight: bold;
}

.reviews-table tr:hover td {
    background: rgba(255, 255, 255, 0.12);
}

/* Gombok */

.btn-edit,
.btn-delete {
    display: inline-block;
    padding: 8px 14px;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
}

.btn-edit {
    background: #3498db;
    color: #fff;
    margin-right: 5px;
}

.btn-edit:hover {
    background: #2980b9;
}

.btn-delete {
    background: var(--highlight);
    color: #fff;
}

.btn-delete:hover {
    background: var(--submit-hover);
}

/* Modal stílus */

.reviews-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
}

.reviews-modal.open {
    display: flex;
}

.reviews-modal-content {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.reviews-modal-content h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.reviews-modal-content input,
.reviews-modal-content textarea {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--white);
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2);
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.reviews-modal-content input:focus,
.reviews-modal-content textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 8px var(--accent);
}

.reviews-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--accent);
}

.reviews-close:hover {
    color: var(--highlight);
}



/* Mobil */
@media (max-width: 768px) {
    .reviews-container {
        padding: 1rem;
    }

    .btn-edit,
    .btn-delete {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}

/* adatvedelem.php */
.textadmin-container {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    padding: 3rem 2rem;
    max-width: 1000px;
    margin: 5rem auto;
    color: var(--white);
    animation: fadeInUp 0.7s ease both;
}

.textadmin-container h2 {
    text-align: center;
    color: var(--accent);
    margin-bottom: 2rem;
}

.textadmin-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.textadmin-tablink {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: background 0.3s, transform 0.2s;
}

.textadmin-tablink:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.textadmin-tablink.active {
    background: var(--highlight);
    color: var(--white);
}

.textadmin-tabcontent {
    display: none;
}

.textadmin-tabcontent.active {
    display: block;
}

.textadmin-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.textadmin-form label {
    font-weight: 600;
    color: var(--white);
}

.textadmin-form textarea {
    padding: 1rem;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 14px;
    color: var(--white);
    font-size: 1rem;
    resize: vertical;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.textadmin-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    outline: none;
}

.textadmin-form .btn-glass {
    background: var(--highlight);
    color: var(--white);
    border: none;
    border-radius: 14px;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease, transform 0.2s ease;
    align-self: center;
}

.textadmin-form .btn-glass:hover {
    background: var(--submit-hover);
    transform: translateY(-4px) scale(1.02);
}




/*auto_email_settings.php*/
.emailtemplate-container {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    padding: 3rem 2rem;
    max-width: 1100px;
    margin: 5rem auto;
    color: var(--white);
    animation: fadeInUp 0.7s ease both;
}

.emailtemplate-container h2 {
    text-align: center;
    color: var(--accent);
    margin-bottom: 2rem;
}

.emailtemplate-table {
    width: 100%;
    border-collapse: collapse;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    overflow: hidden;
}

.emailtemplate-table th,
.emailtemplate-table td {
    padding: 14px 18px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.emailtemplate-table th {
    background: var(--highlight);
    color: var(--white);
    font-size: 1rem;
}

.emailtemplate-table tr:hover td {
    background: rgba(255, 255, 255, 0.12);
}

.emailtemplate-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
}

.emailtemplate-modal.open {
    display: flex;
}

.emailtemplate-modal-content {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    position: relative;
}

.emailtemplate-modal-content h3 {
    text-align: center;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.emailtemplate-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.emailtemplate-form textarea {
    padding: 1rem;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 14px;
    color: var(--white);
    resize: vertical;
    font-size: 1rem;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.emailtemplate-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    outline: none;
}

.emailtemplate-modal-content .close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
    transition: color 0.3s ease;
}

.emailtemplate-modal-content .close:hover {
    color: var(--highlight);
}


/*smtp.php*/
.smtpadmin-container {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 3rem 2rem;
    max-width: 1100px;
    margin: 5rem auto;
    color: var(--white);
    animation: fadeInUp 0.7s ease both;
}

.smtpadmin-container h2,
.smtpadmin-container h3 {
    text-align: center;
    color: var(--accent);
    margin-bottom: 2rem;
}

.smtpadmin-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow);
    border-radius: 12px;
}

.smtpadmin-table th,
.smtpadmin-table td {
    padding: 14px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.smtpadmin-table th {
    background: var(--highlight);
    font-size: 1rem;
}

.smtpadmin-table tr:hover td {
    background: rgba(255, 255, 255, 0.1);
}

.smtpadmin-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 2rem auto;
}

.smtpadmin-form input,
.smtpadmin-form textarea {
    padding: 12px;
    border: 1px solid var(--input-border);
    background: var(--input-bg);
    color: var(--white);
    border-radius: 14px;
    font-size: 1rem;
}

.smtpadmin-form label {
    display: flex;
    align-items: center;
    color: var(--white);
    gap: 8px;
}

.smtpadmin-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
}

.smtpadmin-modal.open {
    display: flex;
}

.smtpadmin-modal-content {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 2rem;
    max-width: 600px;
    color: var(--white);
    box-shadow: var(--shadow);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.smtpadmin-modal-content h3 {
    text-align: center;
    color: var(--accent);
}

.smtpadmin-modal-content input {
    padding: 12px;
    border: 1px solid var(--input-border);
    background: var(--input-bg);
    color: var(--white);
    border-radius: 14px;
}

.smtpadmin-modal-content label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
}

.smtpadmin-modal-content .close {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
    transition: color 0.3s ease;
}

.smtpadmin-modal-content .close:hover {
    color: var(--highlight);
}

a.btn-glass.danger {
    background: #e74c3c;
}

a.btn-glass.danger:hover {
    background: #c0392b;
}


/*edit.php*/

body.admin-dashboard {
    background: url('/assets/bg/admin-bg.jpg') no-repeat center center fixed;
    background-size: cover;
    color: var(--white);
    font-family: 'Outfit', sans-serif;
}

.editadmin-container {
    max-width: 1200px;
    margin: 3rem auto;
    background: var(--background-blur);
    backdrop-filter: blur(12px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.editadmin-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 15px;
}

.editadmin-header h2 {
    font-size: 2rem;
    font-weight: 700;
}

#searchInput {
    padding: 10px 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    outline: none;
}

/* Táblázat */
.editadmin-table {
    width: 100%;
    border-collapse: collapse;
}

.editadmin-table th,
.editadmin-table td {
    padding: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.editadmin-table th {
    background: rgba(255, 255, 255, 0.1);
}

.editadmin-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Modal */
.editadmin-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.editadmin-modal.open {
    display: flex;
}

.editadmin-modal-content {
    background: rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    overflow-y: auto;
    max-height: 95vh;
}

/* Modal form grid */
.editadmin-modal-content form {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    #categoryCheckboxes {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }
}

@media (max-width: 768px) {
    .editadmin-modal-content form {
        grid-template-columns: 1fr;
    }

    #categoryCheckboxes {
        grid-template-columns: 1fr;
    }
}

/* Close gomb */
.editadmin-modal .close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--white);
}

/* Form elemek */
.editadmin-modal-content input:not([type="checkbox"]),
.editadmin-modal-content textarea {
    height: 42px !important;
    padding: 0 1rem !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--white) !important;
    font-size: 0.95rem !important;
    box-shadow: none !important;
    outline: none !important;
}

.editadmin-modal-content textarea {
    min-height: 100px !important;
    height: auto !important;
    resize: vertical !important;
}

/* Checkbox */
.editadmin-modal-content input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    transform: scale(1.1) !important;
    margin: 0 !important;
}

.editadmin-modal-content label {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    color: var(--white);
}

/* Kiemelt checkbox label */
.checkbox-label {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start;
    gap: 8px;
    height: 42px;
    font-size: 0.9rem;
    color: var(--white);
}

/* Kategóriák grid */
#categoryCheckboxes {
    grid-column: span 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

/* Kategória checkbox + szöveg egy sorban */
#categoryCheckboxes label {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--white);
}

/* Profil kép választó */
#profile_image_selection_container {
    grid-column: span 2;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 1rem;
}

#profile_image_selection_container img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s, border 0.3s;
}

#profile_image_selection_container img:hover {
    transform: scale(1.1);
    border-color: var(--highlight);
}

/* Pagination */
#pagination {
    grid-column: span 2;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}

/* Editor */
#product_description_editor {
    grid-column: span 2;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 1rem;
    min-height: 150px;
    color: var(--white);
}

/* Button */
.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: 14px;
    cursor: pointer;
    padding: 10px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
}


/* ===================== PDF Viewer Szakasz ===================== */

.pdf-section {
    width: 100%;
    margin: 0 auto;
    padding: 2rem 1rem;
    text-align: center;
}

.pdf-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: var(--white);
    text-align: center;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}


.pdf-container {
    width: 100%;
    max-width: 1000px;
    height: 85vh;
    margin: 0 auto 2rem auto;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--white);
}

.pdf-viewer {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Letöltési link */
.pdf-download-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    backdrop-filter: blur(6px);
    transition: background 0.3s ease, color 0.3s ease;
}

.pdf-download-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--highlight);
}

/* Mobiloptimalizálás */
@media (max-width: 768px) {
    .pdf-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .pdf-container {
        height: 75vh;
        max-width: 100%;
        border-radius: 0;
        box-shadow: none;
    }
}