body {
    background: linear-gradient(135deg, #232946 0%, #16161a 100%);
    color: #f4f4f8;
    font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    letter-spacing: 0.01em;
}

main, .main {
    background: rgba(36, 41, 58, 0.95);
    border-radius: 18px;
    padding: 40px 36px 36px 36px;
    margin: 38px auto;
    max-width: 900px;
    box-shadow: 0 8px 40px 0 rgba(30, 41, 59, 0.18), 0 1.5px 6px 0 rgba(126,188,89,0.10);
    backdrop-filter: blur(2px);
    border: 1.5px solid #24263a;
}

header, nav {
    max-width: 900px;
    margin: 0 auto 24px auto;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

nav {
    background: rgba(36, 41, 58, 0.92);
    border-radius: 16px;
    margin-bottom: 32px;
    box-shadow: 0 2px 12px rgba(30,41,59,0.10);
    padding: 12px 36px;
    display: flex;
    gap: 18px;
    align-items: center;
}

nav a {
    color: #7ebc59;
    font-weight: 600;
    font-size: 1.06em;
    padding: 8px 18px;
    border-radius: 8px;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    text-decoration: none;
    letter-spacing: 0.04em;
    box-shadow: 0 1px 4px rgba(126,188,89,0.04);
}
nav a:hover, nav a.active {
    background: rgba(126,188,89,0.11);
    color: #fff;
    box-shadow: 0 2px 8px rgba(126,188,89,0.13);
}
    max-width: 900px;
    margin: 0 auto 10px auto;
    padding: 16px 24px 0 24px;
}

h1, h2, h3, h4 {
    color: #7ebc59;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

table {
    background: rgba(36, 41, 58, 0.98);
    border-radius: 14px;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    margin-bottom: 32px;
    box-shadow: 0 2px 14px rgba(76,174,230,0.07);
    overflow: hidden;
    font-size: 1.06em;
}
table th, table td {
    border-bottom: 1.5px solid #2e3b4e;
    padding: 16px 22px;
    text-align: left;
}
table th {
    background: rgba(36, 50, 76, 0.91);
    color: #7ebc59;
    font-weight: 700;
    letter-spacing: 0.04em;
}
table tr:last-child th, table tr:last-child td {
    border-bottom: none;
}
table td {
    color: #eaf5ff;
}
    background: #232f41;
    border-radius: 10px;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    margin-bottom: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow: hidden;
}
table th, table td {
    border-bottom: 1px solid #2e3b4e;
    padding: 13px 18px;
    text-align: left;
    font-size: 1.06em;
}
table th {
    background: #24324c;
    color: #7ebc59;
    font-weight: 700;
}
table tr:last-child th, table tr:last-child td {
    border-bottom: none;
}
table td {
    color: #f3f4f8;
}

form {
    margin: 18px 0 12px 0;
}
textarea, input[type="text"], input[type="password"], select {
    border-radius: 10px;
    border: 1.5px solid #2e3b4e;
    background: rgba(44, 54, 80, 0.91);
    color: #f4f4f8;
    padding: 13px;
    font-size: 1.08em;
    margin-bottom: 14px;
    width: 100%;
    box-sizing: border-box;
    transition: border 0.2s, box-shadow 0.18s;
    outline: none;
    box-shadow: 0 1.5px 8px rgba(76,174,230,0.08);
}
textarea:focus, input:focus, select:focus {
    border: 1.5px solid #7ebc59;
    box-shadow: 0 2px 8px rgba(126,188,89,0.09);
}
    border-radius: 7px;
    border: 1px solid #2e3b4e;
    background: #232f41;
    color: #f3f4f8;
    padding: 10px;
    font-size: 1.07em;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    transition: border 0.2s;
}
textarea:focus, input:focus, select:focus {
    border: 1.5px solid #7ebc59;
    outline: none;
}
button {
    background: linear-gradient(90deg,rgba(126,188,89,0.97) 65%,rgba(76,174,230,0.97) 100%);
    color: #161a23;
    border: none;
    border-radius: 12px;
    padding: 14px 36px;
    font-weight: 700;
    font-size: 1.08em;
    cursor: pointer;
    box-shadow: 0 3px 18px rgba(126,188,89,0.13), 0 1.5px 4px rgba(76,174,230,0.10);
    margin-top: 8px;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
    transition: background 0.18s, color 0.18s, transform 0.15s, box-shadow 0.18s;
    outline: none;
    border: 1.5px solid transparent;
}
button:hover, button:focus {
    background: linear-gradient(90deg,#5e9647 60%,#3080b3 100%);
    color: #fff;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 6px 24px rgba(76,174,230,0.13), 0 2px 8px rgba(126,188,89,0.17);
    border: 1.5px solid #7ebc59;
}
    background: linear-gradient(90deg,#7ebc59 60%,#4caee6 100%);
    color: #162233;
    border: none;
    border-radius: 7px;
    padding: 12px 34px;
    font-weight: bold;
    font-size: 1.08em;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(126,188,89,0.10);
    margin-top: 8px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    transition: background 0.18s, transform 0.15s;
}
button:hover {
    background: linear-gradient(90deg,#5e9647 60%,#3080b3 100%);
    transform: translateY(-1px) scale(1.03);
}

.ticket-initial, .ticket-message {
    border: none;
    background: rgba(44, 54, 80, 0.86);
    color: #eaf5ff;
    border-radius: 18px;
    margin: 22px 0 18px 0;
    padding: 26px 32px 22px 32px;
    box-shadow: 0 4px 24px rgba(76,174,230,0.09), 0 1.5px 6px rgba(126,188,89,0.10);
    font-size: 1.09em;
    position: relative;
    overflow: hidden;
}
.ticket-initial::before, .ticket-message::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 5px;
    background: linear-gradient(90deg, #7ebc59 0%, #4caee6 100%);
    border-radius: 18px 18px 0 0;
    opacity: 0.8;
}
    border: 1.5px solid #0074D9;
    background: linear-gradient(90deg, #eaf5ff 60%, #e7f7e6 100%);
    color: #1e2a3a;
    border-radius: 9px;
    margin: 18px 0 12px 0;
    padding: 18px 22px 14px 22px;
    box-shadow: 0 2px 16px rgba(0,116,217,0.07);
    font-size: 1.07em;
}

.ticket-reply {
    border: none;
    background: rgba(36, 41, 58, 0.92);
    color: #f3f4f8;
    border-radius: 14px;
    margin: 16px 0 12px 0;
    padding: 18px 26px 13px 26px;
    box-shadow: 0 2px 12px rgba(76,174,230,0.10);
    font-size: 1.04em;
}
    border: 1.5px solid #2e3b4e;
    background: #232f41;
    color: #f3f4f8;
    border-radius: 8px;
    margin: 12px 0 10px 0;
    padding: 15px 20px 10px 20px;
    box-shadow: 0 2px 10px rgba(36,50,76,0.09);
    font-size: 1.04em;
}

.status-ferme {
    display: inline-block;
    background: #b93a3a22;
    color: #b93a3a;
    font-weight: 700;
    border-radius: 8px;
    padding: 4px 14px;
    font-size: 1.01em;
    letter-spacing: 0.03em;
    margin-right: 6px;
}
    color: #b93a3a;
    font-weight: bold;
}
.status-ouvert {
    display: inline-block;
    background: #7ebc5922;
    color: #7ebc59;
    font-weight: 700;
    border-radius: 8px;
    padding: 4px 14px;
    font-size: 1.01em;
    letter-spacing: 0.03em;
    margin-right: 6px;
}
    color: #7ebc59;
    font-weight: bold;
}
.status-encours {
    display: inline-block;
    background: #e6c84c22;
    color: #e6c84c;
    font-weight: 700;
    border-radius: 8px;
    padding: 4px 14px;
    font-size: 1.01em;
    letter-spacing: 0.03em;
    margin-right: 6px;
}
    color: #e6c84c;
    font-weight: bold;
}
.status-resolu {
    display: inline-block;
    background: #4caee622;
    color: #4caee6;
    font-weight: 700;
    border-radius: 8px;
    padding: 4px 14px;
    font-size: 1.01em;
    letter-spacing: 0.03em;
    margin-right: 6px;
}
    color: #4caee6;
    font-weight: bold;
}

