/* Styles personnalisés pour EasyAdmin */

.form-select .ts-dropdown-content {
    overflow: auto;
}

/* Aligner les libellés à gauche sur la page de détail */
.ea-detail .field-group .field-label {
    text-align: left !important;
    width: 150px;
    min-width: 150px;
    flex-shrink: 0;
}

.ea-detail .field-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

/* Titre de la page */
.ea-detail .content-header,
.ea-index .content-header,
.ea-edit .content-header,
.ea-new .content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    margin: 2rem -1.5rem 2rem -1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 8px;
}

.ea-detail .content-header h1,
.ea-index .content-header h1,
.ea-edit .content-header h1,
.ea-new .content-header h1 {
    color: #343a40;
    font-weight: 400;
    font-size: 1.8rem;
    margin: 0;
    padding: 0;
    border: none;
}

.ea-detail .content-header .global-actions,
.ea-index .content-header .global-actions,
.ea-edit .content-header .global-actions,
.ea-new .content-header .global-actions {
    margin: 0;
}

.ea-detail .content-header .global-actions .btn,
.ea-index .content-header .global-actions .btn,
.ea-edit .content-header .global-actions .btn,
.ea-new .content-header .global-actions .btn {
    margin-left: 0.5rem;
}

/* Styles généraux pour les badges */
.badge {
    text-decoration: none !important;
}

.badge:hover {
    opacity: 0.8;
}
