* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.search-box {
    text-align: center;
    margin-top: 100px;
}

.search-box h1 {
    font-size: 2em;
    margin-bottom: 30px;
    color: #333;
}

.search-input {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 10px;
}

.search-input input {
    flex: 1;
    padding: 12px 20px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 4px;
    outline: none;
}

.search-input input:focus {
    border-color: #4285f4;
}

.search-input button {
    padding: 12px 30px;
    font-size: 16px;
    background-color: #4285f4;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-input button:hover {
    background-color: #357abd;
}

.disclaimer {
    margin-top: 20px;
    font-size: 12px;
    color: #666;
}

.hot-searches {
    margin-top: 50px;
    text-align: center;
}

.hot-searches h3 {
    margin-bottom: 20px;
    color: #666;
}

.hot-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.hot-list a {
    padding: 8px 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.hot-list a:hover {
    background-color: #f0f0f0;
    color: #4285f4;
}

.search-results {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
}

.result-item {
    background-color: #fff;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.result-item h3 {
    margin-bottom: 10px;
    color: #1a0dab;
}

.result-item .links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.result-item .link-btn {
    padding: 8px 15px;
    background-color: #4285f4;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.result-item .link-btn:hover {
    background-color: #357abd;
}

.copy-btn {
    padding: 5px 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin-left: 5px;
}

.copy-btn:hover {
    background-color: #218838;
}

.tags {
    margin: 10px 0;
}

.tag {
    display: inline-block;
    padding: 4px 8px;
    margin: 0 5px 5px 0;
    background-color: #f0f2f5;
    color: #409EFF;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.tag:hover {
    background-color: #409EFF;
    color: white;
}

.search-tip {
    background-color: #f8f9fa;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    border-left: 4px solid #409EFF;
}

.search-tip p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.tag.active {
    background-color: #409EFF;
    color: white;
}

/* 反馈相关样式 */
.feedback-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.feedback-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.feedback-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    z-index: 1002;
    width: 90%;
    max-width: 500px;
}

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #409EFF;
    outline: none;
}

.email-tip {
    font-size: 12px;
    color: #666;
}

.captcha-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-group input {
    width: 100px;
}

.refresh-captcha {
    padding: 4px 8px;
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.form-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.submit-btn,
.cancel-btn {
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    border: none;
}

.submit-btn {
    background: #409EFF;
    color: white;
}

.cancel-btn {
    background: #f4f4f4;
    color: #333;
}

.submit-btn:hover {
    background: #66b1ff;
}

.cancel-btn:hover {
    background: #e6e6e6;
}

.feedback-btn {
    margin-top: 10px;
    padding: 6px 12px;
    background-color: #f56c6c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.feedback-btn:hover {
    background-color: #f78989;
}

.feedback-section {
    margin-top: 10px;
    text-align: right;
}

@media (max-width: 768px) {
    .feedback-content {
        width: 95%;
        padding: 15px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px; /* 防止iOS缩放 */
    }

    .captcha-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .captcha-group input {
        width: 100%;
    }
}

.no-exact-match-tip {
    background-color: #fff7e6;
    border: 1px solid #ffe7ba;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}

.no-exact-match-tip p {
    margin: 5px 0;
    color: #666;
}

.no-exact-match-tip a {
    color: #409EFF;
    text-decoration: none;
}

.no-exact-match-tip a:hover {
    text-decoration: underline;
} 