:root {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #f0f2f5;
    color: #1c1e21;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    box-sizing: border-box;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header h1 {
    flex-grow: 1;
    text-align: center;
}

main {
    padding: 2rem;
    width: 100%;
    max-width: 900px;
}

#auth-container, #login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

input, button {
    padding: 0.8rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
}

button {
    background-color: #0d6efd;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #0b5ed7;
}

#services-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease-in-out;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.hidden {
    display: none !important;
}

#error-notification {
    color: #dc3545;
    text-align: center;
}

.service-icon {
    max-width: 50px;
    max-height: 50px;
    margin-bottom: 1rem;
    display: block;
}

.logo {
    max-height: 50px; /* Ajustez selon la taille souhaitée */
}

footer {
    text-align: center;
    margin-top: 2rem;
    color: #6c757d;
}