/* ========== RESPONSIVE.CSS – VERSION FINALE (propre et sans doublons) ========== */

/* ========== STYLES DE BASE POUR MOBILE ========== */
@media (max-width: 768px) {
    .main-header {
        padding: 0.4rem 1rem;
    }
    .logo-area span {
        display: none;
    }
    .logo-area i {
        font-size: 1.8rem;
    }
    .toolbar-center {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.4rem;
        padding: 0.4rem;
    }
    .view-btn {
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem;
    }
    .date-navigation {
        gap: 0.1rem;
        padding: 0.1rem 0.3rem;
    }
    .current-date {
        min-width: 70px;
        font-size: 0.7rem;
    }
    .add-global-btn {
        padding: 0.2rem 0.6rem;
        font-size: 0.7rem;
    }
    .app-container {
        flex-direction: column;
        padding: 0 0.5rem;
        gap: 0.8rem;
        margin: 0.5rem auto;
    }
    .sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.3rem;
    }
    .nav-link {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
        gap: 0.3rem;
    }
    .nav-link i {
        font-size: 1rem;
        width: auto;
    }
    .nav-divider {
        display: none;
    }
    .sidebar-footer {
        margin-top: 0.8rem;
        padding-top: 0.5rem;
    }
    .calendar-view-container {
        min-height: 450px;
    }
    .month-day-cell {
        min-height: 70px;
        padding: 3px;
    }
    .day-number {
        width: 22px;
        font-size: 0.7rem;
    }
    .event-badge {
        font-size: 0.55rem;
        padding: 1px 4px;
    }
    .timeline-fixed-header {
        margin-left: 50px;
    }
    .timeline-hours {
        width: 50px;
    }
    .hour-label {
        height: 28px;
        font-size: 0.6rem;
        padding-right: 4px;
        line-height: 28px;
    }
    .timeline-day-slots {
        height: 672px;
    }
    .timeline-event {
        font-size: 0.5rem;
        padding: 1px 2px;
    }
}

/* Très petits écrans */
@media (max-width: 480px) {
    .toolbar-center {
        gap: 0.3rem;
        padding: 0.3rem;
    }
    .view-btn {
        padding: 0.15rem 0.4rem;
        font-size: 0.65rem;
    }
    .current-date {
        min-width: 55px;
        font-size: 0.65rem;
    }
    .add-global-btn {
        padding: 0.15rem 0.5rem;
        font-size: 0.65rem;
    }
    .event-badge {
        font-size: 0.5rem;
        padding: 1px 3px;
    }
}

/* ========== DRAWER MENU MOBILE ========== */
.mobile-menu-btn {
    display: none !important;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        font-size: 1.8rem;
        cursor: pointer;
        color: #3b82f6;
        margin-right: 0.5rem;
    }
    .main-header {
        padding: 0.5rem 1rem;
        justify-content: flex-start;
        gap: 0.5rem;
    }
    .logo-area {
        flex: 1;
        justify-content: center;
    }
    .user-menu {
        margin-left: auto;
    }
    .sidebar {
        position: fixed;
        top: 0;
        left: -280px;
        width: 260px;
        height: 100%;
        z-index: 1050;
        background: white;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        margin: 0;
        border-radius: 0;
        padding: 60px 1rem 1rem 1rem;
        display: block !important;
    }
    .sidebar.open {
        left: 0;
    }
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        display: none;
    }
    .menu-overlay.active {
        display: block;
    }
    .sidebar-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .nav-link {
        white-space: normal;
        width: 100%;
    }
    .sidebar-footer {
        display: none;
    }
}

