/* =========================================================
   Modifier mes ressources
   ========================================================= */

.ccmod-mes-ressources {
	background: #eef5f7;
	border-radius: 18px;
	padding: 24px;
	margin-top: 24px;
}

.ccmod-liste h3,
.ccmod-formulaire-wrap h3 {
	margin: 0 0 18px 0;
	color: #285473;
	font-size: 24px;
	font-weight: 800;
}

.ccmod-table {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ccmod-ligne {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 18px;
	background: #ffffff;
	border-radius: 14px;
	padding: 16px 18px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.10);
}

.ccmod-info h4 {
	margin: 0 0 8px 0;
	color: #e95b45;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.3;
}

.ccmod-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	color: #6f6f6f;
	font-size: 14px;
	font-weight: 600;
}

.ccmod-statut {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	padding: 4px 10px;
	background: #eef4f7;
	color: #285473;
	font-size: 13px;
	font-weight: 800;
}

.ccmod-statut-publish {
	background: #edf7df;
	color: #5d7f1f;
}

.ccmod-statut-pending {
	background: #fff1d8;
	color: #9a6500;
}

.ccmod-statut-draft {
	background: #eeeeee;
	color: #555555;
}

.ccmod-bouton,
.ccmod-bouton-secondaire,
.ccmod-submit button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: 999px;
	padding: 10px 22px;
	background: #e95b45;
	color: #ffffff !important;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none !important;
	box-shadow: 0 4px 10px rgba(0,0,0,0.14);
	cursor: pointer;
}

.ccmod-bouton:hover,
.ccmod-submit button:hover {
	background: #d94f3c;
	color: #ffffff !important;
}

/* Boutons secondaires / Retour */
.ccmod-bouton-secondaire:hover {
	background: var(--e-global-color-4dca39b) !important;
	color: #285473 !important;
}

.ccmod-bouton-secondaire {
	background: #285473;
}

.ccmod-message,
.ccmod-formulaire-wrap {
	background: #ffffff;
	border-radius: 14px;
	padding: 18px;
	margin-bottom: 18px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.10);
	color: #285473;
	font-weight: 700;
}

.ccmod-succes {
	color: #5d7f1f;
}

.ccmod-erreur {
	color: #b00020;
}

.ccmod-formulaire p,
.ccmod-champ-formulaire,
.ccmod-taxonomie,
.ccmod-section-podcast {
	margin-bottom: 22px;
}

.ccmod-formulaire label,
.ccmod-formulaire strong {
	display: inline-block;
	margin-bottom: 8px;
	color: #285473;
	font-weight: 800;
}

.ccmod-formulaire input[type="text"],
.ccmod-formulaire input[type="url"],
.ccmod-formulaire input[type="number"],
.ccmod-formulaire input[type="file"],
.ccmod-formulaire textarea,
.ccmod-formulaire select {
	width: 100%;
	border: 1px solid rgba(40,84,115,0.35);
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 15px;
	color: #333333;
	background: #ffffff;
}

.ccmod-formulaire textarea {
	min-height: 100px;
}

.ccmod-aide {
	display: block;
	margin-top: 6px;
	color: #6f6f6f;
	font-size: 13px;
	font-weight: 600;
}

.ccmod-aide.ccmod-erreur-description {
	color: #b00020;
	font-weight: 800;
}

