﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: '微软雅黑', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* 卡片样式 */
.url-section {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
}

/* 标题样式 */
.url-section h1 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
    background-color: #3498db;
    padding: 12px;
    border-radius: 5px;
    font-weight: 500;
}

/* URL输入区域 */
.url-section .input-container {
    width: 100%;
    margin-bottom: 15px;
}

.url-section .input-container input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    font-family: '微软雅黑', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.url-section .input-container input[type="text"]:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
    background-color: #fff;
}

/* 快捷按钮组 */
.shortcut-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.shortcut-buttons button {
    padding: 6px 12px;
    background-color: #e8f4fc;
    color: #3498db;
    border: 1px solid #3498db;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shortcut-buttons button:hover {
    background-color: #3498db;
    color: #fff;
}

.shortcut-buttons button.domain-btn {
    background-color: #fef3e2;
    color: #f59e0b;
    border-color: #f59e0b;
}

.shortcut-buttons button.domain-btn:hover {
    background-color: #f59e0b;
    color: #fff;
}

/* 按钮组样式 */
.button-group {
    text-align: center;
}

.button-group input[type="submit"] {
    display: inline-block;
    padding: 12px 30px;
    background-color: #27ae60;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.button-group input[type="submit"]:hover {
    background-color: #229954;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* 移动端响应式布局 */
@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }

    .url-section {
        padding: 20px;
    }

    .url-section h1 {
        font-size: 18px;
    }

    .button-group input[type="submit"] {
        padding: 10px 25px;
        font-size: 14px;
    }

    .shortcut-buttons button {
        padding: 5px 10px;
        font-size: 12px;
    }
}