/* ========== VUE MOBILE – TIMELINE PRINCIPALE ========== */
.mobile-day-view {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 0 16px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.mobile-day-header {
    background: #f8fafc;
    padding: 14px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    border-bottom: 1px solid #e2e8f0;
}
.mobile-timeline-body {
    display: flex;
    width: 100%;
    position: relative;
    overflow-x: hidden;
}
.mobile-hours-column {
    width: 60px;
    flex-shrink: 0;
    background: #fafbfc;
    border-right: 1px solid #e2e8f0;
}
.mobile-hour {
    text-align: right;
    padding-right: 8px;
    font-size: 0.7rem;
    color: #64748b;
    line-height: 48px;
    border-bottom: 1px solid #e2e8f0;
    box-sizing: border-box;
}
.mobile-events-column {
    flex: 1;
    position: relative;
    background: white;
}
.mobile-slot-line {
    position: absolute;
    left: 0;
    width: 100%;
    border-bottom: 1px solid #e2e8f0;
    pointer-events: none;
}

/* Bloc normal (sans chevauchement) – version définitive */

/* Bloc normal (sans chevauchement) – style harmonisé avec desktop */
.mobile-event-block {
    position: absolute;
    cursor: pointer;
    border-radius: 8px;
    padding: 6px 8px;
    box-sizing: border-box;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.7rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: all 0.1s;
    z-index: 15;
}
.mobile-event-block:active {
    transform: scale(0.99);
}
.mobile-event-title {
    font-weight: 600;
    font-size: 0.7rem;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mobile-event-time {
    font-size: 0.6rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mobile-event-desc {
    font-size: 0.6rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

/* Barre fine (chevauchement) – reste colorée mais avec bordure fine */
.mobile-event-thin {
    position: absolute;
    cursor: pointer;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    transition: opacity 0.2s;
}
.mobile-event-thin:active {
    opacity: 0.8;
}



/* ========== BULLE D'INFO MODERNE ========== */
.mobile-event-tooltip {
    position: fixed;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.2);
    padding: 12px 16px;
    width: 260px;
    max-width: 80vw;
    z-index: 10000;
    display: none;
    border: 1px solid rgba(255,255,255,0.3);
    font-size: 0.8rem;
}
.mobile-event-tooltip .tooltip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #1e293b;
}
.mobile-event-tooltip .tooltip-close {
    background: #f1f5f9;
    border: none;
    border-radius: 30px;
    width: 24px;
    height: 24px;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.1s;
}
.mobile-event-tooltip .tooltip-close:active {
    transform: scale(0.9);
}
.mobile-event-tooltip .tooltip-time {
    color: #3b82f6;
    font-weight: 500;
    margin-bottom: 6px;
}
.mobile-event-tooltip .tooltip-desc {
    color: #475569;
    line-height: 1.4;
}

/* ========== MODALE ADAPTÉE MOBILE ========== */
@media (max-width: 768px) {
    .modal-custom-content {
        width: 95%;
        max-width: 95%;
        margin: 0 auto;
        border-radius: 24px;
    }
    .modal-custom-body input,
    .modal-custom-body textarea,
    .modal-custom-body select {
        font-size: 16px;
        padding: 12px;
    }
    .modal-custom-footer button {
        padding: 10px 16px;
        font-size: 16px;
    }
    .modal-custom-header {
        font-size: 1.2rem;
        padding: 16px;
    }
}

/* ========== FORCER LA LARGEUR PLEINE SUR MOBILE ========== */
@media (max-width: 768px) {
    .mobile-day-view {
        width: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 0;
    }
    .main-content {
        padding: 0 !important;
        margin: 0 !important;
    }
    .calendar-card {
        border-radius: 0;
        box-shadow: none;
    }
    .app-container {
        padding: 0 !important;
        margin: 0 !important;
    }
}

/* ========== ÉLÉMENTS FIXES (STICKY) ========== */
:root {
    --header-height: 50px;      /* Ajustez selon la hauteur réelle de votre header */
    --toolbar-height: 56px;     /* Ajustez selon la hauteur réelle de la toolbar */
}

.main-header {
    position: sticky;
    top: 0;
    z-index: 110;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.toolbar-center {
    position: sticky;
    top: var(--header-height);
    z-index: 100;
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

.mobile-day-header {
    position: sticky;
    top: calc(var(--header-height) + var(--toolbar-height));
    z-index: 90;
    background: #f8fafc;
}

/* Structure mobile : en-tête fixe */
.mobile-day-header-sticky {
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

.mobile-day-header {
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 1rem;
    background: white;
}

/* Conteneur de la timeline avec défilement */
.mobile-timeline-container {
    height: calc(100vh - 110px); /* Ajustez selon la hauteur de votre en-tête */
    overflow-y: auto;
    position: relative;
}

/* Réduction du bouton "Ajouter" sur mobile */
@media (max-width: 768px) {
    #globalAddBtn {
        padding: 0.3rem 0.6rem !important;
        font-size: 0 !important;
        gap: 0 !important;
        width: auto !important;
        min-width: 36px !important;
    }
    #globalAddBtn i {
        font-size: 1.2rem !important;
        margin: 0 !important;
    }
    #globalAddBtn span {
        display: none;
    }
}
/* Structure mobile jour */
.mobile-day-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.mobile-day-header {
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 600;
    text-align: center;
}

.mobile-timeline-container {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Réduire le bouton ajouter sur mobile */
@media (max-width: 768px) {
    #globalAddBtn {
        padding: 0.3rem 0.6rem !important;
        font-size: 0 !important;
        gap: 0 !important;
        min-width: 36px;
    }
    #globalAddBtn i {
        font-size: 1.2rem !important;
        margin: 0 !important;
    }
}
/* Rendre la barre d'outils fixe en haut sur mobile */
@media (max-width: 768px) {
    .toolbar-center {
        position: sticky;
        top: 0;
        z-index: 100;
        background: white;
        display: flex;
        flex-wrap: nowrap !important; /* empêche le passage à la ligne */
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        padding: 0.5rem 0.75rem;
    }

    /* Réduire le bouton "+" à une icône uniquement */
    #globalAddBtn {
        padding: 0.3rem 0.6rem !important;
        font-size: 0 !important;
        gap: 0 !important;
        min-width: 36px !important;
        flex-shrink: 0;
    }
    #globalAddBtn i {
        font-size: 1.2rem !important;
        margin: 0 !important;
    }

    /* Ajuster les conteneurs de la timeline */
    .mobile-timeline-scroll {
        height: calc(100vh - 60px); /* Ajuste selon la hauteur du toolbar */
        overflow-y: auto;
    }
}