.accueil-logo {
    display: block;
    margin: 36px auto 18px auto;
    max-width: 320px;
    width: 100%;
}

.btn-discord {
    display: inline-block;
    background: linear-gradient(90deg, #5865F2 60%, #4caee6 100%);
    color: #fff;
    font-size: 1.18em;
    font-weight: bold;
    padding: 13px 36px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(88,101,242,0.14);
    margin-top: 18px;
    transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
    border: none;
}
.btn-discord:hover {
    background: #404eed;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 18px rgba(76,174,230,0.13);
}
    display: inline-block;
    background: #5865F2;
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    padding: 13px 36px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(88,101,242,0.12);
    margin-top: 18px;
    transition: background 0.2s, transform 0.2s;
}
.btn-discord:hover {
    background: #404eed;
    transform: translateY(-2px) scale(1.03);
}

small {
    color: #6d7b98;
    font-size: 0.98em;
    margin-top: 8px;
    display: inline-block;
    letter-spacing: 0.2px;
}

p, .ticket-initial, .ticket-message, .ticket-reply {
    border: none;
    background: rgba(36, 41, 58, 0.92);
    color: #f3f4f8;
    border-radius: 14px;
    margin: 16px 0 12px 0;
    padding: 18px 26px 13px 26px;
    box-shadow: 0 2px 12px rgba(76,174,230,0.10);
    font-size: 1.04em;
}
    line-height: 1.6;
}

