/* 头部导航栏的样*/

.header-nav {
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 100px;
    width: 100%;
    height: 64px;
    background: #fbfbfb;
    z-index: 1000;
    min-width: 1200px;
}

/* 左侧log */
.header-nav .header-n-logo {
    flex-shrink: 0;
    flex: 1;
    height: 64px;
    object-fit: cover;
}

/* 中间导航栏 */
.header-nav .header-n-center {
    margin: 0 30px 0 50px;
    flex: 1;
    display: flex;
    align-items: center;
}

.header-nav .header-n-center .header-n-c-menu {
    height: 45px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 50px;
    font-size: 18px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: #111111;
    cursor: pointer;
}

.header-nav .header-n-center .header-n-c-menu-active {
    position: relative;
    font-weight: 600;
}

.header-n-c-menu-active::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 21px;
    height: 4px;
    background: linear-gradient(270deg, #fea805 0%, #fc6f02 100%);
    border-radius: 2px;
}

.header-n-c-menu-more {
    position: relative;
}

.header-n-c-menu-more::after {
    content: '';
    position: absolute;
    top: 15px;
    right: -25px;
    width: 15px;
    height: 15px;
    background: url('https://cdn.static.magcloud.cc/flxx-pc/static/img/triangle.png');
    background-size: cover;
    transition: all 0.3;
}

.header-n-c-menu-more:hover::after {
    transform: rotate(-180deg);
}
.header-n-c-menu-more:hover .header-n-c-m-m-content {
    display: block;
}
.header-n-c-m-m-content {
    display: none;
    position: absolute;
    left: 60%;
    transform: translateX(-50%);
    top: 45px;
    padding: 15px 0;
    width: 128px;
    background: #ffffff;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    z-index: 101;
}

.header-n-c-m-m-content-item {
    width: 128px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: #333333;
}

.header-n-c-m-m-content-item:hover {
    background: #ffe4dc;
    color: #ff5001;
}
.header-nav .header-n-center .header-n-c-search {
    flex: 1;
    display: none;
    align-items: center;
    justify-content: flex-end;
}

.header-nav .search {
    width: 395px;
    height: 40px;
    padding-right: 1px;
    background: #ffffff;
    border-radius: 21px;
}

.header-nav .search .search-btn {
    width: 75px;
    height: 36px;
    border-radius: 21px;
}

/* 右侧登录 */
.header-nav .header-n-login {
    display: flex;
    align-items: center;
}

.header-n-l-publish {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.header-n-l-p-icon:hover {
    box-shadow: 0px 0px 16px 0px rgb(252 115 2 / 60%);
}
.header-n-l-p-icon {
    margin-right: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-image: url('https://cdn.static.magcloud.cc/flxx-pc/static/img/index_btn_release@2x.png');
}
.header-n-l-b-head {
    margin-right: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
}
.header-n-l-btn:hover .header-n-l-b-content {
    display: block;
}
.header-n-l-btn {
    height: 45px;
    position: relative;
    margin-left: 30px;
    display: flex;
    align-items: center;
}
.header-n-l-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    bottom: 0;
    left: 0;
}

.header-n-l-login {
    flex-shrink: 0;
    margin-left: 30px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    height: 36px;
    background: linear-gradient(270deg, #fea805 0%, #fc6f02 100%);
    border-radius: 18px;
    font-size: 16px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: #ffffff;
    cursor: pointer;
}

.base-dialog {
    border-radius: 12px !important;
    overflow: hidden;
}

.base-dialog .el-dialog__header {
    position: absolute;
}

.base-dialog .el-dialog__body {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 36px 20px 55px;
}

.dialog-logo {
    width: 160px;
    height: 49px;
    object-fit: cover;
}

.dialog-des {
    margin-top: 15px;
    font-size: 16px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: #333333;
    line-height: 22px;
    letter-spacing: 1px;
}

.dialog-img {
    margin-top: 35px;
    width: 168px;
    height: 168px;
}

.dialog-tips {
    margin-top: 24px;
    font-size: 14px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: #666666;
    line-height: 20px;
}

.header-n-c-m-m-content .header-n-c-menu-active::before {
    background: transparent;
}
@media (max-width: 1400px) {
    .header-nav {
        padding: 0;
    }
}
