/* Colors */
.color-primary { color: #1890ff; }
.color-secondary { color: #52c41a; }
.color-text-primary { color: #262626; }
.color-text-secondary { color: #595959; }
.color-border { border-color: #f0f0f0; }
.bg-white { background-color: #fff; }
.bg-layout { background-color: #f5f5f5; }
.bg-fafa { background-color: #fafafa; }
.bg-f6ffed { background-color: #f6ffed; }
.border-eb8f { border-color: #b7eb8f; }
.border-91d5ff { border-color: #91d5ff; }
.bg-e6f7ff { background-color: #e6f7ff; }

/* Typography */
.font-sans { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; }
.font-medium { font-weight: 500; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-2rem { font-size: 2rem; }

/* Spacing */
.m-0 { margin: 0; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 4px; }
.mb-1 { margin-bottom: 4px; }
.mt-2 { margin-top: 8px; }
.mb-2 { margin-bottom: 8px; }
.mt-3 { margin-top: 12px; }
.mb-3 { margin-bottom: 12px; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.mt-6 { margin-top: 24px; }
.mb-6 { margin-bottom: 24px; }
.mt-8 { margin-top: 32px; }
.mb-8 { margin-bottom: 32px; }
.ml-1 { margin-left: 4px; }
.mr-1 { margin-right: 4px; }
.ml-2 { margin-left: 8px; }
.mr-2 { margin-right: 8px; }
.p-1 { padding: 4px; }
.p-2 { padding: 8px; }
.p-3 { padding: 12px; }
.p-4 { padding: 16px; }
.p-6 { padding: 24px; }
.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }
.pl-0 { padding-left: 0; }
.pr-0 { padding-right: 0; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }

/* Layout */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.block { display: block; }
.inline-block { display: inline-block; }
.none { display: none; }
.items-center { align-items: center; }
.justify-end { justify-content: flex-end; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.w-100 { width: 100%; }
.h-100 { height: 100%; }
.min-h-100vh { min-height: 100vh; }
.relative { position: relative; }
.absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }

/* Borders */
.rounded { border-radius: 8px; }
.rounded-full { border-radius: 50%; }
.border { border: 1px solid #f0f0f0; }
.border-dashed { border-style: dashed; }
.border-2 { border-width: 2px; }

/* Shadows */
.shadow-sm { box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.shadow { box-shadow: 0 2px 4px rgba(0,0,0,0.1); }

/* Effects */
.transition { transition: all 0.3s; }
.opacity-70 { opacity: 0.7; }
.pointer-events-none { pointer-events: none; }

/* Custom */
.max-w-1200 {
    max-width: 1200px;
    min-width: 800px; /* 添加最小宽度 */
}

/* Center the main content */
.center-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-width: 800px; /* 添加最小宽度 */
    padding: 0 20px; /* Add some padding on the sides */
    box-sizing: border-box; /* Include padding in width calculation */
}

.tool-header-content {
    text-align: center;
    width: 100%;
    padding: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .md-p-4 { padding: 16px; }
    .md-m-4 { margin: 16px; }
    .md-flex-col { flex-direction: column; }
}
