* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f6f9;
    color: #1f2937;
}

.app {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: #111827;
    color: white;
    padding: 20px;
}

.logo {
    text-align: left;
}

.logo .user-info {
    margin-top: 22px;
    text-align: left;
    font-size: 22px;
    font-weight: gras;
    color: #9ca3af;
    line-height: 1.3;
}

.logo .user-info span {
    display: block;
}

.menu a {
    display: block;
    color: #d1d5db;
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 6px;
}

.menu a:hover,
.menu a.active {
    background: #2563eb;
    color: white;
}

.separator {
    height: 1px;
    background: #374151;
    margin: 18px 0;
}

.logout {
    background: #7f1d1d;
    color: white !important;
}

.main {
    flex: 1;
}

.topbar {
    height: 75px;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar h1 {
    margin: 0;
    font-size: 24px;
}

.user-info {
    text-align: right;
    font-weight: bold;
}

.user-info span {
    display: block;
    font-size: 13px;
    color: #6b7280;
    font-weight: normal;
}

.content {
    padding: 30px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table th,
.table td {
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

.table th {
    background: #f9fafb;
    font-weight: bold;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1a2b26;
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    border: none;
    cursor: pointer;
    line-height: 1.2;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
    transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.btn:hover {
    background: #0e1815;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.btn:focus-visible {
    outline: 2px solid #bf953f;
    outline-offset: 2px;
}

.btn:disabled,
.btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-danger {
    background: #b91c1c;
}

.btn-danger:hover {
    background: #8f1414;
}

.btn-secondary {
    background: #fff;
    color: #1a2b26;
    border: 1px solid #d7dbe0;
    box-shadow: none;
}

.btn-secondary:hover {
    background: #f4f6f8;
    box-shadow: none;
}

.menu-title {
    font-size: 22px;
    margin: 22px 0 12px;
    color: #fff;
    font-weight: 700;
}

.titre-page {
    margin-bottom: 15px;
}

.titre-page h2 {
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.titre-page small {
    display: block;
    margin-top: 2px;
    color: #666;
    font-size: 13px;
}

.card .titre-page {
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
}

.card .titre-page h2 {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.1 !important;
}

.card .titre-page small {
    display: block !important;
    margin: 3px 0 0 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    color: #666;
    font-size: 13px;
}