/* ===== RESET LÉGER ===== */
body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: #f4f6f8;
    color: #1f2937;
}

/* ===== PAGE ===== */
.page {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

/* =========================
   HEADER
========================= */

.topbar {
    background: #1f2933;
    color: #fff;
}

.topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo span {
    font-weight: 300;
    margin-left: 6px;
    color: #9ca3af;
}

.nav a {
    margin-left: 20px;
    color: #e5e7eb;
    font-size: 14px;
	text-decoration: none;
}

.nav a.logout {
    color: #fca5a5;
}


/* ===== ACTIONS ===== */
.page-actions a,
.page-actions button {
    background: #2563eb;
    color: white;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

.page-actions a:hover,
.page-actions button:hover {
    background: #1d4ed8;
}

/* ===== CARTE ===== */
.card {
    background: white;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

/* ===== TABLE ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th {
    text-align: left;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #6b7280;
    padding: 12px 10px;
    border-bottom: 1px solid #e5e7eb;
}

td {
    padding: 14px 10px;
    border-bottom: 1px solid #f1f5f9;
}

tr:hover td {
    background: #f9fafb;
}

/* ===== LIENS ACTION ===== */
.action-link {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
}

.action-link:hover {
    text-decoration: underline;
}

/* ===== FORM ===== */
form label {
    font-weight: 500;
}

input, select {
    width: 95%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    margin-top: 6px;
}

input:disabled {
    background: #f3f4f6;
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    color: #6b7280;
    font-size: 13px;
    margin: 40px 0;
}
