/* 编辑器基础样式 */
#content-container {
    min-height: calc(100vh - 12px);
}

/* 认证表单样式 */
.auth-form {
    min-height: calc(100vh - 12px);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 编辑器容器样式 */
.editor-container {
    min-height: calc(100vh - 12px);
}

/* 搜索模态框样式 */
#search-modal {
    opacity: 0;
    transition: opacity 0.3s ease;
}

#search-modal .relative {
    transform: scale(0.95);
    transition: all 0.3s ease;
}

#search-modal.opacity-100 {
    opacity: 1;
}

#search-modal .relative.scale-100 {
    transform: scale(1);
}

#search-modal .relative.opacity-100 {
    opacity: 1;
}

/* 加载指示器样式 */

.loading-container {
    z-index: 9999;
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 
               0 0 0 1px rgba(255, 255, 255, 0.1) inset,
               0 2px 4px rgba(0, 0, 0, 0.5);
}

.loading-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.loading-container:hover::after {
    opacity: 1;
}

.loading-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid transparent;
    border-top-color: #3b82f6;
    border-bottom-color: #8b5cf6;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 12px;
}

.loading-text {
    color: white;
    font-size: 15px;
    font-weight: 500;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}