/* index.css - 首页特有样式 */

.header {
    margin-bottom: 30px;
}

/* 表单 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #333;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group textarea,
.form-group input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    resize: vertical;
    font-family: inherit;
    box-sizing: border-box;
    background: #fff;
}

.form-group textarea {
    height: 200px;
}

.form-group textarea:focus,
.form-group input[type="text"]:focus {
    outline: none;
    border-color: #07c160;
    box-shadow: 0 0 0 3px rgba(7, 193, 96, 0.12);
}

/* 按钮组 */
.btn-group {
    display: flex;
    gap: 12px;
    margin-top: 5px;
}

.btn-group .btn {
    flex: 1;
}

.btn-paste {
    background: #1890ff;
}

.btn-paste:hover {
    background: #1478d4;
}

.btn-clear {
    background: #999;
}

.btn-clear:hover {
    background: #777;
}

@media (max-width: 500px) {
    .btn-group {
        flex-direction: column;
    }
}

/* 结果 */
.results {
    margin-top: 20px;
    display: none;
}

.result-item {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 14px;
}

.result-item.success {
    background: #e7f7ee;
    color: #07c160;
}

.result-item.error {
    background: #ffebee;
    color: #e53935;
}

.result-title {
    font-weight: 500;
}

.result-url {
    font-size: 12px;
    color: #888;
    word-break: break-all;
}
