/* 基础样式 */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.navbar-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-list {
    list-style: none;
    display: flex;
}

.navbar-left, .navbar-right {
    margin: 0;
}

.navbar-left li, .navbar-right li {
    margin: 0 10px;
}

/* 品牌标识 */
.navbar-branding img {
    width: 60px;
    height: 60px;
}

/* 动态时钟 */
.navbar-clock {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.navbar-clock .clock {
    display: flex;
    align-items: center;
    background-color: #f2f2f2;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.navbar-clock .clock span {
    margin: 0 5px;
}

/* 搜索框 */
.navbar-search {
    display: flex;
    align-items: center;
}

.navbar-search input[type="search"] {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.navbar-search button {
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.navbar-search img {
    width: 20px;
    height: 20px;
}

/* 用户信息 */
.navbar-user-info {
    display: inline-block;
    margin: 0 5px;
}

.navbar-user-info img {
    width: 20px;
    height: 20px;
}

.navbar-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

/* 下拉菜单 */
.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.dropdown-menu a {
    display: block;
    padding: 5px 10px;
    text-decoration: none;
    color: #333;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* 链接美化 */
.navbar-list a {
    font-weight: bold;
    text-decoration: none;
    color: #333;
    background: linear-gradient(to right, #ff7e5f, #feb47b);
    -webkit-background-clip: text;
    color: transparent;
    transition: all 0.3s ease;
    width: 50px;
}

.navbar-list a:hover {
    background: linear-gradient(to right, #ff5f6d, #ffc371);
    -webkit-background-clip: text;
    color: transparent;
}

/* 活跃链接状态 */
.navbar-list a:active {
    background: linear-gradient(to right, #ff5f6d, #ffc371);
    -webkit-background-clip: text;
    color: transparent;
}