/* Styles généraux pour le forum */
body {
    color: black;
    background-color: white;
    background-image: url('../interface/fond3a.jpg');
    background-repeat: no-repeat;
    background-size: 100%;
    background-attachment: fixed; /* Pour que le fond reste fixe au défilement */
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Verdana, sans-serif;
    margin: 0;
    padding: 0;
}

@media screen and (max-width: 768px), body.mobile-mode {
    html, body {
		margin: 0px;
		padding: 0px;
		width: 100%;
		height: 100%;
		box-sizing: border-box;
        background-image: url('../interface/mobile/fond_ecran.jpg');
        background-repeat: repeat;        /* Répète l'image si nécessaire */
        background-size: cover;           /* Étire le fond pour couvrir tout l'écran */
        background-position: center;      /* Centre l'image pour un affichage optimal */
        background-attachment: fixed;     /* Fixe le fond même lors du défilement */
    }
}

title {
	background-image: url('../interface/fond3a.jpg');
}

        .login-form {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 10px;
        }
        .login-form input[type="text"],
        .login-form input[type="password"] {
            padding: 5px;
            font-size: 14px;
        }
        .login-form label {
            font-size: 12px;
        }
        .login-form input[type="submit"] {
            padding: 5px 10px;
            background-color: #007bff;
            color: white;
            border: none;
            cursor: pointer;
        }
        .login-form input[type="submit"]:hover {
            background-color: #0056b3;
        }
        .user-info {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .user-info span {
            font-size: 14px;
        }
        .user-info a {
            font-size: 14px;
            color: #fff;
            text-decoration: underline;
        }
        .flag {
            width: 25px;
            height: auto;
        }
        .subcategory-icon {
            width: 40px; /* Taille de l'icône */
            height: 40px;
            margin-right: 10px;
        }
        .last-message {

        }

        .subcategory-subject {
            font-size: 14px;
            color: #555;
        }
        .no-subcategory {
            font-size: 14px;
            color: #555;
            margin-left: 30px; /* Indentation pour aligner avec le titre */
        }

/* Style pour la bannière */
.banner {
    width: 100%;
    max-width: 800px;
    margin: 20px 0;
    text-align: center;
}

.banner img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
}

.banner-container {
	display: flex;
	align-items: center; /* Centre verticalement les éléments */
	justify-content: center; /* Centre horizontalement les éléments */
	gap: 10px; /* Espace entre la bannière et l'image */

}

.return-link img {
	cursor: pointer;

}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 15px;
        gap: 10px;
    }

    .login-form {
        width: 100%;
        max-width: 350px;
        flex-direction: column;
        align-items: stretch;
    }

    .login-form input[type="text"],
    .login-form input[type="password"],
    .login-form input[type="submit"] {
        width: 100%;
        box-sizing: border-box;
    }

	.user-info {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		width: 100%;
	}
}

/* --- Version mobile et tablette --- */
@media (max-width: 1024px) {
    .banner {
        max-width: none;
        margin: 15px; /* ✅ garde une marge autour */
    }

    .banner img {
        width: 100%;
        height: auto;
        border-radius: 10px; /* ✅ tu gardes les coins arrondis */
    }

    .banner-container {
        justify-content: center;
        position: relative;
    }

    /* ✅ Bouton retour flottant en haut à droite, visible */
    .return-link {
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 2000; /* plus haut que tout */
    }

    .return-link img {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.9);
        padding: 5px;
        box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
        transition: transform 0.2s ease, background-color 0.2s ease;
    }

    .return-link img:hover {
        transform: scale(1.1);
        background-color: white;
    }

    /* ✅ Formulaire de connexion bien aligné en haut */
    .top-bar-container {
        padding: 10px;
        display: flex;
        justify-content: center;
        background-color: #333; /* ajuste si besoin */
        flex-wrap: wrap;
    }

    .login-form {
        display: flex;
        flex-direction: column; /* ✅ en colonne sur mobile */
        align-items: stretch;
        width: 90%;
        gap: 8px;
        margin: 10px auto;
    }

    .login-form input[type="text"],
    .login-form input[type="password"] {
        padding: 8px;
        font-size: 14px;
    }

    .login-form input[type="submit"] {
        padding: 8px;
        font-size: 15px;
        background-color: #007bff;
        border: none;
        color: white;
        cursor: pointer;
    }

    .login-form input[type="submit"]:hover {
        background-color: #0056b3;
    }

    /* ✅ User info bien centrée aussi */
	.user-info {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		width: 100%;
	}
}

