/* ========================================== 便签部分 ===== */

/* 确保主导航容器可以正确隐藏 */
.main-nav-container.hidden {
    display: none;
}

/* 子导航栏隐藏状态 */
.subnav-bar.hidden,
.thirdnav-bar.hidden {
    display: none !important;
}

/* 主导航隐藏状态 */
.main-nav.hidden {
    display: none;
}

/* 新建便签隐藏状态 */
.hidden {
    display: none;
}

/* ===== 应用切换器样式 ===== */
.app-switcher {
    display: flex;
    background: var(--bg-thirdnav);
    border-radius: 6px;
    padding: 2px;
}

.app-tab {
    padding: 4px 12px;
    border: none;
    background: transparent;
    color: var(--text-nav);
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s;
    opacity: 0.7;
}

.app-tab.active {
    background: var(--bg-nav-hover);
    opacity: 1;
}

.app-tab:hover:not(.active) {
    opacity: 0.9;
}

/* 便签导航栏样式 */
.notes-nav-container {
    position: sticky;
	display: flex;
    top: 0px; /* header-top-row的高度 */
    z-index: 1008;
    background: var(--bg-nav);
    justify-content: center;
    overflow: hidden;
	backdrop-filter: blur(10px); 
}

.notes-nav {
    display: flex;
    height: 40px;
    overflow-x: auto;
    scrollbar-width: thin;
    white-space: nowrap;
    justify-content: space-evenly;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.notes-nav-item {
    position: relative;
    height: 100%;
    flex-shrink: 0;
}

.notes-nav-link {
    display: flex;
    align-items: center;
	justify-content: center;
    padding: 0 1.5rem;
	width: 120px;
    height: 100%;
    color: var(--text-nav);
	font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}

.notes-nav-link:hover,
.notes-nav-link.active {
    background: var(--bg-nav-hover);
}

.notes-nav-link.active {
    color: var(--text-nav);
    font-size: 1.1rem;
    font-weight: 500;
	border-bottom-color: var(--primary-color);
}

.notes-nav-link:not(.active) {
    opacity: 0.7;
}

	
/* 便签导航栏滚动样式 */
.notes-nav {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.notes-nav::-webkit-scrollbar {
    display: none;
}

.notes-subnav-bar {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.notes-subnav-bar::-webkit-scrollbar {
    display: none;
}
/* 管理分类链接特殊样式 */

.manage-category-link:hover {
    background: var(--primary-color);
}

.nav-icon {
    font-size: 0.9rem;
}



/* ===== 分类管理样式 ===== */
.manage-categories-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    margin: 0.5rem;
    transition: background 0.2s;
    white-space: nowrap;
}

.manage-categories-btn:hover {
    background: var(--primary-hover);
}

.category-input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.category-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-card);
    color: var(--text-color);
    font-size: 0.9rem;
}

.category-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.add-category-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.add-category-btn:hover {
    background: var(--primary-hover);
}

.category-list {
    max-height: 70vh;
    overflow-y: auto;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-card);
    border-radius: 6px;
    margin-bottom: 0.5rem;
    border: 1px solid var(--border-color);
}

.category-item:last-child {
    margin-bottom: 0;
}

.category-name {
    flex: 1;
    font-weight: 500;
    color: var(--text-color);
}

.category-stats {
    font-size: 0.8rem;
    color: var(--text-color2);
    margin-right: 1rem;
}

.category-actions {
    display: flex;
    gap: 0.5rem;
}

.edit-category-btn, .delete-category-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background 0.2s;
}

.edit-category-btn:hover {
    background: var(--primary-hover);
}

.delete-category-btn:hover {
    background: #fecaca;
}

.category-edit-input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    background: var(--bg-card);
    color: var(--text-color);
    margin-right: 1rem;
}

.category-edit-input:focus {
    outline: none;
}

.system-category {
    opacity: 0.7;
    background: var(--bg-nav);
}

.system-category .category-actions {
    display: none;
}

/* ===== 分类管理拖拽样式 ===== */
.category-item:not(.system-category) {
    cursor: grab;
    user-select: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
}

.category-item:not(.system-category):active {
    cursor: grabbing;
}

