header.header-4 .main-navbar .nav-menu>li>a::after {
    visibility: hidden !important;
}

/* Profile dropdown parent positioning */
header.header-4 .menu .header-right .onhover-dropdown,
header.inner-page .menu .header-right .onhover-dropdown {
    position: relative;
}

/* User icon color for transparent header */
header.inner-page .menu .header-right .onhover-dropdown>div svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* Profile dropdown styles for header-right navbar (Homepage & Transparent Header) */
header.header-4 .menu .header-right .profile-dropdown,
header.inner-page .menu .header-right .profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 160px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 3.346px 3.716px 22.5px rgba(0, 0, 0, 0.07);
    padding: 10px;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: all 0.3s ease;
    z-index: 1000;
}

header.header-4 .menu .header-right .onhover-dropdown:hover .profile-dropdown,
header.inner-page .menu .header-right .onhover-dropdown:hover .profile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
}

header.header-4 .menu .header-right .profile-dropdown li,
header.inner-page .menu .header-right .profile-dropdown li {
    display: block;
    padding: 0;
    margin: 0;
    background: transparent !important;
}

header.header-4 .menu .header-right .profile-dropdown li+li,
header.inner-page .menu .header-right .profile-dropdown li+li {
    margin-top: 10px;
}

header.header-4 .menu .header-right .profile-dropdown li a,
header.header-4 .menu .header-right .profile-dropdown li button,
header.inner-page .menu .header-right .profile-dropdown li a,
header.inner-page .menu .header-right .profile-dropdown li button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    color: #1c2d3a;
    text-decoration: none;
    font-size: 14px;
    background: none !important;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    position: relative;
}

header.header-4 .menu .header-right .profile-dropdown li a::after,
header.header-4 .menu .header-right .profile-dropdown li button::after,
header.inner-page .menu .header-right .profile-dropdown li a::after,
header.inner-page .menu .header-right .profile-dropdown li button::after {
    display: none !important;
}

header.header-4 .menu .header-right .profile-dropdown li a:hover,
header.header-4 .menu .header-right .profile-dropdown li button:hover,
header.inner-page .menu .header-right .profile-dropdown li a:hover,
header.inner-page .menu .header-right .profile-dropdown li button:hover {
    color: var(--theme-default7);
    text-decoration: unset;
    background: transparent !important;
}

header.header-4 .menu .header-right .profile-dropdown li a svg,
header.header-4 .menu .header-right .profile-dropdown li button svg,
header.inner-page .menu .header-right .profile-dropdown li a svg,
header.inner-page .menu .header-right .profile-dropdown li button svg {
    width: 18px;
    height: 18px;
    vertical-align: bottom;
    float: right;
    color: #1c2d3a !important;
    stroke: #1c2d3a !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    animation: none !important;
}

header.header-4 .menu .header-right .profile-dropdown li a:hover svg,
header.header-4 .menu .header-right .profile-dropdown li button:hover svg,
header.inner-page .menu .header-right .profile-dropdown li a:hover svg,
header.inner-page .menu .header-right .profile-dropdown li button:hover svg {
    color: var(--theme-default7);
    stroke: var(--theme-default7);
}

/* Force la couleur rouge et le fond rose quand la classe 'active' est présente */
#mainsidebar .sidebar-link.active {
    color: var(--theme-default7) !important;
    border-left: 5px solid var(--theme-default7) !important;
    border-right: none !important;
    /* Remove old right border */
    background-color: transparent !important;
    /* Background handled by ::after */
    transition: all 0.5s ease;
    position: relative;
    border-radius: 0 20px 20px 0;
}

/* Background effect using pseudo-element */
#mainsidebar .sidebar-link.active::after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--theme-default7);
    opacity: 0.05;
    border-radius: 0 20px 20px 0;
    transition: 0.5s;
    z-index: -1;
    /* Ensure it stays behind text */
}

/* Submenu Active State Overrides - Remove strong styling for children */
#mainsidebar .nav-submenu .sidebar-link.active {
    border-left: none !important;
    background-color: transparent !important;
    border-radius: 0;
}

#mainsidebar .nav-submenu .sidebar-link.active::after {
    display: none !important;
}

/* Subtle highlight for active submenu items */
#mainsidebar .nav-submenu .sidebar-link.active {
    color: var(--theme-default7) !important;
    font-weight: 500;
    /* Slightly bolder */
}

