/**
 * TGND Bottom Bar
 * @author Gémes János
 */

#tgnd-bottombar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    padding: 10px 50px 10px 16px;
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.5);
    animation: tgnd-slide-up 0.3s ease;
    box-sizing: border-box;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    overflow: hidden;
}

#tgnd-bottombar.tgnd-bottombar-hidden {
    display: none;
}

@keyframes tgnd-slide-up {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

/* --- Bezáró gomb --- */
.tgnd-bottombar-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: inherit;
    width: 26px;
    height: 26px;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0.8;
    transition: opacity 0.2s, background 0.2s;
    flex-shrink: 0;
}

.tgnd-bottombar-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}

/* --- Tartalom wrapper --- */
.tgnd-bottombar-content {
    flex: 1;
}

.tgnd-bottombar-content a {
    color: inherit;
    text-decoration: underline;
}

/* --- Kompakt info sáv stílusok --- */
.info-container-compact {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.info-message-compact {
    margin: 0 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.info-message-compact strong {
    color: #58d68d;
    font-size: 15px;
    margin-right: 8px;
}

.info-icon-compact {
    font-size: 22px;
    color: #bdc3c7;
}

.info-icon-compact.left {
    color: #58d68d;
}

/* --- Mobil --- */
@media (max-width: 768px) {
    #tgnd-bottombar {
        font-size: 12px;
        padding: 12px 40px 12px 10px;
    }

    .info-container-compact {
        flex-direction: column;
    }

    .info-icon-compact {
        font-size: 18px;
    }

    .info-message-compact {
        margin-top: 10px;
    }

    .info-icon-compact.right {
        display: none;
    }
}
