:root {
    --station-essence: rgb(219, 42, 10);
    --station-essence-80: rgba(219, 41, 10, 0.8);
    --radar: rgb(223, 209, 24);
    --radar-80: rgba(223, 209, 24, 0.8);
    --superette: rgb(15, 88, 13);
    --superette-80: rgba(15, 88, 13, 0.8);
    --vetement: rgb(92, 13, 92);
    --vetement-80: rgba(92, 13, 92, 0.8);
    --parking: rgb(15, 81, 143);
    --parking-80: rgba(15, 81, 143, 0.8);
    --banque: rgb(85, 207, 69);
    --banque-80: rgba(85, 207, 69, 0.8);
    --arme: rgb(90, 5, 5);
    --arme-80: rgba(90, 5, 5, 0.8);
    --white: white;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
}

body {
    font-family: 'Trebuchet MS', sans-serif;
    background-size: 40px 40px;
    background-image: radial-gradient(circle, rgb(122, 122, 122) 1px, rgba(0, 0, 0, 0) 1px);
    background-color: #3d4f55;
}

.header
{
    background-color: #182022;
    height: 58px;
    border-bottom: 2px solid #657980;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2%;
}

.d-none
{
    display: none !important;
}

.devMods
{
    pointer-events: fill !important;
}

.gestion-pannel
{
    position: fixed;
    top: 50%;
    left: 0;
    width: 1vw;
    height: 50vh;
    transform: translate(0, -50%);
    pointer-events: all;
    background-color: #182022c2;
    z-index: 1000;
    border-radius: 0 5px 5px 0;
    display: flex;
    gap: 10px;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    backdrop-filter: blur(5px);
    transition: 0.2s;
}

.gestion-pannel *
{
    opacity: 0%;
    transition: 0.1s;
}

.gestion-pannel:hover
{
    width: 14vw;
    transition: 0.2s;
}

.gestion-pannel:hover *
{
    opacity: 100%;
    transition: 0.5s;
}

.pannel-button
{
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    transition: 0.2s;
    position: relative;
}

.inactive-pannel
{
    opacity: 50% !important;
    transition: 0.2s;
}

.pannel-button img
{
    width: 50%;
    aspect-ratio: 1;
}

.pannel-button-container
{
    width: 55px;
    cursor: pointer;
}

.pannel-button-price
{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    transition: 0.2s;
    position: relative;
    margin-top: 5px;
    color: white;
    height: 15px !important;
}

.content
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: calc(100vh - 60px);
}

.zoomist-wrapper
{
    background-color: transparent !important;
}

.zoomist-image {
    width: 100%;
    height: 100%;
    object-fit: none;
}

.map-pin-container
{
    position: relative;
    display: inline-block;
}

.map {
    width: 100%;
    height: 100%;
    position: relative;
    display: block;
    margin: auto;
}

.map-pin {
    position: absolute;
    width: 2%;
    aspect-ratio: 1;
    pointer-events: all;
    border-radius: 100%;
    background-position: center; /* Centrer le background horizontalement et verticalement */
    background-repeat: no-repeat;
    background-size: 60%;
    color: white;

}

