:root {
            --navy: #071a33;
            --navy-2: #0b2344;
            --blue: #0d6efd;
            --bg: #f4f7fb;
            --card: #ffffff;
            --border: #e2e8f0;
            --text: #0f172a;
            --muted: #64748b;
        }

        body {
            background: var(--bg);
            color: var(--text);
        }

        .app-navbar {
            background: #080808;
            border-bottom: 1px solid rgba(255,255,255,0.10);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
        }

        .app-navbar .navbar-brand,
        .app-navbar .nav-link,
        .app-navbar .user-name {
            color: #ffffff;
        }

        .app-navbar .nav-link {
            opacity: 0.78;
            font-weight: 500;
        }

        .app-navbar .nav-link:hover {
            opacity: 1;
        }

        .app-shell {
            padding-top: 28px;
            padding-bottom: 48px;
        }

        .page-card {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: 18px;
            box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
        }

        .section-title {
            font-size: 1.35rem;
            font-weight: 800;
            margin-bottom: 1rem;
        }

        .action-bar {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
        }

        .admin-actions {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        /* BOUTONS */

        .btn {
            border-radius: 10px;
            font-weight: 600;
        }

        .btn-sm {
            border-radius: 8px;
        }

        .btn-primary {
            background: #111827 !important;
            border-color: #111827 !important;
            color: #ffffff !important;
        }

        .btn-primary:hover,
        .btn-primary:focus {
            background: #1f2937 !important;
            border-color: #1f2937 !important;
            color: #ffffff !important;
        }

        .btn-outline-primary {
            color: #111827 !important;
            border-color: #111827 !important;
        }

        .btn-outline-primary:hover,
        .btn-outline-primary:focus {
            background: #111827 !important;
            border-color: #111827 !important;
            color: #ffffff !important;
        }

        .table {
            border-color: var(--border);
        }

        .table th {
            width: 42%;
            background: #f8fafc;
        }

        .house-card {
            border: 0;
            border-radius: 18px;
            overflow: hidden;
            box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
            transition: 0.15s;
            cursor: pointer;
        }

        .house-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
        }

        .house-image {
            height: 190px;
            object-fit: cover;
            background: #dbe3ea;
        }

        .badge-soft {
            background: #eaf3ff;
            color: #0f3f7a;
            border-radius: 999px;
            font-size: 0.8rem;
            padding: 0.35rem 0.65rem;
        }

        .muted-small {
            color: var(--muted);
            font-size: 0.9rem;
        }


        .main-photo-thumb {
            height: 360px;
            width: 100%;
            object-fit: cover;
            border-radius: 18px;
        }

        .photo-thumb {
            height: 180px;
            width: 100%;
            object-fit: cover;
            border-radius: 14px;
        }

        @media (max-width: 768px) {
            .app-navbar .container {
                gap: 14px;
            }

            .navbar-top {
                width: 100%;
                display: flex;
                justify-content: space-between;
                align-items: center;
            }

            .navbar-actions {
                width: 100%;
                display: grid !important;
                grid-template-columns: 1fr 1fr;
                gap: 8px;
            }

            .navbar-actions .btn,
            .navbar-actions span {
                width: 100%;
                text-align: center;
            }

            .action-bar {
                align-items: stretch;
            }

            .action-bar > a,
            .admin-actions,
            .admin-actions a {
                width: 100%;
            }

            .admin-actions {
                display: grid;
                grid-template-columns: 1fr;
            }

            h1 {
                font-size: 2rem;
            }
        }

/* FORMULAIRES ET CONTRÔLES */

.form-check-input {
    border-color: #9ca3af;
}

.form-check-input:checked {
    background-color: #111827;
    border-color: #111827;
}

.form-check-input:focus,
.form-control:focus,
.form-select:focus {
    border-color: #111827;
    box-shadow: 0 0 0 .2rem rgba(17, 24, 39, .12);
}



.project-color-dot {
    width: 6px;
    height: 22px;
    border-radius: 999px;
    display: inline-block;
    flex-shrink: 0;
    margin: 0 8px 0 0;
    vertical-align: middle;
}

/* FILTRES PROJETS */

.project-filter-card .filter-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 16px 0 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.project-filter-card .filter-pill .form-check-input {
    margin-left: 0 !important;
    margin-top: 0 !important;
    float: none !important;
}

