/* 现代化风格重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #f8fafc;
    --accent-color: #10b981;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --shadow-lg: 0 20px 50px -12px rgba(0, 0, 0, 0.25);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
}

/* 主容器 */
.main-container {
    min-height: 100vh;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 30px;
    width: 100%;
    min-height: auto;
}

/* 标题样式 */
.header {
    text-align: center;
    margin-bottom: 40px;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* 生成区域 */
.generate-section {
    background: var(--secondary-color);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
}

.generate-section h2 {
    color: var(--text-primary);
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.generate-section p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* 按钮样式 */
.btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(99, 102, 241, 0.4);
}

.btn:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--text-secondary);
    box-shadow: 0 4px 14px 0 rgba(100, 116, 139, 0.3);
}

.btn-secondary:hover {
    box-shadow: 0 8px 25px 0 rgba(100, 116, 139, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, var(--accent-color), #059669);
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    box-shadow: 0 8px 25px 0 rgba(16, 185, 129, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 4px 14px 0 rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    box-shadow: 0 8px 25px 0 rgba(239, 68, 68, 0.4);
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

/* 查询列表 */
.query-list {
    margin-top: 30px;
}

.query-list h2 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
}

.query-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.query-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.query-info {
    flex: 1;
}

.query-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.query-meta {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.query-actions {
    display: flex;
    gap: 12px;
}

/* 表格样式 */
.table-container {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    margin-top: 20px;
}

.query-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.query-table th {
    background: var(--secondary-color);
    padding: 20px 16px;
    text-align: center;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    font-size: 15px;
}

.query-table td {
    padding: 18px 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    line-height: 1.5;
    text-align: center;
}

.query-table tr:last-child td {
    border-bottom: none;
}

.query-table tr:hover {
    background: rgba(99, 102, 241, 0.05);
}

.query-table tr {
    transition: var(--transition);
}

.table-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* 表格列宽调整 */
.query-table th:nth-child(1),
.query-table td:nth-child(1) {
    width: 20%;
    min-width: 150px;
}

.query-table th:nth-child(2),
.query-table td:nth-child(2) {
    width: 15%;
    min-width: 120px;
}

.query-table th:nth-child(3),
.query-table td:nth-child(3) {
    width: 15%;
    min-width: 150px;
}

.query-table th:nth-child(4),
.query-table td:nth-child(4) {
    width: 15%;
    min-width: 150px;
}

.query-table th:nth-child(5),
.query-table td:nth-child(5) {
    width: 10%;
    min-width: 100px;
}

.query-table th:nth-child(6),
.query-table td:nth-child(6) {
    min-width: 200px;
    text-align: center;
}

.query-table td:nth-child(6) {
    padding: 18px 16px;
}

/* 小按钮样式 */
.btn-small {
    padding: 8px 16px !important;
    font-size: 14px !important;
    min-width: auto !important;
}

/* 状态样式 */
.status-valid {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    text-align: center;
    min-width: 60px;
}

.status-expired {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    text-align: center;
    min-width: 60px;
}

.status-unknown {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    text-align: center;
    min-width: 60px;
}

/* 过期页面样式 */
.expired-section {
    text-align: center;
    padding: 40px 20px;
}

.expired-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.7;
}

.expired-section h1 {
    color: #ef4444;
    font-size: 2.5rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.expired-section h2 {
    color: #048830;
    font-size: 2rem;
    margin-bottom: 10px;
}

.expired-section p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.empty-state .icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* 页面信息 */
.page-info {
    background: var(--secondary-color);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.page-info p {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.page-info strong {
    color: var(--text-primary);
}

/* 表单样式 */
.form-group {
    margin-bottom: 24px;
}

.remember-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.remember-group input[type="checkbox"] {
    margin: 0;
    width: auto;
}

.remember-group label {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: normal;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

input, textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: var(--transition);
    background: white;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

textarea {
    height: 140px;
    resize: vertical;
    line-height: 1.5;
}

/* 成功消息 */
.success-message {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border: 1px solid #10b981;
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 24px;
    color: #065f46;
    display: flex;
    align-items: center;
    gap: 12px;
}

.success-message::before {
    content: "✓";
    font-weight: bold;
    font-size: 18px;
}

/* 返回链接 */
.back-link {
    text-align: center;
    margin-top: 30px;
}

.back-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.back-link a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 24px;
        margin: 10px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .query-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .query-actions {
        width: 100%;
        justify-content: stretch;
    }
    
    .query-actions .btn {
        flex: 1;
    }
}

/* 动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    animation: fadeIn 0.6s ease-out;
}

.query-item {
    animation: fadeIn 0.4s ease-out;
}

/* 分页控件样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding: 20px 0;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    background: white;
    min-width: 44px;
    height: 44px;
}

.page-link:hover {
    background: var(--secondary-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}

.page-link.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.page-link.disabled {
    background: var(--secondary-color);
    color: var(--text-secondary);
    border-color: var(--border-color);
    cursor: not-allowed;
    opacity: 0.6;
}

.page-link.disabled:hover {
    transform: none;
    background: var(--secondary-color);
    border-color: var(--border-color);
    color: var(--text-secondary);
    box-shadow: none;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 95%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease-out;
    position: relative;
}

/* 生成模态框专用样式 */
#generateModal .modal-content {
    max-width: none;
    width: 80%;
    margin: 0;
    max-height: 85vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: modalCenterIn 0.3s ease-out;
}

.modal-header {
    background: var(--secondary-color);
    padding: 24px 30px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.close {
    color: var(--text-secondary);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.close:hover {
    color: var(--text-primary);
    transform: scale(1.1);
}

.modal-body {
    padding: 30px;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: var(--secondary-color);
}

/* 表单帮助文本 */
.form-help {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 6px;
    display: block;
}

/* 快速时间选择按钮样式 */
.quick-time-buttons {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
    box-shadow: none !important;
    padding: 6px 12px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

.btn-outline:hover {
    background: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3) !important;
}

/* 编辑按钮样式 */
.btn-edit {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    box-shadow: 0 4px 14px 0 rgba(245, 158, 11, 0.3) !important;
}

.btn-edit:hover {
    background: linear-gradient(135deg, #d97706, #b45309) !important;
    box-shadow: 0 8px 25px 0 rgba(245, 158, 11, 0.4) !important;
}

/* 确认对话框居中样式 */
#confirmModal .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    max-width: 400px;
    width: 90%;
    animation: none; /* 禁用默认动画 */
}

/* 确认对话框专用动画 */
#confirmModal .modal-content {
    animation: modalCenterIn 0.3s ease-out;
}

@keyframes modalCenterIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* 模态框动画 */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 卡片配置样式 */
.cards-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.card-item {
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.card-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.card-header span {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 16px;
}

.card-item .form-group {
    margin-bottom: 16px;
    flex: 1;
}

.card-item .form-group:last-child {
    margin-bottom: 0;
}

/* 响应式设计 - 卡片布局 */
@media (max-width: 1024px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cards-container {
        grid-template-columns: 1fr;
    }
}

/* 表单容器样式 */
.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.edit-form {
    margin-bottom: 30px;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 30px;
}

.info-grid {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.info-label {
    font-weight: 600;
    color: var(--text-primary);
}

.info-value {
    color: var(--text-secondary);
}

.info-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.info-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* 高级查询页面样式 */
.query-page-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 10px;
    position: relative;
    overflow: hidden;
}


.query-page-content {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 高级页面头部 */
.page-header {
    margin-bottom: 26px;
    text-align: center;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
}

.title-section {
    margin-bottom: 30px;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    margin: 0 auto;
    border-radius: 2px;
    animation: slideIn 1s ease-out;
}

.meta-section {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: var(--transition);
}

.meta-item:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.meta-icon {
    font-size: 20px;
    opacity: 0.8;
}

.meta-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.meta-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

/* 高级卡片网格 */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.query-card {
    background: linear-gradient(180deg, rgba(235 ,234 ,255, 0.9), rgba(255, 255, 255, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 30px 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.query-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.query-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(99, 102, 241, 0.3);
}

.query-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 32px;
    margin-bottom: 16px;
    opacity: 0.8;
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.card-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.card-link {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.9), var(--primary-dark));
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.card-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    color: white;
}

.card-link:hover::before {
    left: 100%;
}

.card-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.query-card:hover .card-hover-effect {
    opacity: 1;
}

/* 高级空状态 */
.empty-state {
    text-align: center;
    padding: 80px 40px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin: 40px 0;
}

.empty-icon {
    margin-bottom: 24px;
    opacity: 0.6;
}

.empty-icon svg {
    stroke: var(--text-secondary);
}

.empty-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.empty-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.empty-action {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.empty-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    color: white;
}

/* 高级底部信息 */
.page-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-info-centered {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 32px;
    background: rgba(99, 102, 241, 0.08);
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.15);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
}

.contact-info-centered:hover {
    background: rgba(99, 102, 241, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.15);
}

.contact-icon {
    font-size: 24px;
    opacity: 0.9;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

/* 保留原有的contact-info样式，以防其他地方使用 */
.contact-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

/* 高级查询页面响应式设计 */
@media (max-width: 1200px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .meta-section {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .query-page-content {
        padding: 30px 20px;
        margin: 10px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .meta-section {
        flex-direction: column;
        gap: 16px;
    }
    
    .meta-item {
        width: 100%;
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info {
        width: 100%;
        justify-content: center;
    }
}

/* AOS动画库样式覆盖 */
[data-aos] {
    pointer-events: auto;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* 查询页面卡片动画延迟 */
.query-card:nth-child(1) { animation-delay: 0.1s; }
.query-card:nth-child(2) { animation-delay: 0.2s; }
.query-card:nth-child(3) { animation-delay: 0.3s; }
.query-card:nth-child(4) { animation-delay: 0.4s; }
.query-card:nth-child(5) { animation-delay: 0.5s; }
.query-card:nth-child(6) { animation-delay: 0.6s; }
.query-card:nth-child(7) { animation-delay: 0.7s; }
.query-card:nth-child(8) { animation-delay: 0.8s; }
.query-card:nth-child(9) { animation-delay: 0.9s; }
.query-card:nth-child(10) { animation-delay: 1.0s; }
