:root {
    --main-button: #0074e0;
    --main-border: rgba(252, 252, 252, 0.116);
}

html {
    height: 100%;
}

html {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #1a1a1a;
    overflow-x: hidden;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0.625rem; /* 10px */
    left: 0.9375rem; /* 15px */
    right: 0.9375rem; /* 15px */
    z-index: 1000;
    height: clamp(3.75rem, 6.48vh, 4.375rem); /* 70px converti en viewport height avec min 60px */
    padding: 0.625rem 0.9375rem; /* 10px 15px */
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    background-color: rgba(33, 62, 98, .827);
    border: 1px solid hsla(0, 0%, 100%, .127);
    border-radius: 7px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    transition: .5s;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
    gap: 0;
    width: 100%;
}

.navbar-left {
    display: flex;
    align-items: stretch;
    flex-shrink: 0;
    height: 100%;
}

.navbar-center {
    flex: 1 1 auto;
    min-width: 20px;
}

.navbar-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    height: 100%;
    gap: 20px;
}

/* Server Status */
.server-status {
    background-color: #20313c;
    padding: 0 1rem;
    border-radius: 7px 0 0 7px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: calc(100% + 1.25rem); /* 20px */
    box-sizing: border-box;
    margin-left: -0.9375rem; /* -15px */
    margin-top: -0.625rem; /* -10px */
    margin-bottom: -0.625rem; /* -10px */
    align-self: stretch;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-size: 0.9rem;
}

.status-online {
    font-weight: 700;
    color: #008000;
}

.status-offline {
    font-weight: 700;
    color: #ff0000;
}

.player-count {
    font-weight: 700;
    color: #4a9eff;
}

.player-count-link {
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.player-count-link:hover {
    opacity: 0.8;
}

.player-count-link .player-count {
    font-weight: 700;
    color: #4a9eff;
}

/* Navigation Menu */

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-left: 60px;
    height: 100%;
    flex: 1;
}

.play-button {
    background-color: var(--main-button);
    border: 1px solid var(--main-border);
    border-radius: 5px;
    color: #fff;
    font-size: clamp(1rem, 2.08vw, 20px); /* 20px converti en viewport width */
    font-weight: 700;
    overflow: hidden;
    position: relative;
    transition: .5s;
    padding: clamp(0.5rem, 1.2vh, 0.75rem) clamp(2rem, 4.17vw, 3rem);
    cursor: pointer;
    font-family: Poppins;
    height: clamp(40px, 4.86vh, 45px);
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    box-shadow: 0 0 10px rgba(0, 116, 224, 0.5);
    text-decoration: none;
}

.play-button:hover {
    background-color: #148eff;
    box-shadow: 0 0 15px rgba(0, 116, 224, 0.7);
}

.navbar-alert {
    display: flex;
    align-items: center;
    height: calc(100% + 1.25rem); /* 20px */
    margin-top: -0.625rem; /* -10px */
    margin-bottom: -0.625rem; /* -10px */
    margin-right: 0;
    position: relative;
}

.navbar-right {
    gap: 0.75rem; /* 12px */
}

.alert-darkmode {
    background-color: rgba(13, 202, 240, 0.15) !important;
    border: 1px solid rgba(13, 202, 240, 0.3) !important;
    color: #0dcaf0 !important;
    padding: 0 1rem !important;
    margin: 0 !important;
    border-radius: 5px !important;
    font-size: clamp(0.75rem, 0.83vw, 0.875rem) !important;
    font-weight: 600 !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-family: Poppins;
    height: clamp(40px, 4.86vh, 45px);
    cursor: pointer;
    user-select: none;
}

.alert-darkmode.alert-warning {
    background-color: rgba(255, 193, 7, 0.15) !important;
    border: 1px solid rgba(255, 193, 7, 0.3) !important;
    color: #ffc107 !important;
}

.alert-darkmode.alert-danger {
    background-color: rgba(220, 53, 69, 0.15) !important;
    border: 1px solid rgba(220, 53, 69, 0.3) !important;
    color: #dc3545 !important;
}

.alert-darkmode.alert-pincode-warning {
    max-width: 100%;
    margin: 0 auto !important;
    margin-top: 0 !important;
    margin-bottom: 2rem !important;
    padding: 1.5rem !important;
    white-space: normal !important;
    height: auto !important;
    min-height: 40px;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
    gap: 0.75rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.alert-darkmode.alert-pincode-warning i {
    flex-shrink: 0;
    font-size: 2rem !important;
}

.alert-darkmode.alert-pincode-warning span {
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.alert-darkmode.alert-success {
    background-color: rgba(25, 135, 84, 0.15) !important;
    border: 1px solid rgba(25, 135, 84, 0.3) !important;
    color: #198754 !important;
}

.alert-darkmode.alert-warning .alert-divider {
    background-color: rgba(255, 193, 7, 0.3);
}

.alert-darkmode.alert-warning:hover {
    background-color: rgba(255, 193, 7, 0.2) !important;
}

.alert-dropdown-menu.alert-warning-dropdown {
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.alert-dropdown-menu.alert-warning-dropdown::before {
    background-color: rgba(26, 26, 26, 0.95);
    border-left: 1px solid rgba(255, 193, 7, 0.3);
    border-top: 1px solid rgba(255, 193, 7, 0.3);
}

.alert-dropdown-content.alert-warning-content {
    color: #ffc107;
}

.alert-dropdown-toggle {
    transition: all 0.3s ease;
}

.alert-dropdown-toggle:hover {
    background-color: rgba(13, 202, 240, 0.2) !important;
}

@media (min-width: 1499px) {
    .alert-dropdown-toggle {
        cursor: default;
        pointer-events: none;
    }
    
    .alert-dropdown-menu {
        display: none !important;
    }
}

.alert-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 250px;
    background-color: rgba(26, 26, 26, 0.95);
    border: 1px solid rgba(13, 202, 240, 0.3);
    border-radius: 8px;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-top: 6px;
}

.alert-dropdown-menu::before {
    content: '';
    position: absolute;
    bottom: 100%;
    right: 1.5rem;
    width: 12px;
    height: 12px;
    background-color: rgba(26, 26, 26, 0.95);
    border-left: 1px solid rgba(13, 202, 240, 0.3);
    border-top: 1px solid rgba(13, 202, 240, 0.3);
    border-radius: 4px 0 0 0;
    transform: translateX(50%) rotate(45deg);
    margin-bottom: -6px;
}

.alert-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.alert-dropdown-content {
    padding: 1rem;
    color: #0dcaf0;
    font-family: Poppins;
    font-size: 0.875rem;
    line-height: 1.5;
}

@media (max-width: 1498px) {
    .alert-text,
    .alert-divider {
        display: none;
    }
    
    .alert-darkmode {
        padding: 0 0.75rem !important;
        justify-content: center;
    }
}

.alert-darkmode i {
    font-size: 0.875rem;
}

.alert-divider {
    width: 1px;
    height: 80%;
    background-color: rgba(13, 202, 240, 0.3);
    margin: 0 0.375rem;
    flex-shrink: 0;
}

.navbar-login {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: calc(100% + 1.25rem); /* 20px */
    margin: 0;
    margin-top: -0.625rem; /* -10px */
    margin-bottom: -0.625rem; /* -10px */
    padding-right: 0;
}


.menu-item {
    color: rgba(255, 255, 255, 0.8); /* hsla(0, 0%, 100%, .8) */
    text-decoration: none;
    font-size: 0.9375rem; /* 15px */
    font-weight: 700;
    padding: 0.5rem 0;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 100%;
}

.menu-item.active {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 116, 224, 0.8), 0 0 20px rgba(0, 116, 224, 0.5), 0 0 30px rgba(0, 116, 224, 0.3);
}

.dropdown-toggle.active {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 116, 224, 0.8), 0 0 20px rgba(0, 116, 224, 0.5), 0 0 30px rgba(0, 116, 224, 0.3);
}

