
        /* 自定义text-xl大小 */
        .text-xl {
            font-size: 1.15rem !important;
        }
        .mb-12 {
            margin-bottom: .2rem !important;
        }
        .form-container {
            transition: all 0.5s ease;
        }

        .results-overlay {
            position: relative;
            z-index: 10;
        }

        .fade-in {
            animation: fadeIn 0.5s ease-in-out;
        }
.top20{margin-top:20px;}
.text-gray-700 p {
  text-indent: 2em; 
}
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

   
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .text-shadow {
                text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
            }
            .bg-pattern {
                background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4z' fill='%23e6e9ec' fill-opacity='0.2' fill-rule='evenodd'/%3E%3C/svg%3E");
            }
            .card-hover {
                transition: all 0.3s ease;
            }
            .card-hover:hover {
                transform: translateY(-5px);
                box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
            }
        }
		.to-primary {
    --tw-gradient-to: #624496 var(--tw-gradient-to-position);
}
.from-primary\/90 {
    --tw-gradient-from: rgb(78 6 206) var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(22 93 255 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
 input:focus, select:focus, textarea:focus, button:focus{
  outline: none; 
  border-color: inherit; 
}
/* 移除WebKit浏览器中数字输入框的上下箭头 */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* AI加载界面样式 */
.result-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ai-loading {
    text-align: center;
    padding: 40px 20px;
    max-width: 400px;
    width: 100%;
}

/* 加载旋转器 */
.loading-spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border: 4px solid #e3e3e3;
    border-top: 4px solid #165DFF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: relative;
}

.loading-spinner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: #165DFF;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 1.5s ease-in-out infinite;
}

/* 旋转动画 */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 脉冲动画 */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

/* 加载文本样式 */
.loading-text {
    font-size: 24px;
    font-weight: bold;
    color: #1D2129;
    margin-bottom: 10px;
    animation: fadeInOut 2s ease-in-out infinite;
}

.loading-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.loading-hint {
    font-size: 14px;
    color: #fff !important;
    margin-top: 10px;
    padding: 10px;
   background-color: #2196F3;
    border-radius: 8px;
    animation: slideInUp 0.5s ease-out;
}

/* 计时器样式 */
#ai-timer {
    font-weight: bold;
    color: #165DFF;
    background: rgba(22, 93, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 5px;
    animation: timerBlink 1s ease-in-out infinite;
}

/* 文本淡入淡出动画 */
@keyframes fadeInOut {
    0%, 100% {
        opacity: 1;
        transform: translateY(0);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-2px);
    }
}

/* 滑入动画 */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 计时器闪烁动画 */
@keyframes timerBlink {
    0%, 100% {
        background: rgba(22, 93, 255, 0.1);
        color: #165DFF;
    }
    50% {
        background: rgba(22, 93, 255, 0.2);
        color: #0d47a1;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .result-content {
        margin: 10px;
        min-height: 250px;
    }
    
    .ai-loading {
        padding: 30px 15px;
    }
    
    .loading-spinner {
        width: 50px;
        height: 50px;
    }
    
    .loading-text {
        font-size: 20px;
    }
    
    .loading-subtitle {
        font-size: 14px;
    }
}

/* 暗色主题支持 */
@media (prefers-color-scheme: dark) {
    .result-content {
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .loading-text {
        color: #ecf0f1;
    }
    
    .loading-subtitle {
        color: #bdc3c7;
    }
}