/* Force la couleur de l'icône à l'intérieur du lien actif */
#mainsidebar .sidebar-link.active i,
#mainsidebar .sidebar-link.active svg {
    color: var(--theme-default7) !important;
}

/* Rotate arrow icon when active */
#mainsidebar .sidebar-link.active .according-menu i {
    transform: rotate(90deg) !important;
    transition: transform 0.3s ease;
    color: var(--theme-default7);
}

/* Optionnel : Garder le sous-menu ouvert si actif (pour la messagerie) */
#mainsidebar .sidebar-link.active+.nav-submenu {
    display: block !important;
}

/* Profile dropdown styles for Admin Dashboard */
.page-main-header .header-menu>li:first-child {
    width: auto !important;
    margin: 0 !important;
}

.page-main-header .profile-dropdown li {
    background: transparent !important;
}

.page-main-header .profile-dropdown li a,
.page-main-header .profile-dropdown li button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 12px;
    color: #2c323f;
    text-decoration: none;
    font-size: 14px;
    background: none !important;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: all 0.3s ease;
}

.page-main-header .profile-dropdown li a::after,
.page-main-header .profile-dropdown li button::after {
    display: none !important;
}

.page-main-header .profile-dropdown li a:hover,
.page-main-header .profile-dropdown li button:hover {
    color: var(--theme-default7);
    text-decoration: unset;
    background: transparent !important;
}

.page-main-header .profile-dropdown li a:hover svg,
.page-main-header .profile-dropdown li button:hover svg {
    color: var(--theme-default7);
}

.page-main-header .profile-dropdown li a svg,
.page-main-header .profile-dropdown li button svg {
    width: 18px;
    height: 18px;
    margin-left: 8px;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    animation: none !important;
}

/* Désactive toute animation/transition sur les icônes Font Awesome */
.fa,
[class^="fa-"],
[class*=" fa-"] {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    animation: none !important;
}



/* Override */
/* Supprimer la pastille derri�re l'ic�ne des pricing-box */
.pricing-section .pricing-box .pricing-details .pricing-icon::after {
    display: none !important;
}



/* btn-outline-gradient avec color-4 */
.btn-outline-gradient {
    color: #f35d43 !important;
    border: 1px solid #f35d43 !important;
    background-color: transparent !important;
    transition: all 0.3s ease;
}