.dropdown-item.active {
    background-color: rgba(0, 116, 224, 0.2);
    color: #ffffff;
    text-shadow: 0 0 5px rgba(0, 116, 224, 0.6);
}

.dropdown-item.active::before {
    opacity: 1;
    background-color: #0074e0;
}

.mobile-menu-item.active {
    color: #ffffff;
    background-color: rgba(0, 116, 224, 0.2);
    text-shadow: 0 0 10px rgba(0, 116, 224, 0.8), 0 0 20px rgba(0, 116, 224, 0.5), 0 0 30px rgba(0, 116, 224, 0.3);
}

.mobile-dropdown-toggle.active {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 116, 224, 0.8), 0 0 20px rgba(0, 116, 224, 0.5), 0 0 30px rgba(0, 116, 224, 0.3);
}

.mobile-dropdown-item.active {
    background-color: rgba(0, 116, 224, 0.2);
    color: #ffffff;
    text-shadow: 0 0 5px rgba(0, 116, 224, 0.6);
}

/* Login Toggle - Style spécifique pour le bouton "Mon compte" */
.login-dropdown .dropdown-toggle {
    align-items: center;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    background-color: rgba(255, 255, 255, 0.127);
    border: 1px solid rgba(252, 252, 252, 0.116);
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: clamp(0.875rem, 1.04vw, 0.9375rem);
    font-weight: 700 !important;
    height: clamp(40px, 4.86vh, 45px);
    justify-content: center;
    padding: 0 1rem;
    transition: all 0.3s;
    gap: 0.5rem;
    text-decoration: none;
}

.login-dropdown .dropdown-toggle:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Style rougeâtre pour le dropdown Administration */
.login-dropdown-admin .dropdown-toggle {
    background-color: rgba(220, 53, 69, 0.3);
    border-color: rgba(220, 53, 69, 0.5);
}

.login-dropdown-admin .dropdown-toggle:hover {
    background-color: rgba(220, 53, 69, 0.25);
    border-color: rgba(220, 53, 69, 0.5);
    color: #ff6b7a;
}

.login-dropdown .dropdown-toggle i:first-child {
    font-size: 0.875rem;
}

.login-dropdown .dropdown-toggle i:last-child {
    font-size: 0.7rem;
}

.menu-item:hover {
    color: #ffffff;
}

.dropdown {
    position: relative;
}

.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 1.55rem;
    background: transparent;
}

.dropdown-toggle {
    color: rgba(255, 255, 255, 0.8); /* hsla(0, 0%, 100%, .8) */
    text-decoration: none;
    font-size: 0.9375rem; /* 15px */
    font-weight: 700;
    padding: 0.5rem 0;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 100%;
    cursor: pointer;
}

.dropdown-toggle::after {
    display: none;
}

.dropdown-toggle:hover {
    color: #ffffff;
}

.dropdown-toggle i {
    font-size: 0.7rem;
}

.dropdown-menu {
    display: block;
    position: absolute;
    top: calc(100% + 1.55rem);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background-color: #171926;
    border: none;
    border-radius: 5px;
    padding: 0.75rem 0;
    min-width: 200px;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background-color: #171926;
    border-radius: 4px 0 0 0;
    border: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.dropdown-item {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.75rem 1.5rem;
    transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
    position: relative;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #4a9eff;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.dropdown-item:hover {
    background-color: #232531;
    color: #ffffff;
    padding-left: 2rem;
}

.dropdown-item:hover::before {
    opacity: 1;
}

/* Login Dropdown - Style dédié avec conteneurs rouge et bleu */
.login-dropdown-menu {
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(-10px);
    min-width: clamp(225px, 15.63vw, 300px);
    background-color: transparent;
    border: none;
    border-radius: 12px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.login-dropdown:hover .login-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.login-dropdown-menu::before {
    content: '';
    position: absolute;
    left: 50%;
    right: auto;
    top: -6px;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background-color: #171926;
    border-radius: 4px 0 0 0;
    border: none;
    z-index: 1;
}

.login-container {
    padding: 0.75rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.login-container-blue {
    background-color: #171926;
    border-radius: 12px;
}

.login-container-red {
    background-color: #10111b;
    border-radius: 0 0 12px 12px;
}

.login-item {
    display: block;
    width: 90%;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    text-align: center;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-family: Poppins;
    border-radius: 8px;
    margin: 0 auto;
}

.login-button {
    display: block;
    width: 90%;
    background-color: #0074e0;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    text-align: center;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-family: Poppins;
    cursor: pointer;
    margin: 0 auto;
    margin-bottom: 0.75rem;
    text-decoration: none;
}

.login-button:hover {
    background-color: #148eff;
    color: #ffffff;
}

.login-container-blue .login-item {
    background-color: transparent;
    border: 1px solid #3a4753;
    border-radius: 8px;
}

.login-container-blue .login-item:hover {
    background-color: #148eff;
    color: #ffffff;
    border-color: #148eff;
}

.login-container-red .login-item:hover {
    background-color: #1c1d27;
    color: #ffffff;
}

.login-item-logout {
    background-color: #dc3545 !important;
    border: 1px solid #dc3545 !important;
}

.login-item-logout:hover {
    background-color: #c82333 !important;
    border-color: #bd2130 !important;
    color: #ffffff !important;
}

/* Profile Page Styles */
/* Profile Page Specific Styles */
.profile-main-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    max-width: 1200px;
    width: 100%;
    margin: 2rem auto;
}

.profile-column-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-column-left .info-category {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}


.profile-sidebar .info-category {
    margin-bottom: 0;
}

.profile-user-card {
    margin-bottom: 0;
}

.profile-user-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
}

.profile-user-avatar {
    display: flex;
    justify-content: center;
}

.profile-user-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    word-break: break-word;
}

.profile-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background-color: #dc3545;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #dc3545;
    width: 100%;
}

.profile-logout-btn:hover {
    background-color: #c82333;
    border-color: #bd2130;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.profile-menu-encart {
    margin-bottom: 0;
}

.profile-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-menu-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
}

.profile-menu-item.active {
    background-color: rgba(0, 116, 224, 0.2);
    color: #ffffff;
    border-color: var(--main-button);
}

.profile-menu-item i {
    font-size: 1.125rem;
    width: 20px;
    text-align: center;
}

.profile-menu-item span {
    font-size: 0.95rem;
    font-weight: 500;
}

.profile-info-encart {
    flex: 1;
}

.profile-avatar-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.profile-avatar-container {
    width: 125px;
    height: 125px;
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.profile-avatar-container:hover {
    transform: scale(1.05);
}

.profile-avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.profile-avatar-container:hover .profile-avatar-overlay {
    opacity: 1;
}

.profile-avatar-overlay i {
    color: #ffffff;
    font-size: 2rem;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 3rem;
}

.profile-info-section {
    display: flex;
    flex-direction: column;
}

.profile-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.profile-info-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    gap: 1rem;
    min-height: 3.5rem;
}

.profile-info-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    display: flex;
    align-items: center;
}

.profile-info-value {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    display: flex;
    align-items: center;
}

/* Profile Characters List - Cards séparées */
.profile-characters-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}

.profile-character-card {
    position: relative;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    width: 175px;
    height: 175px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    padding: 0.75rem;
}

.profile-character-image {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    object-fit: none;
    object-position: center top;
    z-index: 0;
    pointer-events: none;
}

.profile-character-card-content {
    position: absolute;
    bottom: 0;
    left: -0.75rem;
    right: -0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100% + 1.5rem);
    z-index: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 0.75rem 0.5rem 0.5rem;
    box-sizing: border-box;
}

.profile-character-name {
    position: absolute;
    bottom: 1.25rem;
    left: 1rem;
    right: 0.75rem;
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin: 0;
    text-align: left;
    line-height: 1.2;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.6);
}

.profile-character-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    width: 100%;
}

.profile-character-class {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

.profile-character-levels {
    position: absolute;
    bottom: 0.25rem;
    left: 1rem;
    right: 0.75rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: normal;
    text-align: left;
    line-height: 1.2;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.6);
}

