.content_wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px 40px;
}

.card_custom {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-bottom: 40px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f7fafc;
    margin-bottom: 50px;
    padding-left: 40px
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 30px;
}

.table_custom {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #f7fafc;
    border-radius: 12px;
    overflow: hidden;
}

.table_custom thead {
    background: #e2e8f0;
}

.table_custom th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    color: #2d3748;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.table_custom td {
    padding: 16px 20px;
    border-top: 1px solid #e2e8f0;
    color: #4a5568;
    font-size: 1rem;
}

.table_custom tbody tr {
    transition: background-color 0.2s;
}

.table_custom tbody tr:hover {
    background: #edf2f7;
}

.form-section {
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
    border: 2px dashed #cbd5e0;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2d3748;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    background: white;
    color: #4a5568;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-modifier,
.btn-supprimer {
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    height: 2.2em;
    min-height: 2.2em;
}

.btn-modifier {
    background-color: #f4c067;
    margin-right: 5px;
    transition: all 0.3s;
}

.btn-modifier:hover {
    transform: translate(-1px, -1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);   
    border-color: #f0b93d;
    background-color: #ffa217;
    filter: saturate(1.15); 
}

.btn-supprimer {
    background-color: #ff6b6b; 
    transition: all 0.3s;
}

.btn-supprimer:hover {
    transform: translate(-1px, -1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    background-color: #ff1744;
    border-color: #f23b3b;
    filter: saturate(1.15);
}


.btn-actions {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.btn-primary-custom,
.btn-secondary-custom {
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn-primary-custom {
    background: #3b82f6;
}

.btn-primary-custom:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-secondary-custom {
    background: #6b7280;
}

.btn-secondary-custom:hover {
    background: #4b5563;
}

/* Media query pour mobile */
@media (max-width: 640px) {
    .table-custom td:last-child {
        flex-direction: column;
        
    }

    .btn-modifier,
    .btn-supprimer {
        width: 100%;
        display: block; 
        text-align: center; 
    }

    .btn-modifier {
        margin-bottom: 5px;
    }

    .btn-actions {
        flex-direction: column;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        width: 100%;
    }
}