@tailwind base;
@tailwind components;
@tailwind utilities;

/* 基础样式 */
body { 
    font-family: 'Inter', sans-serif; 
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* 通用工具类 */
.content-auto { content-visibility: auto; }

/* 按钮样式 */
.btn-primary-hover { 
    transition: background-color 0.2s ease;
}

.btn-primary-hover:hover { 
    background-color: #d97706;
}

.btn-secondary-hover { 
    transition: all 0.2s ease;
}

.btn-secondary-hover:hover { 
    background-color: #f3f4f6;
}

/* 自定义滚动条 - 全局通用样式 */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    display: block !important;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 3px;
    border: 1px solid #f1f5f9;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background-color: #94a3b8;
}

/* Firefox 滚动条 */
.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}