/* Espacement général */
.ticket-initial strong, .ticket-message strong, .ticket-reply strong {
    display: block;
    margin-bottom: 7px;
}

.ticket-initial br, .ticket-message br, .ticket-reply br {
    margin-bottom: 6px;
}

/* Correction contraste blanc éclatant */
.ticket-initial, .ticket-message {
    border: none;
    background: rgba(44, 54, 80, 0.86);
    color: #eaf5ff;
    border-radius: 18px;
    margin: 22px 0 18px 0;
    padding: 26px 32px 22px 32px;
    box-shadow: 0 4px 24px rgba(76,174,230,0.09), 0 1.5px 6px rgba(126,188,89,0.10);
    font-size: 1.09em;
    position: relative;
    overflow: hidden;
}
.ticket-initial::before, .ticket-message::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 5px;
    background: linear-gradient(90deg, #7ebc59 0%, #4caee6 100%);
    border-radius: 18px 18px 0 0;
    opacity: 0.8;
}
    background: linear-gradient(90deg, #eaf5ff 60%, #e7f7e6 100%);
    color: #1e2a3a;
}

/* Responsive */
@media (max-width: 700px) {
    main, .main, header, nav {
    max-width: 900px;
    margin: 0 auto 24px auto;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

nav {
    background: rgba(36, 41, 58, 0.92);
    border-radius: 16px;
    margin-bottom: 32px;
    box-shadow: 0 2px 12px rgba(30,41,59,0.10);
    padding: 12px 36px;
    display: flex;
    gap: 18px;
    align-items: center;
}

nav a {
    color: #7ebc59;
    font-weight: 600;
    font-size: 1.06em;
    padding: 8px 18px;
    border-radius: 8px;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    text-decoration: none;
    letter-spacing: 0.04em;
    box-shadow: 0 1px 4px rgba(126,188,89,0.04);
}
nav a:hover, nav a.active {
    background: rgba(126,188,89,0.11);
    color: #fff;
    box-shadow: 0 2px 8px rgba(126,188,89,0.13);
}
        max-width: 98vw;
        padding: 8px;
    }
    table th, table td {
        padding: 8px 6px;
        font-size: 0.97em;
    }
    .ticket-initial, .ticket-message, .ticket-reply {
    border: none;
    background: rgba(36, 41, 58, 0.92);
    color: #f3f4f8;
    border-radius: 14px;
    margin: 16px 0 12px 0;
    padding: 18px 26px 13px 26px;
    box-shadow: 0 2px 12px rgba(76,174,230,0.10);
    font-size: 1.04em;
}
        padding: 10px 7px 8px 7px;
    }
    button, .btn-discord {
    display: inline-block;
    background: linear-gradient(90deg, #5865F2 60%, #4caee6 100%);
    color: #fff;
    font-size: 1.18em;
    font-weight: bold;
    padding: 13px 36px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(88,101,242,0.14);
    margin-top: 18px;
    transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
    border: none;
}
.btn-discord:hover {
    background: #404eed;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 18px rgba(76,174,230,0.13);
}
        padding: 11px 12px;
        font-size: 1em;
    }
}


