/* Definícia font-face pre Feather */
@font-face {
    font-family: 'Feather';
    src: url('fonts/feather/feather.eot?t=1525787366991'); /* IE9*/
    src: url('fonts/feather/feather.woff?t=1525787366991') format('woff'), /* chrome, firefox */
         url('fonts/feather/feather.ttf?t=1525787366991') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
         url('fonts/feather/feather.eot?t=1525787366991#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/feather/feather.svg?t=1525787366991#feather') format('svg'); /* iOS 4.1- */
    font-weight: normal;
    font-style: normal;
}

/* Globálne nastavenia */
body, html {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    margin-left: auto !important;
    margin-right: auto;
    width: 100%;
    overflow-x: hidden;
}

body {
    /* font-family: Arial, sans-serif, 'Feather'; */
    background-color: #f0f2f5 !important; /* Nová farba pozadia */
}

.container {
    margin: 0 auto;
    max-width: 1200px; /* Optional: Set a max-width to limit the width of the content */
}

/* Feather ikony */
.fe {
    font-family: 'Feather' !important;
    font-style: normal;
    font-weight: normal;
    speak: none;
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fe-home:before {
    content: "\e977";
}

.fe-envelope:before {
    content: "\e989";
}

.fe-bar-chart-2:before {
    content: "\e919";
}

.fe-user:before {
    content: "\ea07";
}

.fe-folder:before {
    content: "\e950";
}

.fe-chevron-down:before {
    content: "\e940"; /* Kód pre ikonu chevron-down */
}

.fe-message-square:before {
    content: "\e9af";
}

.fe-arrow-left2:before {
    text-decoration: inherit;
    color: inherit;
    margin-right: 5px;
    font-size: 28px;
    content: "\e90e";
}

.fe-arrow-left2:hover {
    text-decoration: none !important;
}

.fe-arrow-right2:before {
    text-decoration: inherit;
    color: inherit;
    margin-left: 5px;
    font-size: 28px;
    content: "\e910";
}

.fe-arrow-right2:hover {
    text-decoration: none !important;
}

.fe-arrow-left:before {
    text-decoration: inherit;
    color: inherit;
    margin-right: 5px;
    content: "\e90e";
}

.fe-send:before {
    content: "\e9d9";
}

.fe-send.disabled:before {
    color: rgba(0, 0, 0, 0.2);
}

.fe-send.enabled:before {
    color: #40A578;
}

.fe-eye:before {
    content: "\e967";
    color: #007bff;
}

.fe-eye:hover {
    color: #0056b3;
}

.fe-eye.disabled:before {
    color: rgba(0, 0, 0, 0.2);
}

.fe-edit:before {
    content: "\e963";
}

.fe-edit.disabled:before {
    color: rgba(0, 0, 0, 0.2);
}

.fe-edit.enabled:before {
    color: #FFA500;
}

.fe-trash-2:before {
    content: "\e9f6";
}

.fe-trash-2.disabled:before {
    color: rgba(0, 0, 0, 0.2);
}

.fe-trash-2.enabled:before {
    color: red;
}

.fe-phone:before {
    content: "\e9a0";
    color: #007bff;
}

.fe-mail:before {
    content: "\e989";
    color: #007bff;
}

.fe-box-red:before {
    content: "\e901";
    color: red;
}

.fe-box-green:before {
    content: "\e901";
    color: green;
}

.fe-user-plus:before {
    content: "\ea08";
}

.fe-skupina:before {
    content: "\ea09";
}

.fe-play.enabled:before {
    content: "\e9a8";
    color: #03C04A;
}

.fe-play.disabled:before {
    content: "\e9a8";
    color: rgba(0, 0, 0, 0.2);
}

.fe-x-square.enabled:before {
    content: "\ea19";
    color: black;
}

.fe-x-square.disabled:before {
    content: "\ea19";
    color: rgba(0, 0, 0, 0.2);
}

.fe-bar-chart2.enabled:before {
    content: "\e919";
    color: blue;
}

.fe-bar-chart2.disabled:before {
    content: "\e919";
    color: rgba(0, 0, 0, 0.2);
}

.action-icon {
    margin-right: 15px;
}

/* Štýly pre index.php (prihlasovacia stránka) */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f2f5;
}