/* --- Optionnel : sur téléphone étroit (<600px) --- */
@media (max-width: 600px) {
    .return-link img {
        width: 38px;
        height: 38px;
        padding: 4px;
    }
}

/* Style pour le container de chaque section (catégorie) */
.section-container {
    width: 80%;
    max-width: 1200px;
    margin: 10px 0;
    padding: 20px;
    background-image: url('../interface/fondbg3a.jpg');
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Style pour la liste de sous-catégories */
.subcategory-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    list-style-type: none;
    padding: 0;
}

/* Style pour chaque sous-catégorie */
.subcategory-container {
    background-color: #f8f8f8;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
    width: 98%;
	margin-bottom: 1px;
    display: flex;
    align-items: center;
}

.subcategory-container:hover {
    background-color: #f0f0f0;
}

/* Titre de chaque sous-catégorie */
.subcategory-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.subcategory-title:hover {
    text-decoration: underline;
    color: #007bff;
}

/* Sujet de chaque sous-catégorie */
.subcategory-subject {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
    margin-bottom: 10px;
}

/* Dernier message de chaque sous-catégorie */
.last-message {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #555;
}

/* Liens de la liste des éléments */
.item-list li {
    margin: 5px 0;
}

.item-list li a {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}

.item-list li a:hover {
    color: #0056b3;
}

.category-flag {
    width: 25px; /* Ajuste la taille du drapeau */
    height: auto;
    margin: 0 5px;
    vertical-align: middle;
}

/* Style pour le footer */
footer {
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    color: #333;
    margin-top: 20px;
}

/* Container pour centrer la barre */
.top-bar-container {
    width: 80%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    margin: 0 auto 0 auto;
}

/* Barre de navigation centrée */
.top-bar {
    width: 100%;
	/*height: 20px; */
    background-color: #333;
    padding: 10px 20px;
    display: flex;
    justify-content: flex-end;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    border-radius: 10px 10px 0 0;
}

/* Informations sur l'utilisateur */
.user-info {
    display: flex;
    align-items: center;
    color: white;
    font-weight: bold;
}

.user-avatar {
    width: 25px;
    height: 25px;
    margin-right: 8px;
    border-radius: 50%;
}

.user-name {
    font-size: 14px;
    color: white;
}

/* Tableau du forum pour afficher les messages */
.forum-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

/* Cellule de l'utilisateur, pour l'avatar et les informations */
.user-cell {
    width: 150px;
    vertical-align: top;
    padding: 15px;
    background-color: #f5f5f5;
    text-align: center;
    border-right: 1px solid #ddd;
    border-radius: 10px 0 0 10px;
}

.message-content img {
    max-width: 100%;
	max-height: 800px;
    height: auto;
    display: block;
}

/* Avatar de l'utilisateur */
.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Style pour le lien de pseudo utilisateur */
.user-link {
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
    display: inline; /* Mettre en inline pour éviter le saut de ligne */
    margin: 0;
    padding: 0;
    color: inherit; /* Utilise la couleur parent */
}

.user-link:hover {
    text-decoration: underline;
}

/* Affichage du nombre de messages */
.user-cell p {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}

/* Cellule du contenu du message */
.message-cell {
    padding: 15px;
    vertical-align: top;
    border-radius: 0 10px 10px 0;
	word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}
}

/* En-tête de message pour la date de publication */
.message-header {
    font-size: 12px;
    color: #777;
    margin-bottom: 10px;
    font-style: italic;
}

/* Contenu principal du message */
.message-content {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

/* Style de la section de titre pour le sujet du topic */
.section-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #e9e9e9;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    text-align: center;
    color: #333;
    width: 100%;
    box-sizing: border-box; /* ✅ empêche le débordement */
}

.message-date {
    font-size: 12px;
    color: #777;
}

.code-block {
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    padding: 10px;
    overflow-x: auto;
    font-family: Consolas, "Courier New", monospace;
    white-space: pre-wrap;
    border-radius: 5px;
}

