/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f4f6f9;
    color: #222;
}

/* HEADER */
.header {
    background: white;
    border-bottom: 1px solid #eee;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.header nav a {
    margin-left: 25px;
    text-decoration: none;
    color: #555;
}

.header nav a.active {
    color: #007bff;
    font-weight: bold;
}

/* CONTAINER */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

/* BACK */
.back {
    display: inline-block;
    margin-bottom: 20px;
    color: #777;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
}

/* CARD */
.card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* TITRE */
h1 {
    margin-bottom: 10px;
}

.subtitle {
    color: #777;
    margin-bottom: 20px;
}

/* FORM */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* BUTTON */
.btn-primary {
    width: 100%;
    background: #ff7a00;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.btn-primary:hover {
    opacity: 0.9;
}

/* SIDEBAR */
.sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.sidebar p {
    margin-bottom: 10px;
}

hr {
    margin: 15px 0;
    border: none;
    border-top: 1px solid #eee;
}

textarea {
    resize: vertical;
}

/* petit texte d'aide */
.form-group small {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .grid {
        grid-template-columns: 1fr;
    }
}