.login-box {
    background-color: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-box h2 {
    margin-bottom: 20px;
}

.login-box .input-group {
    margin-bottom: 10px;
}

.login-box input[type="email"],
.login-box input[type="password"],
.login-box input[type="submit"] {
    width: 90%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.login-box input[type="submit"] {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

.login-box input[type="submit"]:hover {
    background-color: #0056b3;
}

/* Štýly pre header.php */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    /* background-color: #f8f9fa; */
    background-color: white;
    border-bottom: 1px solid #ddd;
    width: 100%;
    box-sizing: border-box;
}

/* Štýly pre footer.php */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 5px;
    /* background-color: #f8f9fa; */
    background-color: white;
    border-bottom: 1px solid #ddd;
    width: 100%;
    box-sizing: border-box;
    border-top-left-radius: 10px; /* Prispôsobte veľkosť podľa potreby */
    border-top-right-radius: 10px; /* Prispôsobte veľkosť podľa potreby */
}

/* header.php pokračovanie */
.logo img {
    height: 40px;
}

.client-info h2 {
    margin: 0;
    font-size: 18px;
    text-align: center;
    width: 100%;
}

.user-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropbtn {
    /* background-color: #f8f9fa; */
    background-color: white;
    color: black;
    padding: 10px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.dropbtn i {
    margin-left: 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    /* background-color: #f8f9fa; */
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    right: 0;
    top: 100%; /* Pridané na posunutie obsahu nižšie */
    margin-top: 1px; /* Alternatívne môžete použiť margin-top pre ešte väčší odstup */
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.user-dropdown:hover .dropdown-content {
    display: block;
}

.user-dropdown:hover .dropbtn {
    background-color: #ddd;
}

/* Navigácia */
.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    /* background-color: #f8f9fa; */
    background-color: white;
    border-bottom: 1px solid #ddd;
    border-bottom-left-radius: 10px; /* Prispôsobte veľkosť podľa potreby */
    border-bottom-right-radius: 10px; /* Prispôsobte veľkosť podľa potreby */
}

.navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.navigation ul li {
    margin: 0 10px;
}

.navigation ul li a {
    text-decoration: none;
    color: black;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.navigation ul li a i {
    margin-right: 5px;
}

.nav-buttons {
    display: flex;
}

.nav-buttons .btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-left: 10px;
    cursor: pointer;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

.nav-buttons .btn i {
    margin-right: 5px;
}

.nav-buttons .btn:first-child {
    background-color: #007bff;
}

.nav-buttons .btn:last-child {
    background-color: #17a2b8;
}

/* Štýly pre nav-toggle */
.nav-toggle {
    display: none; /* Skryté štandardne */
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    font-size: 16px;
}

/* Štýly pre home.php */

.section-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    margin-top: 10px;
}

.section {
    background-color: white;
    padding: 1em;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 300px;
    max-width: 48%;
    text-align: center;
}

.section h3 {
    margin-top: 0;
}

.badge {
    background-color: #007bff;
    color: white;
    border-radius: 12px;
    padding: 0.2em 0.6em;
}

.notification, .poll {
    border: 1px solid #ddd;
    padding: 1em;
    border-radius: 8px;
    margin-top: 1em;
}

.notification h4, .poll h4 {
    margin-top: 0;
    text-align: center;
}

.notification .footer, .poll .footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
    color: #555;
}

.notification .footer i, .poll .footer i {
    color: #007bff;
}

.notification-header, .poll-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-header .arrow, .poll-header .arrow {
    text-decoration: none;
    color: #007bff;
    font-size: 1.5em;
    cursor: pointer;
}

.gray-text {
    color: #777;
}

/* Štatistika */
.statistics {
    width: 100%;
    margin-top: 20px;
}

.statistics h3 {
    margin-bottom: 20px;
    text-align: center;
}

.stat-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-box {
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1em;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 180px;
    text-align: center;
    flex-direction: column;
}

.stat-icon {
    width: 100%;
    max-width: 300px;
    min-width: 150px;
    height: 5px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.purple { background-color: #9b59b6; }
.orange { background-color: #e67e22; }
.yellow { background-color: #f1c40f; }
.green { background-color: #2ecc71; }
.blue { background-color: #3498db; }

.stat-info h4 {
    margin: 0;
    font-size: 2em;
}

.stat-info p {
    margin: 0;
    color: #777;
}

.gray-text {
    color: rgba(0, 0, 0, 0.5);
}

/* Štýly pre hlasenia.php */
.notification-bar {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    text-align: center;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    margin-bottom: 20px;
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 40px);
    max-width: 600px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.notification-bar .close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #3c763d;
    cursor: pointer;
    font-weight: bold;
}

.status-naplanovane {
    display: inline-block;
    background-color: #FFC107;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
}

.status-odesilam {
    display: inline-block;
    background-color: #17a2b8;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
}

.status-selhalo {
    display: inline-block;
    background-color: #dc3545;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
}

.status-ruzova {
    display: inline-block;
    background-color: #FF69B4;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
}

.status-odeslane {
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
}

.status-aktivna {
    display: inline-block;
    background-color: #3CB043;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
}

.status-ukoncuje_sa {
    display: inline-block;
    background-color: #CC5500;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
}

.status-ukoncena {
    display: inline-block;
    background-color: #899499;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
}

.status-koncept {
    display: inline-block;
    background-color:  #FF91A4;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
}

.content {
    margin-top: 10px;
    max-width: 100%;
    overflow-x: auto;
}

.section_hlas {
    background-color: white;
    padding: 1em;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    text-align: center;
}

.section_hlas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pagination-arrows {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color: #007bff;
    /* width: 100%; */
}

.arrow {
    font-size: 1.5em;
    color: #007bff;
    text-decoration: none;
    margin: 0 15px;
    display: inline-block;
    transform: scaleX(1.5);
}

.arrow:hover {
    color: #ff0000; /* Nastavte požadovanú farbu pri prechode myšou */
    text-decoration: none; /* Zabezpečí, že pri prechode myšou nebude textová dekorácia */
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.table th, .table td {
    border: 1px solid #ddd;
    padding: 8px;
}

.table th {
    background-color: #f8f9fa;
    text-align: left;
}

.table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.table tr:hover {
    background-color: #ddd;
}

.table th {
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #007bff;
    color: white;
}

/* table anketa-detail.php */

.table-ank-detail {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.table-ank-detail th, .table td {
    border: 1px solid #ddd;
    padding: 8px;
}

.table-ank-detail th {
    background-color: #f8f9fa;
    text-align: left;
}

.table-ank-detail tr:nth-child(even) {
    background-color: #f2f2f2;
}

.table-ank-detail tr:hover {
    background-color: #ddd;
}

.table-ank-detail th {
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #a1a6aa;
    color: white;
}

/* table anketa-detail.php koniec */

/* table operativne-sms.php a prijate-sms */

.table-sms-detail {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.table-sms-detail th, .table td {
    border: 1px solid #ddd;
    padding: 8px;
}

.table-sms-detail th {
    background-color: #f8f9fa;
    text-align: left;
}

.table-sms-detail tr:nth-child(even) {
    background-color: #f2f2f2;
}

.table-sms-detail tr:hover {
    background-color: #ddd;
}

.table-sms-detail th {
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #a1a6aa;
    color: white;
}

/* table operativne-sms.php a prijate-sms koniec */

.info-text-sms {
    color: rgba(0, 0, 0, 0.5);
}

/* notifikačné lišty, ktoré sú vyvolané od save-hlasenia.php */
.notification-save-hlasenie {
    padding: 15px;
    margin: 10px 0;
    border: 1px solid transparent;
    border-radius: 4px;
    position: relative;
    transition: opacity 1s ease-out;
}
.notification-save-hlasenie.success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}
.notification-save-hlasenie.error {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}
.notification-save-hlasenie .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

/* Štýly pre modemy.php */
.modem-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.modem-table th, .modem-table td {
    border: 1px solid #ddd;
    padding: 8px;
}

.modem-table th {
    background-color: #f8f9fa;
    text-align: left;
}

.modem-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.modem-table tr:hover {
    background-color: #ddd;
}

.modem-table th {
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #007bff;
    color: white;
}

/* Štýly pre hlásenie detail */
.info-box {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.info-box-item {
    background-color: #fff;
    padding: 15px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    width: 48%;
}

.info-box-item h3 {
    margin-top: 0;
}

.info-box-item p {
    margin: 5px 0;
}

.back-link {
    text-decoration: none;
    color: inherit;
}

.back-link:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 15px;
    background-color: #f8f9fa;
    color: rgba(0, 0, 0, 0.4);
    position: relative;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

footer p {
    margin: 0;
}


/* Add this at the end of the file */

/* Notification Bar Styles */
.notif-bar-home {
    background-color: #FFC107; /* Okrová farba */
    color: black;
    padding: 15px;
    text-align: center;
    border: 1px solid #FFA000;
    border-radius: 4px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.notif-bar-home button {
    background-color: #FFA000;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    margin-left: 10px;
}

.notif-bar-home button:hover {
    background-color: #FF8F00;
}

/* hlasenie-nove.php */

/* ja som doplnil - start */



.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.form-buttons {
    display: flex;
    gap: 10px;
}

.form-row {
    display: flex;
    flex-wrap: wrap; /* moje */
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 20px; /* moje */
    margin-top: 10px;  /* moje */
    align-items: stretch; /* moje */
}

.form-sections {
    background-color: white;
    padding: 1em;
    /* padding: 0 10px; */
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 400px;
    max-width: 98%;
    text-align: left;
}


/*
.form-sections {
    display: flex;
    justify-content: space-between;
}

.form-sections {
    width: 48%;
}
*/

.form-group {
    margin-top: 10px; /* doplnil som na skúšku */
    margin-bottom: 1em;
    justify-content: space-between;
    align-items: center;
}

h3 {
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 4px;
    border-left-width: 3px;
}

.gray-text {
    color: rgba(0, 0, 0, 0.35); /* 35% čierna */
}

.gray-text2 {
    color: rgba(0, 0, 0, 0.60); /* 60% čierna */
}




button {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    gap: 10px; /* pridať medzeru medzi tlačidlami */
    margin: 2px
}

button.btn-primary {
    background-color: #007bff;
    color: white;
}

button.btn-secondary {
    background-color: #6c757d;
    color: white;
}

button.btn-success {
    background-color: #28a745;
    color: white;
}

/* ja som doplnil - koniec */

.group-select {
    /* display: flex; toto je v skripte zahrnuté: groupSelect.style.display = 'flex'; */
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.group-item {
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-color: rgba(0, 0, 0, 0.50); /* 50% čierna */
    border-radius: 5px;
    cursor: pointer;
}

.group-item.selected {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

#contacts-list {
    margin-top: 20px;
    min-width: 300px;
}

#contacts-list table {
    width: 100%;
    border-collapse: collapse;
}

#contacts-list th, #contacts-list td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}

#contacts-list th {
    background-color: #f8f8f8;
}


/* hlasenie-nove.php textarea */
.form-sections textarea {
    width: 100%;
    box-sizing: border-box;
}

#text-count {
    position: relative;
    margin-top: 5px;
    height: 20px;
}

#text-count-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    background-color: green;
    transition: width 0.2s;
    margin-bottom: 2px;
}
#text-count-text {
    display: block;
    margin-top: 5px;
    padding-top: 5px;
}

#sms-count {
    margin-top: 2px;
}

.disabled-section {
    pointer-events: none;
    opacity: 0.5;
}

/* hlasenie-nove.php prvok znazornujuci, ze sa vykonavaju veci (spinner)  */
/* CSS pre načítavací prvok */
#loader {
    /* display: none; */
    position: fixed;
    z-index: 1001;
    left: 50%;
    top: 50%;
    width: 80px;
    height: 80px;
    margin: -30px 0 0 -30px;
}

.double-bounce1, .double-bounce2 {
    width: 100%;
    height: 100%;
    background-color: #3498db;
    border-radius: 50%;
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    animation: bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
    animation-delay: -1.0s;
}

@keyframes bounce {
    0%, 100% {
        transform: scale(0);
    }
    50% {
        transform: scale(1);
    }
}

/* CSS pre overlay */
#overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* Biely sklenný efekt */
    cursor: not-allowed;
}

/* Zmena veľkosti písma v popise tabuľky - hlasenia.php kontakty.php ... */
#section_kontakty .table thead tr {
    font-size: 14px; /* Nastavte požadovanú veľkosť textu */
}

#section_archiv .table thead tr {
    font-size: 14px; /* Nastavte požadovanú veľkosť textu */
}

#section1 .table thead tr {
    font-size: 14px; /* Nastavte požadovanú veľkosť textu */
}

