/* Login */
.compte-page {
    background-color: #434343;
    padding: 50px 40px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.compte-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.compte-desc {
    font-size: 1.1em;
    margin-bottom: 30px !important;
    max-width: 100%;
    width: 100%;
    text-align: center;
}

.btn-compte {
    width: 22% !important;
    align-self: center;
}

.btn-discord-login {
    gap: 10px;
    background-color: white;
    color: black;
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-family: "NeueBlack";
}


/* Compte */
.compte-page {
    background-color: #434343;
    padding: 30px 40px;
    color: white;
}

.compte-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.compte-contenu {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
}

.compte-menu {
    width: 280px;
    flex-shrink: 0;
}

.commandes-contenu {
    flex: 1;
    min-width: 0;
}

.compte-menu {
    background-color: #000000;
    border-radius: 10px;
    padding: 20px;
    width: 280px;
    flex-shrink: 0;
}

.compte-menu-toggle {
    margin-bottom: 20px;
}

.compte-menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 10px;
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    border-radius: 5px;
    position: relative;
}

.compte-menu-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.compte-menu-item:hover::after {
    width: 100%;
}

.compte-menu-item:hover {
    color: white;
}

.compte-menu-item.active {
    background-color: #222222;
}

.compte-profil {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px;
}

.compte-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #888888;
}

.compte-info h2 {
    font-size: 1.8em;
    margin-bottom: 8px;
}

.compte-info p {
    margin-bottom: 15px;
    color: #cccccc;
}

.btn-infolettre {
    background-color: white;
    color: black;
    border-radius: 10px;
    width: 100%;
}

.btn-infolettre:hover {
    background-color: white;
}

.btn-desinscrire {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.btn-desinscrire::after {
    content: 'Se désinscrire';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #000000;
    color: white;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 0.75em;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.btn-desinscrire:hover::after {
    opacity: 1;
}

/* Mes fichiers */
.fichiers-contenu {
    flex: 1;
}

.fichiers-vide {
    color: #aaaaaa;
    font-size: 1.1em;
}

.fichier-item {
    background-color: #000000;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    width: 1000px;
}

.fichier-item > img {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
}

.fichier-info {
    flex: 1;
}

.fichier-info h5 {
    margin-bottom: 10px;
}

.fichier-version:last-child {
    border-bottom: none;
}

.fichier-version {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid #333333;
    gap: 15px;
}

.fichier-nom-zip {
    color: #aaaaaa;
    font-size: 0.85em;
    flex: 1;
    text-align: right;
}

/* Commande */
.commandes-contenu {
    flex: 1;
}

.commandes-vide {
    color: #aaaaaa;
    font-size: 1.1em;
}

.commande-item {
    background-color: #000000;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    width: 1000px;
}

.commande-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.commande-numero {
    font-weight: bold;
    font-size: 1.1em;
}

.commande-statut {
    font-size: 0.9em;
    padding: 4px 10px;
    border-radius: 5px;
}

.statut-attente {
    background-color: #555500;
    color: #ffff00;
}

.statut-confirmee {
    background-color: #005500;
    color: #00ff00;
}

.commande-produits p {
    font-size: 0.9em;
    color: #cccccc;
    margin: 3px 0;
}

.commande-total {
    text-align: right;
    font-weight: bold;
    font-size: 1.1em;
    margin-top: 10px;
    border-top: 1px solid #333333;
    padding-top: 10px;
}