        .box {
            max-width: 400px;
            margin: auto;
            background: white;
            padding: 25px;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0,0,0,0.15);
        }

        input[type="password"] {
            width: 100%;
            padding: 10px;
            margin: 10px 0;
            box-sizing: border-box;
        }

        button {
            padding: 10px 20px;
            cursor: pointer;
        }

        .erreur {
            color: red;
        }

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.page-header h1 {
    margin: 0;
}

.panel {
    background: #fff;
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    margin-bottom: 20px;
}

.alert {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert.success {
    background: #d1e7dd;
    color: #0f5132;
}

.alert.error {
    background: #f8d7da;
    color: #842029;
}

.btn {
    display: inline-block;
    text-decoration: none;
    border: 0;
    border-radius: 6px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.2;
}

.btn-primary {
    background: #0d6efd;
    color: #fff;
}

.btn-secondary {
    background: #6c757d;
    color: #fff;
}

.btn-success {
    background: #198754;
    color: #fff;
}

.btn-warning {
    background: #fd7e14;
    color: #fff;
}

.btn-danger {
    background: #dc3545;
    color: #fff;
}

.search-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.search-form input[type="text"] {
    width: 350px;
    max-width: 100%;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

th, td {
    padding: 10px 12px;
    border-bottom: 1px solid #e6e6e6;
    text-align: left;
    vertical-align: top;
    font-size: 14px;
}

th {
    background: #f0f2f5;
}

.small-text {
    margin-top: 6px;
    font-size: 12px;
    color: #000;
}

.icon-action {
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.icon-action:hover {
    transform: scale(1.2);
    opacity: 0.8;
}

.action-group a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #f5f5f5;
    margin-right: 6px;
    transition: background 0.2s;
}

.action-group a:hover {
    background: #e0e0e0;
}
.main-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 15px;
}

.form-row.full {
    grid-column: 1 / -1;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
}

input[type="text"],
input[type="number"],
input[type="file"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #cfd6dd;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 30px;
}

.checkbox-row label {
    margin: 0;
    font-weight: normal;
}

.form-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.current-file {
    margin-top: 10px;
    font-size: 14px;
}

.audio-player {
    margin-top: 8px;
    width: 220px;
    max-width: 100%;
}

mark {
    background: #ff5050;
    color: #fff;
    padding: 0 2px;
    border-radius: 2px;
}

.audio-player-form {
    display: block;
}


@media (max-width: 900px) {
    .main-form .form-grid {
        grid-template-columns: 1fr;
    }

    .checkbox-row {
        padding-top: 0;
    }
}