/* Glassmorphism and Custom Styles */
:root {
    --bg-primary: #f8fafc;
}

body {
    background-color: var(--bg-primary);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Scrollbar styling */
#draft-output-container::-webkit-scrollbar {
    width: 6px;
}

#draft-output-container::-webkit-scrollbar-track {
    background: transparent;
}

#draft-output-container::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

#draft-output-container::-webkit-scrollbar-thumb:hover {
    background: #cbd5e1;
}

/* Markdown styling replacements */
.prose h1 {
    font-size: 1.5rem;
    font-weight: 700;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.prose h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    padding-left: 0.75rem;
    border-left: 4px solid #2563eb;
    color: #334155;
}

.prose p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #475569;
}

.prose ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.prose li {
    margin-bottom: 0.25rem;
    color: #475569;
}

.info-grid {
    display: grid;
    grid-template-cols: auto 1fr;
    gap: 0.5rem 1.5rem;
    background: #f1f5f9;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.info-label {
    font-weight: 600;
    color: #64748b;
}

.info-value {
    color: #1e293b;
}

/* Button Pulse for Demo effect */
@keyframes pulse-soft {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

#generate-btn {
    animation: pulse-soft 2s infinite;
}

#generate-btn:active {
    animation: none;
}
