.sidebar {
    display: flex;
    flex-direction: column;
    width: 260px;
}

.boxsidebar {
    background-image: url("/images/box_sidebar.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    height: auto;
    padding: 15px;
    color: #fff;
	margin-bottom: 5px;
}


.boxsidebar img {
    display: block;
    margin: 0 auto 10px;
    max-width: 90%;
}


/* ===================== Bouton download ===================== */

.btn-download {
    display: block;
    width: 260px;
    height: 186px;
    background: url("/images/download/download.png") no-repeat center;
    background-size: contain;
    transition: 0.1s;
}

/* Hover souris */
.btn-download:hover {
    background-image: url("/images/download/download_hover.png");
}

/* Quand on clique */
.btn-download:active {
    background-image: url("/images/download/download_press.png");
}


/* ===================== TOP Rank ===================== */
/* Tableau TOP GUILDS */
.top-guilds-table {
    width: 100%;
    border-collapse: collapse;
    color: #e8d5b8;
    font-size: 14.5px;
	margin-left: -7px;
	text-align: left;
}

.top-guilds-table th {
    color: #d4af37;
    font-weight: bold;
    padding: 8px 6px;
    text-align: left;
    border-bottom: 2px solid #8b5a2b;
    background: rgba(30, 20, 15, 0.6);
}

.top-guilds-table td {
    padding: 9px 6px;
    border-bottom: 1px solid #4a2c2a;
}

.top-guilds-table tr:last-child td {
    border-bottom: none;
}

/* Styles spécifiques par colonne */
.rank {
    color: #ff4444;
    font-weight: bold;
    width: 30px;
    text-align: center;
}

.guild-name {
    color: #f0d9a8;
    font-weight: 500;
}

.color {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13.5px;
}

.color.blue  { color: #4a9eff; }
.color.yellow { color: #ffd700; }
.color.red    { color: #ff4444; }

.points {
    color: #ffd700;
    font-weight: bold;
    text-align: right;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.7);
}
/* ===================== Fin classement ===================== */

/* ===================== Statistique ===================== */

.stats-grid .stat-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(139, 90, 43, 0.3);
}

.stat-label {
    font-family: 'Cinzel', serif; /* ou une police fantasy */
    color: #d4af88;
}

.stat-value {
    font-weight: bold;
    color: #f0d9a8;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}
/* ===================== Fin Statistique  ===================== */

/* Inputs */
.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    color: #d4af37;
    font-size: 14px;
    margin-bottom: 5px;
}

.input-group input {
    width: 100%;
    background: #1c140f;
    border: 2px solid #6b4a2a;
    color: #f0d9a8;
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 6px;
    transition: all 0.3s;
}

.input-group input:focus {
    border-color: #d4af37;
    outline: none;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

/* Options */
.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0 20px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: #ccc;
}

.forgot-pass {
    color: #d4af88;
    text-decoration: none;
}

.forgot-pass:hover {
    color: #ffd700;
    text-decoration: underline;
}

/* Bouton ENTER */
.btn-enter {
    width: 100%;
    padding: 16px 20px;
    background: linear-gradient(#8b5a2b, #5c3d1f);
    color: #f0d9a8;
    font-size: 1.35rem;
    font-weight: bold;
    border: 3px solid #d4af37;
    border-radius: 50px; /* ou une forme plus hexagonale si tu préfères */
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
}

.btn-enter:hover {
    background: linear-gradient(#b37a3d, #7a5129);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-enter:active {
    transform: translateY(1px);
}