.profile-character-job-icon {
    position: absolute;
    right: 0.5rem;
    top: 0.5rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-character-job-icon-img {
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    display: block;
    cursor: pointer;
}

.profile-character-job-tooltip {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10000;
}

.profile-character-job-icon:hover .profile-character-job-tooltip {
    opacity: 1;
}

.profile-character-job-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.9);
}

.profile-character-deletion-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(110, 17, 17, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 8px;
}

.profile-character-deletion-overlay i {
    font-size: 1.5rem;
    color: #ff4444;
    text-shadow: 0 0 8px rgba(255, 68, 68, 0.8), 0 0 12px rgba(255, 68, 68, 0.6);
}

.profile-character-deletion-message {
    font-size: 0.75rem;
    color: #ff4444;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(255, 68, 68, 0.8), 0 0 12px rgba(255, 68, 68, 0.6), 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Profile Guild Section */
.profile-guild-container {
    width: 100%;
    margin-bottom: 2rem;
}

.profile-guild-container:last-child {
    margin-bottom: 0;
}

.profile-guild-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.profile-guild-emblem-large {
    width: 80px;
    height: 80px;
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.profile-guild-emblem-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: -moz-crisp-edges; /* Firefox */
    image-rendering: -webkit-crisp-edges; /* Safari */
    image-rendering: crisp-edges; /* Standard */
    image-rendering: pixelated; /* Chrome/Edge */
}

.profile-guild-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.profile-guild-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.profile-guild-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.profile-guild-stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.profile-guild-stat-item i {
    color: #0074e0;
}

.profile-guild-members {
    margin-top: 1.5rem;
}

.profile-guild-members-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 1rem 0;
}

.profile-guild-members-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.profile-guild-member-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.profile-guild-member-name {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.profile-guild-member-role {
    font-size: 0.75rem;
    color: #0074e0;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    background-color: rgba(0, 116, 224, 0.1);
    border-radius: 4px;
}

/* Profile Guild Selection */
.profile-success-message {
    padding: 1rem;
    margin-bottom: 1.5rem;
    background-color: rgba(0, 200, 83, 0.1);
    border: 1px solid rgba(0, 200, 83, 0.3);
    border-radius: 8px;
    color: #4caf50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-guild-selection-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 1.5rem 0;
}

.profile-guilds-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.profile-guild-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 125px;
    height: 125px;
    padding: 0.75rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    flex-shrink: 0;
}

.profile-guild-icon:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 116, 224, 0.3);
    transform: translateY(-2px);
}

.profile-guild-icon.active {
    background-color: rgba(0, 116, 224, 0.2);
    border-color: rgba(0, 116, 224, 0.5);
}

.profile-guild-icon-img {
    width: 48px;
    height: 48px;
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-crisp-edges;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    margin-bottom: 0.5rem;
}

.profile-guild-icon-placeholder {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 2rem;
}

.profile-guild-icon-name {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    word-break: break-word;
    line-height: 1.2;
}

/* Profile Guild Details */
.profile-guild-details {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    width: 100%;
}

.profile-guild-details-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-guild-details-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.profile-guild-details-title-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    flex-wrap: wrap;
}

.profile-guild-details-title-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.2;
    white-space: nowrap;
    flex-shrink: 0;
}

.profile-guild-details-title-info {
    display: flex;
    align-items: stretch;
    gap: 0;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.profile-guild-details-level-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
}

.profile-guild-details-title img {
    width: 48px;
    height: 48px;
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-crisp-edges;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.profile-guild-details-separator {
    width: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 0.5rem;
    padding: 0;
    align-self: stretch;
    flex-shrink: 0;
    min-height: 100%;
}

.profile-guild-details-level {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.profile-guild-details-founder {
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
}

.profile-guild-details-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.profile-guild-details-close:hover {
    color: rgba(255, 255, 255, 0.9);
}

.profile-guild-details-content {
    width: 100%;
}

.profile-guild-details-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile-guild-details-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.profile-guild-details-stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.profile-guild-details-stat-item i {
    color: #0074e0;
}

.profile-guild-details-members {
    margin-top: 1rem;
}

.profile-guild-members-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.profile-guild-details-members-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.profile-guild-members-toggle {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.profile-guild-members-toggle:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
}

.profile-guild-members-table-wrapper {
    overflow-x: auto;
}

.profile-guild-member-row-hidden {
    display: none;
}

.profile-guild-members-collapsed .profile-guild-member-row-hidden {
    display: none;
}

.profile-guild-details-members-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Tableau des membres de guilde */
.profile-guild-members-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.profile-guild-members-table thead {
    background-color: rgba(255, 255, 255, 0.05);
}

.profile-guild-members-table th {
    padding: 0.875rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-guild-members-table th:first-child {
    width: 60px;
    text-align: center;
}

.profile-guild-members-table tbody tr {
    transition: background-color 0.2s;
}

.profile-guild-members-table tbody tr.even {
    background-color: rgba(255, 255, 255, 0.02);
}

.profile-guild-members-table tbody tr.odd {
    background-color: rgba(255, 255, 255, 0.05);
}

.profile-guild-members-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.profile-guild-member-row td {
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.profile-guild-member-portrait-cell {
    text-align: center;
    padding: 0.5rem !important;
}

.profile-guild-member-portrait {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.25rem;
    margin: 0 auto;
    overflow: hidden;
}

.profile-guild-member-portrait-img {
    display: block;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    margin-top: -32px;
}

.profile-guild-member-class {
    color: rgba(255, 255, 255, 0.7);
}

.profile-guild-member-level {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.profile-guild-member-role-cell {
    text-align: center;
}

/* Coffre de guilde */
.profile-guild-storage {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-guild-storage-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 1rem 0;
}

.profile-guild-storage-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: center;
}

.profile-guild-storage-tab {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: rgba(255, 255, 255, 0.6);
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    bottom: -1px;
}

.profile-guild-storage-tab:hover {
    color: rgba(255, 255, 255, 0.8);
}

.profile-guild-storage-tab.active {
    color: rgba(255, 255, 255, 0.9);
    border-bottom-color: #0074e0;
}

.profile-guild-storage-tab-content {
    display: none;
}

.profile-guild-storage-tab-content.active {
    display: block;
}

.profile-guild-storage-toggle {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.profile-guild-storage-toggle:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
}

.profile-guild-storage-table-wrapper {
    overflow-x: auto;
}

.profile-guild-storage-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.profile-guild-storage-table thead {
    background-color: rgba(255, 255, 255, 0.05);
}

.profile-guild-storage-table th {
    padding: 0.875rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-guild-storage-table tbody tr {
    transition: background-color 0.2s;
}

.profile-guild-storage-table tbody tr.even {
    background-color: rgba(255, 255, 255, 0.02);
}

.profile-guild-storage-table tbody tr.odd {
    background-color: rgba(255, 255, 255, 0.05);
}

.profile-guild-storage-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.profile-guild-storage-row td {
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.profile-guild-storage-icon-cell {
    text-align: center;
    padding: 0.5rem !important;
}

.profile-guild-storage-icon {
    width: 24px;
    height: 24px;
    display: block;
    margin: 0 auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}

.profile-guild-storage-name {
    text-align: left;
    color: rgba(255, 255, 255, 0.9);
}

.profile-guild-storage-row-hidden {
    display: none;
}

/* Formulaire de changement de mot de passe */
.password-change-form-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.password-change-message {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.password-change-message-success {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: rgba(40, 167, 69, 0.9);
}

.password-change-message-error {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: rgba(220, 53, 69, 0.9);
}

.password-change-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 0;
}

.password-change-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.password-change-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.password-change-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-family: inherit;
    transition: all 0.2s;
    box-sizing: border-box;
}

.password-change-input:focus {
    outline: none;
    border-color: #0074e0;
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 116, 224, 0.1);
}

.password-change-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Styles pour le calendrier darkmode */
.password-change-input[type="date"] {
    color-scheme: dark;
}

.password-change-input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: brightness(0) saturate(100%) invert(27%) sepia(100%) saturate(5000%) hue-rotate(200deg) brightness(0.9);
    opacity: 0.8;
    transition: opacity 0.2s;
    width: 20px;
    height: 20px;
}

.password-change-input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Styles pour le calendrier dans Firefox */
.password-change-input[type="date"]::-moz-calendar-picker-indicator {
    cursor: pointer;
    filter: brightness(0) saturate(100%) invert(27%) sepia(100%) saturate(5000%) hue-rotate(200deg) brightness(0.9);
    opacity: 0.8;
    transition: opacity 0.2s;
}

.password-change-input[type="date"]::-moz-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Styles spécifiques pour le formulaire d'inscription */
.register-form-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Style pour l'alerte dans le formulaire d'inscription */
#registerMessage.alert {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    padding: 1rem 1.5rem !important;
    text-align: center !important;
    white-space: normal !important;
    height: auto !important;
    min-height: clamp(40px, 4.86vh, 45px) !important;
    line-height: 1.5 !important;
}

#registerMessage.alert i {
    flex-shrink: 0;
    font-size: 1.25rem;
    align-self: center;
}

#registerMessage.alert::after {
    content: '';
    display: none;
}