/* Conteneur pour la liste des topics */
.topics-container {
    width: 95%;
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 20px;
}

/* Style pour chaque item de topic */
.topic-item {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
    width: 100%;
}

.topic-item:hover {
    background-color: #f0f0f0;
}

/* Titre du topic */
.topic-title {
    font-size: 16px;
    font-weight: bold;
    color: #007bff;
    text-decoration: none;
}

.topic-title:hover {
    text-decoration: underline;
}

/* Détails du topic avec pseudo et date */
.topic-details {
    font-size: 14px;
    color: #555;
    margin-top: 5px;
    display: flex;
    gap: 5px;
}

/* Date du topic */
.topic-date {
    font-size: 12px;
    color: #777;
}

.no-topic {
    color: #777;
    font-style: italic;
    margin-top: 15px;
}

/* Formulaire de création de nouveau sujet */
/* Bouton pour créer un nouveau sujet */
.new-topic-button {
    margin: 10px 0;
    text-align: right;
}

.new-topic-button .button {
    padding: 10px 20px;
    font-size: 14px;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
}

.new-topic-button .button:hover {
    background-color: #0056b3;
}

/* Formulaire de création de sujet */
.new-topic-form {
    margin-top: 20px;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.new-topic-form label {
    font-size: 14px;
    color: #555;
    display: block;
    margin-bottom: 5px;
}

.new-topic-form input[type="text"],
.new-topic-form textarea {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
}

.new-topic-form button {
    padding: 10px 15px;
    font-size: 14px;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.new-topic-form button:hover {
    background-color: #0056b3;
}

.separator-line {
    border: none;
    border-top: 3px double #999; 
    margin: 25px 0;
    width: 100%;
    opacity: 0.8;
}

/* --- Sous-catégories de service (forum_serv_cat) --- */
.service-subcategory-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-left: 45px; /* 👈 léger décalage à droite pour montrer que c’est une sous-catégorie */
    margin-top: 4px;
}

.service-subcategory-container {
    background-color: #fefefe;
    padding: 8px 10px; /* 👈 réduit le padding pour un format plus compact */
    border-radius: 6px;
    box-shadow: 0px 1px 2px rgba(0,0,0,0.08);
    transition: background-color 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    width: 95%; /* 👈 un peu plus étroit pour ne pas dépasser les sous-catégories normales */
}

.service-subcategory-container:hover {
    background-color: #f3f3f3;
    transform: translateX(3px);
}

/* Icône un peu plus petite que celle des catégories principales */
.service-subcategory-container .subcategory-icon {
    width: 28px;
    height: 28px;
    margin-right: 8px;
}

/* Titre cliquable plus fin */
.service-subcategory-title {
    font-size: 14px;
    font-weight: normal;
    color: #333;
    text-decoration: none;
}

.service-subcategory-title:hover {
    color: #007bff;
    text-decoration: underline;
}

/* Texte secondaire plus petit et léger */
.service-subcategory-subject {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

@media (max-width: 1024px) {
    /* Corrige le débordement des sous-catégories de service */
    .service-subcategory-list {
        padding-left: 20px; /* ✅ moins de retrait à gauche */
        width: 100%;        /* ✅ garde la largeur totale du parent */
        box-sizing: border-box;
    }

    .service-subcategory-container {
        width: 100%;       /* ✅ empêche de dépasser la section */
        padding: 6px 8px;  /* ✅ plus compact sur mobile */
        margin: 2px 0;
    }

    .service-subcategory-container .subcategory-icon {
        width: 24px;
        height: 24px;
    }

    .service-subcategory-title {
        font-size: 13px;
    }

    .service-subcategory-subject {
        font-size: 11px;
    }
}


		/* Styles pour les badges */
		.badge-link {
			display: inline-block; /* Permet de styliser le lien comme un bouton */
			text-decoration: none; /* Supprime le soulignement */
			position: relative; /* Position relative pour permettre les éléments positionnés */
		}

		.badge-content {
			display: inline-flex; /* Aligne l'icône et le texte horizontalement */
			align-items: center; /* Centre verticalement */
			justify-content: center; /* Centre horizontalement */
			font-size: 14px; /* Taille de la police */
			color: #696969; /* Couleur du texte */
			background-color: #f0f0f0; /* Fond gris clair */
			padding: 5px 15px; /* Marges internes pour un badge plus large */
			border-radius: 12px; /* Coins arrondis */
			font-weight: bold; /* Texte en gras */
			box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.2), 
						inset -2px -2px 4px rgba(255, 255, 255, 0.5); /* Effet renfoncé */
			white-space: nowrap; /* Empêche le retour à la ligne */
			gap: 8px; /* Espace entre l'icône et le texte */
			transition: background-color 0.2s, box-shadow 0.2s, color 0.2s; /* Transitions fluides */
		}

		.badge-content:hover {
			background-color: #e0e0e0; /* Fond légèrement plus foncé au survol */
			color: #333; /* Texte plus foncé */
			box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.25), 
						inset -3px -3px 6px rgba(255, 255, 255, 0.5); /* Effet d'appui plus marqué */
			transition: all 0.2s ease-in-out; /* Transition fluide */
		}

		.badge-content img {
			vertical-align: middle; /* Centre verticalement l'icône */
			width: 20px; /* Taille de l'icône */
			height: 20px; /* Taille de l'icône */
		}

