/* Game specific styles */
.top a.white {
    color: #ffffff;
}

.money {
    background: url(/assets/img/icons/euro.svg) no-repeat right center;
    padding-right: 18px;
}

.loading.page {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    color: #000;
}

.loading.page > div {
    opacity: 0.3;
}

/* SITUATION */
.status-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.status-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    gap: 5px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.status-label {
    font-weight: bold;
}

.status-value {
    display: flex;
    align-items: center;
    gap: 2px;
}

.gold-coin {
    width: 16px;
    height: 16px;
    background-image: url('/assets/img/icons/piece_or.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle; /* Alignement vertical */
    margin-left: 2px;
    cursor: pointer;
}

.job-link {
    cursor: pointer;
    color: #FF6300;
}

.gold-coin-link:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 40%;
    left: 73%;
    transform: translateX(-50%);
    background-color: #0000009c;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 12px;
    z-index: 10;
    opacity: 0.8;
    pointer-events: none; /* Empêche la tooltip d'interférer avec le survol */
    transition: opacity 0.2s ease-in-out; /* Pour une transition douce */
}

.gold-coin-link:hover::after {
    opacity: 1;
}

.discord {
    height: 48px;
    width: 48px;
    background: #5865F2;
    border-radius: 100%;
    position: absolute;
    top: 450px;
    left: calc(52% - 480px);
    z-index: 10;
}

.discord .discord-icon {
    height: 48px;
    width: 26px;
    margin: auto;
    background-image: url(/assets/img/icons/discord_white.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transform: rotate(0deg);
    transition: 0.5s;
}

.discord:hover .discord-icon {
    transform: rotate(360deg);
    transition: 0.5s;
}

.bounce2 {
    animation: bounce2 1s ease-out infinite;
  }
  @keyframes bounce2 {
      0%, 20%, 50%, 100% {transform: translateY(2px);}
      70%, 80% {transform: translateY(-5px);}
      90%, 95% {transform: translateY(4px);}
  }

  #msgPresidentContainer {
    background: url('/assets/img/design/msgPresident.png') no-repeat;
    width: 100%;
    height: 230px;
    margin: 20px auto; /* Center the container horizontally */
    position: relative;
    overflow: hidden; /* Ensure that the content doesn't overflow the container */
}

#msgPresident {
    width: 470px;
    height: 72px;
    position: absolute;
    top: 110px;
    left: 60px;
    overflow: hidden;
    margin: auto auto;
    font-size: 14px;
    line-height: 1.5;
}

.door {
    width: 5px;
    height: 13px;
    cursor: pointer;
    position: absolute;
    left: 897px;
    top: 45px;
}