body {
    background: #0f172a;
    color: white;
    font-family: Arial, sans-serif;
    margin: 0;
}

/* Container principal */
.container {
    max-width: 700px;
    margin: 100px auto;
    padding: 20px;
    text-align: center;
}

/* Titre */
h1 {
    font-size: 44px;
    margin-bottom: 10px;
}

.subtitle {
    color: #94a3b8;
    margin-bottom: 30px;
}

/* Formulaire */
.form-box {
    background: #1e293b;
    padding: 15px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* Symfony form input wrapper */
.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    padding: 12px;
    border: none;
    outline: none;
    border-radius: 10px;
    background: #0f172a;
    color: white;
    font-size: 16px;
    margin-bottom: 10px;
}

/* Bouton */
button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: #d2143b;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    background: #a51534;
}

.btn{
    padding: 10px;
    border: none;
    border-radius: 10px;
    background: #1cc4e1;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

/* Assistant (gauche) */
.assistant {
    background-color: #f1f1f1;
    color: #333;
    align-self: flex-start;
}

/* User (droite) */
.user {
    background-color: #007bff;
    color: white;
    align-self: flex-end;
}

.message {
    padding: 10px 14px;
    border-radius: 12px;
    max-width: 75%;
    line-height: 1.4;
    font-size: 14px;
}
.chat-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* Réponse */
.response-box {
    margin-bottom: 30px;
    padding: 20px;
    background: #1e293b;
    border-radius: 14px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.top-bar {
    display: flex;
    justify-content: flex-end; /* bouton à droite */
    padding: 10px 20px;
}

.link {
    padding: 10px 16px;
    background-color: #d2143b;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.link:hover {
    background-color: #a51534;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;

}
.form-label{
    color: #fff;
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: 600;
}


.form-control {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    transition: border 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

/* Radios */
.radio-group {
    display: flex;
    gap: 15px;
    margin-top: 8px;
}

.radio-group input {
    margin-right: 5px;
}

.radio-groups {
    margin-left: 10px;
}

.markdown-body {
    line-height: 1.6;
    word-wrap: break-word;
}

.markdown-body p {
    margin-bottom: 16px;
}

.markdown-body p:last-child {
    margin-bottom: 0;
}

.markdown-body strong {
    font-weight: 600;
}

.markdown-body ul, .markdown-body ol {
    padding-left: 2em;
    margin-bottom: 16px;
    text-align: left;
}

.markdown-body li {
    margin-top: 0.25em;
}

.markdown-body code {
    padding: 0.2em 0.4em;
    margin: 0;
    font-size: 85%;
    background-color: rgba(175, 184, 193, 0.2);
    border-radius: 6px;
    font-family: monospace;
}

.markdown-body pre {
    padding: 16px;
    overflow: auto;
    font-size: 85%;
    line-height: 1.45;
    background-color: #0f172a;
    border-radius: 6px;
    margin-bottom: 16px;
}

.markdown-body pre code {
    background-color: transparent;
    padding: 0;
}


