/* Top Bar Styles - v3.0 - Colors and hover managed by dynamic-styles.php */
.top-bar {
    background-color: #2c3e50;
    color: #ffffff;
    font-size: 0.875rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.top-bar-page-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.top-bar-page-title:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.top-bar-page-title i {
    font-size: 0.813rem;
}

.top-bar-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.top-bar-item:hover {
    opacity: 0.8;
}

.top-bar-item i {
    font-size: 0.875rem;
    opacity: 0.9;
}

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

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.social-link:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.top-bar-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
}

.language-selector {
    display: flex;
    gap: 0.5rem;
}

.lang-option {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
    font-weight: 500;
    font-size: 0.813rem;
}

.lang-option:hover,
.lang-option.active {
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-bar {
        font-size: 0.813rem;
        padding: 0.4rem 0;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .top-bar-left,
    .top-bar-right {
        width: 100%;
        justify-content: center;
    }
    
    .top-bar-left {
        gap: 1rem;
    }
    
    .top-bar-divider {
        display: none;
    }
    
    .top-bar-item {
        font-size: 0.75rem;
    }
    
    .social-link {
        width: 26px;
        height: 26px;
        font-size: 0.813rem;
    }
}

@media (max-width: 480px) {
    .top-bar-left {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .language-selector {
        margin-top: 0.25rem;
    }
    
    .top-bar-page-title {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }
    
    .top-bar-center {
        position: static;
        transform: none;
        margin: 0.5rem 0;
    }
}