.register-input {
    width: 100%;
    min-width: 400px;
    padding: 1rem 1.25rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    box-sizing: border-box;
}

.register-input:focus {
    outline: none;
    border-color: #0074e0;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(0, 116, 224, 0.15);
    transform: translateY(-1px);
}

.register-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

.register-input[type="date"] {
    color-scheme: dark;
}

.register-input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: brightness(0) saturate(100%) invert(27%) sepia(100%) saturate(5000%) hue-rotate(200deg) brightness(0.9);
    opacity: 0.8;
    transition: opacity 0.2s;
    width: 20px;
    height: 20px;
}

.register-input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.register-input[type="date"]::-moz-calendar-picker-indicator {
    cursor: pointer;
    filter: brightness(0) saturate(100%) invert(27%) sepia(100%) saturate(5000%) hue-rotate(200deg) brightness(0.9);
    opacity: 0.8;
    transition: opacity 0.2s;
}

.register-input[type="date"]::-moz-calendar-picker-indicator:hover {
    opacity: 1;
}

.register-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 0.75rem;
}

.register-button {
    width: 100%;
    padding: 1rem 2rem;
    background-color: #0074e0;
    border: 1px solid #0074e0;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 0.5rem;
}

.register-button:hover {
    background-color: #005bb5;
    border-color: #005bb5;
    box-shadow: 0 4px 12px rgba(0, 116, 224, 0.3);
}

.register-button:active {
    box-shadow: 0 2px 6px rgba(0, 116, 224, 0.2);
}

.register-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.register-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.register-form-error {
    display: none;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    text-align: center;
}

/* Styles pour les boutons de la page play */
.download-button:hover,
.help-button:hover {
    box-shadow: 0 4px 12px rgba(0, 116, 224, 0.3);
}

.download-button:active,
.help-button:active {
    box-shadow: 0 2px 6px rgba(0, 116, 224, 0.2);
}

.help-button:hover {
    background-color: #148eff !important;
    border-color: #148eff !important;
}

.help-button[href*="discord"]:hover {
    background-color: #5865F2 !important;
    border-color: #5865F2 !important;
}

.password-change-button {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background-color: #0074e0;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s;
    font-family: inherit;
}

.password-change-button:hover {
    background-color: #148eff;
    box-shadow: 0 4px 12px rgba(0, 116, 224, 0.3);
}

.password-change-button:active {
    box-shadow: 0 2px 6px rgba(0, 116, 224, 0.2);
}

.profile-character-emblem-container {
    position: absolute;
    right: 0.5rem;
    top: 2.5rem;
    z-index: 2;
}

.profile-character-emblem {
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    cursor: pointer;
    display: block;
}

.profile-character-emblem-tooltip {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10000;
}

.profile-character-emblem-container:hover .profile-character-emblem-tooltip {
    opacity: 1;
}

.profile-character-emblem-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.9);
}


/* Profile Status Styles */
.profile-status-active {
    color: #198754;
    font-weight: 600;
}

.profile-status-inactive {
    color: #dc3545;
    font-weight: 600;
}

/* Profile Access Level Styles */
.profile-access-admin {
    color: #ffc107;
    font-weight: 600;
}

