:root {
    /*--primary-color: #2563eb;*/
    --danger-color: #dc2626;
    --primary-color: #1b4332;   /* Vert forêt foncé */
    --secondary-color: #2d6a4f; /* Vert moyen */
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-color: #1e293b;
    --border-color: #e2e8f0;
}

/* Navbar Fixe BioForest */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    box-sizing: border-box;
    z-index: 1000;
}

.navbar .logo {
    font-size: 1rem;
    font-weight: 400;
    color: var(--bg-color); /* Vert thématique BioForest */
}

.navbar .nav-right ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.navbar .nav-right a {
    text-decoration: none;
    color: var(--bg-color);
    font-weight: 400;
    transition: color 0.2s;
}

/*.navbar .nav-right a:hover,
.navbar .nav-right a.active {
    color: #166534;
}*/


body {
    font-family: system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

h1 {
    margin-top: 100px;
    font-size: 1.8rem;
}

.btn {
    margin-top: 100px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}


.btn:hover {
    opacity: 0.9;
}

.btn-danger {
    background-color: var(--danger-color);
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
}

/* Tableau Responsive */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th, td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: #f1f5f9;
    font-weight: 600;
}

@media (max-width: 950px) {
 
  }

  
   

.reponses-list {
    margin-top: 0.5rem;
    padding-left: 1rem;
    border-left: 3px solid var(--primary-color);
    font-size: 0.9rem;
    background: #f8fafc;
    padding: 0.55rem;
    border-radius: 0 4px 4px 0;
}

.reponse-item {
    margin-bottom: 0.4rem;
}
.reponse-item:last-child {
    margin-bottom: 0;
}

.actions-cell {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Modales simples */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    padding: 1rem;
}
.modal.active {
    display: flex;
}
.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.form-group {
    margin-bottom: 1rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 500;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-sizing: border-box;
}