:root {
    --primary-color: #108724;
    --secondary-color: #128a26;
    --accent-color: #108724;
    --background-color: #1c1c1c;
    --text-color: #fff;
    --shadow-color: rgba(0, 64, 128, .2);
    --border-color: #eee;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    text-rendering: optimizeLegibility;
    line-height: 1.6;
    /* Degrade sombre teinte de vert. Une image de fond peut le remplacer via
       le reglage site.fond, qui pose alors --fond-image sur la balise body. */
    background:
        radial-gradient(1200px 600px at 50% -10%, rgba(16, 135, 36, .28), transparent 70%),
        linear-gradient(180deg, #0d1a11 0%, #0a1410 45%, #070d09 100%);
    background-attachment: fixed;
    background-color: #070d09;
}

/* Fond personnalise, quand une image est indiquee dans la configuration. */
body.avec-fond {
    background:
        linear-gradient(rgba(7, 13, 9, .82), rgba(7, 13, 9, .92)),
        var(--fond-image) no-repeat center center fixed;
    background-size: cover;
    background-attachment: fixed;
}

html {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

.main-content {
    flex: 1;
}

body,
html {
    margin: 0;
    padding: 0;
}

.navbar {
    background-color: rgb(16 135 36 / 80%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2rem;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.nav-item {
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s ease;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
    color: white;
}

.nav-menu div {
	position: relative;
}

#nav-item-submenu {
	left: 0;
	opacity: 0;
	position: absolute;
	top: 35px;
	visibility: hidden;
	z-index: 1;
    background: rgba(16,135,36, 0.5);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 5px;
    transition: all 0.3s ease;
    padding: 10px;
    backdrop-filter: blur(10px);
}
#nav-item-submenu hr {
    height: 2px;
    background: #128d27!important;
}
.nav-menu div:hover ul#nav-item-submenu {
	opacity: 1;
	top: 14px;	/* adjust this as per top nav padding top & bottom comes */
	visibility: visible;
}
#nav-item-submenu li {
    list-style-type: none;
    text-align: center;
}
#nav-item-submenu a {
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
	float: none;
	width: 100%;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}
#nav-item-submenu a:hover {
    color: white;
}

.nav-toggle {
    display: none;
    cursor: pointer;
}

/* navbar avatar */
.avatar-steam {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 1rem;
}

.server-name {
    display: none;
}