.profile-access-player {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* Profile Pincode Styles */
.profile-pincode-yes {
    color: #198754;
    font-weight: bold;
}

.profile-pincode-no {
    color: #dc3545;
    font-weight: bold;
}

/* Profile Placeholder and Error Messages */
.profile-placeholder-text {
    color: rgba(255, 255, 255, 0.7);
}

.profile-error-message {
    color: rgba(255, 255, 255, 0.7);
}

/* Avatar Preview Container */
.avatar-preview-container {
    display: none;
}


.profile-character-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.25rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-character-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.profile-character-header {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-character-name {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin: 0;
}

.profile-character-job {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.profile-character-portrait {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-character-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.profile-character-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.profile-character-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-character-online {
    color: #198754;
    font-size: 0.875rem;
    font-weight: 600;
}

.profile-character-offline {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    font-weight: 500;
}

.profile-character-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.profile-character-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-character-detail-item:last-child {
    border-bottom: none;
}

.profile-character-detail-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.profile-character-detail-value {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.profile-character-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-character-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.profile-character-stat-value {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* Modal Darkmode Styles */
.modal-darkmode {
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.modal-darkmode-header {
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.modal-darkmode-body {
    background-color: rgba(255, 255, 255, 0.03);
    color: #ffffff;
}

.modal-darkmode-footer {
    background-color: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.form-control-darkmode {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.form-control-darkmode:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--main-button);
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 116, 224, 0.1);
}

.btn-darkmode {
    background-color: var(--main-button);
    border-color: var(--main-button);
    color: #ffffff;
}

.btn-darkmode:hover {
    background-color: #005bb5;
    border-color: #005bb5;
    color: #ffffff;
}

.btn-secondary.btn-darkmode {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.btn-secondary.btn-darkmode:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

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

.avatar-preview {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    width: 50px;
    height: 50px;
    background-color: rgba(33, 62, 98, .827);
    border: 1px solid hsla(0, 0%, 100%, .127);
    border-radius: 7px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 10px;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    transition: .5s;
}

.hamburger-menu i {
    color: #ffffff;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.hamburger-menu.active i {
    transform: rotate(90deg);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background-color: rgba(26, 26, 26, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform .5s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-content {
    padding: 80px 20px 20px;
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu-item {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    padding: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-dropdown {
    display: flex;
    flex-direction: column;
}

.mobile-dropdown-toggle {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    padding: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.mobile-dropdown-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-dropdown-toggle i {
    font-size: 0.8rem;
}

.mobile-dropdown-menu {
    display: none;
    flex-direction: column;
    padding-left: 1rem;
    margin-top: 0.5rem;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    display: flex;
}

.mobile-dropdown-item {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    transition: background-color 0.3s;
    display: block;
}

.mobile-dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Media Query pour écrans de moins de 1400px de largeur */
@media (max-width: 1400px) {
    .login-dropdown .dropdown-toggle {
        padding: 0 0.75rem;
        font-size: 0;
        justify-content: center;
        gap: 0;
    }
    
    .login-dropdown .dropdown-toggle i:first-child {
        font-size: 0.875rem;
        display: inline-block;
        margin: 0;
    }
    
    .login-dropdown .dropdown-toggle i:last-child {
        display: none;
    }
}

/* Media Query pour activer le scrolling des quick-news à 1240px */
@media (max-width: 1240px) {
    .quick-news {
        overflow: visible;
        align-items: flex-start;
    }
    
    .news-cards {
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        overflow-x: scroll !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        width: 100% !important;
        max-width: 100vw;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        padding-bottom: 1rem;
        box-sizing: border-box;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.3) rgba(255, 255, 255, 0.1);
    }
    
    .news-card {
        flex-shrink: 0 !important;
        scroll-snap-align: start;
        width: clamp(280px, 70vw, 356px) !important;
        min-width: clamp(280px, 70vw, 356px) !important;
        max-width: clamp(280px, 70vw, 356px) !important;
    }
}

/* Media Query pour écrans de moins de 1050px de largeur */
@media (max-width: 1050px) {
    .navbar {
        display: none;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
}

/* Main Content Container */
.main-content {
    width: 100%;
    background-color: #1a1a1a;
    padding: 2rem 0;
    position: relative;
    z-index: 10;
    flex: 1;
}

.main-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

/* Largeur élargie pour les pages avec .page-content */
.main-content-wrapper:has(.page-content) {
    max-width: 1600px;
}

.main-column-left:has(.page-content) {
    width: 100%;
    max-width: 100%;
}

.main-column {
    height: auto;
}

.main-column-left {
    width: 53.5rem; /* 856px converted to rem (856/16 = 53.5) */
    max-width: 100%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem; /* 10px converted to rem */
}

.news-article-card {
    width: 53.5rem; /* 856px converted to rem */
    max-width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    padding-left: 4.84375rem; /* 62.5px (half avatar width) + 15px = 77.5px converted to rem */
    box-sizing: border-box;
    position: relative;
}

.news-avatar {
    position: absolute;
    left: 0;
    top: 1.5rem;
    transform: translateX(-50%);
    width: 125px;
    height: 125px;
    border-radius: 8px;
    border: 8px solid #1a1a1a;
    overflow: hidden;
    z-index: 1;
    box-sizing: border-box;
}

.news-avatar img {
    width: 109px;
    height: 109px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.news-article-card h2 {
    margin: 0 0 0 0;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
}

.news-category-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    z-index: 2;
}

.news-category-badge.badge-nouvelles {
    background-color: rgba(33, 150, 243, 0.2);
    color: #2196f3;
    border: 1px solid rgba(33, 150, 243, 0.4);
}

.news-category-badge.badge-patch {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.4);
}

.news-category-badge.badge-event {
    background-color: rgba(156, 39, 176, 0.2);
    color: #9c27b0;
    border: 1px solid rgba(156, 39, 176, 0.4);
}

.news-category-badge.badge-urgent {
    background-color: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.4);
}

.news-meta {
    margin: -0.25rem 0 1rem 0;
    padding-bottom: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
}

.news-meta-highlight {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 700;
}

.news-article-card p {
    margin: 0 0 1rem 0;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    line-height: 1.6;
}

.news-article-card p:last-child {
    margin-bottom: 0;
}

.news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 1rem 0;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.pagination-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.pagination-link i {
    font-size: 0.875rem;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-number:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.pagination-number.active {
    background-color: #0074e0;
    border-color: #0074e0;
    color: #ffffff;
}

.pagination-number.active:hover {
    background-color: #148eff;
    border-color: #148eff;
}

.pagination-ellipsis {
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    padding: 0 0.25rem;
}

.main-column-right {
    flex: 0 0 25%;
    display: flex;
    flex-direction: column;
    gap: 0.625rem; /* 10px converted to rem */
}

.widget {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    box-sizing: border-box;
}

.widget-market-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.widget-market {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0.75rem;
    position: relative;
    background-size: auto;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.widget-market-link:hover .widget-market::after {
    opacity: 1;
}

.widget-market::after {
    content: 'Consulter le Shop';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.widget-market::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.15) 100%);
    z-index: 1;
}

.widget-market-label {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Roboto', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 1);
    z-index: 2;
}

.widget-market-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.25rem;
    align-self: flex-end;
    position: relative;
    z-index: 2;
}

.widget-market-shop {
    margin: 0;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 1);
}

.widget-market-merchant {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Roboto', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 1);
}

.widget-market-no-merchant {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.widget-market-message {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 1);
    margin: 0;
    text-align: center;
}

.widget-market-portrait {
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    margin-left: 1rem;
    background-color: transparent;
    position: relative;
    z-index: 2;
}

.widget-market-portrait img {
    border-radius: 4px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    transform: translateY(-7.3rem) translateX(5em);
}

.main-column-right .widget:first-child {
    height: 6.25rem; /* 100px converted to rem */
}

.widget-woe {
    width: 100%;
    height: 14rem; /* 224px */
    min-height: 14rem;
    background-size: 250%;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 0.5rem;
}

.widget-woe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.widget-woe-label {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Roboto', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 1);
    z-index: 3;
}

.widget-woe-flag {
    width: 121px;
    height: 175px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    position: relative;
    z-index: 1;
    margin-bottom: 0.5rem;
}

.widget-woe-flag img {
    border-radius: 4px;
}

.widget-woe-emblem {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.widget-woe-emblem img {
    display: block;
    width: 48px;
    height: 48px;
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}

.widget-woe-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 6%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: -0.75rem;
}

.widget-woe-castle {
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 1), 0 1px 2px rgba(0, 0, 0, 0.8);
    margin-bottom: 0.05rem;
    line-height: 1;
}

.widget-woe-guild {
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Roboto', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 1), 0 1px 2px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.widget-woe-members {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
}

.widget-woe-member-left {
    position: relative;
    z-index: 1;
    width: auto;
    height: auto;
    flex-shrink: 0;
    transform: translateX(10rem) translateY(1.5rem);
}

.widget-woe-member-left img {
    display: block;
    position: relative;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
}

.widget-woe-member-right {
    position: relative;
    z-index: 1;
    width: auto;
    height: auto;
    flex-shrink: 0;
    transform: translateX(-10rem) translateY(1.5rem);
}

.widget-woe-member-right img {
    display: block;
    position: relative;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
}

.widget-woe-gm {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    margin-bottom: -1.50rem;
    position: relative;
}

.widget-woe-gm img {
    display: block;
    border-radius: 4px;
}

.widget-woe-member {
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    flex-shrink: 0;
}

.widget-woe-member img {
    display: block;
    border-radius: 4px;
    height: auto;
}

.widget-woe-member-left img {
    height: 100%;
}

.widget-event {
    display: flex;
    overflow: hidden;
    padding: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.widget-event::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.widget-event-content {
    flex: 1;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.widget-event-title {
    margin: 0 0 0.5rem 0;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 1);
}

.widget-event-countdown {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.125rem;
}

.countdown-value {
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 1);
}

.countdown-label {
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Roboto', sans-serif;
    font-size: 0.625rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 1);
}

@media (max-width: 1200px) {
    .main-content-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .main-column-left {
        width: 100%;
        max-width: 53.5rem;
        margin-top: 2rem;
        gap: 4rem;
    }
    
    .main-column-right {
        width: 100%;
        max-width: 53.5rem;
        margin-top: 2rem;
        display: grid;
        grid-template-columns: 288px 1fr;
        gap: 0.625rem;
    }
    
    .main-column-right .widget:first-child {
        grid-column: 1;
        grid-row: 1;
        width: 288px;
        height: 100px;
    }
    
    .main-column-right .widget:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
        width: 288px;
        height: 100px;
    }
    
    .main-column-right .widget-woe {
        grid-column: 2;
        grid-row: 1 / 3;
        height: calc(100px + 0.625rem + 100px);
        min-height: calc(100px + 0.625rem + 100px);
        width: 100%;
    }
    
    .news-avatar {
        left: 50%;
        top: 0;
        transform: translate(-50%, -50%);
    }
    
    .news-article-card {
        padding-left: 1.5rem;
        padding-top: 1.5rem;
        margin-top: 2rem;
    }
    
    .news-article-card:first-child {
        margin-top: 0;
    }
    
    .news-article-card-header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 1rem;
        margin-top: 0;
        padding-top: 0;
        padding-bottom: 1rem;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
        padding-right: 6rem;
    }
    
    .news-article-card-header h2 {
        margin: 0 0 -0.25rem 0;
        width: 100%;
    }
    
    .news-category-badge {
        top: 1.5rem;
        right: 1.5rem;
    }
    
    .news-article-card-header .news-meta {
        margin: 0;
        padding-bottom: 0;
        border-bottom: none;
        text-align: left;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .main-content-wrapper {
        flex-direction: column;
    }
}

/* Footer */
.site-footer {
    width: 100%;
    background-color: #0f0f0f;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-copyright,
.footer-credits {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-family: 'Poppins', sans-serif;
}

.footer-copyright {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

/* Hero Section */
.hero-section {
    width: 100%;
    height: clamp(600px, 90.74vh, 980px); /* 980px converti en viewport height avec min 600px */
    background-color: #1a1a1a;
    background-image: url('../../images/bg-main.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 30%;
    display: flex;
    position: relative;
}

/* Hero Section Compact (sans quick-news) */
.hero-section-compact {
    height: clamp(300px, 40vh, 400px); /* Hauteur réduite pour les pages sans quick-news */
    align-items: center;
    justify-content: center;
    background-position: center 10%; /* Image remontée dans la version compacte */
}

.hero-section-compact .hero-logo {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    transform: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 3;
    pointer-events: none;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    top: 0;
    left: 0;
}

#particles-js canvas {
    filter: drop-shadow(0 0 3px #2f95dd) drop-shadow(0 0 6px #2f95dd);
}

.hero-content {
    position: relative;
    z-index: 4;
    background-color: #2d2d2d;
    color: #ffffff;
    padding: 2.5rem;
    border-radius: 0.625rem;
    box-shadow: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.3);
    text-align: center;
}

.hero-content h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 300;
}

/* Hero Logo Section */
.hero-logo {
    position: absolute;
    top: 0;
    bottom: clamp(300px, 35.19vh, 380px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-logo img {
    max-width: 100%;
    height: auto;
    max-height: clamp(150px, 20vh, 250px);
}

/* Quick News Section */
.quick-news {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: clamp(300px, 35.19vh, 380px); /* 380px converti en viewport height avec min 300px */
    border-top: 1px solid hsla(0, 0%, 100%, .068);
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    gap: 2rem;
    overflow: visible;
}

.quick-news-header {
    display: flex;
    align-items: center;
    gap: 1.25rem; /* 20px converti en rem */
}

.news-cards {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.news-cards::-webkit-scrollbar {
    height: 0.375rem; /* 6px */
}

.news-cards::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.news-cards::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.news-cards::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.news-card {
    width: clamp(280px, 18.54vw, 356px); /* 356px converti en viewport width */
    height: clamp(170px, 19.91vh, 215px); /* 215px converti en viewport height */
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(40, 105, 143, .59);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .3);
    position: relative;
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}


.news-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, .4);
}

.news-img {
    border-radius: 8px;
    height: 100%;
    overflow: hidden;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.news-img img {
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
    width: 100%;
}

.news-card:hover .news-img img {
    transform: scale(1.3);
}

.news-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    font-family: Poppins;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.news-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at top right, #0b1d34, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.badge-nouvelles {
    background-color: rgba(33, 150, 243, 0.2);
    color: #2196f3;
    border: 1px solid rgba(33, 150, 243, 0.4);
}

.badge-patch {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.4);
}

.badge-event {
    background-color: rgba(156, 39, 176, 0.2);
    color: #9c27b0;
    border: 1px solid rgba(156, 39, 176, 0.4);
}

.badge-urgent {
    background-color: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.4);
}

.badge-staff {
    background-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.4);
}

.news-content {
    align-items: start;
    background: linear-gradient(transparent, rgba(0, 0, 0, .495), #0b1d34);
    border-radius: 0 0 8px 8px;
    display: flex;
    flex-direction: column;
    height: auto;
    justify-content: flex-end;
    padding: 25px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1;
}

.news-date {
    color: #b8b8b8;
    font-family: 'Source Sans Pro', sans-serif;
    text-shadow: 0 0 5px #000;
    font-size: 1.0625rem; /* 17px */
    margin-bottom: 0.1rem;
}

.news-title {
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    color: hsla(0, 0%, 100%, .859);
    display: -webkit-box;
    font-size: 17px;
    line-height: 24px;
    margin-top: 0.1rem;
    overflow: hidden;
    position: relative;
    text-overflow: ellipsis;
    text-shadow: 0 0 6px #000;
}

.news-card:hover .news-title {
    color: #fff;
}

.quick-news h1 {
    display: block;
    font-size: 2em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
    -webkit-text-fill-color: transparent;
    background: linear-gradient(#ece5d6, #d3e5ec);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 0 5px rgba(31, 29, 25, .2));
    font-family: Poppins;
    font-weight: 700;
    letter-spacing: -1px;
    margin: 0;
}

.vertical-divider {
    width: 1px;
    height: clamp(20px, 2.31vh, 25px); /* 25px converti en viewport height */
    background-color: rgba(255, 255, 255, 0.193); /* hsla(0, 0%, 100%, .193) */
}

.show-all-news {
    color: #03c4ff;
    text-decoration: none;
    font-family: Poppins;
    font-size: 0.9375rem; /* 15px */
    font-weight: 700;
    transition: color 0.3s;
}

.show-all-news:hover {
    color: #ffffff;
}

/* Page Content Styles */
.page-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 0;
}

.page-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    text-align: center;
}

/* Info Category */
.info-category {
    margin-bottom: 4rem;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    width: 100%;
    box-sizing: border-box;
}

.profile-encarts-container .info-category {
    display: block !important;
}

.info-category-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 116, 224, 0.5);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-category-title i {
    color: #0074e0;
    font-size: 1.75rem;
}

.title-separator {
    width: 1px;
    height: 1.5rem;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 0.75rem;
}

.autotraders-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.autotraders-bar {
    width: 6px;
    height: 1.25rem;
    background-color: rgba(138, 43, 226, 1); /* BlueViolet - plus visible */
    border-radius: 3px;
    box-shadow: 0 0 4px rgba(138, 43, 226, 0.6);
}

.info-section {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.info-section:last-child {
    margin-bottom: 0;
}

.info-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-text {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Vote Cards Grid */
.vote-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
    width: 100%;
}

.vote-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vote-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 116, 224, 0.3);
}

.vote-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1rem 0;
    font-family: 'Poppins', sans-serif;
}

.vote-card-text {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

/* Styles pour la page Vote */
.vote-title-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin: 0 0 1rem 0;
}

.vote-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin: 0 0 0.5rem 0;
}

