* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px;
}

main {
    display: flex;
    flex-wrap: wrap;
}

.container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width:100%;
}

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

.sous-titre {
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

input[type="text"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 8px rgba(102, 126, 234, 0.3);
}

.choix-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
}

.choix-radio {
    position: relative;
}

.choix-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.choix-label {
    display: block;
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #f9f9f9;
}

.choix-radio input[type="radio"]:checked + .choix-label {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    font-weight: 600;
    color: #667eea;
}

.choix-label:hover {
    border-color: #667eea;
    background: #f0f0f0;
}

.choix-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.choix-text {
    font-size: 16px;
    font-weight: 500;
}

button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

button:active {
    transform: translateY(0);
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 3px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.message {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: none;
}

.message.erreur {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
    display: block;
}

.message.succes {
    background: #efe;
    color: #3c3;
    border: 1px solid #cfc;
    display: block;
}

.lien-reponse {
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    display: none;
}

.lien-reponse h3 {
    color: #0066cc;
    margin-bottom: 10px;
    font-size: 14px;
}

.lien-contenu {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lien-text {
    flex: 1;
    /*word-break: break-all;*/
    font-size: 13px;
    font-family: monospace;
    background: white;
    padding: 8px;
    border-radius: 4px;
}

.copier-lien {
    background: #0066cc;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    white-space: nowrap;
}

.copier-lien:hover {
    background: #0052a3;
}

.verif-erreur {
    color: #c33;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

#div-rgpd {border:none; width:100%; position:fixed; left:0; bottom:0; z-index:100; background-color:#ccc;}
#txt-rgpd {text-align:justify; font-size:.8em; font-family:sans; margin:10px 10px 0 10px; color:#000;}
#btn-rgpd {margin:0 auto 10px auto; text-align:center; background-color:#555; line-height:25px; width:100px; border:none; color:#fff; cursor:pointer; font-size:.9em; font-family:sans; border-radius:3px;}