#section2 .table thead tr {
    font-size: 14px; /* Nastavte požadovanú veľkosť textu */
}

#section3 .table thead tr {
    font-size: 14px; /* Nastavte požadovanú veľkosť textu */
}

/* kontakty.php */
/*  formatovanie tabulky */
.table-sort-link {
    color: #ffffff !important; /* Zmena farby textu a použitie !important */
    text-decoration: none !important; /* Odstránenie podčiarknutia */
}

.table-sort-link:hover {
    text-decoration: underline !important;
}

.section_hlas-header2 {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: flex-start;
}

.header-content2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 15px; /* Pre oddelenie od tabuľky */
}

.header-content3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 15px; /* Pre oddelenie od tabuľky */
}

.search-form {
    display: flex;
    align-items: center;
    /* margin-bottom: 0.5rem; /* Pre oddelenie od tabuľky */
}

.search-input {
    padding: 5px;
    font-size: 16px;
    margin-right: 10px; /* Pre priestor medzi inputom a tlačidlom */
}

.search-button {
    padding: 5px 10px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.search-button:hover {
    background-color: #0056b3;
}

/*  kontakt-novy.php */
.form-container2 {
    display: flex;
    align-items: flex-start; /* Zarovná elementy k hornému okraju */
    gap: 10px; /* Medzera medzi elementmi */
    padding-bottom: 10px;
}

.form-group2 {
    display: flex;
    flex-direction: column;
    padding-bottom: 10px;
}

.form-group2 label {
    margin-bottom: 5px;
    /* font-weight: bold; */
}

.form-group2 input[type="text"],
.form-group2 input[type="password"] {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 90%;
    box-sizing: border-box; /* Zabezpečí rovnaké zarovnanie */
}

.form-group2 input[type="text"]:focus,
.form-group2 input[type="password"]:focus {
    border-color: #80bdff;
    outline: none;
    box-shadow: 0 0 5px rgba(128, 189, 255, 0.5);
}

.predvolba-group2 {
    width: 9ch; /* Šírka pre X znakov */
    margin-right: 10px;
}

.kontakt-group2 {
    flex: 1;
}

.group-select2 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

/*  kontakt-novy.php  koniec*/

/* skupina-nova.php */
.form-row2 {
    display: flex-start;
    flex-wrap: wrap; /* moje */
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 20px; /* moje */
    margin-top: 10px;  /* moje */
    align-items: stretch; /* moje */
}

/* skupina-nova.php koniec */

.radio-groupA {
    // display: flex;
    gap: 12px; /* Nastavte veľkosť medzery podľa potreby */
}

.radio-group {
    display: flex;
    gap: 12px; /* Nastavte veľkosť medzery podľa potreby */
}

/* anketa-nova.php */

/* Jednoduchý štýl pre chybové hlásenie */
.error {
    color: red;
    font-size: 0.9em;
}

#hlasovaciePopisy label {
    display: block;
    margin-top: 10px;
    //font-weight: bold;
}
#hlasovaciePopisy input {
    display: block;
    margin-bottom: 10px;
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
}

