/* 导航栏样式 */
.header {
    color: white;
    padding: 0 5%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #2c3e50;
    color: white;
    padding: 15px auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header {
    background: #2c3e50;
    color: white;
    padding: 0 5%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}
.logo span:last-child {
    color: #4CAF50;
    margin-left: 5px;
  }
  .logo span:first-child {
    color: #fff;
  }

.logo-icon {
    margin-right: 8px;
    font-size: 28px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    position: relative;
    margin: 0 15px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 0;
    transition: all 0.3s;
}

.nav-menu a:hover {
    opacity: 0.8;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 999;
    border-radius: 4px;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-content a:hover {
    background-color: #f5f7fa;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.auth-buttons {
    display: flex;
    align-items: center;
}

.auth-buttons a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
}

.btn-register {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-register:hover {
    background: rgba(255, 255, 255, 0.3);
}
.header {
    background: #2c3e50;
    color: white;
    padding: 0 5%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}