/* 顶栏和侧边栏样式 */

/* 顶栏按钮样式 */
.clean-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.clean-btn-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.clean-btn-icon:active {
    transform: scale(0.95);
}

/* 顶栏Logo */
.header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.header-logo:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(360deg);
}

/* 顶栏文字 */
.header-text {
    flex: 1;
}

.header-title {
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.2;
    margin: 0;
    color: white;
}

.header-subtitle {
    font-size: 0.875rem;
    opacity: 0.8;
    margin: 0;
    margin-top: 0.125rem;
    color: rgba(255, 255, 255, 0.8);
}

/* 侧边栏头部 */
.drawer-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
    padding: 2rem 1.5rem;
    color: white;
}

.drawer-logo {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.drawer-logo:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* 侧边栏底部 */
.drawer-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 1rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.drawer-footer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.drawer-footer a:hover {
    opacity: 0.8;
}

/* 菜单项样式优化 */
.mdui-menu {
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-lg) !important;
    border: 1px solid var(--border-color);
}

.mdui-menu-item a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.mdui-menu-item:hover {
    background: var(--bg-secondary);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-title {
        font-size: 1.125rem;
    }
    
    .header-subtitle {
        display: none;
    }
    
    .drawer-header {
        padding: 1.5rem 1rem;
    }
}