/*Couleur de fond */
body {
    background-color: #6f9487; /* Gris/vert */
    font-family: Arial, sans-serif;
    margin: 40px;
    padding: 0;
}

/* Style navbar */
.navbar {
    background-color: #6f9487; /* Gris/vert */
    color: #4d2f2f; /* Marron foncé */
    text-align: center;
    font-weight: bold;
}

.navbar a {
    color: #4d2f2f;
    text-decoration: none;
}
/* Style logo */
.logo {
    display: inline-flex;
    height: 80px;
    margin-right: auto;
    text-align: center;
}
/* Style des éléments de navigation */
.nav-items {
    display: inline-flex;
    text-align: right;
    margin: 0 15px;
    font-size: 18px;
}

/*Style du paragraphe de présentation */
article {
    text-align: center;
    font-size: 24px;
}
.group {
    display: block;
    margin: auto;
    width: 30%;
    height: auto;
}

/* Styles pour les résultats de trajet */
.results {
    margin-top: 20px;
}

.trajet {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.trajet div {
    margin: 8px 0;
    font-size: 16px;
}

.btn-reserver {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.btn-reserver:hover {
    background-color: #45a049;
}

/* Auth Modal Styles */
.auth-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.auth-modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.close-modal,
.auth-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
}

.close-modal:hover,
.auth-close:hover {
    color: #000;
}

.auth-tabs {
    display: flex;
    border-bottom: 2px solid #ddd;
    margin-bottom: 20px;
}

.auth-tab {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    transition: all 0.3s;
}

.auth-tab.active {
    color: #4d2f2f;
    border-bottom: 3px solid #6f9487;
    font-weight: bold;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form h2 {
    color: #4d2f2f;
    margin-bottom: 20px;
}

.auth-form .form-group {
    margin-bottom: 15px;
}

.auth-form label {
    display: block;
    margin-bottom: 5px;
    color: #4d2f2f;
    font-weight: bold;
}

.auth-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.auth-form input:focus {
    outline: none;
    border-color: #6f9487;
}

.btn-auth {
    width: 100%;
    padding: 12px;
    background-color: #6f9487;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

.btn-auth:hover {
    background-color: #5a7d72;
}

.auth-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
}

.auth-message .success {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 4px;
}

.auth-message .error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
}

.auth-message .warning {
    background-color: #fff3cd;
    color: #856404;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
}