.category-item.dragging {
    opacity: 0.8;
    background: var(--primary-hover);
    border: 2px dashed var(--primary-color);
    transform: rotate(3deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.category-item.drag-hidden {
    opacity: 0.3;
}

.category-item.drag-over-above {
    border-top: 3px solid var(--primary-color);
    background: linear-gradient(to bottom, var(--primary-hover), transparent 50%);
    transform: translateY(-5px);
}

.category-item.drag-over-below {
    border-bottom: 3px solid var(--primary-color);
    background: linear-gradient(to top, var(--primary-hover), transparent 50%);
    transform: translateY(5px);
}

.drag-handle {
    margin-right: 12px;
    opacity: 0.5;
    cursor: grab;
    font-size: 1.4rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.drag-handle:hover {
    opacity: 1;
    background: var(--primary-hover);
}

.category-item:not(.system-category):hover .drag-handle {
    opacity: 0.8;
}

.category-item.dragging .drag-handle {
    opacity: 1;
    background: var(--primary-color);
    color: white;
}

/* 系统分类不可拖拽 */
.system-category {
    cursor: default;
    opacity: 0.7;
    background: var(--bg-nav);
}

.system-category .category-name {
    padding-left: 36px; /* 与可拖拽分类对齐 */
}

/* ========================================= 便签网格样式 ============================ */
.notes-content{
    display: block;
    margin: 0 auto;
    padding: 50px;
    max-width: 1920px;
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
	padding: 50px;
}

.note-card {
    height: 110px;
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1rem;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.note-card:hover {
    transform: translateY(-2px);
    box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.15);
    background: var(--hover-color);
}

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.note-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    margin: 0;
	margin-bottom: 2px;
    flex: 1;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* 添加省略号 */
    max-width: 100%;
}

.note-content {
    flex: 1;
    font-size: 0.8rem;
    color: var(--text-color2);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.note-info {
	display: flex;
    font-size: 0.7rem;
    color: var(--text-color2);
	margin-top: 4px;
    flex-direction: row;
    align-items: center;
	justify-content: space-between;
}

.note-actions {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    gap: 0.25rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.note-card:hover .note-actions {
    opacity: 1;
}

/* ======== 便签布局样式 ======== */

/* 标准布局 */
.notes-grid.medium {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

/* 紧凑布局 */
.notes-grid.compact {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.8rem;
}

.notes-grid.compact .note-card {
    height: 60px;
    padding: 0.8rem;
}


.notes-grid.compact .note-content {
    display: none;
}

/* 宽松布局 */
.notes-grid.large {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.notes-grid.large .note-card {
	height: 152px;
    padding: 1rem;
}
.notes-grid.large .note-title {
    font-size: 1rem;
	margin-bottom: 3px;
}


/* ===== 便签卡片置顶和归档图标样式 ===== */
.note-card.pinned::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0px;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23eab308'%3E%3Cpath d='M16,12V4H17V2H7V4H8V12L6,14V16H11V22H13V16H18V14L16,12Z' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    transform: rotate(325deg);
}

.note-card.archived::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 16px;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236b7280'%3E%3Cpath d='M0 0h24v24H0V0z' fill='none'/%3E%3Cpath d='M20.54 5.23l-1.39-1.68C18.88 3.21 18.47 3 18 3H6c-.47 0-.88.21-1.16.55L3.46 5.23C3.17 5.57 3 6.02 3 6.5V19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6.5c0-.48-.17-.93-.46-1.27zM6.24 5h11.52l.83 1H5.41l.83-1zM5 19V8h14v11H5zm11-5.5l-4 4-4-4 1.41-1.41L11 13.67V10h2v3.67l1.59-1.58L16 13.5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

/* 如果同时有置顶和归档，调整位置 */
.note-card.pinned.archived::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16,12V4H17V2H7V4H8V12L6,14V16H11V22H13V16H18V14L16,12Z' fill='%23f59e0b'/%3E%3Cpath d='M20,8H4V6H20M20,18H4V12H20M20,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6C22,4.89 21.1,4 20,4Z' fill='%236b7280' transform='translate(0 2)'/%3E%3C/svg%3E");
}

/* ===== 便签卡片样式更新===== */
.note-actions {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    gap: 0.25rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.note-card:hover .note-actions {
    opacity: 1;
}

/* ====================================== 便签模态框 ====================== */

/* ===== 新建便签按钮 ===== */
.new-note-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-card);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.new-note-btn:hover {
    background: var(--bg-card);
    transform: scale(1.1);
}

/* ===== 便签模态框样式 ===== */
.note-title-input {
    background: transparent;
    border: none;
    color: var(--text-color2);
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-right: 1rem;
}

.note-title-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
}

.note-content-input {
    width: 100%;
    height: 60vh;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1rem;
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.5;
    resize: vertical;
    font-family: inherit;
}

.note-content-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ===== 模态框更多操作下拉菜单样式 ===== */

.category-select-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    cursor: default;
    border-bottom: 1px solid var(--border-color);
}

.category-select-item:hover {
    background: transparent;
}

.category-select-item label {
    font-size: 0.8rem;
    color: var(--text-color);
    margin-right: 8px;
    white-space: nowrap;
    font-weight: 500;
}

.note-category-select {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 4px 8px;
    color: var(--text-color);
}

.note-category-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ===== 便签标题中的状态图标 ===== */
.note-title {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ===== 移动端拖拽提示 ===== */
@media (max-width: 768px) {
    .notes-nav-item[draggable="true"]::after {
        margin-left: 4px;
        opacity: 0.5;
        font-size: 0.8rem;
    }
}
/* ===== 便签模态框更多操作下拉菜单 ===== */
.note-actions-dropdown {
    min-width: 140px;
    right: 0;
    left: auto;
}

.category-select-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    cursor: default;
}

.category-select-item:hover {
    background: transparent;
}

.category-select-item label {
    font-size: 0.8rem;
    color: var(--text-color);
    margin-right: 8px;
    white-space: nowrap;
}



.note-category-select option {
    background: var(--bg-nav);
    color: var(--text-color);
    border: none;
    padding: 8px;
}


/* ===== 空状态样式 ===== */
.no-notes-message {
    text-align: center;
    padding: 3rem;
    color: var(--text-color2);
    grid-column: 1 / -1;
}

.no-notes-message h3 {
    margin-bottom: 1rem;
    font-weight: 500;
}

/* 分类管理模态框样式优化 */
.category-list {
    max-height: 80vh;
    overflow-y: auto;
    padding: 0.5rem;
    min-height: 200px;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.category-item:last-child {
    margin-bottom: 0;
}

.category-name {
    flex: 1;
    font-weight: 500;
    color: var(--text-color);
    display: flex;
    align-items: center;
    min-height: 24px;
}

.category-stats {
    font-size: 0.8rem;
    color: var(--text-color2);
    margin-right: 1rem;
    white-space: nowrap;
}

.category-actions {
    display: flex;
    gap: 0.5rem;
}



/* ========================================= 搜索页面 ================================= */
.search-page {
    position: fixed;
    top: 80px; /* 从顶部栏下方开始 */
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg--color);
    background-image: var(--background-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 999; /* 确保在顶部栏下方 */
    display: flex;
    align-items: flex-start; /* 从顶部开始对齐 */
    justify-content: center;
    padding-top: 2rem; /* 添加一些顶部内边距 */
}

.search-page.hidden {
    display: none;
}

.search-hero {
	margin-top: 200px;
    text-align: center;
    width: 100%;
    max-width: 800px;
    padding: 0 2rem;
}

.search-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.search-container {
    display: flex;
    align-items: center;
    max-width: 600px;
    height: 42px;
    margin: 20px auto;
    border-radius: 24px;
    border: 1px solid #dfe1e5;	
}
.search-engine-selector {
    flex-shrink: 0;
}
.engine-select {
    border: none;
    padding: 12px 14px;
    font-size: 14px;
	width: 10px;
    color: var(--border-color);
	background: none;
}



.search-input-container {
    flex: 1;
    display: flex;
    align-items: center;
}

	
#global-search-input {
    flex: 1;
    padding:8px;
    border-radius: 5px;
    color: #333;
	background: none !important;
    font-size: 1rem;
    outline: none;
	border: none;
}
.search-btn {
    border: none;
    background: transparent;
    padding: 8px 12px 8px 4px;
    cursor: pointer;
    color: #5f6368;
    transition: color 0.2s;
}
.search-btn-large {
    padding: 1rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn-large:hover {
    background: var(--primary-hover);
}

/* ===== 搜索结果 ===== */
.bookmark-search-results {
    margin-top: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 0;
}

.results-header {
    display: flex;
    align-items: center;
	font-size: 0.9rem;
    justify-content: space-evenly;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--border-color);
}
.results-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-color2);
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s;
}


