.smeetiz-events {
    display: grid;
    gap: 14px;
    width: 100%;
}
.smeetiz-events-title {
    margin: 0 0 8px;
}
.smeetiz-events-empty {
    margin: 0;
    opacity: .8;
}
.smeetiz-event {
    display: flex;
    gap: 16px;
    align-items: stretch;
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
}
.smeetiz-event-datebox {
    min-width: 86px;
    border-radius: 16px;
    background: #111827;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 12px 8px;
    text-align: center;
}
.smeetiz-event-datebox span {
    font-size: 30px;
    line-height: 1;
    font-weight: 800;
}
.smeetiz-event-datebox strong {
    font-size: 15px;
    letter-spacing: .08em;
    margin-top: 4px;
}
.smeetiz-event-datebox small {
    opacity: .8;
    margin-top: 2px;
}
.smeetiz-event-content {
    flex: 1;
    min-width: 0;
}
.smeetiz-event h3 {
    margin: 0 0 6px;
    font-size: 20px;
    line-height: 1.25;
}
.smeetiz-event-meta,
.smeetiz-event-date-line,
.smeetiz-event-location {
    font-size: 14px;
    opacity: .85;
    margin-bottom: 6px;
}
.smeetiz-event-location.compact {
    margin-bottom: 0;
}
.smeetiz-event-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin: 8px 0;
}
.smeetiz-event-tags span {
    display: inline-flex;
    border-radius: 999px;
    padding: 4px 9px;
    background: rgba(17, 24, 39, .08);
    font-size: 12px;
    font-weight: 700;
}
.smeetiz-event p {
    margin: 8px 0 0;
}
.smeetiz-event-button {
    display: inline-flex;
    margin-top: 12px;
    padding: 9px 14px;
    border-radius: 999px;
    background: #111827;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 700;
}
.smeetiz-events-liste .smeetiz-event,
.smeetiz-events-compact .smeetiz-event {
    box-shadow: none;
    border-radius: 14px;
    padding: 12px 14px;
}
.smeetiz-events-compact .smeetiz-event h3 {
    font-size: 17px;
    margin-bottom: 4px;
}
.smeetiz-events-cartes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.smeetiz-events-cartes .smeetiz-event {
    display: block;
    overflow: hidden;
    padding: 0;
}
.smeetiz-event-image {
    height: 180px;
    background-size: cover;
    background-position: center;
}
.smeetiz-events-cartes .smeetiz-event-content {
    padding: 16px;
}
.smeetiz-event-status-annule {
    opacity: .7;
}
@media (max-width: 900px) {
    .smeetiz-events-cartes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .smeetiz-event {
        flex-direction: column;
    }
    .smeetiz-event-datebox {
        width: 100%;
        min-width: 0;
        flex-direction: row;
        gap: 8px;
        justify-content: flex-start;
    }
    .smeetiz-event-datebox span {
        font-size: 24px;
    }
    .smeetiz-events-cartes {
        grid-template-columns: 1fr;
    }
}