/* --- MODE MOBILE / TABLETTE : Réorganisation du message + correction débordement --- */
@media (max-width: 1024px) {

    /* === Structure générale et prévention du scroll horizontal === */
    html, body {
        overflow-x: hidden;              /* ✅ empêche le défilement horizontal */
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    .section-container,
    .forum-table,
    .message-cell,
    .user-cell {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;          /* ✅ tout reste dans les limites de l’écran */
        margin: 0 auto;
    }
	
	 .section-container {
        width: 95%;
        margin: 15px 0; /* ✅ espace vertical entre les catégories */
        padding: 15px;  /* ✅ réduit un peu le padding pour écran plus petit */
        border-radius: 8px;
		}

		/* On ajuste un peu les sous-catégories pour ne pas être trop serrées */
	.subcategory-container {
			padding: 10px;
			margin-bottom: 5px;
		}

		/* Et on réduit la taille du texte si besoin */
	.section-title {
			font-size: 18px;
			padding: 8px;
		}

    /* === Carte principale d’un message === */
    .forum-table {
        display: block;
        margin-bottom: 15px;
        background-color: #fff;
        border-radius: 10px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.15);
        overflow: hidden;                /* ✅ pas de débordement */
        position: relative;              /* permet de placer le numéro en bas */
        padding-bottom: 25px;            /* espace pour le numéro */
		display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }
	
	.forum-table tr {
        display: flex !important;
        flex-direction: row !important;
        width: 100% !important;
    }

	.forum-table tr {
		display: flex !important;
		flex-direction: column !important;
		width: 100% !important;
	}

	.forum-table td {
		width: 100% !important;
	}

    /* === Cadre utilisateur === */
    .user-cell {
        background-color: #f9f9f9;
        padding: 8px;
        text-align: center;
        border-bottom: 1px solid #ddd;
        font-size: 13px;
        line-height: 1.3;
		width: 100% !important;
		min-width: 120px; /* ⭐ fix du problème */
        border-right: none !important;
        border-radius: 10px 10px 0 0 !important;
		
		
    }

    .user-cell img.user-avatar {
        width: 55px;
        height: 55px;
        margin-bottom: 5px;
        border-radius: 50%;
        box-shadow: 0 0 3px rgba(0,0,0,0.2);
    }

    .user-cell .badge {
        font-size: 9px;
        padding: 1px 5px;
        margin: 1px 2px;
    }

    /* === Contenu du message === */
    .message-cell {
        background-color: #fff;
        padding: 12px;
        font-size: 14px;
        color: #333;
        line-height: 1.5;
        border-top: none;
		width: 100% !important;
		max-width: 100% !important;
		flex: 1 0 100% !important; /* empêche le shrink */
    }
	
	/* Empêche l'élargissement de la cellule sur mobile */
	.message-cell,
	.message-content {
		word-break: break-word;
		overflow-wrap: break-word;
		white-space: normal;
	}

	/* Empêche les images de dépasser */
	.message-content img {
		max-width: 100%;
		height: auto;
		display: block;
	}

    /* === Numéro du message en bas du bloc === */
    .user-cell .message-number {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: #f2f2f2;
        color: #555;
        text-align: center;
        font-size: 11px;
        border-top: 1px solid #ddd;
        padding: 5px 0;
        box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
        border-radius: 0 0 10px 10px;
    }

    /* === Ajustements internes === */
    .message-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .message-actions {
        align-self: flex-end;
    }

    /* === Espacement entre les réponses === */
    .response {
        border-top: none;
        padding-top: 0;
    }
	
	.last-message {
        display: block !important;           /* ✅ repasse en bloc simple */
        font-size: 13px !important;          /* ✅ texte un peu plus petit */
        line-height: 1.4;                    /* ✅ meilleure lisibilité */
        word-break: break-word;              /* ✅ casse les mots trop longs */
        overflow-wrap: break-word;           /* ✅ gère aussi les liens longs */
        white-space: normal;                 /* ✅ autorise les retours à la ligne */
        margin-top: 4px;
    }

    .last-message strong {
        display: block;                      /* ✅ “Dernier message :” sur sa propre ligne */
        margin-bottom: 2px;
    }

    .last-message a.user-link {
        display: inline;                     /* ✅ reste sur la même ligne que le texte */
        white-space: nowrap;                 /* ✅ évite coupure du pseudo */
    }

    .message-date {
        display: inline;
        white-space: nowrap;                 /* ✅ évite que la date se casse */
        font-size: 12px;
    }
	
	.topic-item {
        flex-direction: column !important;   /* ✅ les éléments se superposent */
        align-items: flex-start !important;  /* ✅ alignement à gauche */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        padding: 10px !important;
        margin: 2px 0 !important;
        border-radius: 8px;
        overflow-wrap: break-word;          /* ✅ casse les longs liens */
        word-break: break-word;
    }

    .topic-left {
        flex-direction: row !important;     /* icône + texte alignés */
        align-items: center !important;
        width: 100%;
        margin-bottom: 6px;
    }

    .topic-icon {
        width: 30px;
        height: 30px;
        margin-right: 8px;
        flex-shrink: 0;
    }

    .topic-content {
        flex: 1;
        min-width: 0;                       /* ✅ empêche débordement du texte */
    }

    .topic-title {
        font-size: 15px !important;
        display: block;
        word-break: break-word;
    }

    .topic-details {
        display: block !important;          /* ✅ passe en bloc, pas flex */
        font-size: 13px !important;
        line-height: 1.4;
        color: #444;
        margin-top: 4px;
        word-wrap: break-word;
        white-space: normal;                /* ✅ autorise les retours à la ligne */
    }

    .topic-details a.user-link {
        display: inline;
        word-break: break-word;
    }

    /* Le bloc "Réponses" passe en bas, centré */
    .topic-replies {
        width: 100% !important;
        border-left: none !important;
        text-align: right !important;
        padding-left: 0 !important;
        margin-top: 6px !important;
        font-size: 13px !important;
        color: #666;
    }
}

@media (max-width: 600px) {
    .topic-title {
        font-size: 14px !important;
    }
    .topic-details {
        font-size: 12px !important;
    }
    .topic-replies {
        text-align: left !important;
        font-size: 12px !important;
    }
}

.service-custom-icon {
    width: 32px;
    height: 32px;
    margin-left: 8px;
    vertical-align: middle;
}

.mark-read-bar {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #444;
    padding: 10px 20px;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 10px 10px;
    box-sizing: border-box;
}

.mark-read-content {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #ccc;
    cursor: pointer;
    opacity: 0.9;
    transition: all 0.2s ease;
}

.mark-read-content img {
    width: 16px;               /* ✅ petite icône */
    height: 16px;
	filter: invert(1);
}

.mark-read-content:hover {
    opacity: 1;
    text-decoration: underline;
}

@media (max-width: 768px) {
	.mark-read-bar {
		width: 100%;
		max-width: 100%;
		margin: 0;
		border-radius: 0;
	}

	.top-bar-container {
		width: 100%;
		max-width: 100%;
		margin: 0;
	}
}

.user-profile-link {
    color: inherit;
    text-decoration: none;
}

.user-profile-link:hover span {
    text-decoration: underline;
}