/* Container Principal */
.amf-wrapper {
    max-width: 900px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    color: #333;
}

/* Barre de progression */
.amf-progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}
.step-indicator {
    color: #ccc;
    font-weight: bold;
    font-size: 0.9em;
}
.step-indicator.active {
    color: #0053b3;
    border-bottom: 3px solid #0053b3;
    margin-bottom: -13px;
    padding-bottom: 10px;
}

/* Titres */
.amf-section-title { font-size: 1.8em; margin-bottom: 20px; color: #000; }
.amf-sub-title { 
    font-size: 1.2em; 
    margin: 30px 0 15px 0; 
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd;
    color: #0053b3;
}

/* Grille de champs */
.amf-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.amf-field.full { grid-column: span 2; }
.amf-field label {
    display: block;
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 5px;
    color: #666;
}
.amf-field input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #f9f9f9;
}
.amf-field input:focus { border-color: #0053b3; outline: none; background: #fff; }

/* Horaires */
.amf-horaires-wrapper { overflow-x: auto; margin-top: 20px; }
.amf-horaires-table { width: 100%; border-collapse: collapse; background: #fdfdfd; }
.amf-horaires-table th { background: #eee; padding: 10px; font-size: 0.9em; }
.amf-horaires-table td { border: 1px solid #eee; padding: 10px; }
.day-label { font-weight: bold; width: 120px; }
.time-inputs { display: flex; align-items: center; gap: 5px; }
.time-inputs input { padding: 5px; border-radius: 4px; border: 1px solid #ccc; font-size: 0.9em; }

/* Boutons */
.amf-actions { margin-top: 40px; text-align: right; }
.amf-btn {
    padding: 12px 25px;
    border-radius: 4px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.amf-btn-primary { background: #0053b3; color: #fff; }
.amf-btn-primary:hover { background: #003d82; }

/* Responsive */
@media (max-width: 600px) {
    .amf-grid { grid-template-columns: 1fr; }
    .amf-field.full { grid-column: span 1; }
    .time-inputs { flex-direction: column; }
}