@media (max-width: 1280px) {
    .navbar {
        justify-content: space-between;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 93%;
        position: absolute;
        top: 100%;
        right: 17px;
        background: #108724;
        border-radius: 0px 0px 10px 10px;
        transition: all 0.3s ease;
        opacity: 0;
        pointer-events: none;
        padding: 1rem 0;
    }

    .nav-menu.active {
        display: flex;
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle {
        display: block;
    }

    .server-name {
        display: block;
        margin-right: auto;
        padding-right: 20px;
    }
}

.container {
    /* Degrade local plutot qu'une image hebergee ailleurs : le bandeau
       s'affiche meme sans acces internet et ne peut pas disparaitre du jour
       au lendemain. */
    background-image:
        radial-gradient(900px 400px at 50% 0%, rgba(16, 135, 36, .35), transparent 70%),
        linear-gradient(160deg, rgba(10, 20, 14, .92), rgba(12, 90, 25, .45));
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    color: #FFFFFF;
    border-radius: 10px;
    border: 2px solid #108724;
}

@media (max-width: 768px) {
    .container {
        max-width: 420px;
    }

    .espace {
        margin-bottom: 1rem;
    }

    .col-md-6 {
        width: 100%;
        padding: 0 15px;
        margin-bottom: 2rem;
    }

}


.row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.col-md-6 {
    width: 100%;
    padding: 0 15px;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .col-md-6 {
        width: 50%;
        flex: 0 0 50%;
    }

    .order-md-3 {
        order: 3;
    }

    .text-md-center {
        text-align: center;
    }
}

.center-block {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.mx-auto {
    margin-right: auto;
    margin-left: auto;
}

.img-fluid {
    margin-top: 3rem;
    max-width: 90%;
    height: auto;
}

.web-brand {
    margin-top: -0.1rem;
    font-size: 3em;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 5px;
    text-align: center;
    text-shadow: 0 5px 3px rgba(0, 0, 0, .1);
}

.lead {
    margin-top: -2rem;
    font-size: 1.25rem;
    font-weight: 300;
    text-align: center;
}

.espace {
    padding-right: 2rem;
}

.badge {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.badge-success {
    background: #108724;
}

.badge-nogang {  
    display: inline-block;
    font-size: 14px;
    border-radius: 5px;
    background-color: #77550c;
    color: #fff;
    padding: 5px 10px; 
    font-family: 'Montserrat', sans-serif !important;
}

.badge-owner {  
    display: inline-block;
    font-size: 10px;
    border-radius: 5px;
    background-color: #5a4c0c;
    color: #fff;
    padding: 3px 5px; 
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
}

.badge-bourse {  
    display: inline-block;
    border-radius: 5px;
    background-color: #1c1c1c;
    color: #fff;
    padding: 3px 5px; 
    font-family: 'Montserrat', sans-serif;
}



.badge-connexion {  
    display: inline-block;
    font-size: 11px;
    border-radius: 5px;
    background-color: #0C5819;
    color: #fff;
    padding: 2px 5px; 
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.badge-chief {  
    display: inline-block;
    font-size: 10px;
    border-radius: 5px;
    background-color: #888232;
    color: #fff;
    padding: 3px 5px; 
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
}


.container-nousrejoindre {
    margin-top: -1rem;
    text-align: center;
}

.container-nousrejoindre h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.container-nousrejoindre p {
    margin-top: -1rem;
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.5rem;
    border-radius: 5px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background 0.3s ease;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif !important;
}

.btn-success {
    background: rgb(16 135 36 / 80%);
    color: white;
}

.btn-success:hover {
    background: rgb(16 135 36);
    color: white;
    animation: pulse 1s infinite;
}

.text-light {
    color: #FFFFFF;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

hr {
    height: 15px;
    border: 0;
    background: rgb(16 135 36 / 80%);
    width: 80%;
    border-radius: 5px;
}

.container-stats {
    margin-top: 2rem;
    text-align: center;
}

.container-stats h2 {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 20px;
    letter-spacing: 3px;
    color: #f8f9fa;
}

.stat-card {
    background: rgb(16 135 36 / 80%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    margin: 1rem auto;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    color: white;
    margin-right: 1rem;
    letter-spacing: 3px;
    margin-bottom: 5rem;
}

.stat-card i {
    background: #1E1E1E;
    padding: 1rem;
    border-radius: 10px;
    margin-right: 20px;
}

.stat-card .title,
.stat-card .subtitle {
    margin: 0;
    font-weight: 900;
    font-size: 1.5em;
}

.stat-card .subtitle {
    font-weight: 400;
    font-size: 1.2em;

}

.stat-card:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .stat-card {
        flex-direction: column;
        padding: 1rem;
        margin: 1rem 0;
        margin-right: 0.8rem;
    }

    .stat-card i {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

.loader-container {
    background: -moz-linear-gradient(45deg, rgba(23, 61, 29, .8) 0%, rgba(12, 90, 25, .8) 100%);
    background: -webkit-linear-gradient(45deg, rgba(23, 61, 29, .8) 0%, rgba(12, 90, 25, .8) 100%);
    background: linear-gradient(45deg, rgba(23, 61, 29, .8) 0%, rgba(12, 90, 25, .8) 100%);
    display: table;
    height: 100vh;
    left: 0;
    position: fixed;
    text-align: center;
    top: 0;
    user-select: none;
    width: 100vw;
    z-index: 9999
}

.loader-container .loader {
    animation: pulse .7s ease-in-out infinite;
    display: table-cell;
    font-weight: 700;
    text-align: center;
    vertical-align: middle
}


svg {
    display: block;
    margin-bottom: -5px;
}

.container-footer {
    position: relative;
    background: #108724;
    bottom: 0;
    width: 100%;
    letter-spacing: 2px;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, .5);
}

@media (max-width: 768px) {
    .container-footer {
        position: relative;
        background: #108724;
        bottom: 0;
        width: 100%;
        letter-spacing: 2px;
        text-align: center;
        font-size: 0.8rem;
        color: rgba(255, 255, 255, .5);
        margin-top: -1rem;
    }
}

/* Stats */
.container-page {
    margin: 50px auto;
    text-align: center;
    width: 80%;
}

.title,
.subtitle {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 30px;
    letter-spacing: 3px;
    color: #fff;
}

.title {
    font-size: 32px;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 24px;
    margin-bottom: 30px;
}

.badge {
    display: inline-block;
    font-size: 18px;
    padding: 10px 15px;
    border-radius: 5px;
    background-color: rgb(16 135 36 / 80%);
    color: #fff;
}

.container-classement {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    margin: 20px;
    overflow: hidden;
    width: calc(50% - 40px);
    max-width: 500px;
    background-color: rgb(16 135 36 / 80%);

}

.card-header {
    background-color: rgba(0,0,0,.25);
    color: #ffffff;
    padding: 15px;
    font-size: 20px;
}

.card-body {
    padding: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 12px;
}

tr {
    background-color: rgba(0,0,0,.15);
    text-transform: uppercase;
    text-align: center;
    color: #fff;
}

th {
    color: #fff;
    text-transform: uppercase;
    text-align: center;

}

tr:nth-child(even) {
    background-color: #0f5f1d;
}


@media (max-width: 768px) {
    .container-classement {
        flex-direction: column;
        width: 90%;
    }

    .card {
        width: 100%;
    }
}


.button-deco {
    background-color: #872727;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
}

.button-deco:hover {
    background-color: #f44336;
    color: white;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #108724;
}

::-webkit-scrollbar-thumb {
    background: #084212;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #084212;
}

/* Donate */

.container-price {
    margin: 0 auto;
    padding: 20px;
}

.pricing_design {
    margin: 0 15px;
    overflow: hidden;
    animation: popIn 0.5s ease-out forwards;
}

.single-pricing {
    background: var(--primary-color);
    padding: 40px;
    border-radius: 50px 30px 30px 30px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.single-pricing:hover {
    background: #0b4515;
}

.highlighted-pack {
    background: var(--secondary-color);
    padding: 50px;
}

.single-pricing:before,
.single-pricing:after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 18px 18px 190px 18px;
    z-index: -1;
}

.single-pricing:after {
    background-color: var(--background-color);
}

.price-head {
    text-align: center;
    margin-top: -40px;
}

.price-head h1,
.price-head h2,
.price-head span,
.single-pricing ul li {
    color: var(--text-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 700;
    margin-left: -35px;
    padding-left: 5px;
}

.price-head h2 {
    font-size: 30px;
}

.price-head h1 {
    font-size: 60px;
}

.price-head span,
.single-pricing ul li {
    font-size: 18px;
}

.price_btn {
    background: var(--accent-color);
    color: var(--text-color);
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
    font-size: 16px;
    font-weight: 600;
    border: none;
}

.price_btn:hover {
    background: var(--secondary-color);
    color: var(--text-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing_design:nth-child(1) {
    animation-delay: 0.1s;
}

.pricing_design:nth-child(2) {
    animation-delay: 0.2s;
}

.pricing_design:nth-child(3) {
    animation-delay: 0.3s;
}

@media (max-width: 768px) {
    .pricing_design {
        margin: 20px 0;
    }
}

/* version mobile highlighted */
@media (max-width: 1200px) {
    .highlighted-pack {
        padding: 40px;
    }

    .single-pricing {
        margin-bottom: 20px;
    }
}

.container-ban {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    gap: 10px;
}

.searchban {
    flex-grow: 1;
    font-family: 'Montserrat', sans-serif !important;

}

.card-ban {
    background-color: #fff;
    border-radius: 10px;
    margin: 20px;
    overflow: hidden;
    max-width: 1500px;
    background-color: #108724;

}

.badge-perm {
    display: inline-block;
    font-size: 15px;
    border-radius: 5px;
    background-color: #1c1c1c;
    color: #fff;
    padding: 5px 10px;
}

.badge-tempo {
    display: inline-block;
    font-size: 15px;
    border-radius: 5px;
    background-color: #008D63;
    color: #fff;
    padding: 5px 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .container-ban {
        flex-direction: column;
        width: 90%;
    }

    .card-ban {
        width: 100%;
    }
}

.searchban {
    width: 25%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-left: 34%;
    background-color: #1c1c1c;
    border: 2px solid #084212;
    color: #fff;
    
}

/* Ajouts pour responsive design */
@media screen and (max-width: 768px) {
    .card-header {
        text-align: left;
    }

    .searchban {
        width: 40%;
        margin-left: 2%;
    }

    .container-page,
    .container-ban {
        padding: 0 20px;
    }

    .card-ban {
        margin: 10px 0;
    }

    .banlist table {
        display: block;
        overflow-x: auto;
    }

    .banlist th {
        white-space: nowrap;
    }
}

.searchban::placeholder {
    color: #fff;
    font-size: 15px;
}

.searchban:focus {
    outline: none;
    border: 2px solid #084212;
}

.searchban:hover {
    border: 2px solid #084212;
}

.btn-success {
    background-color: rgb(16 135 36 / 80%);
    border: 2px solid #084212;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    margin-left: 10px;
}

.searchban {
    width: 25%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: auto;
    background-color: #1c1c1c;
    border: 2px solid #084212;
    color: #fff;
}

@media screen and (min-width: 1330px) {
    .searchban {
        width: 20%;
    }
}

/* Ajouts pour responsive design */
@media screen and (max-width: 1330px) {
    .card-header {
        text-align: center;
    }

    .searchban {
        width: 40%;
        margin-left: 2%;
    }

    .container-page,
    .container-ban {
        padding: 0 20px;
    }

    .card-ban {
        margin: 10px 0;
    }

    .banlist table {
        display: block;
        overflow-x: auto;
    }

    .banlist th {
        white-space: nowrap;
    }
}

.searchban::placeholder {
    color: #fff;
    font-size: 15px;
}

.searchban:focus {
    outline: none;
    border: 2px solid #084212;
}

.searchban:hover {
    border: 2px solid #084212;
}

.btn-success {
    background-color: rgb(16 135 36 / 80%);
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    margin-left: 10px;
}

.banlist table {
    min-width: 600px;
    width: 100%;
    display: block;
    overflow-x: auto;
}

.banlist th {
    min-width: 120px;
    text-align: center;
}

.no-result {
    text-align: center;
    background-color: #084212;
    color: #fff;
    padding: 10px;
    font-size: 20px;
    text-transform: uppercase;
}


@media screen and (max-width: 768px) {
    .mobile-card {
        background-color: #084212;
        border: 2px solid #084212;
        border-radius: 5px;
        margin: 10px 0;
        padding: 10px;
        color: #fff;
    }

    .mobile-card-header {
        font-size: 20px;
        text-align: center;
        margin-bottom: 10px;
    }
}

.container-paypal {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.paypal-card {
    background-color: #1c1c1c;
    padding: 40px;
    border-radius: 12px;
    color: #F0F0F0;
    transition: transform 0.3s ease;
}

.paypal-logo {
    width: 190px;
    border-radius: 12px;
}

.btn i {
    margin-right: 5px;
}

@media (max-width: 768px) {
    .paypal-card {
        width: 70%;
    }
}

.badge-expired {
    display: inline-block;
    font-size: 15px;
    border-radius: 5px;
    background-color: #8D0808;
    color: #fff;
    padding: 5px 10px;
}

.container-404 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.error-404 {
    text-align: center;
}

.error-404 h1 {
    font-size: 150px;
    color: #108724;
    margin: 0;
}

.error-404 h1 span {
    color: #fff;
}

.error-404 h2 {
    font-size: 36px;
    margin: 0;
    color: fff;
}

.error-404 p {
    font-size: 18px;
    margin: 0;
    color: #fff;
}

.error-404 a {
    margin-top: 20px;
}

.error-404 a:hover {
    text-decoration: none;
}

.error-404 a.btn-primary {
    background-color: #108724;
    border-color: #fff;
    color: #fff;
}

.error-404 a.btn-primary:hover {
    background-color: #084212;
    border-color: #fff;
}

/* Profil */
.container-profil {
    margin-top: 2rem;
}

.dashboard {
	margin-bottom: 100px;
    width: 40%;
    font-family: 'Graphik', sans-serif;
}



.dashboard h1 {
	color: #fffef1;
	font-family: Graphik, sans-serif;
	letter-spacing: -0.03em;
	font-size: 500px;
	font-weight: 800;
	line-height: 1.1;
	margin-bottom: 12px;
}

.dashboard h2 {
	color: #c1c0b4;
	font-family: Graphik, sans-serif;
	text-shadow: 0 0 80px #17181d;
	margin-top: 20px;
	font-size: 20px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
}

.avatar-profil {
    width: 100px;
    border-radius: 50%;
    margin-left: 92%;
    margin-top: -15px;
    transform: translateX(-90%);
    position: absolute;
}

.bento {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	max-width: 75em;
}

.box {
	position: relative;
	transition-duration: 0.3s;
	transition-property: all;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
	padding: 2rem;
	border-radius: 0.75rem;
	border: 2px solid #108724;
	background-color: rgb(45 44 44 / 70%);
	color: #c1c0b4;
    font-family: 'Montserrat', sans-serif;
	text-shadow: 0 0 80px #17181d;
	font-size: 12px;
	box-shadow: 0 1px 1px rgb(45 44 44 / 90%);
	margin: 12px;

}

.box > .heading {
	color: #fffef1;
	font-family: Graphik, sans-serif;
	letter-spacing: -0.03em;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.1;
	margin-bottom: 8px;
	margin-top: 0;
}

.box > .heading-sm {
	font-size: 14px;
	text-shadow: 0 0 80px #17181d;
}

.stats {
	display: flex;
	flex-direction: row;
	margin-top: 20px;
	gap: 30px;
    text-align: center;
}

.staticon {
	padding: 8px;
	background-color: #108724;
	border-radius: 0.8em;
    font-weight: 600;
    font-family: Graphik, sans-serif;
    color: #fff;
    font-style: normal;
}


.stat-icon {
	padding: 8px;
	background-color: rgb(16 135 36 / 80%);
	border-radius: 0.8em;
    font-weight: 600;
    color: #fff;
    font-style: normal;
    font-family: 'Montserrat', sans-serif !important;
}

.dashboard ul {
	padding: 0;
	list-style-type: none;
}

.dashboard ul > li:not(:last-child) {
	padding: 10px 0;
}

.dashboard ul > li:last-child {
	padding: 10px 0 0 0;
}

.flexy {
	display: flex;
	justify-content: space-between;
    font-family: 'Montserrat', sans-serif;

}

.space-below {
	padding-bottom: 5px;
}

.btn-primary {
    background-color: #108724;
    border-color: #108724;
    color: white;
}

.btn-primary:hover {
    background-color: #084212;
    border-color: #084212;
    color: white;
}

.btn-danger {
    background-color: #872727;
    border-color: #872727;
    color: white;
}

.btn-danger:hover {
    background-color: #f44336;
    border-color: #f44336;
    color: white;
}

.btn-warning {
    background-color: #8D6D08;
    border-color: #8D6D08;
    color: white;
}

.btn-warning:hover {
    background-color: #f4b342;
    border-color: #f4b342;
    color: white;
}

.btn-dark {
    background-color: #1c1c1c;
    border-color: #1c1c1c;
    color: white;
}

.btn-dark:hover {
    background-color: #1E1E1E;
    border-color: #1E1E1E;
    color: white;
}

.btn-info {
    background-color: #095e80;
    border-color: #095e80;
    color: white;
}

.btn-info:hover {
    background-color: #0f7aa6;
    border-color: #0f7aa6;
    color: white;
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .dashboard {
        width: 90%;
    }

    .avatar-profil {
        width: 80px;
        margin-left: 90%;
        margin-top: 1px;
        transform: translateX(-90%);
        position: absolute;
    }

    .bento {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .box {
        padding: 1rem;
        border-radius: 0.5rem;
        margin: 6px;
    }

    .box > .heading {
        font-size: 16px;
    }

    .stats {
        gap: 20px;
    }

    .stat-icon {
        padding: 6px;
    }

    .dashboard h2 {
        font-size: 16px !important;
    }
}

.card-bourse {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    max-width: 1500px;
    background-color: #108724;
    width: 1000;
    text-align: center;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .card-bourse {
        width: 100%;
    }
}

/* ============================================================================
   Lignes « libelle / valeur » du profil
   ----------------------------------------------------------------------------
   Sans ces regles, les libelles un peu longs comme « Dernière connexion : »
   se coupaient en deux au milieu de leur pastille verte.
   ========================================================================== */

.flexy {
    gap: 14px;
    align-items: center;
    padding: 5px 0;
}

/* Le libelle garde sa largeur naturelle, c'est la valeur qui s'adapte. */
.flexy > div:first-child {
    flex: 0 0 auto;
}

.flexy .stat-icon {
    display: inline-block;
    white-space: nowrap;
}

/* La valeur est alignee a droite et peut passer a la ligne si besoin. */
.flexy > :last-child {
    text-align: right;
    min-width: 0;
}

/* Les cartes du profil restent centrees dans la page. */
.bento {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* ============================================================================
   Grille des cartes de statistiques
   ----------------------------------------------------------------------------
   Les cartes portaient « margin: 1rem auto », ce qui les ecartait les unes des
   autres de facon irreguliere quand la derniere ligne etait incomplete. On
   pose ici une largeur de base et un espacement fixe : les lignes restent
   centrees et regulieres quel que soit le nombre de cartes.
   ========================================================================== */

.container-stats .row {
    max-width: 1200px;
    margin: 2rem auto 3rem;
    padding: 0 1rem;
    gap: 16px;
}

.container-stats .stat-card {
    margin: 0;
    flex: 0 1 250px;
    min-width: 200px;
}

/* ============================================================================
   Champ de recherche des tableaux
   Il etait trop etroit pour laisser lire son texte d'aide.
   ========================================================================== */

.searchban {
    min-width: 260px;
    max-width: 100%;
}

.card-header .right {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

@media (max-width: 760px) {
    .card-header .right {
        display: flex;
        margin-top: 10px;
    }

    .searchban {
        min-width: 0;
        flex: 1 1 160px;
    }
}

/* ============================================================================
   Lettrage du nom du serveur
   ----------------------------------------------------------------------------
   Utilise tant qu'aucun logo n'est fourni dans la configuration. Rendu en
   texte plutot qu'en image : c'est net a toutes les tailles et sur tous les
   ecrans.
   ========================================================================== */

.marque {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 6px 0;
}

.marque-sceau {
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #16a52d, #0b5c18);
    color: #fff;
    font-weight: 900;
    line-height: 1;
    border-radius: 22%;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .28);
}

.marque-nom {
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1;
    text-shadow: 0 6px 18px rgba(0, 0, 0, .5);
}

.marque-nom em {
    font-style: normal;
    color: #35d14e;
}

/* Grande taille : bandeau d'accueil. */
.marque-grand .marque-sceau {
    width: 96px;
    height: 96px;
    font-size: 52px;
}

.marque-grand .marque-nom {
    font-size: clamp(38px, 7vw, 68px);
}

/* Petite taille : ecran de chargement. */
.marque-petit .marque-sceau {
    width: 62px;
    height: 62px;
    font-size: 34px;
}

.marque-petit .marque-nom {
    font-size: clamp(28px, 5vw, 42px);
}

/* Logo fourni par l'utilisateur. */
.logo-site {
    max-height: 260px;
    margin: 0 auto;
    display: block;
}

@media (max-width: 600px) {
    .marque {
        gap: 12px;
    }

    .marque-grand .marque-sceau {
        width: 64px;
        height: 64px;
        font-size: 34px;
    }
}
