@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: #121212;
    color: #e0e0e0;
}

/* Menu latéral */
.sidebar {
    width: 200px;
    height: 100vh;
    background: #1f1f1f;
    position: fixed;
    top: 0;
    left: 0;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
}

.sidebar a {
    color: #e0e0e0;
    padding: 15px 20px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}

.sidebar a:hover {
    background: #333333;
    border-radius: 5px;
}

/* Contenu */
.main-content {
    margin-left: 220px;
    padding: 20px;
}

h1, h2 {
    margin-bottom: 20px;
}

.card {
    background: #1e1e1e;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    margin-bottom: 20px;
}

input, textarea {
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #555;
    background: #2c2c2c;
    color: #e0e0e0;
    font-size: 1em;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52,152,219,0.5);
}

button {
    background: #3498db;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #2980b9;
}

button.deleteBtn {
    background: #e74c3c;
    padding: 5px 10px;
    font-size: 0.9em;
}

button.deleteBtn:hover {
    background: #c0392b;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    border: 1px solid #555;
    padding: 10px;
    text-align: center;
}

th {
    background: #2c3e50;
    color: #e0e0e0;
}

tr:nth-child(even) {
    background: #2a2a2a;
}

tr:hover {
    background: #333;
}

.agentButton {
    width: 100%;
    text-align: left;
    background: #34495e;
    margin-bottom: 5px;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s;
}

.agentButton:hover {
    background: #3f5a7d;
}

.hidden { display: none; }
