body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 900px;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

.input-section {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

textarea {
    width: 100%;
    height: 150px;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    resize: vertical;
}

button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.results-section {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.result-box {
    flex: 1;
    min-width: 300px;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    background-color: #f9f9f9;
    position: relative;
}

.result-box h2 {
    margin-top: 0;
    color: #555;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-box .copy-button {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 5px 10px;
    font-size: 14px;
    background-color: #28a745;
}

.result-box .copy-button:hover {
    background-color: #218838;
}

.link-list {
    max-height: 300px;
    overflow-y: auto;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.link-list p {
    margin: 5px 0;
    padding: 5px;
    background-color: #e9e9e9;
    border-radius: 3px;
    word-break: break-all;
}