.project-filter-card .filter-pill .form-check-label {
    margin: 0 !important;
}

.project-filter-card .filter-pill .project-color-dot {
    margin: 0 !important;
}


/* LOGIN */

.login-page {
    margin: 0;
    min-height: 100vh;
    background:
        linear-gradient(rgba(7,26,51,.72), rgba(7,26,51,.72)),
        url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c');
    background-size: cover;
    background-position: center;
}

.login-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-card {
    width: 100%;
    max-width: 460px;
    background: rgba(255,255,255,.96);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.login-brand {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: #071a33;
}

.login-subtitle {
    color: #64748b;
    margin-top: 8px;
}

.login-button {
    background: #c8a46b;
    border-color: #c8a46b;
    font-weight: 700;
}

.login-button:hover {
    background: #b48e52;
    border-color: #b48e52;
}


.login-logo-img {
    width: 260px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 12px auto;
}


/* Layout responsive : garder les containers fluides jusqu'au palier desktop */
@media (min-width: 576px) and (max-width: 991.98px) {
    .container {
        max-width: 100% !important;
    }
}

.week-date-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    color: #475569;
}

.week-date-label::before,
.week-date-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.week-day {
    font-weight: 900;
    text-transform: uppercase;
    color: #334155;
    letter-spacing: .06em;
    font-size: 1rem;
}

.week-date {
    color: #64748b;
    font-weight: 700;
    font-size: 1rem;
}

.dashboard-task-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-left: 6px solid var(--project-color, #94a3b8);
    border-radius: 16px;
    padding: 16px 18px;
    margin-bottom: 16px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.project-day-card {
    padding-top: 14px;
}

.project-card-title {
    text-align: left;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #374151;
    letter-spacing: .03em;
    margin-bottom: 12px;
}


.task-line {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    padding: 8px 0;
    border-top: 1px solid #eef2f7;
}

.task-line:first-of-type {
    border-top: 0;
}

.task-line-content {
    flex: 1;
    min-width: 0;
}

.task-line-title {
    color: #111827;
    font-weight: 750;
    font-size: 1rem;
    line-height: 1.25;
}

.task-duration {
    margin-top: 5px;
    color: #6b7280;
    font-size: .85rem;
}

.task-action-form {
    flex-shrink: 0;
}

@media (max-width: 575.98px) {
    h1 {
        font-size: 1.7rem;
    }

    .page-card {
        padding: 1rem !important;
    }

    .dashboard-task-card {
        padding: 14px;
        margin-bottom: 14px;
        border-radius: 14px;
    }

    .task-line {
        display: block;
    }

    .task-action-form,
    .task-action-form .btn {
        width: 100%;
    }

    .task-action-form {
        margin-top: 12px;
    }

    .project-card-title {
        text-align: left;
        margin-bottom: 10px;
    }

    .week-day,
    .week-date {
        font-size: .75rem;
    }

    .task-line-title,
    .task-title {
        font-size: .95rem;
    }
}
.calendar-card {
    overflow-x: auto;
}

#calendar {
    min-height: 760px;
}

.fc {
    font-family: inherit;
    color: #111827;
}

.fc a {
    color: inherit !important;
    text-decoration: none !important;
}

.fc-toolbar {
    gap: 14px;
    align-items: center;
    margin-bottom: 24px !important;
}

.fc-toolbar-title {
    color: #111827;
    font-weight: 800;
    font-size: 2rem !important;
    text-transform: lowercase;
}

.fc-button {
    background: #f8fafc !important;
    border: 1px solid #dbe3ec !important;
    color: #111827 !important;
    border-radius: 10px !important;
    padding: 8px 14px !important;
    box-shadow: none !important;
    font-weight: 600 !important;
    text-transform: none !important;
}

.fc-prev-button,
.fc-next-button {
    background: #1f2937 !important;
    color: #fff !important;
    border-color: #1f2937 !important;
}

.fc-button-active {
    background: #0f766e !important;
    border-color: #0f766e !important;
    color: #fff !important;
}

.fc-col-header-cell {
    background: #fff;
}

.fc-col-header-cell-cushion {
    color: #4b5563 !important;
    font-weight: 800;
    text-transform: uppercase;
    font-size: .85rem;
    padding: 12px 0 !important;
}

