/* Base styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f8fafc;
}

/* Copy button styles */
.copy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.copy-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.copy-btn.copied {
    background-color: #10b981;
}

.copy-btn.copied:hover {
    background-color: #059669;
}

.copy-btn .copy-text {
    position: relative;
    top: 1px;
}

/* Textarea styles */
textarea {
    min-height: 100px;
    resize: vertical;
    font-size: 1rem;
    line-height: 1.5;
}

/* Mobile menu styles */
[x-cloak] {
    display: none !important;
}

/* FAQ styles */
.faq-item {
    border-bottom: 1px solid #e5e7eb;
}

.faq-item:last-child {
    border-bottom: none;
}

/* Style preview cards */
.style-card {
    transition: transform 0.2s ease-in-out;
}

.style-card:hover {
    transform: translateY(-2px);
}

/* Custom scrollbar */
textarea::-webkit-scrollbar {
    width: 8px;
}

textarea::-webkit-scrollbar-track {
    background: #f1f1f1;
}

textarea::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

textarea::-webkit-scrollbar-thumb:hover {
    background: #666;
}

html {
    scroll-padding-top: 80px; /* 根据你的 header 高度调整 */
}
