﻿:root {
  --farba1: #eeeeee;
  --farba2: #f0faff;
  --farba2a: #d0f3ff;
  --farba3: #2d4156;
  --farba4: #ff5566;
  --farba5: #0099CC;
}
/* Nastavenie štýlu pre celé telo */
body {
    background-color: #ebd6d600; /* svetlosivé */
    font-family: Tahoma, sans-serif;
    -webkit-touch-callout: none; /* Safari */
    -webkit-user-select: none; /* Chrome, Opera, Edge */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+ */
    user-select: none; /* Standard */
}
.panelContainer {
    display: flex;
    flex-direction: column;
}
.customPanel {
    margin-bottom: 10px; /* Pridá medzeru medzi panelmi */
}

.logo {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 0.75rem;
    background: linear-gradient(90deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.Table {
    border-collapse: collapse;
    width: 100%;
    font-family: Tahoma;
    font-size: 12px;
}

    .Table th {
        background-color: #000066;
        color: #fff;
        padding: 3px 15px;
        border-right: 1px solid #fff;
    }

    .Table td {
        padding: 3px 15px;
        border-right: 1px solid #666;
    }

        .Table th:last-child,
        .Table td:last-child {
            border-right: none;
        }

    .Table tr:nth-child(even) {
        background-color: #E6E6FA;
    }

    .Table tr:hover {
        background-color: lightgray;
    }


.inline-button {
    display: inline-block !important;
    margin-right: 5px; /* Adjust margins as needed */
    vertical-align: middle;
    text-align: center;
}


.button.A {
    background-color: #000080; /* tmavomodrá */
    color: #ffffff; /* biely text */
    border: 1px solid black; /* tenký čierny okraj */
    padding: 4px 10px;
    cursor: pointer;
    font-size: 10px;
}


.button.B {
    background-color: #006400; /* tmavozelená */
    color: #ffffff; /* biely text */
    border: 1px solid black; /* tenký čierny okraj */
    padding: 4px 10px;
    cursor: pointer;
    font-size: 10px;
}

/* Tmavočervený s bielym fontom */
.button.C {
    background-color: #8B0000; /* tmavočervená */
    color: #ffffff; /* biely text */
    border: 1px solid black; /* tenký čierny okraj */
    padding: 4px 10px;
    cursor: pointer;
    font-size: 10px;
}
.button.D {
    background-color: burlywood;
    color: #ffffff; /* biely text */
    border: 1px solid black; /* tenký čierny okraj */
    padding: 4px 10px;
    cursor: pointer;
    font-size: 10px;
}

linkbutton {
    background-color: #ffffff; /* biele pozadie */
    color: #000000; /* čierny text */
    border: 1px solid black; /* tenký čierny okraj */
    padding: 8px 16px;
    cursor: pointer;
}
/* Trieda pre TextBox */
.customTextBox {
    font-family: Tahoma, sans-serif;
    font-size: 12px;
    border: 1px solid black; /* tenké čierne okraje */
    background-color: #ffffff; /* biele pozadie */
    color: #000000; /* čierny text */
    padding: 4px; /* mierne odsadenie */
}

    /* špeciálne štýly pre focus */
    .customTextBox:focus {
        background-color: #000080; /* tmavomodré pozadie */
        color: #ffffff; /* biela farba písma */
        outline: none; /* odstrániť default outline */
        border-color: #000; /* ak chcete zabezpečiť tenké okraje aj po focus */
    }
.customTextBoxBigger {
    font-family: Tahoma, sans-serif;
    font-size: 14px;
    border: 1px solid black; /* tenké čierne okraje */
    background-color: #ffffff; /* biele pozadie */
    color: #000000; /* čierny text */
    padding: 4px; /* mierne odsadenie */
}

    /* špeciálne štýly pre focus */
    .customTextBoxBigger:focus {
        background-color: #000080; /* tmavomodré pozadie */
        color: #ffffff; /* biela farba písma */
        outline: none; /* odstrániť default outline */
        border-color: #000; /* ak chcete zabezpečiť tenké okraje aj po focus */
    }
/* Štýl pre TextBox, ak má readonly atribút */
input[readonly] {
    background-color: #d3d3d3; /* sivé pozadie */
}
/* Trieda pre Label */
.customLabel {
    background-color: transparent; /* alebo nastavte konkrétne farbu pozadia stránky, ak je špeciálna */
    color: #000000; /* čierna farba textu */
    font-family: Tahoma, sans-serif;
    font-size: 12px;
    display: inline-block; /* aby bolo možné nastavovať pozadie a veľkosť */
}

/* ===== KONTAJNER ===== */
.ereceptMenu {
    background: #ffffff;
    padding: 8px 14px;
    border-radius: 6px;
    display: inline-block;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ===== HLAVNÉ MENU ===== */
.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* ✅ horizontálne */
    align-items: center;
}

    /* POLOŽKY */
    .menu > li {
        position: relative;
        margin-right: 22px;
    }

        /* ZVISLÝ ODDELOVAČ */
        .menu > li:not(:last-child)::after {
            content: "|";
            position: absolute;
            right: -12px;
            top: 50%;
            transform: translateY(-50%);
            color: #000;
            opacity: 0.5;
        }

/* HLAVNÉ LINKY */
.menu-link {
    text-decoration: none;
    color: #000;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 5px;
    position: relative;
    transition: background 0.25s, color 0.25s;
}

    /* ✅ HOVER */
    .menu-link:hover {
        background: #e8f0ff;
        color: #002142;
    }

    /* ✅ ANIMOVANÝ UNDERLINE */
    .menu-link::after {
        content: "";
        position: absolute;
        left: 10px;
        right: 10px;
        bottom: 4px;
        height: 2px;
        background: #3498db;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.25s ease;
    }

    .menu-link:hover::after {
        transform: scaleX(1);
    }

/* ===== SUBMENU ===== */
.submenu {
    display: none; /* ✅ skryté */
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    background: #ffffff;
    list-style: none;
    padding: 6px;
    margin: 0;
    border: 1px solid #aaa;
    border-radius: 6px;
    z-index: 1000;
}

    /* SUBMENU LINKY */
    .submenu a {
        display: block;
        padding: 8px 12px;
        color: #000;
        text-decoration: none;
        border-radius: 4px;
    }

        .submenu a:hover {
            background: #e8f0ff;
            color: #002142;
        }

/* ✅ ZOBRAZIŤ SUBMENU LEN NA HOVER */
.has-sub:hover .submenu {
    display: block;
}

/* ===== MOBIL ===== */
@media (max-width: 768px) {
    .menu {
        flex-direction: column;
        align-items: flex-start;
    }

        .menu > li::after {
            display: none;
        }

    .submenu {
        position: static;
        border: none;
        padding-left: 15px;
    }
}

.gv-filter {
    font-family: Tahoma, sans-serif;
    font-size: 11px;
    border: 1px solid black; /* tenké čierne okraje */
    background-color: #ffffff; /* biele pozadie */
    color: #000000; /* čierny text */
    padding: 4px; /* mierne odsadenie */
}

    .gv-filter:focus {
        background-color: #000080; /* tmavomodré pozadie */
        color: #ffffff; /* biela farba písma */
        outline: none; /* odstrániť default outline */
        border-color: #000; /* ak chcete zabezpečiť tenké okraje aj po focus */
    }


/* ===== MODAL OVERLAY ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    display: none; 
    align-items: center;
    justify-content: center;
}

/* ===== MODAL BOX ===== */
.modal-dialog {
    background: #ffffff;
    padding: 25px 35px;
    border-radius: 8px;
    text-align: center;
    min-width: 260px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ===== SPINNER ===== */
.modal-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 15px auto;
    border: 4px solid #ccc;
    border-top: 4px solid #003366;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ===== TEXT ===== */
.modal-text {
    font-size: 14px;
    color: #333;
}

/* ===== SPIN ANIMATION ===== */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
/* ===== GLOBAL LOADING MODAL ===== */
#loadingModal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483647 !important; /* max */
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.4);
}
    #loadingModal .modal-dialog {
        background: #fff;
        padding: 24px 32px;
        border-radius: 10px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.4);
        text-align: center;
        min-width: 280px;
    }

    #loadingModal .modal-spinner {
        width: 42px;
        height: 42px;
        margin: 0 auto;
        border: 4px solid #ddd;
        border-top-color: #3b82f6;
        border-radius: 50%;
        animation: spin 0.9s linear infinite;
    }

    #loadingModal .modal-text {
        margin-top: 12px;
        font-weight: 600;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


#testMenu ul {
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.footer-newsletter {
    margin-top: 12px;
    font-size: 13px;
    color: #444;
}

.newsletter-input {
    padding: 6px 8px;
    margin-left: 6px;
    font-size: 13px;
}

.newsletter-gdpr-short {
    font-size: 11px;
    color: #777;
    margin-top: 6px;
}
.gdpr-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 2147483647;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gdpr-modal-content {
    background: #fff;
    max-width: 520px;
    width: calc(100% - 40px);
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.25);
}
/* základný stav */
dialog {
    opacity: 0;
    transition: opacity 0.25s ease;
    border-radius: 8px;
    padding: 20px;
    max-width: 520px;
}

    /* keď je otvorený */
    dialog[open] {
        opacity: 1;
    }

    /* stmavenie pozadia */
    dialog::backdrop {
        background: rgba(0,0,0,0.45);
    }

@media (max-width: 900px) {
    body {
        background: transparent;
    }
}