.bookmark-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

.search-result-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1rem;
    position: relative;
    height: 100px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    justify-content: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}


.search-result-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.search-result-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-result-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--primary-color), #5cbdf6);
    flex-shrink: 0;
}

.search-result-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
	align-items: flex-start;	
    white-space: nowrap;
    overflow: hidden;
}

.search-result-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}
.search-result-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: var(--text-color2);
}

.search-result-desc {
    font-size: 0.6rem;
    color: var(--text-color2);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-type-badge {
    position: absolute;
    top: 1.2rem;
    left: 2.4rem;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}
.search-highlight {
    background: #fef3cd;
    color: #b45309;
    padding: 0.1rem 0.2rem;
    border-radius: 2px;
    font-weight: 600;
}

[data-theme="dark"] .search-highlight {
    background: #f59e0b;
    color: #1f2937;
}


@media (max-width: 768px) {
	
	/* 移动端便签布局适配 */
    .notes-grid.medium {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.8rem;
        padding: 16px;
    }
    
    .notes-grid.medium .note-card {
        height: 100px;
        padding: 0.8rem;
    }
    
    .notes-grid.compact {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.6rem;
        padding: 16px;
    }
    
    .notes-grid.compact .note-card {
        height: 60px;
        padding: 0.6rem;
    }
    
    .notes-grid.compact .note-content {
        -webkit-line-clamp: 2;
        font-size: 0.7rem;
    }
    

	
    .notes-grid.large  {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 0.5rem;
		padding: 14px 10px;
    }
    
    .notes-grid.large .note-card {
        height: 90px;
        padding:0.5rem 0.8rem;
    }
	.notes-grid.large .note-title {
    font-size: 0.9rem;
    margin-bottom: 0;
    }
	.notes-grid.large .note-info {
    font-size: 0.6rem;
    }
    

    /* 移动端导航栏滚动提示通用 */
    .app-switcher {
        margin-left: 0.5rem;
    }
    
    .app-tab {
        padding: 4px 8px;
        font-size: 0.8rem;
    }
    
	.notes-content{
    margin: 1rem;
	padding: 0;
    }
    
    .new-note-btn {
        bottom: 4rem;
        right: 1.4rem;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
	
	.notes-nav-container {
        flex-direction: column;
    }
    
    .manage-categories-btn {
        margin: 0.5rem auto;
        width: calc(100% - 1rem);
    }
    
    .category-input-group {
        flex-direction: column;
    }
    
    .category-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .category-actions {
        align-self: flex-end;
    }
	    .notes-nav {
        justify-content: flex-start;
    }
    
    .notes-nav-link {
        padding: 0 1rem;
        font-size: 0.9rem;
    }
    
    .nav-icon {
        font-size: 0.8rem;
    }
    
    .manage-category-link {
        padding: 0 0.8rem;
    }
	
/* ===== 便签模态框更多操作下拉菜单 ===== */
	    .modal-header {
        position: relative;
        min-height: 50px;
        flex-wrap: wrap;
    }
    
    .note-title-input {
        flex: 1;
        min-width: 0;
        margin-right: 0.5rem;
        font-size: 1rem;
    }
    
    .modal-actions {
        display: flex;
        align-items: center;
        gap: 0.25rem;
        flex-shrink: 0;
    }
    
    
    .category-select-item {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .category-select-item label {
        margin-right: 0;
        font-weight: 500;
    }
    
    .note-category-select {
        width: 100%;
    }

    /* 移动端拖拽优化 */
   
    .drag-handle {
        font-size: 1.6rem;
        margin-right: 16px;
        width: 28px;
        height: 28px;
    }
    
    .category-list {
        padding: 0.25rem;
    }
}
