/* Styles de base pour l'ensemble des pages */
body {
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
    margin: 0;
    padding: 0;
}

.container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    color: #333;
    text-align:center;
}

/* Styles spécifiques à la page d'accueil (index.php) */
.index-container {
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

a {
    text-decoration: none;
    color: #0078d4;
}

/* Styles spécifiques à la page intermédiaire (voir-tous-utm.php) */
ul {
    list-style: none;
    padding: 0;
}

li {
    margin: 10px 0;
}

/* Styles spécifiques aux pages de liste (liste-cr.php et liste-vl.php) */
table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 10px;
    text-align: left;
}

thead {
    background-color: #0078d4;
    color: #fff;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: none;
}

/* Styles spécifiques à la page de confirmation (confirmation.php) */
.confirmation-container {
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Styles spécifiques aux boutons */
button {
    background-color: #0078d4;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    margin-top:20px;
}

button:hover {
    background-color: #002847;
}

.listeutm{
    color:white;
}

/* Style CSS pour afficher le formulaire en colonne */
form {
    display: flex;
    flex-direction: column;
    max-width: 300px; /* Ajustez la largeur du formulaire selon vos besoins */
    margin: 0 auto;
}

label, select, input, textarea {
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
}

.generated-info {
    background-color: #f0f0f0;
    padding: 10px;
    border: 1px solid #ccc;
    margin-top: 20px;
    text-align: center;
}

.footer{
    text-align:center;
}

.utm{
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.createUTM{
    font-weight: bold;
}

option[title]:hover:after {
    content: attr(title);
    background: #333;
    color: #fff;
    border-radius: 5px;
    padding: 5px 10px;
    position: absolute;
    z-index: 1;
    white-space: nowrap;
}

.infos{
    font-size:12px;
    font-weight: lighter;
    margin-top:-10px;
}