body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f6fa;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.container {
    width: 1200px;
    margin-top: 60px;
    padding: 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

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

.input-group {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

input[type="text"] {
    flex: 1;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #dcdde1;
    border-radius: 8px;
    transition: 0.3s;
}

input[type="text"]:focus {
    outline: none;
    border-color: #4cd137;
    box-shadow: 0 0 5px rgba(76, 209, 55, 0.5);
}

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

button:hover {
    background-color: #14a800;
}

.format-group {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}

select {
    padding: 8px 12px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #dcdde1;
}

/* Liens cliquables */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#linksList {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 500px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #dcdde1;
    border-radius: 8px;
    background: #f9f9f9;
}

#linksList a {
    color: #14a800;
    text-decoration: none;
    word-break: break-all;
    font-family: monospace;
}

#linksList a:hover {
    text-decoration: underline;
}

.hidden {
    display: none;
}