/* anketa-nova.php koniec */

/* anketa-detail.php */
.form-column {
    flex: 1;
    min-width: 150px;
    padding: 1em;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* anketa-detail.php koniec */

/* tooltip - keď prejdem myšou nad textom */
.tooltip-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip-container .tooltip-text {
    visibility: hidden;
    width: 300px;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 5px;
    border-radius: 5px;
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.tooltip-nastav {
    margin-left: 50px; /* Posun na stred */
}
/* tooltip koniec */


/* nastavenia.php */
.zarovnat-vlavo {
    text-align: left;
    margin-top: 5px; /* Nastaví medzeru nad prvkom */
}

/* nastavenia.php koniec */






/* Mediálne dotazy pre úzke obrazovky */
@media (max-width: 875px) {

    .form-sections {
        min-width: 600px;
    }

}

/* Mediálne dotazy pre úzke obrazovky */
@media (max-width: 810px) {

    .nav-toggle {
        display: block;
    }

    .nav-list {
        max-height: 0; /* Skryté štandardne */
        overflow: hidden;
        transition: max-height 0.3s ease-out; /* Plynulý efekt */
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .nav-list.show {
        max-height: 500px; /* Prispôsobte podľa potreby */
    }

    .nav-list li {
        margin: 5px 0;
        width: 100%;
    }

    .nav-list li a {
        width: 100%;
        padding: 10px 0;
        display: flex;
        justify-content: flex-start;
    }
}

/* Mediálne dotazy pre úzke obrazovky */
@media (max-width: 768px) {
    .header-content, .navigation, .header-content2 {
        flex-direction: column;
        align-items: flex-start;
    }

    .info-box {
        flex-direction: column;
    }

    .info-box-item {
        width: 100%;
        margin-bottom: 20px;
    }

    .nav-buttons {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        margin-top: 10px;
    }

    .nav-buttons .btn {
        width: 100%;
        margin: 5px 0;
        text-align: left;        
        /* margin-left: 0; */
        /* margin-bottom: 10px; */
    }

    .user-dropdown {
        width: 100%;
        margin-top: 10px;
    }

    .dropbtn {
        width: 100%;
        text-align: left;
    }

    .dropdown-content {
        width: 100%;
    }

    .client-info h2 {
        width: 100%;
        text-align: left;
        margin-top: 10px;
    }

    .content, .section-container, .statistics {
        width: 100%;
        /* padding: 0 10px; */
    }

    .table {
        overflow-x: auto;
        display: block;
    }

    .table-ank-detail {
        overflow-x: auto;
        //display: block;
    }
    
    .table-sms-detail {
        overflow-x: auto;
        //display: block;
    }

    .search-form {
        width: 100%;
        margin-top: 10px;
    }

    .search-input {
        width: calc(100% - 90px); /* Zabezpečiť, aby sa input a tlačidlo zmestili vedľa seba */
    }

    .search-button {
        width: 80px;
    }
}

/* Mediálne dotazy pre úzke obrazovky */
@media (max-width: 672px) {
    .form-sections {
        min-width: 400px;
    }
}

/* Štýly pre mobilné zariadenia */
@media only screen and (max-width: 600px) {
    .section-container,
    .form-row,
    .form-sections,
    .section_hlas,
    .section {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        //padding: 10px;
        box-sizing: border-box;
    }

    .form-sections {
        min-width: 100%; /* Zabezpečenie, aby formulárové sekcie vyplnili celú šírku */
        padding: 15px; /* Zvýšenie paddingu pre lepšiu čitateľnosť */
    }

    .section_hlas {
        margin-bottom: 20px;
    }

    .section_hlas-header2,
    .header-content2 {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .header-content2 {
        margin-bottom: 10px;
    }

    .table {
        overflow-x: auto;
        display: block;
        width: 100%;
    }

    .table th, .table td {
        font-size: 14px; /* Zmenšenie písma pre lepšiu čitateľnosť na menších zariadeniach */
    }

    .table-ank-detail {
        overflow-x: auto;
        //display: block;
        width: 100%;
    }

    .table-ank-detail th, .table-ank-detail td {
        font-size: 14px; /* Zmenšenie písma pre lepšiu čitateľnosť na menších zariadeniach */
    }

    .table-sms-detail {
        overflow-x: auto;
        //display: block;
        width: 100%;
    }

    .table-sms-detail th, .table-sms-detail td {
        font-size: 14px; /* Zmenšenie písma pre lepšiu čitateľnosť na menších zariadeniach */
    }

}