.fc-daygrid-day-number {
    color: #0f766e !important;
    font-weight: 700;
    font-size: 1rem;
    padding: 8px !important;
}

.fc-day-other .fc-daygrid-day-number {
    color: #cbd5e1 !important;
}

.fc-day-today {
    background: rgba(245, 158, 11, .10) !important;
}

.fc-scrollgrid,
.fc-scrollgrid td,
.fc-scrollgrid th {
    border-color: #e5e7eb !important;
}

.fc-event {
    cursor: pointer;
    border: 0 !important;
    border-radius: 8px !important;
    padding: 2px 6px !important;
    font-size: .78rem !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    box-shadow: 0 3px 8px rgba(15, 23, 42, .12);
}

.fc-daygrid-event {
    margin-top: 3px !important;
}

.fc-list {
    border: 0 !important;
}

.fc-list-day-cushion {
    background: #f8fafc !important;
    color: #111827 !important;
    font-weight: 800;
}

.fc-list-event-title,
.fc-list-event-time {
    color: #111827 !important;
}




@media (max-width: 575.98px) {
    .calendar-card {
        padding: 1rem !important;
    }

    #calendar {
        min-height: auto;
    }

    .fc-toolbar {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .fc-toolbar-chunk {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .fc-toolbar-title {
        font-size: 1.55rem !important;
        text-align: center;
    }

    .fc-button {
        padding: 7px 11px !important;
        font-size: .9rem !important;
    }

    .fc-view-harness {
        min-height: 520px;
    }
}

.fc-event {
    overflow: hidden !important;
}

.calendar-event-content {
    display: block;
    width: 100%;
    line-height: 1.15;
    overflow: hidden;
}

.calendar-event-time {
    font-size: .72rem;
    font-weight: 700;
    opacity: .9;
    margin-bottom: 2px;
}

.calendar-event-title {
    display: block;
    overflow: hidden;
    white-space: normal;
    text-overflow: ellipsis;
    line-height: 1.15;
}

.calendar-event-status {
    display: inline-block;
    font-size: .85rem;
    margin-left: 4px;
}

.fc-daygrid-event {
    border-radius: 8px !important;
}





.fc .fc-prev-button,
.fc .fc-next-button {
    background: #f8fafc !important;
    border: 1px solid #dbe3ec !important;
    color: #1f2937 !important;
    border-radius: 12px !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
}

.fc .fc-prev-button .fc-icon,
.fc .fc-next-button .fc-icon {
    margin: 0 !important;
    line-height: 1 !important;
    font-size: 18px !important;
}

.fc .fc-prev-button:hover,
.fc .fc-next-button:hover {
    background: #eef2f7 !important;
}

.fc .fc-today-button {
    background: transparent !important;
    border: 0 !important;
    color: #334155 !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}





.activity-modal-summary {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
}


.activity-modal-main {
    flex: 1;
}

.activity-modal-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.activity-modal-title {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
    color: #111827;
}

.activity-modal-status {
    font-size: 1.1rem;
    line-height: 1;
}

.activity-modal-project {
    color: #475569;
    font-weight: 600;
    margin-bottom: 10px;
}

.activity-modal-date {
    color: #334155;
    font-weight: 600;
}


.photo-card-name {
    font-weight: 600;
    color: #111827;
}

.photo-card .d-flex {
    min-width: 0;
}

.photo-card-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.photo-card button {
    flex-shrink: 0;
}
.search-result-card {
    border-left: 5px solid #e5e7eb;
}

.task-title {
    color: #111827;
    font-weight: 750;
    font-size: 1.05rem;
    line-height: 1.25;
}

.project-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: .8rem;
    font-weight: 700;
    white-space: nowrap;
}


@media (max-width: 575.98px) {
    .project-pill {
        margin-top: 12px;
    }

    .search-result-card .d-flex {
        display: block !important;
    }
}

/* LOGIN */
.login-page {
    min-height: 100vh;
    background: #f4f7fb;
}

.login-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 34px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

.login-brand {
    text-align: center;
    margin-bottom: 28px;
}

.login-logo-img {
    max-width: 210px;
    height: auto;
    margin-bottom: 12px;
}

.login-subtitle {
    color: #64748b;
    font-weight: 600;
}

.login-button {
    background: #111827;
    color: #ffffff;
    border: 1px solid #111827;
    font-weight: 700;
    border-radius: 12px;
}

.login-button:hover,
.login-button:focus {
    background: #1f2937;
    color: #ffffff;
    border-color: #1f2937;
}


.project-color-circle {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.activity-modal-summary > .project-color-dot {
    width: 6px;
    height: 72px;
    min-height: 72px;
    border-radius: 999px;
    flex: 0 0 6px;
    margin: 0;
}

/* Modal activité - respiration et hiérarchie */
.activity-modal-summary {
    margin-bottom: 30px;
}

.activity-modal-project {
    margin-top: 8px;
    margin-bottom: 18px;
    font-size: 1.05rem;
}

.activity-modal-date {
    margin-top: 8px;
}

.activity-date-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-weight: 700;
    color: #334155;
    line-height: 1.35;
}

.activity-date-arrow {
    color: #64748b;
    font-weight: 900;
}

.activity-date-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #eef2f7;
    color: #334155;
    padding: 5px 12px;
    font-size: .9rem;
    font-weight: 800;
}

