/* ══════════════════════════════════════════════
   Espace Pro — CSS
   ══════════════════════════════════════════════ */

/* ── HERO ── */
.ep-hero {
    background: var(--bleu);
    padding: 2.5rem 2.5rem 2rem;
    text-align: left;
}
.ep-nom-hero {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--dore);
    margin-bottom: 0.4rem;
}
.ep-hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ocre);
    margin-bottom: 0.9rem;
}
.ep-hero h1 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: normal;
    color: var(--blanc);
    line-height: 1.3;
    margin: 0;
}




.espace-pro-layout {
    padding: 0;
}

/* ── Navigation horizontale ── */
.ep-nav {
    display: flex;
    gap: 4px;
    padding: 20px 24px 0;
    border-bottom: 1px solid #d4ecea;
    flex-wrap: wrap;
}

.ep-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 13px;
    color: #5a8a87;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.ep-nav-item:hover {
    color: #1e3a38;
}

.ep-nav-item.active {
    color: #41C4BC;
    border-bottom-color: #41C4BC;
    font-weight: 500;
}

.ep-nav-item svg {
    flex-shrink: 0;
}

/* ── Contenu ── */
.ep-content {
    padding: 24px;
    padding-bottom: 200px;
}

/* ── Header section ── */
.ep-header {
    margin-bottom: 24px;
}

.ep-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e3a38;
    margin-bottom: 4px;
}

.ep-subtitle {
    font-size: 13px;
    color: #5a8a87;
}

/* ── Alertes ── */
.ep-alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 20px;
}

.ep-alert-success {
    background: #e1f5ee;
    color: #0f6e56;
    border: 1px solid #9fe1cb;
}

.ep-alert-error {
    background: #fce8e8;
    color: #a32d2d;
    border: 1px solid #f09595;
}

/* ── Grid 2 colonnes ── */
.ep-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 900px) {
    .ep-grid { grid-template-columns: 1fr; }
}

/* ── Cards ── */
.ep-card {
    background: #fff;
    border: 1px solid #d4ecea;
    border-radius: 12px;
    padding: 20px;
}

.ep-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e3a38;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ep-count {
    background: #e1f5ee;
    color: #0f6e56;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 500;
}

/* ── Formulaire ── */
.ep-form-group {
    margin-bottom: 14px;
}

.ep-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #1e3a38;
    margin-bottom: 6px;
}

.ep-required {
    color: #e05a5a;
}

.ep-hint {
    font-weight: 400;
    color: #5a8a87;
    font-size: 11px;
}

.ep-input {
    width: 100%;
    padding: 9px 12px;
    font-size: 13px;
    border: 1px solid #d4ecea;
    border-radius: 8px;
    color: #1e3a38;
    background: #f5f9f9;
    transition: border-color 0.15s;
}

.ep-input:focus {
    outline: none;
    border-color: #41C4BC;
    background: #fff;
}

/* ── Boutons ── */
.ep-btn {
    padding: 9px 18px;
    font-size: 13px;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    font-weight: 500;
    transition: background 0.15s;
}

.ep-btn-primary {
    background: #41C4BC;
    color: #fff;
}

.ep-btn-primary:hover {
    background: #2ea39c;
}

.ep-btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    transition: background 0.15s;
}

.ep-btn-danger {
    color: #e05a5a;
}

.ep-btn-danger:hover {
    background: #fce8e8;
}

/* ── Liste catégories ── */
.ep-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ep-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f5f9f9;
    border: 1px solid #e8f4f3;
}

.ep-list-item:hover {
    background: #edf7f6;
}

.ep-list-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ep-list-name {
    font-size: 13px;
    font-weight: 500;
    color: #1e3a38;
}

.ep-list-slug {
    font-size: 11px;
    color: #5a8a87;
    font-family: monospace;
}

.ep-empty {
    font-size: 13px;
    color: #5a8a87;
    text-align: center;
    padding: 20px 0;
}

/* ── Checkboxes catégories ── */
.ep-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}

.ep-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #1e3a38;
    cursor: pointer;
}

.ep-checkbox-label input[type="checkbox"] {
    accent-color: #41C4BC;
    width: 15px;
    height: 15px;
}

/* ── Mode édition ── */
.ep-list-item-edit {
    background: #f0faf9;
    border: 1px solid #41C4BC;
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
}

.ep-btn-secondary {
    background: transparent;
    border: 1px solid #d4ecea;
    color: #5a8a87;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

/* Disponibilités **/

.ep-time-range { display: flex; align-items: center; gap: 6px; }
.ep-time-range input[type=time] { width: 110px; }
.ep-row-inactive { opacity: 0.45; }
.ep-row-inactive input { cursor: not-allowed; }

/* Ajout de page pour les photos */

/* Photos du site */
.ep-card .ep-form-group input.ep-input,
.ep-card .ep-form-group textarea.ep-input {
    box-sizing: border-box;
}

.ep-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.ep-table th {
    text-align: left;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 500;
    color: #5a8a87;
    border-bottom: 1px solid #d4ecea;
}

.ep-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #e8f4f3;
    vertical-align: middle;
}