/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: #f9fafb;
    color: #1F2937;
    min-height: 100vh;
}

/* 工具类 */
.hidden {
    display: none !important;
}

/* 加载指示器 */
.loader {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
}

.loader-content {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
}

.loader-spinner {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border-bottom: 2px solid #3B82F6;
    animation: spin 1s linear infinite;
    margin-right: 0.75rem;
}

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