/* v1.0.3 - badges avenir/passe et affichage calendrier conservés */
.smeetiz-period-badge,
.smeetiz-calendar-legend-item,
.smeetiz-calendar-event-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}
.smeetiz-period-avenir {
    background: #e8f7ee;
    color: #166534;
    border: 1px solid rgba(22, 101, 52, .18);
}
.smeetiz-period-passe {
    background: #f3f4f6;
    color: #4b5563;
    border: 1px solid rgba(75, 85, 99, .18);
}
.smeetiz-event-compact-line {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.smeetiz-event-period-passe {
    opacity: .78;
}
.smeetiz-events-calendrier {
    gap: 16px;
}
.smeetiz-calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
}
.smeetiz-calendar-wrap {
    display: grid;
    gap: 22px;
}
.smeetiz-calendar-month {
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
}
.smeetiz-calendar-month-title {
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.25;
}
.smeetiz-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
}
.smeetiz-calendar-weekday {
    padding: 8px 6px;
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    opacity: .72;
}
.smeetiz-calendar-day {
    min-height: 112px;
    border: 1px solid rgba(17, 24, 39, 0.10);
    border-radius: 14px;
    padding: 8px;
    background: #ffffff;
    overflow: hidden;
}
.smeetiz-calendar-day-empty {
    background: transparent;
    border: 0;
}
.smeetiz-calendar-day-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 6px;
    background: rgba(17, 24, 39, .06);
}
.smeetiz-calendar-day-passe {
    background: #fafafa;
}
.smeetiz-calendar-day-avenir.has-events {
    border-color: rgba(22, 101, 52, .28);
}
.smeetiz-calendar-day-passe.has-events {
    border-color: rgba(75, 85, 99, .22);
}
.smeetiz-calendar-event {
    display: grid;
    gap: 4px;
    margin-top: 6px;
    border-radius: 12px;
    padding: 8px;
    text-decoration: none !important;
    color: inherit;
    border: 1px solid rgba(17, 24, 39, .10);
    background: rgba(17, 24, 39, .04);
}
.smeetiz-calendar-event:hover {
    text-decoration: none !important;
}
.smeetiz-calendar-event-avenir {
    background: #f0fdf4;
    border-color: rgba(22, 101, 52, .22);
}
.smeetiz-calendar-event-passe {
    background: #f9fafb;
    border-color: rgba(75, 85, 99, .18);
    opacity: .82;
}
.smeetiz-calendar-event strong {
    font-size: 13px;
    line-height: 1.2;
}
.smeetiz-calendar-event small,
.smeetiz-calendar-event em {
    font-size: 12px;
    line-height: 1.2;
    font-style: normal;
    opacity: .82;
}
.smeetiz-calendar-status-annule {
    opacity: .62;
    text-decoration: line-through;
}
.smeetiz-calendar-status-complet .smeetiz-calendar-event-badge::after {
    content: " · Complet";
}
.smeetiz-calendar-status-prive .smeetiz-calendar-event-badge::after {
    content: " · Privé";
}
@media (max-width: 900px) {
    .smeetiz-calendar-grid {
        display: block;
    }
    .smeetiz-calendar-weekday,
    .smeetiz-calendar-day-empty {
        display: none;
    }
    .smeetiz-calendar-day {
        min-height: 0;
        margin-bottom: 8px;
    }
    .smeetiz-calendar-day:not(.has-events) {
        display: none;
    }
    .smeetiz-calendar-day-number::before {
        content: "Jour ";
        font-weight: 600;
    }
}

