/* Icon overrides for Font Awesome 6 migration */
/* This file overrides jQuery plugin CSS that uses icomoon icons */

/* Date picker icons */
input[type=date]:before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    content: "\f073" !important; /* Calendar icon */
}

.i-date:before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    content: "\f073" !important; /* Calendar icon */
}

.i-time:before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    content: "\f017" !important; /* Clock icon */
}

/* Remark section icons */
.remark h4:before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    content: "\f06a" !important; /* Exclamation circle */
}

.remark h4.normal:before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    content: "\f05a" !important; /* Info circle */
}

/* Cross icon */
.i-cross:before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    content: "\f00d" !important; /* Times icon */
}

/* General icon class replacements */
.icon-Search {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}
.icon-Search:before { content: "\f002" !important; }

.icon-chevron-up {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}
.icon-chevron-up:before { content: "\f077" !important; }

.icon-chevron-right {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}
.icon-chevron-right:before { content: "\f054" !important; }

.icon-chevron-left {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}
.icon-chevron-left:before { content: "\f053" !important; }

.icon-eye-2 {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}
.icon-eye-2:before { content: "\f06e" !important; }

.icon-copy {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}
.icon-copy:before { content: "\f0c5" !important; }

.icon-trash {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}
.icon-trash:before { content: "\f1f8" !important; }

.icon-plus {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}
.icon-plus:before { content: "\f067" !important; }

.icon-speaker {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}
.icon-speaker:before { content: "\f028" !important; }

.icon-talk4 {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}
.icon-talk4:before { content: "\f086" !important; }

.icon-layers {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}
.icon-layers:before { content: "\f5fd" !important; }

.icon-service3 {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}
.icon-service3:before { content: "\f590" !important; }

.icon-link {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}
.icon-link:before { content: "\f0c1" !important; }

.icon-mail {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}
.icon-mail:before { content: "\f0e0" !important; }

.icon-checkmark-circle {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}
.icon-checkmark-circle:before { content: "\f058" !important; }

.icon-cross {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}
.icon-cross:before { content: "\f00d" !important; }

.icon-sad {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}
.icon-sad:before { content: "\f119" !important; }

.icon-heart-o {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 400 !important; /* Regular weight for outline heart */
}
.icon-heart-o:before { content: "\f004" !important; }

.icon-first-page {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}
.icon-first-page:before { content: "\f049" !important; }

.icon-last-page {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}
.icon-last-page:before { content: "\f050" !important; }

.icon-arrow-right {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}
.icon-arrow-right:before { content: "\f061" !important; }

.icon-flag {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}
.icon-flag:before { content: "\f024" !important; }

/* 將icomoon強制換成font awesome6  */
/* font-weight 400是Regular 900是Solid */
.slick-prev:before,
.slick-next:before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
}

.slick-prev:before {
    content: "\f104" !important; /* fa-angle-left */
}

.slick-next:before {
    content: "\f105" !important; /* fa-angle-right */
}

@media (max-width: 992px) {
    .top-search .dropdown-toggle-btn.collapsed i:before {
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900;
        content: "\f107" !important; /* fa-angle-down */
    }
}

.header .mobile-menu-toggle button.toggle-open:before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
    content: "\f0c9" !important; /* fa-bars */
}

.header .mobile-menu-toggle button.toggle-close:before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
    content: "\f00d" !important; /* fa-xmark */
}

.header .welcome:before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 400;
    content: "\f2bd" !important; /* fa-circle-user */
}

.side-bar>.panel>a:after {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
    content: "\f107" !important; /* fa-angle-down */
}

.side-bar>.panel>a.collapsed:after, .side-bar>.panel>a.one-level:after {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
    content: "\f104" !important; /* fa-angle-left */
}

.checkbox input[type=checkbox]:checked+label:after {
    font-weight: 900;
    font-family: "Font Awesome 6 Free" !important;
    content: "\f00c" !important;
}

.add-fav>i.far.fa-solid.fa-heart {
    color: red;
}


.bootstrap-select>.dropdown-toggle:after, .menu-fixed .menu ul.maga_menu [data-bs-toggle=collapse]:after {
    font-family: "Font Awesome 6 Free" !important;
    content: "\f107" !important;
    font-weight: bolder;
}
.list-group a:after {
    font-family: "Font Awesome 6 Free" !important;
    content: "\f105" !important;
    font-weight: bolder;
}
.btn-group-toggle input:checked+label.btn:before {
    font-family: "Font Awesome 6 Free" !important;
    content: "\f00c" !important;
    font-weight: bolder;
}
.techContactArea ul.secretary-list li:before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 400;
    content: "\f2bd" !important;
}