.ccmod-case label {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ccmod-case input {
	width: auto !important;
}

.ccmod-taxo-option {
	display: block !important;
	margin: 6px 0 !important;
	color: #285473;
	font-weight: 600 !important;
}

.ccmod-taxo-option input {
	width: auto !important;
	margin-right: 8px;
}

.ccmod-section-podcast {
	background: #eef5f7;
	border-radius: 14px;
	padding: 18px;
}

.ccmod-section-podcast h3 {
	margin: 0 0 16px 0;
	color: #285473;
	font-size: 22px;
	font-weight: 800;
}

.ccmod-submit {
	text-align: center;
}

@media (max-width: 767px) {
	.ccmod-ligne {
		flex-direction: column;
		align-items: flex-start;
	}

	.ccmod-actions {
		width: 100%;
	}

	.ccmod-bouton {
		width: 100%;
	}
}
/* Effet smooth sur les ressources à modifier */
.ccmod-ligne {
	position: relative;
	z-index: 1;
	transform: translateY(0) scale(1);
	transform-origin: center center;
	transition:
		transform 1.15s cubic-bezier(0.19, 1, 0.22, 1),
		box-shadow 1.15s cubic-bezier(0.19, 1, 0.22, 1),
		background 0.45s ease;
}

.ccmod-ligne:hover {
	z-index: 5;
	transform: translateY(-5px) scale(1.012);
	box-shadow: 0 12px 26px rgba(0,0,0,0.18);
	background: #ffffff;
}

.ccmod-ligne:hover .ccmod-bouton {
	transform: translateY(-1px);
}

.ccmod-bouton {
	transition:
		transform 0.45s ease,
		background 0.35s ease,
		box-shadow 0.45s ease;
}

/* =========================================================
Notification après modification
========================================================= */

.ccmod-notification {
	position: fixed;
	right: 28px;
	bottom: 28px;
	z-index: 99999;
	max-width: 420px;
	padding: 16px 20px;
	border-radius: 14px;
	box-shadow: 0 10px 28px rgba(0,0,0,0.22);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.4;
	animation: ccmodNotificationEntree 0.45s ease-out;
}

.ccmod-notification-succes {
	background: #9cc540;
	color: #ffffff;
}

@keyframes ccmodNotificationEntree {
	from {
		opacity: 0;
		transform: translateY(16px) scale(0.96);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@media (max-width: 767px) {
	.ccmod-notification {
		left: 18px;
		right: 18px;
		bottom: 18px;
		max-width: none;
	}
}

/* =========================================================
Message de confirmation après enregistrement
========================================================= */

.ccmod-retour-enregistrement {
	margin: 22px 0 18px 0;
	text-align: center;
}

.ccmod-message.ccmod-succes {
	background: #edf7df;
	color: #5d7f1f;
	border: 1px solid rgba(93,127,31,0.22);
	border-left: 6px solid #9cc540;
	border-radius: 14px;
	padding: 16px 18px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.10);
	font-weight: 800;
}

.ccmod-message.ccmod-erreur {
	background: #fff1f1;
	color: #b00020;
	border: 1px solid rgba(176,0,32,0.18);
	border-left: 6px solid #b00020;
	border-radius: 14px;
	padding: 16px 18px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.10);
	font-weight: 800;
}

/* =========================================================
Zone bouton + message enregistrement
========================================================= */

.ccmod-zone-submit {
	margin-top: 26px;
	text-align: center;
}

.ccmod-retour-enregistrement {
	margin: 0 auto 18px auto;
	max-width: 680px;
}

.ccmod-submit {
	margin: 0 !important;
	text-align: center !important;
}

.ccmod-submit button,
.ccmod-submit-bouton {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: auto !important;
	min-width: 240px !important;
	border: none !important;
	border-radius: 999px !important;
	padding: 11px 26px !important;
	background: #e95b45 !important;
	color: #ffffff !important;
	font-size: 15px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	box-shadow: 0 4px 10px rgba(0,0,0,0.14) !important;
	cursor: pointer !important;
}

.ccmod-submit button:hover,
.ccmod-submit-bouton:hover {
	background: #d94f3c !important;
	color: #ffffff !important;
}

/* Toast flottant fiable */
.ccmod-toast {
	position: fixed;
	right: 28px;
	bottom: 28px;
	z-index: 999999;
	max-width: 460px;
	padding: 16px 20px;
	border-radius: 14px;
	background: #9cc540;
	color: #ffffff;
	box-shadow: 0 10px 28px rgba(0,0,0,0.22);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.4;
	opacity: 0;
	transform: translateY(16px) scale(0.96);
	transition: opacity 0.45s ease, transform 0.45s ease;
}

.ccmod-toast.is-visible {
	opacity: 1;
	transform: translateY(0) scale(1);
}

@media (max-width: 767px) {
	.ccmod-toast {
		left: 18px;
		right: 18px;
		bottom: 18px;
		max-width: none;
	}
}											

.ccmod-redirection-apres-save {
	display: none !important;
}

.ccmod-retour-haut,
.ccmod-retour-bas {
	margin: 0 0 18px 0 !important;
	text-align: left !important;
}

.ccmod-retour-bas {
	margin-top: 18px !important;
	margin-bottom: 0 !important;
}

.ccmod-bouton-retour-form,
.ccmod-bouton-retour-bas {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 9px !important;

	background: #285473 !important;
	color: #ffffff !important;

	border: none !important;
	border-radius: 999px !important;

	padding: 10px 22px !important;

	text-decoration: none !important;

	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease,
		box-shadow 0.2s ease !important;
}

.ccmod-bouton-retour-form:hover,
.ccmod-bouton-retour-bas:hover {
	background: var(--e-global-color-4dca39b) !important;
	color: #285473 !important;

	transform: translateY(-1px);

	box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.ccmod-bouton-retour-form:hover .ccmod-retour-icone,
.ccmod-bouton-retour-bas:hover .ccmod-retour-icone {
	color: #285473 !important;
}

.ccmod-retour-icone {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 14px !important;
	line-height: 1 !important;
	color: currentColor !important;
	width: 16px !important;
	text-align: center !important;
}

/* =========================================================
   MES RESSOURCES - GESTION DES STATUTS
   ========================================================= */


/* ---------------------------------------------------------
   Barre d'actions groupées
   --------------------------------------------------------- */

.ccmod-actions-groupees {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;

	margin: 18px 0 18px;
}

.ccmod-tout-selectionner {
	display: flex;
	align-items: center;
	gap: 7px;

	margin: 0;

	cursor: pointer;
}

.ccmod-actions-groupees-droite {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;

	margin: 0;
}

.ccmod-select-action {
	width: 285px;
	height: 46px;

	padding: 0 40px 0 14px;

	border: 1px solid #aaa;
	border-radius: 3px;

	background: #fff;

	font-size: 16px;
}


/* ---------------------------------------------------------
   Liste
   --------------------------------------------------------- */

.ccmod-table {
	display: flex;
	flex-direction: column;
	gap: 14px;
}


/* ---------------------------------------------------------
   Une ligne
   --------------------------------------------------------- */

.ccmod-ligne {
	display: grid;

	grid-template-columns:
		30px
		minmax(0, 1fr)
		auto;

	align-items: center;

	column-gap: 14px;

	width: 100%;
	min-height: 96px;

	padding: 16px 18px;

	background: #fff;

	border-radius: 15px;

	box-shadow:
		0 7px 16px rgba(31, 82, 112, 0.10);
}


/* ---------------------------------------------------------
   Case à cocher
   --------------------------------------------------------- */

.ccmod-selection {
	display: flex;
	align-items: center;
	justify-content: center;
}

.ccmod-selection input,
.ccmod-tout-selectionner input {
	width: 17px;
	height: 17px;

	margin: 0;

	cursor: pointer;
}


/* ---------------------------------------------------------
   Infos ressource
   --------------------------------------------------------- */

.ccmod-info {
	width: 100%;
	min-width: 0;

	margin: 0 !important;
	padding: 0 !important;

	text-align: left !important;

	justify-self: stretch;
}

.ccmod-info h4 {
	margin: 0 0 8px !important;
	padding: 0 !important;

	text-align: left !important;

	line-height: 1.2;
}

.ccmod-meta {
	display: flex;
	align-items: center;
	justify-content: flex-start;

	flex-wrap: wrap;

	gap: 7px 12px;

	width: 100%;

	margin: 0 !important;
	padding: 0 !important;

	text-align: left !important;
}

.ccmod-meta > span {
	margin: 0 !important;
}


/* ---------------------------------------------------------
   Zone actions à droite
   --------------------------------------------------------- */

.ccmod-actions-statut {
	display: flex;
	align-items: center;
	justify-content: flex-end;

	gap: 8px;

	margin: 0 !important;

	white-space: nowrap;
}


/* ---------------------------------------------------------
   Sélecteur de statut
   --------------------------------------------------------- */

.ccmod-select-statut {
	width: 230px;
	height: 46px;

	margin: 0;

	padding: 0 38px 0 14px;

	border: 1px solid #aaa;
	border-radius: 3px;

	background: #fff;

	font-size: 16px;
}


/* ---------------------------------------------------------
   Boutons Appliquer
   --------------------------------------------------------- */

.ccmod-bouton-statut,
.ccmod-bouton-appliquer {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	height: 44px;
	min-height: 44px;

	padding: 0 22px;

	margin: 0;

	border: 0;
	border-radius: 999px;

	background: #265f82;
	color: #fff;

	font-size: 16px;
	font-weight: 500;
	line-height: 1;

	cursor: pointer;

	transition:
		opacity 0.2s ease,
		background-color 0.2s ease,
		transform 0.15s ease;
}


/* Actif */

.ccmod-bouton-statut:not(:disabled):hover,
.ccmod-bouton-appliquer:not(:disabled):hover {
	transform: translateY(-1px);
}


/* Désactivé */

.ccmod-bouton-statut:disabled,
.ccmod-bouton-appliquer:disabled {
	opacity: 0.30;

	cursor: not-allowed;

	transform: none;

	filter: grayscale(20%);
}


/* ---------------------------------------------------------
   Bouton Modifier
   --------------------------------------------------------- */

.ccmod-actions-statut .ccmod-bouton {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	height: 44px;
	min-height: 44px;

	padding: 0 21px;

	margin: 0 !important;

	white-space: nowrap;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 1100px) {

	.ccmod-ligne {
		grid-template-columns:
			28px
			minmax(0, 1fr);

		row-gap: 14px;
	}

	.ccmod-actions-statut {
		grid-column: 2;

		justify-content: flex-start;
		flex-wrap: wrap;
	}

	.ccmod-select-statut {
		width: 250px;
	}
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

	.ccmod-actions-groupees-droite {
		width: 100%;
	}

	.ccmod-select-action {
		flex: 1;

		width: auto;
		min-width: 0;
	}


	.ccmod-ligne {
		grid-template-columns:
			24px
			minmax(0, 1fr);

		padding: 15px 13px;
	}


	.ccmod-meta {
		align-items: flex-start;
		flex-direction: column;

		gap: 5px;
	}


	.ccmod-actions-statut {
		grid-column: 1 / -1;

		width: 100%;

		padding-left: 38px;
	}


	.ccmod-select-statut {
		flex: 1;

		width: auto;
		min-width: 0;
	}


	.ccmod-bouton-statut,
	.ccmod-actions-statut .ccmod-bouton {
		padding-left: 15px;
		padding-right: 15px;
	}
}

/* =========================================================
   CORRECTIF BOUTONS "APPLIQUER"
   ========================================================= */

/* Style normal */
.ccmod-bouton-statut,
.ccmod-bouton-appliquer {
	color: #ffffff !important;
	background: #265f82 !important;
	border: 0 !important;
}

/* Hover des boutons actifs */
.ccmod-bouton-statut:hover:not(:disabled),
.ccmod-bouton-appliquer:hover:not(:disabled),
.ccmod-bouton-statut:focus:not(:disabled),
.ccmod-bouton-appliquer:focus:not(:disabled) {
	color: #ffffff !important;
	background: #1f5372 !important;
	border: 0 !important;
}

/* Boutons désactivés */
.ccmod-bouton-statut:disabled,
.ccmod-bouton-appliquer:disabled {
	color: #ffffff !important;
	background: #d9bcbc !important;
	opacity: 1 !important;
	border: 0 !important;
	box-shadow: none !important;
	cursor: not-allowed !important;
}

/* Hover / focus sur boutons désactivés
   -> on garde exactement le même rendu */
.ccmod-bouton-statut:disabled:hover,
.ccmod-bouton-appliquer:disabled:hover,
.ccmod-bouton-statut:disabled:focus,
.ccmod-bouton-appliquer:disabled:focus,
.ccmod-bouton-statut[disabled]:hover,
.ccmod-bouton-appliquer[disabled]:hover,
.ccmod-bouton-statut[disabled]:focus,
.ccmod-bouton-appliquer[disabled]:focus {
	color: #ffffff !important;
	background: #d9bcbc !important;
	opacity: 1 !important;
	border: 0 !important;
	box-shadow: none !important;
	text-decoration: none !important;
}

/* =========================================================
   MES RESSOURCES - EN-TÊTE + RECHERCHE
   ========================================================= */

.ccmod-entete-liste {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 22px;
}

.ccmod-entete-liste h3 {
    margin: 0;
}

.ccmod-entete-liste .ccmod-recherche-wrap {
    width: 340px;
    max-width: 100%;
    margin-left: auto;
}

.ccmod-entete-liste .ccmod-recherche {
    width: 100%;
}

@media (max-width: 767px) {

    .ccmod-entete-liste {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .ccmod-entete-liste .ccmod-recherche-wrap {
        width: 100%;
        margin-left: 0;
    }
}

/* =========================================================
   MES RESSOURCES - CHARGER PLUS
   ========================================================= */

.ccmod-charger-plus-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 22px;
}

.ccmod-charger-plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.ccmod-charger-plus i {
    font-size: 0.9em;
}

.ccmod-charger-plus,
.ccmod-charger-plus:visited {
    color: #fff;
}

.ccmod-charger-plus:hover,
.ccmod-charger-plus:focus,
.ccmod-charger-plus:active {
    color: #fff !important;
}

.ccmod-charger-plus {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ccmod-charger-plus:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* =========================================================
   Ressource matérielle mobilisable
   ========================================================= */

.ccmod-section-pret {
    margin: 22px 0;
    padding: 0;
    background: transparent;
    border: 0;
}


/* ---------------------------------------------------------
   Case principale
   --------------------------------------------------------- */

.ccmod-section-pret > .ccmod-case {
    margin: 0 0 14px !important;
}

.ccmod-section-pret > .ccmod-case label {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;

    margin: 0 !important;

    color: #285473;
    font-size: 18px;
    font-weight: 800;
}

.ccmod-section-pret > .ccmod-case input[type="checkbox"] {
    width: 17px !important;
    height: 17px !important;
    margin: 0 !important;
}


/* ---------------------------------------------------------
   Bloc dépendant de la case principale
   --------------------------------------------------------- */

.ccmod-champs-pret {
    padding: 22px 24px;

    background: #ffffff;

    border: 1px solid rgba(40, 84, 115, 0.18);
    border-radius: 14px;
}


/* ---------------------------------------------------------
   Disponibilité
   --------------------------------------------------------- */

.ccmod-statut-mobilisation {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px 12px;

    margin: 0;
}

.ccmod-statut-mobilisation > p:first-child {
    grid-column: 1 / -1;

    margin: 0 0 8px !important;
}

.ccmod-statut-mobilisation > p:first-child strong {
    display: block;

    margin: 0 !important;

    color: #285473;
    font-size: 16px;
    font-weight: 800;
}

.ccmod-option-statut {
    margin: 0 !important;

    transition:
        opacity 0.2s ease,
        filter 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.ccmod-option-statut label {
    display: flex !important;
    align-items: center !important;

    gap: 10px;

    width: 100%;
    min-height: 58px;

    margin: 0 !important;
    padding: 12px 15px;

    background: #ffffff;

    border: 1px solid rgba(40, 84, 115, 0.18);
    border-radius: 8px;

    color: #285473;
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.ccmod-option-statut label:hover {
    background: #f7fafc;
    border-color: rgba(40, 84, 115, 0.38);
}

.ccmod-option-statut input[type="radio"] {
    flex: 0 0 auto;

    width: 16px !important;
    height: 16px !important;

    margin: 0 !important;
}

.ccmod-option-statut label:has(input[type="radio"]:checked) {
    background: #f3f8fb;

    border-color: #285473;

    box-shadow:
        0 0 0 1px rgba(40, 84, 115, 0.08);
}


/* ---------------------------------------------------------
   Pastilles
   --------------------------------------------------------- */

.ccmod-pastille {
    display: inline-block;

    width: 12px;
    height: 12px;

    min-width: 12px;
    min-height: 12px;

    flex: 0 0 12px;

    border-radius: 50%;

    box-shadow:
        inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.ccmod-pastille-disponible {
    background: #76b82a;
}

.ccmod-pastille-indisponible {
    background: #e94242;
}


/* ---------------------------------------------------------
   État effectif actuel
   --------------------------------------------------------- */

.ccmod-etat-effectif {
    display: flex;
    flex-direction: column;
    gap: 4px;

    margin: 14px 0 24px;
    padding: 12px 15px;

    border-radius: 9px;

    font-size: 14px;
    line-height: 1.4;
}

.ccmod-etat-effectif strong {
    font-size: 15px;
    font-weight: 800;
}

.ccmod-etat-disponible {
    background: rgba(42, 157, 98, 0.10);
    border: 1px solid rgba(42, 157, 98, 0.28);
}

.ccmod-etat-indisponible {
    background: rgba(120, 120, 120, 0.10);
    border: 1px solid rgba(120, 120, 120, 0.24);
}

.ccmod-etat-pret {
    background: rgba(230, 150, 40, 0.12);
    border: 1px solid rgba(230, 150, 40, 0.34);
}

.ccmod-etat-utilisation {
    background: rgba(40, 84, 115, 0.10);
    border: 1px solid rgba(40, 84, 115, 0.28);
}


/* Disponible neutralisé temporairement */
.ccmod-option-neutralisee {
    opacity: 0.45;
    filter: grayscale(1);
}


/* ---------------------------------------------------------
   Périodes de mobilisation
   --------------------------------------------------------- */

.ccmod-periodes-mobilisation {
    margin-top: 24px;
}

.ccmod-periodes-entete {
    margin-bottom: 14px;
}

.ccmod-periodes-entete > strong {
    display: block;

    margin-bottom: 6px;

    color: #285473;
    font-size: 18px;
    font-weight: 800;
}

#ccmod_periodes_liste,
#cc_periodes_liste {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Une période */
.ccmod-periode-item {
    display: grid;

    grid-template-columns:
        minmax(240px, 1.6fr)
        minmax(160px, 1fr)
        minmax(160px, 1fr)
        auto;

    gap: 12px;

    align-items: start;

    padding: 14px 16px;

    background: #f7fafc;

    border: 1px solid rgba(40, 84, 115, 0.16);
    border-radius: 10px;
}

.ccmod-periode-item label {
    display: block !important;

    margin: 0 0 6px !important;

    color: #285473;
    font-size: 14px;
    font-weight: 800;
}

.ccmod-periode-item select,
.ccmod-periode-item input[type="date"] {
    width: 100% !important;
    height: 40px;

    box-sizing: border-box;
}

.ccmod-periode-item input[type="date"] {
    padding: 8px 10px;

    background: #ffffff;

    border: 1px solid rgba(40, 84, 115, 0.35);
    border-radius: 8px;

    font-family: inherit;
    font-size: 15px;
}

.ccmod-periode-date .ccmod-aide {
    margin-top: 4px;
}


/* ---------------------------------------------------------
   Supprimer une période
   --------------------------------------------------------- */

.ccmod-periode-actions {
    display: flex;
    align-items: flex-start;
    padding-top: 29px;
}

.ccmod-supprimer-periode {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 40px;

    padding: 0 14px;

    border: 0;
    border-radius: 999px;

		background: #e95b45 !important;
		color: #fff !important;
	
    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
}

.ccmod-supprimer-periode:hover {
    background: #d94f3c !important;
}


/* ---------------------------------------------------------
   Ajouter une période
   --------------------------------------------------------- */

.ccmod-ajouter-periode {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    float: right;

    margin: 10px 0 24px;

    padding: 6px 12px;

    min-height: 32px;

    border: 0;
    border-radius: 999px;

    background: #285473;
    color: #ffffff;

    font-size: 13px;
    font-weight: 700;
    line-height: 1;

    cursor: pointer;
}

.ccmod-ajouter-periode i {
    font-size: 11px;
}

.ccmod-ajouter-periode,
.ccmod-ajouter-periode span,
.ccmod-ajouter-periode i {
    color: #ffffff !important;
}

.ccmod-ajouter-periode:hover {
    background: #1f5372;
}

.ccmod-periodes-mobilisation::after {
    content: "";
    display: block;
    clear: both;
}


/* ---------------------------------------------------------
   Contact
   --------------------------------------------------------- */

.ccmod-periodes-mobilisation + p {
    margin-top: 26px !important;
}

.ccmod-champs-pret > p {
    margin-bottom: 18px !important;
}


/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 1000px) {

    .ccmod-periode-item {
        grid-template-columns:
            1fr
            1fr;
    }

    .ccmod-periode-type,
    .ccmod-periode-actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {

    .ccmod-champs-pret {
        padding: 18px;
    }

    .ccmod-statut-mobilisation,
    .ccmod-periode-item {
        grid-template-columns: 1fr;
    }

    .ccmod-statut-mobilisation > p:first-child,
    .ccmod-periode-type,
    .ccmod-periode-actions {
        grid-column: 1;
    }

    .ccmod-ajouter-periode {
        float: none;
        margin-top: 12px;
    }

    .ccmod-supprimer-periode {
        width: 100%;
    }
}

/* =========================================================
   MES RESSOURCES - OPTIONS À LA UNE
   ========================================================= */

.ccmod-case-a-la-une {
    margin-bottom: 12px;
}

.ccmod-case-a-la-une label {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    font-weight: 700;
    color: #285a7d;
}

.ccmod-options-a-la-une {
    display: none;

    margin: 12px 0 20px;
    padding: 18px 20px;

    background: #f4f9fc;

    border-left: 4px solid #285a7d;
    border-radius: 10px;

    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.06);
}

.ccmod-options-a-la-une.is-visible {
    display: block;
}

.ccmod-options-a-la-une p:first-child {
    margin-top: 0;
}

.ccmod-options-a-la-une p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   MA RESSOURCERIE - MODIFICATION
   FICHIER ET IMAGE ACTUELS
   ========================================================= */


/* ---------------------------------------------------------
   ESPACEMENT DES BLOCS
   --------------------------------------------------------- */

.ccmod-formulaire .ccmod-upload-bloc {
	margin-top: 28px;
	margin-bottom: 28px;
}


/* ---------------------------------------------------------
   FICHIER ACTUEL
   --------------------------------------------------------- */

.ccmod-formulaire .ccmod-fichier-actuel {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px 18px;

	margin: 0 0 14px 0;
	padding: 14px 16px;

	background: #f4f9fb;

	border: 1px solid rgba(40, 84, 115, 0.14);
	border-left: 4px solid #285473;
	border-radius: 10px;

	color: #285473;
}


.ccmod-formulaire .ccmod-fichier-actuel > strong {
	flex: 0 0 100%;

	font-size: 14px;
	font-weight: 800;

	color: #285473;
}


.ccmod-formulaire .ccmod-fichier-actuel > a {
	display: inline-flex;
	align-items: center;
	gap: 8px;

	padding: 8px 12px;

	background: #ffffff;

	border: 1px solid rgba(40, 84, 115, 0.20);
	border-radius: 8px;

	color: #285473;

	font-size: 14px;
	font-weight: 700;

	text-decoration: none;

	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease;
}


.ccmod-formulaire .ccmod-fichier-actuel > a:hover {
	background: #eef5f7;
	border-color: #285473;

	color: #285473;

	text-decoration: none;

	transform: translateY(-1px);
}


.ccmod-formulaire .ccmod-fichier-actuel > a i {
	font-size: 15px;
}


/* ---------------------------------------------------------
   SUPPRESSION DU FICHIER ACTUEL
   --------------------------------------------------------- */

.ccmod-formulaire .ccmod-supprimer-fichier-actuel {
	display: inline-flex;
	align-items: center;
	gap: 8px;

	margin: 0;

	font-size: 14px;
	font-weight: 600;

	color: #6c3b3b;

	cursor: pointer;
}


.ccmod-formulaire
.ccmod-supprimer-fichier-actuel
input[type="checkbox"] {
	width: 17px !important;
	height: 17px !important;

	margin: 0 !important;

	accent-color: #b53a3a;
}



/* =========================================================
   NOUVELLE SÉLECTION
   Adaptation aux nouvelles classes HTML
   ========================================================= */


/* ---------------------------------------------------------
   FICHIER SÉLECTIONNÉ
   --------------------------------------------------------- */

.cc-fichier-selectionne {
	width: 100%;

	display: flex;
	align-items: center;
	justify-content: space-between;

	gap: 16px;

	padding: 14px 16px;

	background: #ffffff;

	border: 1px solid #d7e0e6;
	border-radius: 9px;
}


.cc-fichier-selectionne[hidden] {
	display: none !important;
}


.cc-upload-fichier-infos {
	display: flex;
	align-items: center;

	gap: 12px;

	min-width: 0;
}


.cc-upload-fichier-infos > i {
	flex: 0 0 auto;

	font-size: 26px;

	color: #285473;
}


/* ---------------------------------------------------------
   MÉTADONNÉES DU FICHIER / IMAGE
   --------------------------------------------------------- */

.cc-upload-meta {
	display: flex;
	flex-direction: column;

	min-width: 0;
}


.cc-upload-nom {
	overflow: hidden;

	text-overflow: ellipsis;
	white-space: nowrap;

	color: #285473;

	font-weight: 700;
}


.cc-upload-taille {
	margin-top: 2px;

	font-size: 13px;

	color: #7b858d;
}


/* ---------------------------------------------------------
   BOUTON SUPPRIMER LA NOUVELLE SÉLECTION
   --------------------------------------------------------- */

.cc-upload-supprimer {
	flex: 0 0 auto;

	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;

	gap: 7px;

	width: auto !important;

	padding: 8px 12px !important;
	margin: 0 !important;

	border: 1px solid #d3dce2 !important;
	border-radius: 7px !important;

	background: #ffffff !important;

	color: #5e6870 !important;

	font-size: 14px !important;
	font-weight: 600 !important;

	box-shadow: none !important;

	cursor: pointer;
}


.cc-upload-supprimer:hover {
	border-color: #b53a3a !important;

	background: #fff7f7 !important;

	color: #b53a3a !important;
}


/* ---------------------------------------------------------
   ERREURS
   --------------------------------------------------------- */

.cc-upload-erreur {
	margin-top: 8px;
	padding: 9px 12px;

	border-radius: 7px;

	background: #fff3f3;

	color: #a12f2f;

	font-size: 13px;
	font-weight: 700;
}


.cc-upload-erreur[hidden] {
	display: none !important;
}


/* ---------------------------------------------------------
   AIDE SOUS LA DROPZONE
   --------------------------------------------------------- */

.ccmod-upload-bloc > .ccmod-aide,
.ccmod-upload-bloc > .cc-aide-champ {
	display: block;

	margin-top: 8px;

	color: #737d84;

	font-size: 13px;
	line-height: 1.5;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 600px) {

	.ccmod-formulaire .ccmod-fichier-actuel {
		align-items: stretch;
		flex-direction: column;
	}


	.ccmod-formulaire .ccmod-fichier-actuel > a {
		justify-content: center;
	}


	.cc-fichier-selectionne,
	.cc-image-selectionnee-bas {
		align-items: stretch;
		flex-direction: column;
	}


	.cc-upload-supprimer {
		width: 100% !important;
	}
}

/* =========================================================
   MODIFIER UNE RESSOURCE - TAXONOMIES
   ========================================================= */


/* Groupe complet */

.ccmod-formulaire .ccmod-taxonomie-groupe {
	box-sizing: border-box;

	width: 100%;

	margin: 0 0 16px 0;
	padding: 18px 20px 20px;

	background: #f4f9fc;

	border-radius: 12px;
}


/* Titre */

.ccmod-formulaire .ccmod-taxonomie-groupe-titre {
	margin: 0 0 14px 0;

	color: #285473;

	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}


/* Une ligne */

.ccmod-formulaire
.ccmod-taxonomie-groupe
label.cc-taxo-option {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;

	gap: 8px;

	width: fit-content !important;
	max-width: 100%;

	margin: 0 0 7px 0 !important;
	padding: 0 !important;

	color: #285473;

	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;

	cursor: pointer;
}


/* Dernière ligne */

.ccmod-formulaire
.ccmod-taxonomie-groupe
label.cc-taxo-option:last-child {
	margin-bottom: 0 !important;
}


/* Checkbox */

.ccmod-formulaire
.ccmod-taxonomie-groupe
.cc-taxo-option
input[type="checkbox"] {
	flex: 0 0 auto !important;

	width: 15px !important;
	height: 15px !important;

	min-width: 15px !important;

	margin: 0 !important;
	padding: 0 !important;

	cursor: pointer;
}


/* Texte */

.ccmod-formulaire
.ccmod-taxonomie-groupe
.cc-taxo-option
span {
	display: inline !important;

	margin: 0 !important;
	padding: 0 !important;

	color: inherit;

	line-height: inherit;
}


/* Mobile */

@media (max-width: 767px) {

	.ccmod-formulaire .ccmod-taxonomie-groupe {
		padding: 16px;
	}

	.ccmod-formulaire
	.ccmod-taxonomie-groupe
	label.cc-taxo-option {
		width: 100% !important;
	}
}