/* v1.0.4 - calendrier mensuel avec navigation et infobulle */
.smeetiz-calendar-component {
    display: grid;
    gap: 12px;
}
.smeetiz-calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 18px;
    padding: 10px 12px;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
}
.smeetiz-calendar-current-label {
    font-size: 20px;
    line-height: 1.2;
    text-align: center;
}
.smeetiz-calendar-arrow {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(17, 24, 39, .16);
    background: #111827;
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.smeetiz-calendar-arrow:disabled {
    opacity: .35;
    cursor: not-allowed;
}
.smeetiz-calendar-legend-note {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    opacity: .72;
}
.smeetiz-calendar-month[hidden] {
    display: none !important;
}
.smeetiz-calendar-month,
.smeetiz-calendar-grid,
.smeetiz-calendar-day {
    overflow: visible;
}
.smeetiz-calendar-day {
    position: relative;
    min-height: 78px;
}
.smeetiz-calendar-day-top {
    display: flex;
    align-items: center;
    gap: 6px;
}
.smeetiz-calendar-day.is-today .smeetiz-calendar-day-number {
    background: #111827;
    color: #ffffff;
}
.smeetiz-calendar-day.has-events {
    cursor: help;
    box-shadow: inset 0 0 0 2px rgba(17, 24, 39, .06);
}
.smeetiz-calendar-day-avenir.has-events {
    background: #f0fdf4;
}
.smeetiz-calendar-day-passe.has-events {
    background: #f9fafb;
}
.smeetiz-calendar-event-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
    font-weight: 900;
    line-height: 1;
}
.smeetiz-calendar-event-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(17, 24, 39, .08);
    font-size: 12px;
    font-weight: 800;
}
.smeetiz-calendar-popup {
    display: none;
    position: absolute;
    left: 8px;
    top: 42px;
    z-index: 50;
    width: min(320px, 78vw);
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, .16);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 18px 42px rgba(17, 24, 39, .18);
}
.smeetiz-calendar-day:hover .smeetiz-calendar-popup,
.smeetiz-calendar-day:focus .smeetiz-calendar-popup,
.smeetiz-calendar-day:focus-within .smeetiz-calendar-popup {
    display: grid;
    gap: 10px;
}
.smeetiz-calendar-popup-date {
    font-size: 14px;
    line-height: 1.25;
}
.smeetiz-calendar-popup-event {
    display: grid;
    gap: 4px;
    padding-top: 10px;
    border-top: 1px solid rgba(17, 24, 39, .10);
}
.smeetiz-calendar-popup-event:first-of-type {
    border-top: 0;
    padding-top: 0;
}
.smeetiz-calendar-popup-event strong {
    font-size: 14px;
    line-height: 1.25;
}
.smeetiz-calendar-popup-event small,
.smeetiz-calendar-popup-event em {
    font-size: 12px;
    font-style: normal;
    opacity: .82;
}
.smeetiz-calendar-popup-event p {
    margin: 4px 0 0;
    font-size: 13px;
}
.smeetiz-calendar-popup-event a {
    display: inline-flex;
    width: max-content;
    margin-top: 4px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #111827;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 800;
}

/* v1.0.4 - liste compacte sur une seule ligne */
.smeetiz-events-compact .smeetiz-event {
    display: block;
}
.smeetiz-event-compact-single {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    font-size: 15px;
    line-height: 1.35;
}
.smeetiz-event-compact-date {
    font-weight: 700;
}
.smeetiz-event-compact-title {
    font-weight: 800;
    color: inherit;
    text-decoration: none;
}
.smeetiz-event-compact-title:hover {
    text-decoration: underline;
}
.smeetiz-event-compact-separator {
    opacity: .55;
}

@media (max-width: 900px) {
    .smeetiz-calendar-popup {
        position: static;
        display: grid;
        width: auto;
        margin-top: 8px;
        box-shadow: none;
    }
    .smeetiz-calendar-day {
        min-height: 0;
    }
}

/* v1.0.4 - affichage liste ramené à deux lignes */
.smeetiz-events-liste .smeetiz-event-list-line {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    font-size: 15px;
    line-height: 1.35;
}
.smeetiz-event-list-title {
    font-weight: 800;
    color: inherit;
    text-decoration: none;
}
.smeetiz-event-list-title:hover {
    text-decoration: underline;
}

/* v1.0.6 - partage Facebook / Instagram */
.smeetiz-share-block {
    display: grid;
    gap: 12px;
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, .12);
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
}
.smeetiz-share-content {
    display: grid;
    gap: 3px;
}
.smeetiz-share-content strong {
    font-size: 17px;
    line-height: 1.25;
}
.smeetiz-share-content span,
.smeetiz-share-help {
    font-size: 13px;
    opacity: .78;
}
.smeetiz-share-help {
    margin: 0;
}
.smeetiz-share-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.smeetiz-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #111827;
    border-radius: 999px;
    padding: 8px 12px;
    background: #111827;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
}
.smeetiz-share-button.secondary {
    background: #ffffff;
    color: #111827 !important;
}
.smeetiz-share-button.is-copied {
    opacity: .78;
}
@media (max-width: 640px) {
    .smeetiz-share-actions {
        display: grid;
    }
    .smeetiz-share-button {
        width: 100%;
    }
}
