/* 自定义样式补充TailwindCSS */

/* 自定义表单元素焦点状态 */
input:focus, textarea:focus, select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

/* 结果区域自定义样式 */
#recommendation {
    line-height: 1.6;
}

#recommendation h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #1e40af;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

#recommendation .prose {
    max-width: 100%;
}

#recommendation .prose p {
    margin-bottom: 1rem;
}

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

#recommendation .prose ol {
    list-style-type: decimal;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

#recommendation .prose li {
    margin-bottom: 0.5rem;
}

#recommendation .prose strong {
    font-weight: 600;
    color: #1e40af;
}

/* 保留原有的样式兼容性 */
#recommendation ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

#recommendation ol {
    list-style-type: decimal;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

#recommendation li {
    margin-bottom: 0.25rem;
}

/* 响应式调整 */
@media (max-width: 640px) {
    input, select, textarea {
        font-size: 16px; /* 防止iOS设备上的缩放 */
    }
}

/* 自定义按钮悸动效果 */
.btn-pulse:hover {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
} 