/* ==========================================================================
   Masquage du badge "télécharger le certificat" (fonction non utilisée par IEATC)
   ========================================================================== */

.arm_course_certificate_download_icon,
.arm_cs_certificate_download_btn {
	display: none !important;
}

/* ==========================================================================
   Boutons "Supports de cours" - Dashboard élève IEATC
   ========================================================================== */

.arm-support-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	max-width: 320px;
	padding: 12px 18px;
	margin: 6px auto;
	border-radius: 6px;
	background-color: #f4f4f4;
	border: 1px solid #dddddd;
	color: #333333;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	box-sizing: border-box;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.arm-support-btn:hover {
	background-color: #eaeaea;
	border-color: #C41E3A;
	color: #C41E3A;
}

.arm-support-btn__icon {
	font-size: 16px;
}

/* ==========================================================================
   Message de bienvenue - Dashboard élève IEATC
   ========================================================================== */

.arm-welcome-message {
	display: block;
	font-size: 26px;
	font-weight: 700;
	color: #333333;
	margin-bottom: 20px;
}

/* Etat "actif" : année actuellement affichée dans la colonne de droite */
.arm-year-btn--active {
	outline: 3px solid #333333;
	outline-offset: 2px;
}

/* Grille adaptée à la largeur de la colonne droite du dashboard,
   indépendante de la mise en page de la page "Mes Cours" native en plein écran. */
#arm-course-display .arm-course-items.arm_my_course_list {
	display: grid !important;
	grid-template-columns: repeat( auto-fill, minmax( 220px, 1fr ) ) !important;
	gap: 20px !important;
}

#arm-course-display .arm-course-item {
	width: 100% !important;
	margin: 0 !important;
}

#arm-course-display .arm-ci__author img {
	display: none !important;
}

/* Masque le bloc "date de publication" (icône horloge + date en anglais),
   sans intérêt côté élève. Ne touche pas au bloc "Leçons" juste après. */
#arm-course-display .arm-ci__course-info-row .arm-cir__col:first-child {
	display: none !important;
}

.arm-course-display__loading,
.arm-course-display__empty {
	font-size: 16px;
	color: #666666;
	text-align: center;
	padding: 30px 10px;
}

/* ==========================================================================
   Boutons dynamiques "Mon parcours" - Dashboard élève IEATC
   ========================================================================== */

.arm-year-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	max-width: 320px;
	padding: 22px 28px;
	margin: 10px auto;
	border-radius: 8px;
	font-family: inherit;
	font-size: 18px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
	box-sizing: border-box;
}

/* Etat actif : cliquable, mène vers la page des cours de l'année */
.arm-year-btn--unlocked {
	background-color: #C41E3A; /* rouge IEATC - à ajuster si besoin */
	color: #ffffff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
	cursor: pointer;
}

.arm-year-btn--unlocked:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	background-color: #a5182f;
	color: #ffffff;
}

/* Etat verrouillé : visible mais non cliquable, affiche juste l'intitulé */
.arm-year-btn--locked {
	background-color: #e9e9e9;
	color: #9a9a9a;
	cursor: not-allowed;
	box-shadow: none;
}

.arm-year-btn__lock-icon {
	font-size: 16px;
	opacity: 0.7;
}

.arm-year-btn__label {
	line-height: 1.3;
}

/* Conteneur optionnel pour aligner plusieurs boutons en grille sur le dashboard */
.arm-year-btn-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	max-width: 900px;
	margin: 30px auto;
}

.arm-year-btn-grid .arm-year-btn {
	margin: 0;
	max-width: none;
}

/* Responsive mobile */
@media (max-width: 480px) {
	.arm-year-btn {
		font-size: 16px;
		padding: 18px 20px;
	}
}
