/**
 * Favicon 获取工具 - 样式文件
 */

body {
    background-color: #f2f2f2;
    padding: 20px;
}

.main-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-title {
    text-align: center;
    padding: 20px 0;
}

.page-title h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 8px;
}

.page-title p {
    color: #999;
    font-size: 14px;
}

.search-box {
    margin-bottom: 20px;
}

.search-box .layui-input {
    height: 46px;
    font-size: 15px;
    border-radius: 4px 0 0 4px;
}

.search-box .layui-btn {
    height: 46px;
    line-height: 46px;
    border-radius: 0 4px 4px 0;
}

.quick-btns {
    margin-bottom: 20px;
}

.quick-btns .layui-btn {
    margin: 3px;
}

.result-card {
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #fafafa;
    border-radius: 4px;
}

.result-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 10px;
}

.result-domain {
    font-size: 18px;
    color: #333;
    margin: 10px 0 5px;
}

.result-status {
    font-size: 14px;
    color: #5FB878;
}

.result-status.error {
    color: #FF5722;
}

.history-box {
    margin-top: 20px;
}

.history-item {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    margin: 4px;
    background: #f8f8f8;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.history-item:hover {
    background: #e6e6e6;
}

.history-item img {
    width: 18px;
    height: 18px;
    margin-right: 6px;
}

.history-item span {
    font-size: 13px;
    color: #666;
}

.api-doc {
    margin-top: 20px;
}

.api-doc .layui-card-header {
    font-size: 16px;
    font-weight: 600;
}

.api-doc pre {
    background: #2f4056;
    color: #f8f8f2;
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.8;
}

.api-doc h4 {
    margin: 15px 0 10px;
    color: #333;
    font-size: 14px;
}

.api-doc ul {
    margin-left: 20px;
    line-height: 2;
    color: #666;
}

.api-doc code {
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 13px;
}

.loading-box {
    padding: 40px;
}
