body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
    color: #333;
}

.container {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1, h2, h3 {
    color: #2c3e50;
}

.form-group, .lookup-group {
    margin-bottom: 20px;
}

textarea, input, select {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

button {
    background-color: #3498db;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2980b9;
}

.expires-group {
    margin: 15px 0;
}

.result-box, .info-box {
    margin-top: 20px;
    padding: 15px;
    background-color: #eaf7ff;
    border-radius: 6px;
    border-left: 4px solid #3498db;
    display: none;
}

pre {
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 4px;
    overflow-x: auto;
}

a {
    color: #3498db;
    text-decoration: none;
}

/* 复用结果框样式 */

.result-box {
    background: #f8f8f8;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.short-url {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
}

.original-url {
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
    max-width: 60%;
}
/* 添加强制显示样式 */
/*#historyInfo * {*/
/*  color: #000 !important;*/
/*  font-size: 14px !important;*/
/*  opacity: 1 !important;*/
/*  display: inline !important;*/
/*  visibility: visible !important;*/
/*}*/
/* 鼠标悬停显示完整原链接 */
.original-url:hover {
    white-space: normal;
    overflow: visible;
}

a:hover {
    text-decoration: underline;
}