body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    background: #f8f9fa;
    padding-top: 50px;
}

.navbar {
    background-color: #212529;
    position: fixed;
    width: 98%;
    top: 0;
    z-index: 10;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    color: #fff;
    font-weight: bold;
    font-size: 22px;
    text-decoration: none;
}

.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    gap: 20px;
}

.nav-menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

.nav-menu li a:hover {
    color: #ffc107;
}

.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.burger div {
    width: 25px;
    height: 3px;
    background: white;
}

@media(max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        background: #212529;
        position: absolute;
        top: 60px;
        right: 20px;
        display: none;
    }
    .nav-menu.active {
        display: flex;
    }
    .burger {
        display: flex;
    }
}

.container {
    width: 96%;
    max-width: 1920px; 
    margin: auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    align-content: center;
}

h1, h2, h3 {
    text-align: center;
    margin-bottom: 30px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.grid-item {
    display: flex;
    flex-direction: column;
}

input, select, button {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ced4da;
}

button {
    background: #007bff;
    color: white;
    border: none;
    transition: 0.3s;
    margin-top: 20px;
    cursor: pointer;
}

button:hover {
    background: #0056b3;
}

.success-message, .error-message {
    text-align: center;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 5px;
}

.success-message {
    background: #d4edda;
    color: #155724;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
}

.timer {
    text-align: center;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #007bff;
}

.dashboard-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 30px;
    flex-wrap: wrap;
}

.grid-left, .grid-right {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    flex: 1;
    min-width: 320px;
}

.grid-left ol {
    list-style: none;
    padding-left: 0;
}

.grid-left li {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

.prono-input {
    margin-bottom: 12px;
}

select {
    width: 100%;
    padding: 6px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.grid-comparaison {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 15px;
}
.grid-comparaison .box {
    min-width: 260px;
    flex-shrink: 0;
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 8px;
    background: #f9f9f9;
}
