/* identique style for mobile and wasm */

:root {
    --primary-color: #768eb6;
    --secondary-color: #48679c;
    --text-color: #333;
    --bg-color: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-color);
}

.user-name {
    font-weight: 500;
}

/* Card styles */
.card {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.3s ease-in;
}

/*Schedule_page*/
.column {
    flex: 1;
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 5px;
    display: flex;
    flex-direction: column; 
    align-items: flex-start; 
    box-sizing: border-box;
}

.date {
    display: flex; 
    justify-content: center;
    width: 100%; 
    font-weight: bold;
    margin-bottom: 10px;
}


.date {
    display: flex; 
    justify-content: center; 
    width: 100%; 
    font-weight: bold;
    margin-bottom: 10px;
}

.flex-3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

    .flex-3 > .column {
        border: 1px solid #ccc;
        padding: 15px;
        border-radius: 5px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        box-sizing: border-box;
    }


.column > div:first-child {
    text-align: center; /* only the date is in the center */
    font-weight: bold;
    margin-bottom: 10px;

}

.time-input {
    margin: 5px 0;
}

.trip-box, .move {
    border: 1px solid #aaa;
    border-radius: 5px;
    padding: 8px;
    margin-top: 5px;
    width: 100%;
    text-align: center;
    font-weight: bold;
}

.search-box {
    background-color: #adb5bd;
    border-radius: 20px;
    padding: 10px;
    margin-top: 10px;
    width: 100%;
    min-height: 40px; /* seeing even empty */
    text-align: center;
    color: #f8f9fa;
}


/*MEDIAQUERIES*/
.mud-drawer {
    width: 400px; /* desktop */
}

@media (max-width: 768px) {
    .mud-drawer {
        width: 100%; /* mobile */
    }
}
@media (max-width: 959.98px) {
    .driver-info {
        font-size: 0.75rem;
    }

    .trip-label {
        font-size: 0.85rem;
    }
}

#blazor-error-ui {
    background-color: #fff; /* blanc */
    color: #000; /* texte noir */
    padding: 1rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 -2px 5px rgba(0,0,0,.2);
}