.vote-note {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin: 0 0 1rem 0;
}

.vote-input-container {
    max-width: 1200px;
    min-width: 300px;
    margin: 0 auto;
}

.vote-input {
    width: 100%;
    padding: 0.75rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    text-align: center;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.vote-input:focus {
    outline: none;
    border-color: rgba(0, 116, 224, 0.5);
    background-color: rgba(255, 255, 255, 0.08);
}

.vote-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.vote-input-hint {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin: 0.5rem 0 0 0;
}

.vote-button {
    padding: 0.875rem 2.5rem;
    background-color: #0074e0;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 116, 224, 0.3);
}

.vote-button:hover {
    background-color: #005bb5;
    box-shadow: 0 6px 20px rgba(0, 116, 224, 0.4);
}

.vote-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 116, 224, 0.3);
}

/* Login Page Styles */
.login-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem 0;
}

.login-form-group {
    margin-bottom: 1.5rem;
}

.login-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.login-label i {
    color: var(--main-button);
    font-size: 1rem;
}

.login-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.login-input:focus {
    outline: none;
    border-color: var(--main-button);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 116, 224, 0.1);
}

.login-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.login-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.login-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    cursor: pointer;
}

.login-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--main-button);
}

.login-forgot-link {
    color: var(--main-button);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.login-forgot-link:hover {
    color: #148eff;
    text-decoration: underline;
}

.login-form .login-button {
    width: 100%;
    padding: 0.875rem 2rem;
    background-color: var(--main-button);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 116, 224, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.login-form .login-button:hover {
    background-color: #005bb5;
    box-shadow: 0 6px 20px rgba(0, 116, 224, 0.4);
}

.login-form .login-button:active {
    box-shadow: 0 2px 10px rgba(0, 116, 224, 0.3);
}

.login-form-footer {
    margin-top: 2rem;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.login-register-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0;
}

.login-register-link {
    color: var(--main-button);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.login-register-link:hover {
    color: #148eff;
    text-decoration: underline;
}

/* Styles pour la page WoE */
.woe-intro-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0 0 2rem 0;
    text-align: center;
}

.woe-content-section {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 2rem;
}

.woe-image-container {
    flex-shrink: 0;
}

.woe-image-container img {
    max-width: 100%;
    height: auto;
}

.woe-speech-bubble {
    flex: 1;
    position: relative;
}

.woe-speech-bubble-pointer-outer {
    position: absolute;
    left: -15px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
    pointer-events: none;
}

.woe-speech-bubble-pointer-inner {
    position: absolute;
    left: -14px;
    top: 21px;
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-right: 14px solid rgba(255, 255, 255, 0.03);
    z-index: 2;
}

.woe-speech-content {
    text-align: center;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.woe-speech-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0 0 1rem 0;
}

.woe-speech-signature {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-style: italic;
    margin: 0;
    text-align: center;
}

.woe-maps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.woe-map-item {
    width: 250px;
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.woe-map-item img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.woe-map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.woe-map-item:hover .woe-map-overlay {
    opacity: 1;
}

.woe-map-item:hover img {
    opacity: 0.7;
}

.woe-map-overlay-content {
    text-align: center;
    padding: 1rem;
    color: #ffffff;
}

.woe-map-overlay-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #ffffff;
}

.woe-map-overlay-content p {
    font-size: 0.9rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.info-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.info-card-icon {
    font-size: 2.5rem;
    color: #0074e0;
    margin-bottom: 1rem;
}

.info-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.info-card-text {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.stat-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
}

.stat-value {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0074e0;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Bootstrap Table - Style adapté au thème */
.table-responsive {
    margin-top: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(26, 26, 26, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 1200px;
}

.table {
    width: 100%;
    margin-bottom: 0;
    background-color: transparent;
    border-collapse: collapse;
}

.table thead th {
    background-color: rgba(0, 116, 224, 0.2);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem;
    text-align: left;
    border-bottom: 2px solid rgba(0, 116, 224, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table tbody td {
    color: rgba(255, 255, 255, 0.9) !important;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9375rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    vertical-align: middle;
    background-color: transparent !important;
    text-align: center !important;
}

.table tbody td:first-child {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    width: 40%;
}

.table tbody td:last-child {
    color: #ffffff;
    font-weight: 500;
}

.table-striped > tbody > tr:nth-of-type(odd) > td,
.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: rgba(26, 26, 26, 0.5) !important;
}

.table-striped > tbody > tr:nth-of-type(even) > td,
.table-striped > tbody > tr:nth-of-type(even) {
    background-color: rgba(30, 30, 30, 0.5) !important;
}

.table-striped > tbody > tr > td,
.table-striped > tbody > tr {
    background-color: transparent !important;
}

.table-striped > tbody > tr:hover > td,
.table-striped > tbody > tr:hover {
    background-color: rgba(0, 116, 224, 0.2) !important;
    transition: background-color 0.2s ease;
}

.table tbody tr {
    background-color: transparent !important;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* Table Bordered Dark Mode */
.table-bordered {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.table-bordered thead th {
    border-bottom: 2px solid rgba(255, 255, 255, 0.2) !important;
    background-color: rgba(0, 116, 224, 0.2) !important;
    color: #ffffff !important;
}

.table-bordered tbody td {
    background-color: rgba(26, 26, 26, 0.3) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.table-bordered tbody tr:hover td {
    background-color: rgba(0, 116, 224, 0.2) !important;
    transition: background-color 0.2s ease;
}

/* Tableau horaires WoE - colonnes de largeur égale */
.woe-schedule-table {
    table-layout: fixed;
    width: 100%;
}

.woe-schedule-table th,
.woe-schedule-table td {
    width: 33.33%;
}

/* Tableau compétences WoE */
.woe-skills-table {
    table-layout: fixed;
    width: 100%;
}

.woe-skills-table th,
.woe-skills-table td {
    width: 100%;
}

/* Tableau mécaniques WoE */
.woe-mechanics-table {
    table-layout: fixed;
    width: 100%;
}

.woe-mechanics-table th,
.woe-mechanics-table td {
    width: 100%;
}

/* Tableau gameplay WoE */
.woe-gameplay-table {
    table-layout: fixed;
    width: 100%;
}

.woe-gameplay-table th,
.woe-gameplay-table td {
    width: 100%;
}

/* Online Players Table Styles */
.online-players-table thead th {
    text-align: center !important;
}

.online-players-table .player-portrait {
    text-align: center;
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    padding: 0.5rem !important;
}

.online-players-table tbody td:first-child {
    width: auto !important;
}

.player-portrait-container {
    width: 48px;
    height: 48px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.player-portrait-container .player-portrait-img {
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
    image-rendering: pixelated;
    transform: translateY(-0.725em) translateX(0.11em);
    filter: drop-shadow(0 0 0.25rem #000000);
}

.player-portrait-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    image-rendering: pixelated;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
}

.no-portrait {
    color: rgba(255, 255, 255, 0.4);
}

.online-players-table .guild-emblem {
    text-align: center;
    width: 50px;
    min-width: 50px;
    max-width: 50px;
    padding: 0.5rem !important;
}

.guild-emblem-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    image-rendering: pixelated;
}

.no-emblem {
    color: rgba(255, 255, 255, 0.4);
}

.online-players-table tbody tr.player-autotrade {
    background-color: rgba(48, 0, 96, 0.5) !important; /* Violet sombre */
}

.online-players-table tbody tr.player-autotrade:hover {
    background-color: rgba(48, 0, 96, 0.6) !important; /* Violet sombre plus foncé au survol */
}

/* Features List */
.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 1200px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    margin-bottom: 0.5rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Roboto', sans-serif;
    font-size: 0.9375rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.feature-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.feature-item i {
    color: #0074e0;
    font-size: 1rem;
    flex-shrink: 0;
}

.feature-item span {
    flex: 1;
}

.feature-item.feature-hidden {
    display: none;
}

/* Commands Grid */
.commands-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
    justify-content: center;
    width: 100%;
    max-width: 1400px;
}

.command-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(0, 116, 224, 0.15);
    border: 1px solid rgba(0, 116, 224, 0.3);
    border-radius: 6px;
    color: #ffffff;
    font-family: 'Roboto', monospace;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: default;
    transition: all 0.2s ease;
}

.command-badge:hover {
    background-color: rgba(0, 116, 224, 0.25);
    border-color: rgba(0, 116, 224, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 116, 224, 0.2);
}


/* Hats Grid */
.hats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.hat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0.75rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.hat-icon:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 116, 224, 0.3);
    transform: translateY(-2px);
}

.hat-icon {
    cursor: pointer;
}

.hat-icon-img {
    width: 24px;
    height: 24px;
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.hat-icon.active {
    background-color: rgba(0, 116, 224, 0.2);
    border-color: rgba(0, 116, 224, 0.5);
}

/* Hat Quest Details */
.hat-quest-details {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    width: 100%;
    max-width: 800px;
}

.hat-quest-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hat-quest-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hat-quest-title img {
    width: 32px;
    height: 32px;
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.hat-quest-close {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #ffffff;
    font-size: 1rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hat-quest-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.hat-quest-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hat-quest-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.hat-quest-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    background-color: rgba(0, 116, 224, 0.2);
    border: 1px solid rgba(0, 116, 224, 0.4);
    border-radius: 50%;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
}

.hat-quest-step-content {
    flex: 1;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Roboto', sans-serif;
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1200px) {
    .page-content {
        max-width: 100%;
        padding: 2rem 1rem;
    }
    
    .info-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .table thead th,
    .table tbody td {
        padding: 0.75rem;
        font-size: 0.875rem;
    }
}

/* Custom Stepper Styles */
.custom-stepper {
    margin: 2rem 0;
    width: 100%;
}

.stepper-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    list-style: none;
    padding: 0;
    margin: 0 0 3rem 0;
    position: relative;
    width: 100%;
}

.stepper-steps::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: 0;
    right: 0;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 0;
    border-radius: 2px;
}

.stepper-steps::after {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: 0;
    right: 0;
    height: 3px;
    background-color: transparent;
    z-index: 0;
    border-radius: 2px;
    pointer-events: none;
}

.stepper-step:first-child::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: 0;
    width: calc(50% - 1.5rem);
    height: 3px;
    background-color: #1a1a1a;
    z-index: 1;
}

.stepper-step:last-child::after {
    content: '';
    position: absolute;
    top: 1.5rem;
    right: 0;
    width: calc(50% - 1.5rem);
    height: 3px;
    background-color: #1a1a1a;
    z-index: 1;
}

.stepper-step {
    flex: 1;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.stepper-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: #0074e0;
    transition: width 0.4s ease;
    z-index: 1;
    border-radius: 2px;
}

.stepper-step.complete:not(:last-child)::after {
    width: 100%;
    background-color: #28a745;
}

.stepper-step-button {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
}

.stepper-step-indicator {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    min-height: 3rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 3px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.stepper-step-button.active .stepper-step-indicator {
    background-color: #1a1a1a;
    border-color: #0074e0;
    color: #0074e0;
    box-shadow: 0 0 0 4px rgba(0, 116, 224, 0.1);
}

.stepper-step-button.complete .stepper-step-indicator {
    background-color: #1e7e34;
    border-color: #28a745;
    color: #ffffff;
    font-size: 0;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.4), 0 0 20px rgba(40, 167, 69, 0.2);
}

.stepper-step-button.complete .stepper-step-indicator::before {
    content: '✓';
    font-size: 1.25rem;
    font-weight: 700;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.stepper-step-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.stepper-step-button.active .stepper-step-label {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

.stepper-step-button.complete .stepper-step-label {
    color: rgba(255, 255, 255, 0.8);
}

.stepper-content {
    position: relative;
    min-height: 400px;
    width: 100%;
}

.stepper-pane {
    display: none;
    animation: stepperFadeIn 0.4s ease;
    width: 100%;
}

.stepper-pane.active.show {
    display: block;
}

.stepper-pane .info-section {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin: 0;
}

@keyframes stepperFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form styles for stepper */
.custom-stepper .form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.custom-stepper .form-control:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: #0074e0;
    color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 0.2rem rgba(0, 116, 224, 0.25);
    outline: none;
}

.custom-stepper .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.custom-stepper .form-control.is-valid {
    border-color: #28a745;
    background-color: rgba(40, 167, 69, 0.1);
}

.custom-stepper .form-control.is-invalid {
    border-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.1);
}

.custom-stepper .form-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.custom-stepper .form-check-input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
}

.custom-stepper .form-check-input:checked {
    background-color: #0074e0;
    border-color: #0074e0;
}

.custom-stepper .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 116, 224, 0.25);
}

.custom-stepper .form-check-label {
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    margin-left: 0.5rem;
}

.custom-stepper .valid-feedback,
.custom-stepper .invalid-feedback {
    display: none;
    margin-top: 0.25rem;
    font-size: 0.875rem;
}

.custom-stepper .form-control.is-valid ~ .valid-feedback,
.custom-stepper .was-validated .form-control:valid ~ .valid-feedback {
    display: block;
    color: #28a745;
}

.custom-stepper .form-control.is-invalid ~ .invalid-feedback,
.custom-stepper .was-validated .form-control:invalid ~ .invalid-feedback {
    display: block;
    color: #dc3545;
}

.custom-stepper .form-check-input.is-invalid ~ .invalid-feedback {
    display: block;
}

.custom-stepper .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
}