.map-pin span{
    position: absolute;
    left: 120%;
    top: 50%;
    transform: translate(0%, -47%);
    font-size: small;
    border-radius: 5px;
    width: 55px;
    width: 0px;
    white-space: nowrap;
    overflow: hidden;
    opacity: 0%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-pin:hover span{
    transition: 0.2s;
    opacity: 100%;
    width: 55px;
}

.map-pin-hover span
{
    transition: 0.2s !important;
    opacity: 100% !important;
    width: 55px !important;
}

/* === GAS STATION === */

.gas-station {
    border: 1px solid var(--station-essence);
    background-color:  var(--station-essence-80);
    z-index: 10;
}

.gas-station span{
    border: 1px solid var(--station-essence);
    background: var(--station-essence-80);
}

.gas-station-pannel{
    border: 2px solid var(--station-essence);
    background: var(--station-essence-80);
    height: 35px;
}

/* === RADAR === */

.radar {
    border: 1px solid var(--radar);
    background-color:  var(--radar-80);
    z-index: 1;
}

.radar span{
    border: 1px solid var(--radar);
    background: var(--radar-80);
}

.radar-pannel{
    border: 2px solid var(--radar);
    background: var(--radar-80);
}

/* === SUPERETTE === */

.superette {
    border: 1px solid var(--superette);
    background-color:  var(--superette-80);
    z-index: 1;
}

.superette span{
    border: 1px solid var(--superette);
    background: var(--superette-80);
}

.superette-pannel{
    border: 2px solid var(--superette);
    background: var(--superette-80);
}

/* === VETEMENT === */

.vetement {
    border: 1px solid var(--vetement);
    background-color:  var(--vetement-80);
    z-index: 1;
}

.vetement span{
    border: 1px solid var(--vetement);
    background: var(--vetement-80);
}

.vetement-pannel{
    border: 2px solid var(--vetement);
    background: var(--vetement-80);
}

/* === PARKING === */

.parking {
    border: 1px solid var(--parking);
    background-color:  var(--parking-80);
    z-index: 1;
}

.parking span{
    border: 1px solid var(--parking);
    background: var(--parking-80);
}

.parking-pannel{
    border: 2px solid var(--parking);
    background: var(--parking-80);
}

/* === BANQUE === */

.banque {
    border: 1px solid var(--banque);
    background-color:  var(--banque-80);
    z-index: 1;
}

.banque span{
    border: 1px solid var(--banque);
    background: var(--banque-80);
}

.banque-pannel{
    border: 2px solid var(--banque);
    background: var(--banque-80);
}

/* === ARME === */

.arme {
    border: 1px solid var(--arme);
    background-color:  var(--arme-80);
    z-index: 1;
}

.arme span{
    border: 1px solid var(--arme);
    background: var(--arme-80);
}

.arme-pannel{
    border: 2px solid var(--arme);
    background: var(--arme-80);
}



/** DEV ONLY **/
.devTools
{
    position: fixed;
    bottom: 0;
    right: 0;
    height: 50px;
    width: 30vw;
    background-color: #182022;
    z-index: 99999;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.devTools div
{
    position: absolute;
    top: -25px;
    height: 25px;
    background: black;
    color: white;
}

.devTools button
{
    width: 5%;
    aspect-ratio: 1;
    background-color: green;
    margin: 5px;
}

.devTools button img
{
    width: 50%;
}

.auth-container
{
    width: 40%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.discord-login
{
    width: 15%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    height: 65%;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    font-size: smaller;
    border: none;
    transition: 0.2s;
    background: #5869ea;
    border-bottom: 2px solid #373f7c;
    text-decoration: none;
}

.discord-login:hover
{
    transition: 0.2s;
    cursor: pointer;
    opacity: 70%;
}

.discord-login img
{
    width: 19%;
}

.error-message
{
    color: white;
    margin-right: 2%;
    background: #bd1d1d;
    padding: 7px;
    border-radius: 5px;
}

.auth-card
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    gap: 8px;
    padding-left: 15px;
    position: relative;
}

.user-name
{
    color: white;
}

.user-avatar
{
    height: 75%;
    border-radius: 50px;
    border: 2px solid white;
}

.logout
{
    position: absolute;
    background-color: #182022;
    border: 1px solid #657980;
    white-space: nowrap;
    bottom: -60%;
    left: -60px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 160px;
    text-decoration: none;
    color: white;
    z-index: 1000;
    padding: 7%;
    display: none;
    border-radius: 5px;
}

.auth-card:hover .logout
{
    display: flex;
}

.logout img
{
    height: 20px;
    aspect-ratio: 1;
}

.premium-badge
{
    margin-right: 5px;
    background: gold;
    padding: 3px;
    font-size: small;
    border-radius: 5px;
    color: black;
}

#alert-premium-container
{
    display: flex;
    position: absolute;
    right: 1vw;
    top: 1vh;
    flex-direction: column;
    gap: 10px;
}

.alert-premium
{
    background: #c25656ba;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 5px;
    z-index: 1000;
}

.info-container
{
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.info-element
{
    border: 1px solid white;
    height: 65%;
    aspect-ratio: 1;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #3d4f55;
    transition: 0.2s;
}

.info-element:hover
{
    opacity: 70%;
    cursor: pointer;
    transition: 0.2s;
}

.info-element img
{
    width: 75%;
}
