
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    cursor: default !important;
    user-select: none !important; /* Empêche la sélection de texte */
}

/* --- Zones de saisie --- */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    cursor: text !important;      /* Curseur d’écriture */
    user-select: text !important; /* Permet de sélectionner le texte */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 0;
    padding-top: 80px;
}

.taskbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.taskbar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.taskbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #667eea;
}

.taskbar-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.taskbar-btn {
    padding: 10px 25px;
    border: 2px solid #667eea;
    background: transparent;
    color: #667eea;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.taskbar-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.taskbar-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.modal-overlay.show {
    opacity: 1;
}

.modal {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.show .modal {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.modal-header h2 {
    color: #333;
    font-size: 24px;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.taskbar-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.taskbar-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.taskbar-username {
    font-weight: 600;
    color: #333;
}

.container {
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
    padding: 20px;
}

.beta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
}

h1 {
    font-size: 48px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 18px;
    opacity: 0.9;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.card h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.captcha-container {
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.captcha-question {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.captcha-input {
    width: 100px !important;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

.btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn:active {
    transform: translateY(0);
}

.btn-secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.error {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.success {
    background: #efe;
    border: 1px solid #cfc;
    color: #3c3;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.password-strength {
    height: 5px;
    border-radius: 5px;
    margin-top: 8px;
    transition: all 0.3s;
}

.strength-weak { background: #f44336; width: 33%; }
.strength-medium { background: #ff9800; width: 66%; }
.strength-strong { background: #4caf50; width: 100%; }

.info-text {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.panel {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.panel-header h2 {
    color: #333;
    font-size: 28px;
}

.user-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.user-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.user-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.user-detail {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.user-detail strong {
    display: block;
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 5px;
}

.panel-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.download-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    margin-bottom: 30px;
}

.download-section h2 {
    color: #333;
    font-size: 28px;
    margin-bottom: 15px;
}

.download-section p {
    color: #666;
    margin-bottom: 25px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 20px 40px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(76, 175, 80, 0.4);
}

.changelog-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.changelog-section h2 {
    color: #333;
    font-size: 28px;
    margin-bottom: 25px;
    text-align: center;
}

.changelog-item {
    border-left: 4px solid #667eea;
    padding: 20px;
    margin-bottom: 20px;
    background: #f9f9f9;
    border-radius: 0 10px 10px 0;
    transition: transform 0.2s;
}

.changelog-item:hover {
    transform: translateX(5px);
}

.changelog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.changelog-version {
    font-size: 20px;
    font-weight: bold;
    color: #667eea;
}

.changelog-date {
    color: #999;
    font-size: 14px;
}

.changelog-type {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    margin-right: 8px;
    margin-bottom: 8px;
}

.type-new {
    background: #e3f2fd;
    color: #1976d2;
}

.type-fix {
    background: #fff3e0;
    color: #f57c00;
}

.type-improve {
    background: #e8f5e9;
    color: #388e3c;
}

.changelog-content {
    color: #555;
    line-height: 1.6;
}

.changelog-content ul {
    margin-top: 10px;
    padding-left: 20px;
}

.changelog-content li {
    margin-bottom: 5px;
}

.hidden {
    display: none;
}

/* --- Section Actualité --- */
.news-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
}

.news-section h2 {
    font-size: 28px;
    color: #333;
    text-align: center;
    margin-bottom: 25px;
}

/* News item */
.news-item {
    border-left: 4px solid #667eea;
    padding: 20px;
    margin-bottom: 20px;
    background: #f9f9f9;
    border-radius: 0 10px 10px 0;
    transition: transform 0.2s;
}

.news-item:hover {
    transform: translateX(5px);
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.news-title {
    font-size: 20px;
    font-weight: bold;
    color: #667eea;
}

.news-date {
    font-size: 14px;
    color: #999;
}

/* Badges */
.news-type {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    margin-right: 8px;
    margin-bottom: 8px;
}

.news-new {
    background: #e8f5e9;
    color: #388e3c;
}

.news-fix {
    background: #fff3e0;
    color: #f57c00;
}

.news-improve {
    background: #e3f2fd;
    color: #1976d2;
}

.news-content {
    color: #555;
    line-height: 1.6;
}

.news-content ul {
    margin-top: 10px;
    padding-left: 20px;
}

.news-content li {
    margin-bottom: 5px;
}


@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 32px;
    }

    .user-details {
        grid-template-columns: 1fr;
    }

    .panel-actions {
        grid-template-columns: 1fr;
    }

    .taskbar-content {
        flex-direction: column;
        gap: 15px;
    }

    .taskbar-nav {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .taskbar-btn {
        width: 100%;
    }

    body {
        padding-top: 180px;
    }
}

.character-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    user-select: none;      /* Empêche la sélection du texte */
    cursor: default;        /* Curseur normal, pas de saisie */
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.character-table th, .character-table td {
    padding: 15px 20px;
    text-align: left;
}

.character-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
}

.character-table tr:nth-child(even) {
    background-color: #f7f7f7;
}

.character-table tr:nth-child(odd) {
    background-color: #ffffff;
}

.character-table tr:hover {
    background-color: #e0f0ff;
}

.character-table td {
    color: #333;
    font-size: 14px;
}

.character-table td strong {
    color: #667eea;
}

.notifications-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification {
    background: rgba(32, 34, 37, 0.95);
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    min-width: 250px;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.success { border-left: 5px solid #43b581; }
.notification.error   { border-left: 5px solid #f04747; }
.notification.info    { border-left: 5px solid #faa61a; }

.notification .close-btn {
    cursor: pointer;
    margin-left: 15px;
    font-weight: bold;
    color: #ccc;
    font-size: 18px;
    transition: color 0.2s;
}

.notification .close-btn:hover {
    color: #fff;
}

.stats-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    text-align: center;
    margin-bottom: 30px;
}

.stats-section h2 {
    color: #333;
    font-size: 28px;
    margin-bottom: 25px;
}

.stats-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    min-width: 150px;
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card span {
    font-size: 36px;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 16px;
    opacity: 0.9;
}

/* Menu déroulant taskbar */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #1d1d1d;
    min-width: 180px;
    border-radius: 5px;
    box-shadow: 0px 3px 8px rgba(0,0,0,0.4);
    z-index: 999;
}

.dropdown-content a {
    display: block;
    padding: 10px;
    color: white;
    text-decoration: none;
}

.dropdown-content a:hover {
    background: #333;
}

.dropdown.show .dropdown-content {
    display: block;
}

.footer {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin: 40px auto 20px auto;
    max-width: 1200px;
    text-align: center;
    color: #555;
    font-size: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.footer-content p {
    margin-bottom: 10px;
    font-weight: 600;
}

.footer-links {
    margin-top: 5px;
}

.footer-links a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.footer-links a:hover {
    color: #764ba2;
}

.footer-separator {
    margin: 0 8px;
    color: #999;
}