.custom-stepper .btn-primary {
    background-color: #0074e0;
    color: #ffffff;
}

.custom-stepper .btn-primary:hover {
    background-color: #148eff;
}

.custom-stepper .btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.custom-stepper .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.custom-stepper .btn-success {
    background-color: #28a745;
    color: #ffffff;
}

.custom-stepper .btn-success:hover {
    background-color: #218838;
}

/* Responsive */
@media (max-width: 768px) {
    .stepper-steps {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .stepper-steps::before {
        display: none;
    }
    
    .stepper-step {
        width: 100%;
        justify-content: flex-start;
    }
    
    .stepper-step-button {
        flex-direction: row;
        width: 100%;
        justify-content: flex-start;
    }
    
    .stepper-step:not(:last-child)::after {
        display: none;
    }
}

/* Style pour les messages d'alerte dans le stepper (forgot-password) */
#forgotPasswordMessage.alert,
#resetPasswordMessage.alert {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    padding: 1rem 1.5rem !important;
    text-align: center !important;
    white-space: normal !important;
    height: auto !important;
    min-height: clamp(40px, 4.86vh, 45px) !important;
    line-height: 1.5 !important;
    margin-bottom: 2rem !important;
}

#forgotPasswordMessage.alert i,
#resetPasswordMessage.alert i {
    flex-shrink: 0;
    font-size: 1.25rem;
    align-self: center;
}