header, nav, main, footer {
    margin: 0 auto;
    max-width: 900px;
    padding: 20px;
}

header h1 {
    font-size: 2.2em;
    color: #7ebc59;
    margin: 0 0 10px 0;
}

a {
    color: #7ebc59;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: #fff;
    text-decoration: underline;
}

nav {
    background: #1e2a3a;
    border-radius: 8px;
    margin-bottom: 20px;
}

nav a {
    margin-right: 18px;
    font-weight: bold;
    color: #7ebc59;
}

main {
    background: #1e2a3a;
    border-radius: 8px;
    padding: 24px;
    min-height: 350px;
}

h1, h2, h3, h4 {
    color: #7ebc59;
    font-weight: 700;
}

table {
    background: rgba(36, 41, 58, 0.98);
    border-radius: 14px;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    margin-bottom: 32px;
    box-shadow: 0 2px 14px rgba(76,174,230,0.07);
    overflow: hidden;
    font-size: 1.06em;
}
table th, table td {
    border-bottom: 1.5px solid #2e3b4e;
    padding: 16px 22px;
    text-align: left;
}
table th {
    background: rgba(36, 50, 76, 0.91);
    color: #7ebc59;
    font-weight: 700;
    letter-spacing: 0.04em;
}
table tr:last-child th, table tr:last-child td {
    border-bottom: none;
}
table td {
    color: #eaf5ff;
}
    background: #232f41;
    border-radius: 8px;
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 20px;
}
table th, table td {
    border: 1px solid #2e3b4e;
    padding: 9px 14px;
    text-align: left;
}
table th {
    background: #24324c;
    color: #7ebc59;
}
table td {
    color: #f3f4f8;
}

