.actions-crud {
    max-width: 1400px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.04);
}

.crud-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.crud-header h2 {
    font-size: 2rem;
    color: #1e293b;
}

.btn.btn-primary {
    background: linear-gradient(90deg,#14b8a6,#fbbf24);
    color: #fff;
    padding: 10px 22px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}
.btn.btn-primary:hover {
    background: linear-gradient(90deg,#fbbf24,#14b8a6);
}

.actions-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fafafa;
    border-radius: 12px;
    overflow: hidden;
    font-size: 0.9rem;
}

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

.actions-table th {
    background: #f5f5f5;
    font-weight: bold;
    color: #0f172a;
    font-size: 0.85rem;
}

.actions-table tr:last-child td {
    border-bottom: none;
}

.actions a {
    margin-right: 10px;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.2s;
}
.actions .btn-edit {
    color: #14b8a6;
}
.actions .btn-edit:hover {
    color: #0d9488;
}
.actions .btn-delete {
    color: #ef4444;
}
.actions .btn-delete:hover {
    color: #b91c1c;
}

/* Statuts pour actions */
.status-planifiee { color: #007cba; font-weight: bold; }
.status-en_cours { color: #00a32a; font-weight: bold; }
.status-terminee { color: #666; font-weight: bold; }
.status-reportee { color: #f59e42; font-weight: bold; }
.status-annulee { color: #ef4444; font-weight: bold; }

.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #f9fafb;
    font-size: 1rem;
    transition: border 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #14b8a6;
}

.action-form button[type="submit"] {
    background: linear-gradient(90deg,#14b8a6,#fbbf24);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.action-form button[type="submit"]:hover {
    background: linear-gradient(90deg,#fbbf24,#14b8a6);
}

/* Responsive pour tableau actions avec plus de colonnes */
@media (max-width: 1200px) {
    .actions-table {
        font-size: 0.8rem;
    }
    .actions-table th,
    .actions-table td {
        padding: 8px 6px;
    }
}

@media (max-width: 768px) {
    .actions-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}