/* 此文件可以删除，因为所有样式都已迁移到 Tailwind CSS */

body {
    background-color: #0E0E15;
    color: white;
    min-height: 100vh;
    margin: 0;
    font-family: system-ui, -apple-system, sans-serif;
}

.logo-container {
    padding: 20px;
    text-align: left;
    height: 80px;
    box-sizing: border-box;
    padding-left: 24px;
}

.logo {
    height: 40px;
    width: auto;
}

.el-aside {
    height: 100vh;
    overflow: hidden;
    background-color: transparent;
}

.sidebar {
    background-color: transparent;
    border-right: none;
    height: calc(100vh - 80px);
    margin-right: -8px;
}

.el-menu {
    background-color: transparent;
    border-right: none;
    padding-right: 8px;
}

.el-menu-item {
    margin: 4px 0;
    border-radius: 8px;
    color: white;
    transition: all 0.2s;
    position: relative;
    padding-left: 24px !important;
    height: 52px !important;
    display: flex;
    align-items: center;
}

.el-menu-item:hover {
    background-color: #1A1C21 !important;
}

.el-menu-item.is-active {
    background-color: transparent !important;
    color: white;
}

.el-menu-item.is-active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(to bottom, #34FDB0, #48D5FE);
    border-radius: 2px;
}

.el-menu-item .nav-content {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 20px;
    background-color: transparent;
    transition: background-color 0.2s;
    width: calc(100% - 24px);
    height: 40px;
    box-sizing: border-box;
}

.el-menu-item.is-active .nav-content {
    background-color: #1A1C21;
}

.el-menu-item:hover .nav-content {
    background-color: #1A1C21;
}

.nav-icon {
    width: 16px;
    height: 16px;
    margin-right: 16px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: color 0.2s;
}

.nav-text {
    font-size: 16px;
    white-space: nowrap;
}

.main-content {
    padding: 0;
    height: 100vh;
    background-color: #0E0E15;
}

.content-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 选中时 icon 颜色 */
.el-menu-item.is-active .nav-icon {
    color: #0FFDC3;
}

/* 选中时文字渐变色 */
.el-menu-item.is-active .nav-text {
    background: linear-gradient(to right, #34FDB0, #48D5FE);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* 修改背景色 */
.el-menu-item.is-active .nav-content,
.el-menu-item:hover .nav-content {
    background-color: #191C21;
}

/* 分割线和标题样式 */
.menu-divider {
    padding: 16px 24px 8px 24px;
}

.menu-divider .el-divider {
    margin: 0 0 12px 0;
    border-color: rgba(255, 255, 255, 0.1);
}

.section-title {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

/* 确保分割线后的菜单项样式正确 */
.menu-divider + .el-menu-item {
    margin-top: 8px;
}

/* 新增头部样式 */
.header {
    height: 60px;
    line-height: 60px;
    background-color: transparent;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.company-name {
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.dropdown-icon {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    transition: transform 0.2s;
    height: 1em;
    display: flex;
    align-items: center;
}

.el-dropdown-link:hover .dropdown-icon {
    color: #48D5FE;
}

.el-dropdown-menu {
    background-color: #1A1C21;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.el-dropdown-menu__item {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    padding: 8px 16px;
}

.el-dropdown-menu__item:hover {
    background-color: #2C2F36;
    color: #48D5FE;
}

.dropdown-item-icon {
    margin-right: 8px;
    font-size: 16px;
}
