body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
}
.container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
h1 {
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 10px;
}
.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}
form {
    display: flex;
    flex-direction: column;
}
label {
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: 600;
}
input, textarea, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box; /* Important */
}
textarea {
    resize: vertical;
}
button {
    margin-top: 25px;
    padding: 15px;
    background-color: #0077b5; /* LinkedIn Blue */
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}
button:hover {
    background-color: #005582;
}
.back-link {
    display: block;
    text-align: center;
    margin-top: 30px;
    color: #0077b5;
    text-decoration: none;
}

/* Style pour la page de résultats */
.results-container h2 {
    border-bottom: 2px solid #0077b5;
    padding-bottom: 5px;
    margin-top: 40px;
}
.results-container h3 {
    color: #333;
    margin-top: 25px;
}
.results-container table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.results-container th, .results-container td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}
.results-container th {
    background-color: #f2f2f2;
    font-weight: bold;
}
.results-container ul {
    padding-left: 20px;
}

/* Spinner de chargement */
#loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #0077b5;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}
#loading-spinner p {
    margin-top: 20px;
    font-size: 18px;
    color: #333;
}
.hidden {
    display: none !important;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.intro-text {
    background-color: #eef5f9;
    border-left: 4px solid #0077b5;
    padding: 15px 20px;
    margin: 25px 0;
    border-radius: 0 6px 6px 0;
}
.intro-text p {
    margin: 5px 0;
}
.success-message {
    text-align: center;
    font-size: 1.2em;
    padding: 40px 20px;
    background-color: #eef5f9;
    border-radius: 8px;
    border: 1px solid #d1e0e8;
}
.error-message {
    text-align: center;
    font-size: 1.2em;
    padding: 40px 20px;
    background-color: #fbe9e7;
    border-radius: 8px;
    border: 1px solid #ffab91;
    color: #d84315;
}