#forgotPasswordMessage.alert::after,
#resetPasswordMessage.alert::after {
    content: '';
    display: none;
}

/* ============================================
   ADMIN SECTION STYLES
   ============================================ */

.admin-section {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

.admin-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.admin-nav-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    text-decoration: none;
}

.admin-nav-item.active {
    background-color: rgba(220, 53, 69, 0.2);
    border-color: rgba(220, 53, 69, 0.4);
    color: #ff6b7a;
}

.admin-nav-item i {
    font-size: 1rem;
}

.admin-content {
    margin-top: 2rem;
}

/* Admin Stats Grid */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.admin-stat-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.admin-stat-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.admin-stat-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 1.5rem;
    color: #0074e0;
}

.admin-stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
}

.admin-stat-content p {
    margin: 0.5rem 0 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Admin Table */
.admin-table-container {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
}

.admin-table-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-table-header h2 {
    margin: 0 0 0.5rem 0;
    color: #ffffff;
    font-size: 1.5rem;
}

.table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    color: rgba(255, 255, 255, 0.9);
}

.admin-table thead {
    background-color: rgba(255, 255, 255, 0.05);
}

.admin-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.admin-table .badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.admin-table .badge-admin {
    background-color: rgba(220, 53, 69, 0.2);
    color: #ff6b7a;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.admin-table .badge-user {
    background-color: rgba(0, 116, 224, 0.2);
    color: #4da6ff;
    border: 1px solid rgba(0, 116, 224, 0.3);
}

.admin-table .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* Admin Pagination */
.admin-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pagination-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Admin Settings */
.admin-settings-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.admin-settings-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
}

.admin-settings-card h3 {
    margin: 0 0 0.5rem 0;
    color: #ffffff;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-settings-card h3 i {
    color: #0074e0;
}

.admin-settings-card > p {
    margin: 0 0 1.5rem 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.admin-settings-form {
    margin-top: 1.5rem;
}

.admin-settings-form .form-group {
    margin-bottom: 1.5rem;
}

.admin-settings-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.admin-settings-form .form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #ffffff;
    width: 100%;
}

.admin-settings-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: #0074e0;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 116, 224, 0.1);
}

.admin-settings-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.admin-settings-form .form-check {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-settings-form .form-check-input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.admin-settings-form .form-check-label {
    margin: 0;
    cursor: pointer;
}

.admin-settings-form .form-text {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .admin-nav {
        flex-direction: column;
    }
    
    .admin-nav-item {
        width: 100%;
        justify-content: center;
    }
    
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-table-container {
        padding: 1rem;
    }
    
    .admin-table {
        font-size: 0.85rem;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .admin-settings-card {
        padding: 1.5rem;
    }
}
