/* ===========================================
   Top Bar Styles - 顶部栏样式
   高度: 40px
   =========================================== */

.top-bar {
    height: 40px;
    background: #2c3e50;
    color: #fff;
    font-size: 12px;
    line-height: 40px;
    position: relative;
    z-index: 1001;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Top Bar Left */
.top-bar-left {
    display: flex;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ecf0f1;
}

.contact-item i {
    font-size: 11px;
    color: #3498db;
}

.contact-item a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #3498db;
}

/* Top Bar Right */
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-links {
    display: flex;
    gap: 15px;
}

.top-link {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 11px;
    transition: color 0.3s ease;
    position: relative;
}

.top-link:hover {
    color: #3498db;
}

.top-link::after {
    content: '|';
    margin-left: 15px;
    color: #7f8c8d;
}

.top-link:last-child::after {
    display: none;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 8px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ecf0f1;
    text-decoration: none;
    font-size: 10px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #3498db;
    color: #fff;
    transform: translateY(-1px);
}