.d-none {
    display: none !important;
}

.section-services {
    margin: 133px 0;
}

.section-services .content {
    justify-content: flex-start;
}

.cs-list-top-services {
    margin-top: 124px;
}

.btn-primaryBlue.active {
    background-color: #20406f;
    color: white;
}

.star {
    font-size: 24px;
    color: #ccc; /* gris par défaut */
}

.star.filled {
    color: #4C8BE8;
}

.cs-margin-y {
    padding: 18px 0 1px;
}

.text-muted {
    color: #75787b;
}

.text-small {
    font-size: x-small;
}

.menuCategories .active {
    background-color: #205cb5;
}

.userConnected header .categories .menuCategories li.active a {
    color: white;
}

.cs-list-top-services {
    margin-top: 173px;
}

footer ul.isFooter li.active a {
    color: #205cb5 !important;
}

body.userConnected header ul.menu > li .dropdownMenu li {
    border-bottom: none !important;
}

body.userConnected header ul.menu {
    padding-left: 5px;
}

body.userConnected header ul.menu .nav_item_link:hover {
    background: #4c8be8 !important;
    color: white !important;
}
body.userConnected header ul.menu .nav_item_link:hover a {
    color: white !important;
}

body.userConnected header ul.menu .dropdown-user-details-name {
    font-weight: 500;
    font-size: 0.9rem;
    max-width: 10rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-left: 0 !important;
    color: #4c8be8 !important;
}

body.userConnected header ul.menu .dropdown-user-details-email {
    color: #687281;
    font-size: 0.75rem;
    max-width: 10rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-danger  {
    color: #ff5722!important;
}

.invisibleMenuBurger {
    display: block;
}

@media screen and (min-width: 769px) {
    .invisibleMenuBurger {
        display: block !important;
    }
}

@media screen and (max-width: 768px) {
    .invisibleMenuBurger {
        display: none !important;
    }

    header.openSearch .search-header {
        display: block;
    }
}

.badge-message {
    border-radius: 8px;
    font-size: .7em !important;
    height: 16px;
    line-height: 16px;
    margin-left: auto;
    position: absolute;
    right: 5px;
    text-align: center;
    top: 4px;
    width: 18px;
}
.badge-danger {
    color: #fff;
    background-color: #dc3545;
}
.font-weight-light {
    font-weight: 300 !important;
}


@media screen and (max-width: 768px) {
    .userConnected header ul.menu > li {
        align-items: flex-start;
    }
    .badge-message {
        border-radius: 8px;
        font-size: .7em !important;
        height: 21px;
        line-height: 21px;
        margin-left: auto;
        position: absolute;
        right: 143px;
        text-align: center;
        top: 1px;
        width: 31px;
    }

    .page-service .wrp-service .details-service .options-price .option {
        display: flex;
    }
}

.aboutme .secondaryTitle {
    margin-bottom: 20px;
}

.portfolio .content-popup .content {
    display: block !important;
}

.text-center {
    text-align: center !important;
}

@media screen and (max-width: 1024px) {
    .hero .content div.tag a {
        padding: 5px 6px;
        width: 155px;
        font-size: 14px;
    }

    section.section-services {
        margin: 52px 0;
    }
}



/*
ALERT

	<div class="alert alert-error">
		<button class="close-btn" onclick="this.parentElement.style.display='none';">&times;</button>
		Une erreur est survenue lors du traitement de votre paiement.
	</div>

	<div class="alert alert-success">
		<button class="close-btn" onclick="this.parentElement.style.display='none';">&times;</button>
		Paiement effectué avec succès !
	</div>

	<!-- Avertissement -->
	<div class="alert alert-warning">
		<button class="close-btn" onclick="this.parentElement.style.display='none';">&times;</button>
		Attention : votre session va bientôt expirer.
	</div>

 */

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 600px;
    font-family: sans-serif;
    color: #fff;
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    animation: fadeIn 0.4s ease-in-out;
}

.alert .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: inherit;
    font-size: 18px;
    cursor: pointer;
}

.alert .close-btn:hover {
    opacity: 0.8;
}

.alert-error {
    color: #721c24;
    background-color: #f8d7da;
}

.alert-success {
    background-color: #4CAF50;
}

.alert-warning {
    background-color: #ff9800;
    color: #000;
}

.alert-error::before {
    content: "❌ ";
    font-weight: bold;
}

.alert-success::before {
    content: "✅ ";
    font-weight: bold;
}

.alert-warning::before {
    content: "⚠️ ";
    font-weight: bold;
}

.change_password_form .row-form .form-group {
    margin-bottom: 17px;
}

.invalid-feedback {
    display: block;
    color: #721c24;
    background-color: #f8d7da;
    padding: 15px;
    margin: 4px;
    border-radius: 5px;
}

.cs-footer-fixed {
    position: sticky;
    top: 100vh;
    margin-top: auto;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}