/* Styles for accueil, header, and footer */

/* Table and store listing styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}
th, td {
    border: 1px solid rgb(220,154,129);
    padding: 10px;
    text-align: left;
}
th {
    background-color: rgb(240,200,170);
}
.btn-reserver {
    background-color: rgb(190,110,80);
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    display: inline-block;
    min-width: 160px;
    text-align: center;
}
.visuel-desc {
    display: flex;
    align-items: center;
    gap: 10px;
}
.store-img {
    max-width: 160px;
    height: auto;
}
.info-cell .btn-reserver {
    margin-top: 8px;
}
.distance-cell {
    color: gray;
    font-size: 0.9em;
    margin-left: 6px;
}
/* Custom marker for user location */
.user-marker {
    width: 30px;
    height: 30px;
    background-color: rgb(190,110,80);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    position: relative;
}
.user-marker::after {
    content: '';
    width: 14px;
    height: 14px;
    background: white;
    position: absolute;
    top: 8px;
    left: 8px;
    border-radius: 50%;
}

/* Header styles */
.header {
    background-color: rgb(190, 110, 80);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}
.site-title {
    color: white;
    text-decoration: none;
}
.login-button, .dropbtn {
    background-color: rgb(190,110,80);
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
}
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    right: 0;
}
.dropdown-content a {
    color: black;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
}
.dropdown-content a:hover {
    background-color: #f1f1f1;
}
.dropdown:hover .dropdown-content {
    display: block;
}

/* Footer styles */
.footer {
    background-color: rgb(65,20,0);
    color: white;
    padding: 20px;
    text-align: center;
    margin-top: 50px;
}
.footer-content a {
    color: rgb(240,200,170);
    text-decoration: none;
    margin: 0 8px;
}
.footer-content a:hover {
    text-decoration: underline;
}