#activityPhotosList {
    margin-top: 8px;
    margin-bottom: 8px;
}

#activityPhotosList > .fw-semibold,
.activity-photo-upload .form-label {
    font-size: 1rem;
    margin-bottom: 6px;
}

.photo-card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 7px 10px;
    margin-bottom: 4px;
}



#taskModalActions {
    border-top: 1px solid #e2e8f0;
    padding-top: 24px;
    margin-top: 24px;
}

@media (max-width: 575.98px) {
    .activity-date-line {
        gap: 8px;
    }

    .activity-date-badge {
        margin-top: 4px;
    }
}

.activity-photos-section {
    margin-top: 12px;
    margin-bottom: 14px;
}

.activity-photos-section #activityPhotosList {
    margin-bottom: 8px;
}

.activity-photos-section #activityPhotosList:empty {
    margin-bottom: 0;
}

.activity-photo-upload {
    margin-top: 0;
    margin-bottom: 0 !important;
}

.nav-section-label {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255,255,255,.55);
    margin: 14px 0 6px;
    padding: 0 .5rem;
}

@media (max-width: 991px) {

    .navbar-toggler {
        border: 1px solid rgba(255,255,255,.20) !important;
        border-radius: 10px !important;
        padding: .25rem .55rem !important;
        font-size: .9rem !important;
    }

    .navbar-toggler i {
        font-size: 1.4rem !important;
    }

    .navbar-collapse {
        margin-top: 16px;
        padding-top: 12px;
        border-top: 1px solid rgba(255,255,255,.08);
    }

    .navbar-nav {
        gap: 0 !important;
    }

    .app-navbar .nav-link {
        padding: 8px 14px;
        border-radius: 10px;
        opacity: 1;
    }

    .app-navbar .nav-link:hover {
        background: rgba(255,255,255,.08);
    }

    .navbar-actions {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        margin-top: 16px;
    }

    .navbar-actions .btn {
        width: 100%;
    }

    .user-name {
        text-align: center;
        opacity: .75;
        text-transform: capitalize;
    }

    .app-navbar .user-name::before {
        content: "Connecté : ";
        opacity: .7;
    }
}


/* PHOTOS CHANTIER */

.activity-photo-group {
    padding-left: 14px;
    border-left: 3px solid #94a3b8;
    margin-bottom: 28px;
}

.activity-file-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

.activity-file-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.activity-file-action {
    border: 0;
    background: transparent;
    color: #64748b;
    text-decoration: none;
    font-size: 1.05rem;
    padding: 4px;
    flex-shrink: 0;
    cursor: pointer;
}

.activity-file-action:hover {
    color: #111827;
    opacity: .8;
}

.activity-file-thumb {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #eef2f7;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.activity-file-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .activity-photo-group {
        padding-left: 12px;
    }

    .activity-file-row {
        gap: 8px;
    }

    .activity-file-name {
        font-size: .95rem;
    }

    .activity-file-thumb {
        width: 56px;
        height: 56px;
    }
}


/* =========================================================
   Projet / Dossier chantier
   ========================================================= */

.project-tile {
    display: block;
    height: 100%;
    min-height: 120px;
    padding: 22px;
    border: 1px solid #dbe3ef;
    border-radius: 20px;
    background: #ffffff;
    color: #0f172a;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .06);
}

