/* 主界面样式 */
.main-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.main-page body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

#page-cover {
    position: fixed;
    /* Keeps it in view even when scrolling */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    /* The white cover */
    z-index: 9999;
    /* Ensures it's on top of everything */
    display: flex;
    /* Used to center the spinner */
    justify-content: center;
    align-items: center;
    /* Add a smooth fade-out transition */
    transition: opacity 0.5s ease-out;
}

.main-page .shader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.main-page .content-overlay {
    position: relative;
    z-index: 1;
}

/* Main Page Navigation */
.main-page header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.main-page nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.main-page .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    /* CORRECTED GRADIENT STYLE */
    background: linear-gradient(145deg, #4F66D8, #91A3FF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}


.main-page .nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.main-page .nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
}

.main-page .nav-links a:hover {
    color: #fff;
}

.main-page .nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.main-page .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.main-page .btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.main-page .btn-primary {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.main-page .btn-primary:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Main Content */
.main-page main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
}

.main-page .hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.main-page .hero h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    /* CORRECTED GRADIENT STYLE */
    background: linear-gradient(145deg, #4F66D8, #91A3FF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.main-page .hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Search Interface */
.main-page .search-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.main-page .search-form {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    padding: 2px;
    margin-bottom: 2rem;
}

.main-page .search-input {
    width: 100%;
    min-height: 120px;
    padding: 1.5rem;
    border: none;
    border-radius: 1.5rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    color: #fff;
    font-size: 1rem;
    resize: none;
    outline: none;
    transition: all 0.2s ease;
}

.main-page .search-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.main-page .search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.main-page .search-submit {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #9333ea);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.main-page .search-submit:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #1d4ed8, #7c3aed);
}

.main-page .search-submit svg {
    width: 20px;
    height: 20px;
}

/* Features Section */
.main-page .features {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.main-page .features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #fff;
    background: linear-gradient(135deg, #06b6d4, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-page .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.main-page .feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.main-page .feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.main-page .feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.main-page .feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Footer */
.main-page footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

/* Mobile Menu */
.main-page .mobile-menu {
    display: none;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    padding: 2rem;
}

.main-page .mobile-menu.active {
    display: block;
}

.main-page .mobile-menu nav {
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.main-page .mobile-menu .nav-links {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.main-page .mobile-menu .nav-links a {
    font-size: 1.25rem;
}

.main-page .close-menu {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Login Modal */
.main-page .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
}

.main-page .modal-overlay.active {
    display: flex;
}

.main-page .modal-container {
    background: rgba(30, 30, 30, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    padding: 2.5rem;
    width: 90%;
    max-width: 400px;
    position: relative;
    color: #fff;
    display: flex;
    flex-direction: column;
}

.main-page .modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.main-page .modal-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1.5rem;
}

.main-page .modal-tab {
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid transparent;
}

.main-page .modal-tab.active {
    color: #fff;
    border-bottom-color: #4F66D8;
}

.main-page .modal-content {
    display: none !important;
}

.main-page .modal-content.active {
    display: block !important;
}

.main-page #wechat-login-content {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main-page #wechat-login-content .qr-code {
    width: 300px;
    height: 400px;
    background: #1e1e1ee6;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 0.8rem;
}

.main-page .form-group {
    margin-bottom: 1rem;
}

.main-page .form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: #fff;
    font-size: 1rem;
}

.main-page .phone-input-group {
    display: flex;
    gap: 0.5rem;
}

.main-page .phone-input-group input {
    flex-grow: 1;
}

.main-page .phone-input-group .btn-send-code {
    padding: 0.75rem;
    background: #4F66D8;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    white-space: nowrap;
}

.main-page .options-group {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.main-page .options-group div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.main-page .options-group input[type="checkbox"] {
    accent-color: #4F66D8;
}

.main-page .options-group a {
    color: #91A3FF;
    text-decoration: none;
}

.main-page .btn-login {
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.5rem;
    background: linear-gradient(145deg, #4F66D8, #91A3FF);
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    margin-top: 1.5rem;
    display: none; /* 默认隐藏 */
}

/* 手机登录时显示登录按钮 */
.main-page #phone-login-content.active ~ .options-group ~ .btn-login {
    display: block;
}

/* 用户协议 */
/* User Agreement Modal Styles */
.main-page .modal-container.agreement-modal {
    max-width: 800px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    background: #ffffff !important;
}

.main-page .modal-container.agreement-modal .modal-close {
    color: #333 !important;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
    transition: color 0.2s ease;
}

.main-page .modal-container.agreement-modal .modal-close:hover {
    color: #000 !important;
}

.agreement-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin: 0 0 10px 0;
    padding-top: 10px;
}

.agreement-date {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.agreement-content {
    flex: 1;
    overflow-y: auto;
    padding: 0 30px 30px 30px;
    line-height: 1.8;
    color: #333;
}

.agreement-content::-webkit-scrollbar {
    width: 8px;
}

.agreement-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.agreement-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.agreement-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.agreement-intro {
    background-color: #f8f9fa;
    padding: 15px;
    border-left: 4px solid #007bff;
    margin-bottom: 20px;
    border-radius: 4px;
}

.agreement-content h3 {
    font-size: 18px;
    color: #007bff;
    margin: 25px 0 15px 0;
    font-weight: bold;
}

.agreement-content h4 {
    font-size: 16px;
    color: #333;
    margin: 20px 0 10px 0;
    font-weight: bold;
}

.agreement-content p {
    margin: 10px 0;
    text-align: justify;
}

.agreement-content ul {
    margin: 10px 0;
    padding-left: 25px;
}

.agreement-content li {
    margin: 8px 0;
}

.agreement-content strong {
    color: #000;
    font-weight: 600;
}

.agreement-content a {
    color: #007bff;
    text-decoration: none;
}

.agreement-content a:hover {
    text-decoration: underline;
}

/* Make the agreement link clickable */
.main-page .options-group a {
    color: #007bff;
    text-decoration: none;
    cursor: pointer;
}

.main-page .options-group a:hover {
    text-decoration: underline;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .main-page .modal-container.agreement-modal {
        max-width: 95%;
        margin: 20px auto;
        background: #ffffff !important;
    }

    .agreement-content {
        padding: 0 20px 20px 20px;
    }

    .agreement-title {
        font-size: 20px;
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .main-page .nav-links {
        display: none;
    }

    .main-page .mobile-menu-toggle {
        display: block;
    }

    .main-page .hero h1 {
        font-size: 2rem;
    }

    .main-page .hero p {
        font-size: 1rem;
    }

    .main-page .features h2 {
        font-size: 2rem;
    }

    .main-page .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    .main-page .mobile-menu-toggle {
        display: none;
    }
}


/* 聊天界面样式覆盖 */
.chat-page body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow: hidden;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--page-bg);
}

.chat-page {
    --page-bg: #f4f5f7;
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --border-color: rgba(255, 255, 255, 0.8);
    --card-bg: rgba(255, 255, 255, 0.5);
    --user-bubble-gradient: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

.chat-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 聊天界面header样式 */
.chat-page header {
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 1rem 0;
    margin: 0 1.5rem;
}

/* 聊天界面nav样式 */
.chat-page nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 1.25rem;
}

/* 聊天界面样式 */
.chat-page .page-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: 900px;
    margin: 0 auto;
}

.chat-page .frosted-glass {
    background: var(--card-bg);
    backdrop-filter: blur(24px) saturate(120%);
    -webkit-backdrop-filter: blur(24px) saturate(120%);
    border: 1px solid var(--border-color);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 10px 32px rgba(31, 38, 135, 0.1);
}

.chat-page .logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.chat-page .user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
}

.chat-page .chat-container {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.chat-page .message-group {
    display: flex;
    gap: 1rem;
}

.chat-page .message-group.user {
    justify-content: flex-end;
}

.chat-page .message-group.ai {
    justify-content: flex-start;
}

.chat-page .message-content {
    padding: 0.85rem 1.35rem;
    border-radius: 1.25rem;
    max-width: 85%;
}

.chat-page .message-group.user .message-content {
    background: var(--user-bubble-gradient);
    color: #fff;
    border-top-right-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(91, 33, 182, 0.3);
}

.chat-page .ai-responses {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.chat-page .ai-card {
    padding: 1.25rem;
    width: fit-content;
    border-radius: 1rem;
}

.chat-page .ai-card.frosted-glass {
    box-shadow: none;
    border: 1px solid #e5e7eb;
}

.chat-page .ai-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.chat-page .ai-card ul {
    list-style-position: inside;
    padding-left: 0.5rem;
}

.chat-page .ai-final-output {
    padding: 0.5rem;
    font-size: 1.05rem;
    color: #111827;
}


/* ‘正在规划中’的波浪动画样式 */
/* .chat-page .indicator,
.ai-interactions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 0.5rem;
}

.chat-page .indicator span span {
    display: inline-block;
    animation: wave 1.5s ease-in-out infinite;
}

.chat-page .indicator span span:nth-child(1) { animation-delay: 0s; }
.chat-page .indicator span span:nth-child(2) { animation-delay: 0.1s; }
.chat-page .indicator span span:nth-child(3) { animation-delay: 0.2s; }
.chat-page .indicator span span:nth-child(4) { animation-delay: 0.3s; }
.chat-page .indicator span span:nth-child(5) { animation-delay: 0.4s; }
.chat-page .indicator span span:nth-child(6) { animation-delay: 0.5s; }
.chat-page .indicator span span:nth-child(7) { animation-delay: 0.6s; }
.chat-page .indicator span span:nth-child(8) { animation-delay: 0.7s; }
.chat-page .indicator span span:nth-child(9) { animation-delay: 0.8s; }

@keyframes wave {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
} */

.chat-page .sources-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 2rem;
    padding: 0.25rem 0.75rem 0.25rem 0.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-page .sources-button:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.chat-page .sources-button .avatar-stack {
    display: flex;
}

.chat-page .sources-button .avatar-stack img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -8px;
}

.chat-page .sources-button .avatar-stack img:first-child {
    margin-left: 0;
}

.chat-page .ai-interactions button {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.chat-page .ai-interactions button:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
}

.chat-page .input-area {
    flex-shrink: 0;
    padding: 1rem 1.5rem 1.5rem 1.5rem;
}

.chat-page .input-form {
    padding: 0.5rem;
    display: flex;
    align-items: center;
    border-radius: 1.5rem;
}

.chat-page .input-textarea {
    width: 100%;
    max-height: 150px;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 1rem;
    resize: none;
    outline: none;
}

.chat-page .input-textarea::placeholder {
    color: var(--text-secondary);
}

.chat-page .input-submit {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--user-bubble-gradient);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.chat-page .input-submit:hover {
    transform: scale(1.1);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.chat-page .ai-reply {
    opacity: 0;
}

.chat-page .delay-1 {
    animation-delay: 0.2s;
}

.chat-page .delay-2 {
    animation-delay: 0.8s;
}

.chat-page .delay-3 {
    animation-delay: 1.3s;
}

.chat-page .delay-4 {
    animation-delay: 1.8s;
}

.chat-page .delay-5 {
    animation-delay: 2.3s;
}

.chat-page .delay-6 {
    animation-delay: 2.8s;
}

.chat-page .delay-7 {
    animation-delay: 3.3s;
}

/* 表单的样式 */
.form-container * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.form-container body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background-color: #f5f5f5;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.form-container {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.form-group {
    margin-bottom: 24px;
}

.location-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* 为两个下拉框之间添加间距 */
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.form-container .required::before {
    content: "*";
    color: #ff4d4f;
    margin-right: 4px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 14px;
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 14px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-select:focus {
    outline: none;
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

/* 当下拉框被禁用时，改变样式 */
.form-select:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    color: #bfbfbf;
}

.button-group {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.form-container .btn {
    flex: 1;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-container .btn-primary {
    background-color: #1890ff;
    color: white;
}

.form-container .btn-primary:hover {
    background-color: #40a9ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}

.form-container .btn-primary:active {
    transform: translateY(0);
    background-color: #096dd9;
}

.form-container .btn-secondary {
    background-color: #fff;
    color: #666;
    border: 1px solid #d9d9d9;
}

.form-container .btn-secondary:hover {
    background-color: #f5f5f5;
    border-color: #40a9ff;
    color: #1890ff;
}

.form-container .btn-secondary:active {
    background-color: #f0f0f0;
}

.form-container .placeholder {
    color: #bfbfbf;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .form-container {
        padding: 20px;
        margin: 10px;
    }

    .form-container .button-group {
        flex-direction: column;
    }
}

/* Typewriter blinker */
/* .chat-page .typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background-color: var(--text-primary);
    animation: blink 1s infinite;
    margin-left: 3px;
    vertical-align: middle;
} */

/* @keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
} */

/* Jumping text animation */
/* .jumping-text span {
    position: relative;
    display: inline-block;
    animation: jump 1.6s infinite;
    animation-delay: calc(0.1s * var(--i));
} */

/* @keyframes jump {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-6px);
    }
} */