@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #0b0b0b;
    color: #eaeaea;
}

/* ===== HEADER ===== */
header {
    background: linear-gradient(90deg, #0b0b0b, #151515);
    padding: 20px;
    border-bottom: 1px solid #222;
    text-align: center;
}

header img {
    height: 65px;
}

/* ===== SIDEBAR ===== */
.sidebar {
    width: 240px;
    height: 100vh;
    position: fixed;
    background: #111;
    padding-top: 30px;
    border-right: 1px solid #222;
}

.sidebar h3 {
    text-align: center;
    color: #ff9f1a;
    margin-bottom: 30px;
    font-weight: 600;
}

.sidebar a {
    display: block;
    padding: 14px 25px;
    color: #ccc;
    text-decoration: none;
    transition: 0.2s;
}

.sidebar a:hover {
    background: #ff9f1a;
    color: #000;
}

/* ===== CONTENT ===== */
.content {
    margin-left: 260px;
    padding: 30px;
}

/* ===== CARDS ===== */
.card {
    background: #151515;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

/* ===== TITRES ===== */
h1, h2, h3 {
    color: #ff9f1a;
    margin-top: 0;
}

/* ===== FORMULAIRES ===== */
/* Tableau centré et stylé */
.content table {
    margin: 20px auto; /* centre horizontalement */
    width: 90%; /* ajuste la largeur */
    max-width: 1000px;
    border-collapse: collapse;
    background: #151515;
    color: #fff;
    text-align: left;
}

.content th, .content td {
    padding: 12px;
    border-bottom: 1px solid #222;
}

.content tr:hover {
    background: #1f1f1f;
}

.content select, .content button {
    background: #0b0b0b;
    color: #fff;
    border: 1px solid #333;
    padding: 5px 8px;
    border-radius: 4px;
    cursor: pointer;
}

.content button:hover {
    background: #ff9f1a;
    color: #000;
}


/* ===== LIENS ===== */
a {
    color: #ff9f1a;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ===== STATUTS ===== */
.status-Acceptée {
    color: #00ff9c;
}

.status-Refusée {
    color: #ff4d4d;
}

.status-En {
    color: #ff9f1a;
}
/* ===== NAVBAR HORIZONTALE ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111;
    padding: 15px 40px;
    border-bottom: 1px solid #222;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .nav-logo img {
    height: 50px;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.navbar .nav-links li a {
    color: #fff;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: 0.2s;
    font-weight: 500;
}

.navbar .nav-links li a:hover {
    background: #ff9f1a;
    color: #000;
}

/* ===== ROLE ===== */

table {
    width: 100%;
    border-collapse: collapse;
    background: #151515;
    color: #fff;
}

th, td {
    padding: 12px;
    border-bottom: 1px solid #222;
    text-align: left;
}

tr:hover {
    background: #1f1f1f;
}

select, button {
    background: #0b0b0b;
    color: #fff;
    border: 1px solid #333;
    padding: 5px 8px;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background: #ff9f1a;
    color: #000;
}
/* ===== TABLE FORMATION ===== */
.content table {
    margin: 20px auto;
    width: 95%;
    max-width: 1200px;
    border-collapse: collapse;
    background: #151515;
    color: #fff;
    text-align: left;
}

.content th, .content td {
    padding: 12px;
    border-bottom: 1px solid #222;
}

.content tr:hover {
    background: #1f1f1f;
}

.content select, .content button {
    background: #0b0b0b;
    color: #fff;
    border: 1px solid #333;
    padding: 5px 8px;
    border-radius: 4px;
    cursor: pointer;
}

.content button:hover {
    background: #ff9f1a;
    color: #000;
}