.project-tile:hover {
    color: #0f172a;
    border-color: #93c5fd;
    background: #f8fbff;
}

.project-tile-icon {
    font-size: 2rem;
    line-height: 1;
}

.project-tile-title {
    margin-top: 8px;
    font-size: 1.2rem;
    font-weight: 800;
}

.project-tile-subtitle {
    color: #64748b;
    font-size: .95rem;
}

.project-file-item {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px;
    background: #ffffff;
}

.project-map {
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}


/* =========================================================
   Projet / Sections collapsibles réutilisables
   ========================================================= */

.project-section-button {
    width: 100%;
    min-height: 92px;
    border: 1px solid #dbe3ef;
    border-radius: 18px;
    background: #ffffff;
    padding: 18px;
    text-align: left;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .06);
}

.project-section-button:hover {
    background: #f8fbff;
    border-color: #93c5fd;
}

.project-section-icon {
    font-size: 2rem;
    line-height: 1;
}

.project-section-title {
    font-weight: 800;
    font-size: 1.2rem;
    color: #0f172a;
}

.project-section-subtitle {
    color: #64748b;
    font-size: .95rem;
}

.project-map {
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

/* =========================================================
   Modal activité - sections, espacements et cartes
   ========================================================= */

.activity-inline-action {
    padding: 0;
    line-height: 1;
    text-decoration: none;
    font-size: .95rem;
}

/* En-tête activité */
.activity-modal-main {
    padding-top: 12px;
}

.activity-modal-summary > .project-color-dot {
    height: auto;
    min-height: 0;
    align-self: stretch;
}

.activity-modal-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.activity-modal-title-row .activity-modal-status {
    display: none;
}

.activity-modal-title-row .activity-modal-title {
    flex: 1;
    min-width: 0;
}

.activity-modal-title-row #taskModalRenameButton {
    flex: 0 0 auto;
    position: relative;
    top: 28px;
    margin-top: 0;
}

.activity-modal-project {
    margin-top: 8px;
    margin-bottom: 30px;
    font-size: .8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #475569;
}

/* Alignement commun des cartes sous l'en-tête */
.activity-modal-quick-row,
#taskModalDescription,
.activity-modal-resources-section,
.activity-photos-section {
    margin-left: 0;
    width: 100%;
}

/* Cartes Date / Caméra */
.activity-modal-quick-row {
    display: grid;
    grid-template-columns: 1fr 92px;
    gap: 10px;
    margin-top: 0;
    margin-bottom: 32px;
}

.activity-modal-quick-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    min-height: 72px;
    padding: 10px 12px;
}

.activity-modal-date-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.activity-modal-date-card .activity-modal-date,
.activity-modal-date-card .activity-inline-action {
    margin-top: 0;
}

.activity-modal-date-card .activity-inline-action {
    flex-shrink: 0;
}

.activity-modal-photo-card {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-photo-icon-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0 !important;
    text-decoration: none;
    font-size: 1.3rem;
    line-height: 1.05;
    color: #0d6efd;
    font-weight: 800;
}

.activity-photo-icon-button strong {
    font-size: 1.05rem;
    line-height: 1;
}

/* Description */
#taskModalDescription {
    margin-top: 0;
    margin-bottom: 28px;
}

/* Sections accordéon Ressources / Photos */
.activity-modal-section,
.activity-photos-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 12px;
}

.activity-modal-resources-section,
.activity-photos-section {
    margin-bottom: 28px;
}

.activity-resources-toggle,
.activity-photos-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    margin-bottom: 6px;
    text-align: left;
    font-weight: 700;
    color: #111827;
}

.activity-resources-arrow,
.activity-photos-arrow {
    display: inline-block;
    width: 16px;
}

.activity-resources-list,
.activity-photos-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-left: 0;
}

.activity-modal-resources-section #taskModalResourcesList > div,
.activity-photos-list .photo-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 7px 10px;
    margin-bottom: 0;
}

.activity-photos-list .btn-sm {
    padding: .15rem .35rem;
    font-size: .75rem;
}

/* Actions */
#taskModalActions {
    border-top: 1px solid #e2e8f0;
    padding-top: 24px;
    margin-top: 24px;
}