form {
    margin: 18px 0;
}
textarea, input[type="text"], input[type="password"], select {
    border-radius: 10px;
    border: 1.5px solid #2e3b4e;
    background: rgba(44, 54, 80, 0.91);
    color: #f4f4f8;
    padding: 13px;
    font-size: 1.08em;
    margin-bottom: 14px;
    width: 100%;
    box-sizing: border-box;
    transition: border 0.2s, box-shadow 0.18s;
    outline: none;
    box-shadow: 0 1.5px 8px rgba(76,174,230,0.08);
}
textarea:focus, input:focus, select:focus {
    border: 1.5px solid #7ebc59;
    box-shadow: 0 2px 8px rgba(126,188,89,0.09);
}
    border-radius: 5px;
    border: 1px solid #2e3b4e;
    background: #232f41;
    color: #f3f4f8;
    padding: 8px;
    font-size: 1em;
}
button {
    background: linear-gradient(90deg,rgba(126,188,89,0.97) 65%,rgba(76,174,230,0.97) 100%);
    color: #161a23;
    border: none;
    border-radius: 12px;
    padding: 14px 36px;
    font-weight: 700;
    font-size: 1.08em;
    cursor: pointer;
    box-shadow: 0 3px 18px rgba(126,188,89,0.13), 0 1.5px 4px rgba(76,174,230,0.10);
    margin-top: 8px;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
    transition: background 0.18s, color 0.18s, transform 0.15s, box-shadow 0.18s;
    outline: none;
    border: 1.5px solid transparent;
}
button:hover, button:focus {
    background: linear-gradient(90deg,#5e9647 60%,#3080b3 100%);
    color: #fff;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 6px 24px rgba(76,174,230,0.13), 0 2px 8px rgba(126,188,89,0.17);
    border: 1.5px solid #7ebc59;
}
    background: #7ebc59;
    color: #162233;
    border: none;
    border-radius: 5px;
    padding: 8px 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
button:hover {
    background: #5e9647;
}

/* Blocs messages */
.ticket-initial, .ticket-message {
    border: none;
    background: rgba(44, 54, 80, 0.86);
    color: #eaf5ff;
    border-radius: 18px;
    margin: 22px 0 18px 0;
    padding: 26px 32px 22px 32px;
    box-shadow: 0 4px 24px rgba(76,174,230,0.09), 0 1.5px 6px rgba(126,188,89,0.10);
    font-size: 1.09em;
    position: relative;
    overflow: hidden;
}
.ticket-initial::before, .ticket-message::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 5px;
    background: linear-gradient(90deg, #7ebc59 0%, #4caee6 100%);
    border-radius: 18px 18px 0 0;
    opacity: 0.8;
}
    border: 1px solid #0074D9;
    background: #f7faff;
    color: #1e2a3a;
    border-radius: 6px;
    margin: 12px 0;
    padding: 12px;
}

.ticket-reply {
    border: none;
    background: rgba(36, 41, 58, 0.92);
    color: #f3f4f8;
    border-radius: 14px;
    margin: 16px 0 12px 0;
    padding: 18px 26px 13px 26px;
    box-shadow: 0 2px 12px rgba(76,174,230,0.10);
    font-size: 1.04em;
}
    border: 1px solid #ccc;
    background: #232f41;
    color: #f3f4f8;
    border-radius: 6px;
    margin: 10px 0;
    padding: 10px;
}

.status-ferme {
    display: inline-block;
    background: #b93a3a22;
    color: #b93a3a;
    font-weight: 700;
    border-radius: 8px;
    padding: 4px 14px;
    font-size: 1.01em;
    letter-spacing: 0.03em;
    margin-right: 6px;
}
    color: #b93a3a;
    font-weight: bold;
}

.status-ouvert {
    display: inline-block;
    background: #7ebc5922;
    color: #7ebc59;
    font-weight: 700;
    border-radius: 8px;
    padding: 4px 14px;
    font-size: 1.01em;
    letter-spacing: 0.03em;
    margin-right: 6px;
}
    color: #7ebc59;
    font-weight: bold;
}

.status-encours {
    display: inline-block;
    background: #e6c84c22;
    color: #e6c84c;
    font-weight: 700;
    border-radius: 8px;
    padding: 4px 14px;
    font-size: 1.01em;
    letter-spacing: 0.03em;
    margin-right: 6px;
}
    color: #e6c84c;
    font-weight: bold;
}

.status-resolu {
    display: inline-block;
    background: #4caee622;
    color: #4caee6;
    font-weight: 700;
    border-radius: 8px;
    padding: 4px 14px;
    font-size: 1.01em;
    letter-spacing: 0.03em;
    margin-right: 6px;
}
    color: #4caee6;
    font-weight: bold;
}

/* Image accueil */
.accueil-logo {
    display: block;
    margin: 36px auto 18px auto;
    max-width: 320px;
    width: 100%;
}
