/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* GLOBAL */
body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #0d1117;
    color: #c9d1d9;
    font-size: 15px;
    line-height: 1.6;
}

a {
    color: #58a6ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
}

/* HEADER */
.header {
    background-color: #161b22;
    border-bottom: 1px solid #30363d;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    font-size: 22px;
    color: #58a6ff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.discord-btn {
    background-color: #238636;
    padding: 8px 16px;
    color: white;
    font-weight: bold;
    border: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
}

.discord-btn.logout {
    background-color: #da3633;
    margin-left: 10px;
}

.discord-btn:hover {
    filter: brightness(1.1);
}

/* TABLE */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    background-color: #161b22;
    border: 1px solid #30363d;
}

th, td {
    padding: 14px;
    border-bottom: 1px solid #21262d;
    text-align: center;
}

th {
    background-color: #0d1117;
    color: #8b949e;
    text-transform: uppercase;
    font-size: 13px;
}

tr:hover {
    background-color: #21262d;
}

/* STATUS LABELS */
.status {
    padding: 6px 12px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
}

.status.accepté {
    color: #3fb950;
}

.status.en-attente {
    color: #d29922;
}

.status.refusé {
    color: #f85149;
}

/* DETAILS SECTION */
p {
    margin-bottom: 10px;
}

pre {
    background-color: #0d1117;
    border: 1px solid #30363d;
    padding: 10px;
    white-space: pre-wrap;
    word-break: break-word;
    color: #d1d5da;
}

/* BUTTONS */
.button {
    background-color: #58a6ff;
    color: white;
    border: none;
    padding: 10px 20px;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    margin-right: 15px;
    transition: background 0.3s ease;
}

.button.accept {
    background-color: #3fb950;
}

.button.refuse {
    background-color: #f85149;
}

.button:hover {
    filter: brightness(1.1);
}