/* ========== VUE MOIS MODERNE (MOBILE) ========== */
.mobile-month-modern {
    background: #ffffff;
    border-radius: 28px;
    padding: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    margin: 0.5rem;
    animation: fadeInUp 0.3s ease;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.month-header-modern {
    margin-bottom: 1.5rem;
    text-align: center;
}
.month-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}
.month-nav-btn {
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.month-nav-btn:active {
    background: #e2e8f0;
    transform: scale(0.94);
}
.month-title {
    text-align: center;
}
.month-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    letter-spacing: -0.3px;
}
.month-year {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    margin-left: 0.2rem;
}
.month-stats {
    display: inline-block;
    background: #eff6ff;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    font-size: 0.75rem;
    color: #3b82f6;
    font-weight: 500;
    margin-top: 0.25rem;
}
.month-stats i {
    margin-right: 0.25rem;
}
.month-grid-modern {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.month-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 0.2rem;
}
.month-day-abbr {
    font-size: 0.65rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.5px;
}
.month-day-cell {
    background: #f8fafc;
    border-radius: 18px;
    padding: 0.5rem 0.2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    min-height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}
.month-day-cell:active {
    transform: scale(0.96);
    background: #f1f5f9;
}
.month-day-cell.today {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}
.month-day-cell.other-month {
    background: #fefefe;
    opacity: 0.6;
}
.day-number-modern {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}
.today .day-number-modern {
    background: #3b82f6;
    color: white;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    display: inline-block;
    margin: 0 auto 0.2rem;
    box-shadow: 0 2px 6px rgba(59,130,246,0.3);
}
.day-event-indicators {
    display: flex;
    justify-content: center;
    gap: 3px;
    flex-wrap: wrap;
    margin-top: 2px;
}
.event-dot-modern {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.5);
}
.event-dot-more-modern {
    font-size: 0.6rem;
    font-weight: bold;
    color: #3b82f6;
    background: rgba(59,130,246,0.12);
    padding: 0px 4px;
    border-radius: 12px;
    line-height: 1.3;
}

/* Cacher la barre d'outils redondante sur mobile */
@media (max-width: 768px) {
    .toolbar-center {
        display: none !important;
    }
    /* Réduction hauteur cellules */
    .month-day-cell {
        min-height: 60px !important;
        padding: 0.3rem 0.1rem !important;
    }
    .day-number-modern {
        font-size: 0.9rem !important;
    }
    .day-event-indicators {
        gap: 2px;
    }
    .event-dot-modern {
        width: 5px;
        height: 5px;
    }
}

/* Bouton flottant Ajouter */
.mobile-add-floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 28px;
    background: #3b82f6;
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(59,130,246,0.4);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 1000;
}
.mobile-add-floating-btn:active {
    transform: scale(0.92);
    background: #2563eb;
}

/* ========== VUE JOUR MODERNE (MOBILE) ========== */
.mobile-day-modern {
    background: #ffffff;
    border-radius: 28px;
    padding: 1rem;
    margin: 0.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    animation: fadeInUp 0.3s ease;
}