.btn-outline-gradient:hover {
    color: #fff !important;
    background-image: linear-gradient(to right, #f35d43 0%, #f34451 51%, #f35d43 100%) !important;
    background-size: 200% auto;
    border-color: transparent !important;
    box-shadow: -5.15px 8.572px 25px rgba(243, 93, 67, 0.3) !important;
}

.btn-outline-gradient:focus,
.btn-outline-gradient.focus {
    color: #fff;
    background-image: linear-gradient(to right, #f35d43 0%, #f34451 51%, #f35d43 100%);
    background-size: 200% auto;
    border-color: transparent;
    box-shadow: 0 0 0 0.25rem rgba(243, 93, 67, 0.5);
}

.btn-outline-gradient:active,
.btn-outline-gradient.active,
.btn-outline-gradient.dropdown-toggle.show {
    color: #fff;
    background-image: linear-gradient(to right, #f35d43 0%, #f34451 51%, #f35d43 100%);
    background-size: 200% auto;
    border-color: transparent;
}

.btn-outline-gradient:active:focus,
.btn-outline-gradient.active:focus,
.btn-outline-gradient.dropdown-toggle.show:focus {
    box-shadow: 0 0 0 0.25rem rgba(243, 93, 67, 0.5);
}

.btn-outline-gradient:disabled,
.btn-outline-gradient.disabled {
    color: #f35d43;
    background-color: transparent;
    border-color: #f35d43;
    opacity: 0.65;
}

.btn-check:checked+.btn-outline-gradient,
.btn-check:active+.btn-outline-gradient {
    color: #fff;
    background-image: linear-gradient(to right, #f35d43 0%, #f34451 51%, #f35d43 100%);
    background-size: 200% auto;
    border-color: transparent;
}

/* text-gradient avec color-4 */
.text-gradient {
    background: linear-gradient(90deg, #f35d43 0%, #f34451 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    display: inline-block;
}

.text-gradient:hover {
    background: linear-gradient(90deg, #f34451 0%, #f35d43 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}


/* Border animée en bas de la pricing-box avec gradient color-4 */
.pricing-section .pricing-box::after {
    background: linear-gradient(90deg, #f35d43 0%, #f34451 100%) !important;
}

/* Background gradients pour les divs (modules d'abonnement) */
.bg-gradient.color-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.bg-gradient.color-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
}

.bg-gradient.color-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
}

.bg-gradient.color-4 {
    background: linear-gradient(135deg, #f35d43 0%, #f34451 100%) !important;
}

.bg-gradient.color-5 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%) !important;
}

/* ============================================
   MESSENGER / DISCUSSIONS STYLES
   ============================================ */

.messenger-container {
    height: calc(100vh - 250px);
    min-height: 600px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.messenger-container .row {
    flex: 1;
    min-height: 0;
    margin: 0;
}

.messenger-container .row>div {
    height: 100%;
}

.threads-list {
    height: 100%;
    overflow-y: auto;
    background: white;
    border-right: 1px solid #e4e6eb;
    padding: 8px;
}

.threads-list::-webkit-scrollbar {
    width: 6px;
}

.threads-list::-webkit-scrollbar-track {
    background: transparent;
}

.threads-list::-webkit-scrollbar-thumb {
    background: #bcc0c4;
    border-radius: 10px;
}

.threads-list::-webkit-scrollbar-thumb:hover {
    background: #8a8d91;
}

.thread-item {
    padding: 14px 16px;
    margin-bottom: 8px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    background: white;
    position: relative;
}

.thread-item:hover {
    background-color: #f5f5f5;
}

.thread-item.active {
    background: #e8f5e9;
}

.thread-item.unread:not(.active) {
    font-weight: 600;
    background: #f0f8ff;
    border-left: 4px solid #f34451;
}

.thread-item.unread:not(.active) .thread-username {
    font-weight: 700;
    color: #f34451;
}

.thread-item .thread-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f35d43 0%, #f34451 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
    flex-shrink: 0;
    margin-right: 12px;
}

.thread-item .thread-content {
    flex: 1;
    min-width: 0;
}

.thread-item .thread-username {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.thread-item .thread-message {
    font-size: 0.85rem;
    color: #65676b;
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.thread-item .thread-time {
    font-size: 0.75rem;
    color: #8a8d91;
    white-space: nowrap;
    margin-left: 8px;
}



.messages-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: white;
}

.messages-list {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    min-height: 0;
}

.messages-list::-webkit-scrollbar {
    width: 6px;
}

.messages-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.messages-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.message-bubble {
    max-width: 65%;
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: 18px;
    word-wrap: break-word;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    animation: messageBubbleFadeIn 0.3s ease;
}

@keyframes messageBubbleFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fix dropdown animation - prevent transform conflicts with Popper positioning */
.dropdown-menu {
    animation: none !important;
}

.message-bubble.sent {
    background: linear-gradient(135deg, #f35d43 0%, #ff8566 100%);
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.message-bubble.received {
    background-color: white;
    border: 1px solid #e9ecef;
    border-bottom-left-radius: 4px;
    color: #333;
}

.message-input-container {
    padding: 20px;
    background-color: white;
    border-top: 2px solid #f35d43;
    flex-shrink: 0;
}

.message-input-container .form-control {
    border-radius: 20px;
    border: 2px solid #e9ecef;
    resize: none;
    transition: border-color 0.3s ease;
}

.message-input-container .form-control:focus {
    border-color: #f35d43;
    box-shadow: 0 0 0 0.2rem rgba(243, 93, 67, 0.15);
}

.message-input-container .btn {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    flex-shrink: 0;
}

.empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.empty-state i {
    color: #d4d4d4;
}

.new-conversation-form {
    background: linear-gradient(135deg, #fff8e6 0%, #fffbf0 100%);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 2px solid #ffc107;
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.15);
}

.new-conversation-form h6 {
    color: #f35d43;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.new-conversation-form .form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.new-conversation-form .form-control:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.15);
}

.new-conversation-form .list-group {
    border-radius: 8px;
    overflow: hidden;
}

.new-conversation-form .list-group-item {
    border-radius: 8px;
    margin-bottom: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.2s ease;
    background: white;
}

.new-conversation-form .list-group-item:hover {
    background-color: #f8f9fa;
    transform: translateX(3px);
    border-color: #f35d43;
}

.new-conversation-form .list-group-item.active {
    background: linear-gradient(135deg, #f35d43 0%, #ff8566 100%);
    border-color: #f35d43;
    box-shadow: 0 2px 8px rgba(243, 93, 67, 0.2);
}

/* Responsive pour messenger */
@media (max-width: 768px) {
    .messenger-container {
        height: calc(100vh - 150px);
    }

    .message-bubble {
        max-width: 85%;
    }

    .threads-list {
        border-right: none;
        border-bottom: 2px solid #dee2e6;
    }
}

/* ==========================================
   Pagination - Couleurs du thème
   ========================================== */

/* Page link par défaut */
.page-link {
    color: #f35d43 !important;
    background-color: #fff !important;
    border: 1px solid #dee2e6 !important;
    transition: all 0.3s ease !important;
}

.page-link:hover {
    color: #fff !important;
    background-color: #f35d43 !important;
    border-color: #f35d43 !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(243, 93, 67, 0.2);
}

.page-link:focus {
    color: #f35d43 !important;
    background-color: #fff !important;
    outline: 0 !important;
    box-shadow: 0 0 0 0.25rem rgba(243, 93, 67, 0.15) !important;
}

/* Page active avec dégradé */
.page-item.active .page-link {
    z-index: 3;
    color: #fff !important;
    background: linear-gradient(135deg, #f35d43 0%, #f34451 100%) !important;
    border-color: #f35d43 !important;
    box-shadow: 0 2px 8px rgba(243, 93, 67, 0.3);
}

.page-item.active .page-link:hover {
    background: linear-gradient(135deg, #f34451 0%, #f35d43 100%) !important;
}

/* Page disabled */
.page-item.disabled .page-link {
    color: #6c757d !important;
    pointer-events: none;
    background-color: #f8f9fa !important;
    border-color: #dee2e6 !important;
    opacity: 0.5;
}

/* Arrondi des coins */
.page-item:first-child .page-link {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.page-item:last-child .page-link {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

/* Animation au survol des items */
.page-item:not(.disabled):not(.active) .page-link:hover {
    transform: translateY(-2px);
}

/* ==========================================
   Nav-Tabs - Couleurs du thème
   ========================================== */

/* Tab links */
.nav-tabs .nav-link {
    color: #6c757d !important;
    background: none !important;
    border: 1px solid transparent !important;
    border-top-left-radius: 6px !important;
    border-top-right-radius: 6px !important;
    transition: all 0.3s ease !important;
}

.nav-tabs .nav-link:hover {
    color: #f35d43 !important;
    border-color: #e9ecef #e9ecef #dee2e6 !important;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(243, 93, 67, 0.1);
}

/* Active tab avec dégradé */
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    color: #fff !important;
    background: linear-gradient(135deg, #f35d43 0%, #f34451 100%) !important;
    border-color: #f35d43 !important;
    box-shadow: 0 2px 8px rgba(243, 93, 67, 0.3);
    font-weight: 500;
}

/* Disabled tab */
.nav-tabs .nav-link.disabled {
    color: #6c757d !important;
    background-color: transparent !important;
    border-color: transparent !important;
    opacity: 0.5;
}

/* Property image background fix */
.property-image>a {
    display: block;
    width: 100%;
    height: 250px;
    min-height: 250px;
    position: relative;
}

.property-box .property-image {
    position: relative;
    overflow: hidden;
    min-height: 250px;
    height: 250px;
}

/* Footer positioning to align with page-body (right of sidebar) */
.page-body-wrapper>footer,
.page-body-wrapper>footer.footer {
    margin-left: 280px;
    transition: 0.5s;
}

/* When sidebar is collapsed */
.page-wrapper.compact-page .page-body-wrapper>footer,
.page-wrapper.compact-sidebar .page-body-wrapper>footer {
    margin-left: 80px;
}

/* Responsive: footer full width on mobile */
@media (max-width: 991px) {

    .page-body-wrapper>footer,
    .page-body-wrapper>footer.footer {
        margin-left: 0;
    }
}

/* Fix for gallery layout issue - Robust Flexbox Approach */
.single-gallery {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.single-gallery .gallery-for {
    width: 100%;
    aspect-ratio: 3/2;
    /* Enforce 3:2 aspect ratio */
    position: relative;
    overflow: hidden;
    display: block;
    background-color: #f8f9fa;
    /* Placeholder color while loading */
}

/* Force Slick track to respect height */
.single-gallery .gallery-for .slick-list,
.single-gallery .gallery-for .slick-track {
    height: 100%;
}

.single-gallery .gallery-for img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-gallery .gallery-nav {
    width: 100%;
    margin-top: 15px;
    display: block;
}

/* ============================================
   SIDEBAR ACTIVE STATE STYLES
   ============================================ */

/* Force la couleur rouge et le fond rose quand la classe 'active' est présente */
#mainsidebar .sidebar-link.active {
    color: var(--theme-default7) !important;
    border-left: 5px solid var(--theme-default7) !important;
    border-right: none !important;
    /* Remove old right border */
    background-color: transparent !important;
    /* Background handled by ::after */
    transition: all 0.5s ease;
    position: relative;
    border-radius: 0 20px 20px 0;
}

/* Background effect using pseudo-element */
#mainsidebar .sidebar-link.active::after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--theme-default7);
    opacity: 0.05;
    border-radius: 0 20px 20px 0;
    transition: 0.5s;
    z-index: -1;
    /* Ensure it stays behind text */
}

/* Submenu Active State Overrides - Remove strong styling for children */
#mainsidebar .nav-submenu .sidebar-link.active {
    border-left: none !important;
    background-color: transparent !important;
    border-radius: 0;
}

#mainsidebar .nav-submenu .sidebar-link.active::after {
    display: none !important;
}

/* Subtle highlight for active submenu items */
#mainsidebar .nav-submenu .sidebar-link.active {
    color: var(--theme-default7) !important;
    font-weight: 500;
    /* Slightly bolder */
}

/* Force la couleur de l'icône à l'intérieur du lien actif */
#mainsidebar .sidebar-link.active i,
#mainsidebar .sidebar-link.active svg {
    color: var(--theme-default7) !important;
}

/* Rotate arrow icon when active */
#mainsidebar .sidebar-link.active .according-menu i {
    transform: rotate(90deg) !important;
    transition: transform 0.3s ease;
    color: var(--theme-default7);
}

/* Optionnel : Garder le sous-menu ouvert si actif (pour la messagerie) */
#mainsidebar .sidebar-link.active+.nav-submenu {
    display: block !important;
}

/* =============================================
   Latest Properties Slider Styles
   ============================================= */
.latest-properties-slider {
    margin: 0 -15px;
}

.latest-properties-slider .slider-item {
    padding: 15px;
}

.latest-properties-slider .slick-dots {
    bottom: -40px;
    position: relative;
    margin-top: 20px;
}

.latest-properties-slider .slick-dots li {
    margin: 0 5px;
}

.latest-properties-slider .slick-dots li button:before {
    font-size: 12px;
    color: #ccc;
    opacity: 1;
}

.latest-properties-slider .slick-dots li.slick-active button:before {
    color: var(--theme-default4, #ff5a5f);
    opacity: 1;
}

.latest-properties-slider .slick-prev,
.latest-properties-slider .slick-next {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.latest-properties-slider .slick-prev:before,
.latest-properties-slider .slick-next:before {
    color: var(--theme-default4, #ff5a5f);
    font-size: 20px;
}

.latest-properties-slider .slick-prev {
    left: -10px;
}

.latest-properties-slider .slick-next {
    right: -10px;
}

.latest-properties-slider .slick-prev:hover,
.latest-properties-slider .slick-next:hover {
    background: var(--theme-default4, #ff5a5f);
}

.latest-properties-slider .slick-prev:hover:before,
.latest-properties-slider .slick-next:hover:before {
    color: #fff;
}

@media (max-width: 768px) {
    .latest-properties-slider .slick-prev {
        left: 5px;
    }

    .latest-properties-slider .slick-next {
        right: 5px;
    }
}

/* ============================================
   BOOTSTRAP DROPDOWNS - Admin Forms ONLY
   Last updated: 2026-01-19 17:35:00
   ============================================ */

/* Styles UNIQUEMENT pour les formulaires admin */
.admin-form .dropdown-toggle,
.admin-form a.dropdown-toggle,
.card-body.admin-form .dropdown-toggle,
.card-body.admin-form a.dropdown-toggle {
    cursor: pointer;
    padding: 0.5rem 1rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    background-color: #fff;
    display: block;
    text-decoration: none;
    min-height: calc(1.5em + 1rem + 2px);
    color: #495057;
}

.admin-form .dropdown-toggle:hover,
.admin-form a.dropdown-toggle:hover,
.card-body.admin-form .dropdown-toggle:hover,
.card-body.admin-form a.dropdown-toggle:hover {
    background-color: #f8f9fa;
    text-decoration: none;
}

.admin-form .dropdown-toggle.is-invalid,
.card-body.admin-form .dropdown-toggle.is-invalid {
    border-color: #dc3545;
}

/* Remove ALL focus outlines globally */
*:focus,
*:active,
*:focus-visible,
button:focus,
button:active,
button:focus-visible,
a:focus,
a:active,
a:focus-visible,
input:focus-visible,
.nav-link:focus,
.nav-link:active,
.btn:focus,
.btn:active,
.dropdown-toggle:focus,
.dropdown-toggle:active {
    outline: none !important;
    box-shadow: none !important;
}

/* Ensure dropdown icon is aligned */
.dropdown-toggle .fa-angle-down,
.dropdown-toggle .fas.fa-angle-down {
    margin-top: 0.125rem;
    float: right;
}

/* Remove gray outline on homepage filter tabs (Tous, Agences, Particuliers) when clicked/focused */
.btn-outline-secondary:focus,
.btn-check:focus+.btn-outline-secondary,
.btn-check:checked+.btn-outline-secondary:focus,
.btn-check:active+.btn-outline-secondary:focus {
    box-shadow: none !important;
    outline: none !important;
}

/* Seller Type Selection Modal Styles */
#seller-type-selection,
#seller-type-selection-transparent {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

#seller-type-selection .form-check,
#seller-type-selection-transparent .form-check {
    padding: 10px 15px;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

#seller-type-selection .form-check:hover,
#seller-type-selection-transparent .form-check:hover {
    border-color: var(--theme-color4);
    background: #f8f9fa;
}

#seller-type-selection .form-check-input:checked+label,
#seller-type-selection-transparent .form-check-input:checked+label {
    color: var(--theme-color4);
    font-weight: 600;
}

/* ============================================
   ADMIN LOGIN PAGE STYLES
   ============================================ */
body.admin-login-page {
    background: linear-gradient(135deg, #f35d43 0%, #f34451 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-login-wrap {
    width: 100%;
    padding: 40px 20px;
}

.admin-login-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-width: 450px;
    margin: 0 auto;
}

.admin-login-header {
    background: linear-gradient(135deg, #f35d43 0%, #f34451 100%);
    padding: 40px 30px;
    text-align: center;
}

.admin-login-logo {
    background: white;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    padding: 15px;
}

.admin-login-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.admin-login-title {
    color: white;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.admin-login-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-top: 8px;
}

.admin-login-body {
    padding: 40px 30px;
}

.admin-alert {
    background: #fff3f0;
    border-left: 4px solid #f35d43;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.admin-alert-icon {
    color: #f35d43;
    font-size: 20px;
    margin-right: 12px;
}

.admin-alert-text {
    font-size: 13px;
    color: #f34451;
    margin: 0;
}

.form-label-admin {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-control-admin {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
}

.form-control-admin:focus {
    border-color: #f35d43;
    box-shadow: 0 0 0 0.2rem rgba(243, 93, 67, 0.25);
    outline: none;
}

.form-control-admin.is-invalid {
    border-color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
}

.checkbox-wrapper label {
    margin: 0;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.btn-admin-login {
    background: linear-gradient(to right, #f35d43 0%, #f34451 51%, #f35d43 100%);
    background-size: 200% auto;
    border: none;
    color: white;
    padding: 14px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    width: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-admin-login:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: -5.15px 8.572px 25px rgba(243, 93, 67, 0.3);
    color: white;
}

.forgot-password-link {
    color: #f35d43;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password-link:hover {
    color: #f34451;
    text-decoration: underline;
}

.back-to-site {
    text-align: center;
    margin-top: 25px;
}

.back-to-site a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.back-to-site a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

@media (max-width: 576px) {
    .admin-login-card {
        border-radius: 15px;
    }
    
    .admin-login-header {
        padding: 30px 20px;
    }
    
    .admin-login-body {
        padding: 30px 20px;
    }
    
    .admin-login-logo {
        width: 80px;
        height: 80px;
    }
}