.day-header-modern {
    margin-bottom: 1.5rem;
    text-align: center;
}
.day-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}
.day-nav-btn {
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.day-nav-btn:active {
    background: #e2e8f0;
    transform: scale(0.94);
}
.day-title {
    text-align: center;
}
.day-date {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}
.day-month-year {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.2rem;
}
.day-stats {
    display: inline-block;
    background: #eff6ff;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    font-size: 0.75rem;
    color: #3b82f6;
    font-weight: 500;
    margin-top: 0.5rem;
}
.day-stats i {
    margin-right: 0.25rem;
}

.day-events-modern {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.day-event-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 0.8rem;
    cursor: pointer;
    transition: all 0.15s ease;
    border: 1px solid #eef2f6;
}
.day-event-card:active {
    transform: scale(0.98);
    background: #f1f5f9;
}
.event-time {
    font-size: 0.7rem;
    color: #64748b;
    margin-bottom: 0.2rem;
}
.event-title {
    font-weight: 600;
    font-size: 0.9rem;
    border-left: 3px solid;
    padding-left: 0.5rem;
    margin: 0.2rem 0;
}
.event-group {
    font-size: 0.7rem;
    color: #475569;
    margin-top: 0.2rem;
}
.day-empty-modern {
    text-align: center;
    padding: 2rem;
    color: #94a3b8;
    font-size: 0.9rem;
}

.event-detail-modern {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 0.8rem;
    margin-top: -0.5rem;
    margin-bottom: 0.5rem;
    animation: slideDown 0.2s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.detail-description, .detail-recurrence, .detail-group, .detail-cancel {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.detail-cancel {
    color: #dc2626;
    background: #fee2e2;
    padding: 0.3rem;
    border-radius: 12px;
}
.detail-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 0.5rem;
}
.detail-actions button {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.3rem;
}
#backToMonthBtn {
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== MODAL MOBILE ========== */
@media (max-width: 768px) {
    .modal-custom {
        align-items: flex-end !important; /* ancre en bas pour l’animation */
        background: rgba(0, 0, 0, 0.5);
    }
    .modal-custom-content {
        width: 90% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 1.5rem 1.5rem 0 0 !important;
        max-height: 90vh;
        overflow-y: auto;
        transform: translateY(100%);
        transition: transform 0.2s ease-out;
    }
    .modal-custom[style*="display: flex"] .modal-custom-content {
        transform: translateY(0);
    }
    .modal-custom-header {
        position: sticky;
        top: 0;
        background: white;
        z-index: 10;
        font-size: 1.1rem;
        padding: 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .modal-custom-header .close-mobile {
        background: none;
        border: none;
        font-size: 1.4rem;
        cursor: pointer;
        color: #64748b;
    }
    .modal-custom-body {
        padding: 1rem;
        gap: 1rem;
    }
    .modal-custom-body input,
    .modal-custom-body textarea,
    .modal-custom-body select {
        font-size: 16px !important; /* évite zoom sur iOS */
        padding: 0.7rem;
    }
    .modal-custom-footer {
        position: sticky;
        bottom: 0;
        background: white;
        padding: 1rem;
        border-top: 1px solid #e2e8f0;
        display: flex;
        gap: 0.8rem;
        justify-content: space-between;
    }
    .modal-custom-footer button {
        flex: 1;
        padding: 0.7rem;
        font-size: 1rem;
        border-radius: 2rem;
    }
}

@media (max-width: 768px) {
    .modal-custom-content {
        max-height: 85vh;
    }
    .modal-custom-header {
        font-size: 1rem;
        padding: 0.75rem;
    }
    .modal-custom-body {
        padding: 0.75rem;
        gap: 0.6rem;
    }
    .modal-custom-body label {
        font-size: 0.7rem;
        margin-bottom: 0.2rem;
        display: block;
        color: #475569;
    }
    .modal-custom-body input,
    .modal-custom-body textarea,
    .modal-custom-body select {
        font-size: 11px !important;
        padding: 0.5rem;
        border-radius: 0.5rem;
    }
    .modal-custom-body textarea {
        min-height: 60px;
    }
    .modal-custom-footer {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    .modal-custom-footer button {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .btn-group-events,
    .btn-chat-group {
        font-size: 0 !important;  /* cache le texte */
        padding: 0.4rem;
        min-width: 44px;
        justify-content: center;
    }
    .btn-group-events i,
    .btn-chat-group i {
        font-size: 1.2rem !important;  /* icône visible */
        margin: 0;
    }
}

  /* début Masquer le texte des boutons  */
@media (max-width: 768px) {
    .thread-open-btn,
    .thread-close-btn,
    .thread-delete-btn,
    .thread-archive-btn,
    .btn-chat-group,
    .btn-group-events {
        font-size: 0 !important;
        padding: 0.4rem;
    }
    .thread-open-btn i,
    .thread-close-btn i,
    .thread-delete-btn i,
    .thread-archive-btn i,
    .btn-chat-group i,
    .btn-group-events i {
        font-size: 1.2rem !important;
        margin: 0;
    }
}

  /* fin Masquer le texte des boutons  */

/* début gesion des bouton d'action dans la vue mobile day list */
  .mobile-event-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 0.5rem;
}
.mobile-action-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.3rem;
    color: #64748b;
    transition: color 0.2s;
}
.mobile-action-btn.edit:hover { color: #3b82f6; }
.mobile-action-btn.delete:hover { color: #ef4444; }
.mobile-action-btn.cancel:hover { color: #f59e0b; }
.mobile-action-btn.reschedule:hover { color: #10b981; }
.mobile-action-btn.notify:hover { color: #8b5cf6; }
.mobile-action-btn.remove:hover { color: #dc2626; }
.mobile-action-btn.transfer:hover { color: #f97316; }

/*fin*/