/********** Template CSS **********/
:root {
    --primary: #1363C6;
    --secondary: #15ACE1;
    --light: #F4F7FE;
    --dark: #14183E;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Heading ***/
h1,
h2,
h3,
.fw-bold {
    font-weight: 700 !important;
}

h4,
h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar {
    padding: 11px 0 !important;
    height: 75px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 0;
    color: rgba(255, 255, 255, .7);
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: rgba(255, 255, 255, 1);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        padding: 0 15px;
        background: var(--primary);
    }

    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Hero Header ***/
.hero-header {
    margin-top: -75px;
    background: url(../img/bg-hero.png) center center no-repeat;
    background-size: cover;
}

.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 4px;
    bottom: 0;
    left: 0;
    background: var(--dark);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 4px;
    height: 4px;
    bottom: 0;
    left: 50px;
    background: var(--dark);
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -25px;
}

.section-title.text-center::after {
    left: 50%;
    margin-left: 25px;
}

.section-title h6::before,
.section-title h6::after {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    top: 2px;
    left: 0;
    background: rgba(33, 66, 177, .5);
}

.section-title h6::after {
    top: 5px;
    left: 3px;
}


/*** About ***/
.about-img {
    position: relative;
    overflow: hidden;
}

.about-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/bg-about-img.png) top left no-repeat;
    background-size: contain;
}


/*** Quick Search ***/
.quick-search {
    max-width: 600px;
    margin: 0 auto;
}

.quick-search .input-group {
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.quick-search .form-control {
    height: 50px;
    padding-left: 5px;
}

.quick-search .form-control:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.quick-search .input-group-text {
    border-color: #dee2e6;
}

/*** Service ***/
.service-item {
    position: relative;
    padding: 45px 30px;
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item .service-icon {
    margin: 0 auto 20px auto;
    width: 90px;
    height: 90px;
    color: var(--primary);
    background: var(--light);
    transition: .5s;
}

.service-item:hover .service-icon {
    background: #FFFFFF;
}

.service-item h5,
.service-item p {
    transition: .5s;
}

.service-item:hover h5,
.service-item:hover p {
    color: #FFFFFF;
}

.service-item a.btn {
    position: relative;
    display: flex;
    color: var(--primary);
    transition: .5s;
    z-index: 1;
}

.service-item:hover a.btn {
    color: var(--primary);
}

.service-item a.btn::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    top: 0;
    left: 0;
    border-radius: 35px;
    background: var(--light);
    transition: .5s;
    z-index: -1;
}

.service-item:hover a.btn::before {
    width: 100%;
    background: var(--light);
}


/*** Feature ***/
.feature {
    background: url(../img/bg-hero.png) center center no-repeat;
    background-size: cover;
}


/*** Newsletter ***/
.newsletter {
    background: url(../img/bg-hero.png) center center no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .newsletter .container {
        max-width: 100% !important;
    }

    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Case Study ***/
.case-item img {
    transition: .5s;
}
  
.case-item:hover img {
    transform: scale(1.2);
}
  
.case-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(20, 24, 62, 0), var(--dark));
    z-index: 1;
}

.case-overlay small {
    display: inline-block;
    padding: 3px 15px;
    color: #FFFFFF;
    background: rgba(20, 24, 62, .7);
    border-radius: 25px;
    margin-bottom: 15px;
}

.case-overlay span.btn:hover {
    color: var(--primary);
    background: #FFFFFF;
    border-color: #FFFFFF;
}


/*** FAQs ***/
.accordion .accordion-item {
    border: none;
    margin-bottom: 15px;
}

.accordion .accordion-button {
    background: var(--light);
    border-radius: 2px;
}

.accordion .accordion-button:not(.collapsed) {
    color: #FFFFFF;
    background: var(--primary);
    box-shadow: none;
}

.accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion .accordion-body {
    padding: 15px 0 0 0;
}


/*** Testimonial ***/
.testimonial-carousel {
    position: relative;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 40px;
    height: 100%;
    top: calc(50% - 50px);
    left: -21px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 5px 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    border: 1px solid var(--primary);
    border-radius: 40px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: #FFFFFF;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    margin-left: 3rem;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin-right: 10px;
    width: 15px;
    height: 15px;
    background: #FFFFFF;
    border: 1px solid var(--primary);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}


/*** Team ***/
.team-item {
    transition: .5s;
    border: 1px solid transparent;
    transition: .5s;
}

.team-item:hover {
    border-color: var(--primary);
}

/*** Section Dividers ***/
.section-divider {
    background-color: var(--light);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

.section-divider h3 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    border-bottom: 2px solid #dee2e6;
}

.section-divider h3:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.tool-count {
    margin-left: 15px;
    background: rgba(19, 99, 198, 0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.section-divider:hover .section-header {
    transform: translateX(10px);
}

/* Add a subtle card effect to the section dividers */
.section-divider {
    background-color: var(--light);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.section-divider:hover {
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.section-icon {
    font-size: 1.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    margin-right: 15px;
    width: 60px;
    height: 60px;
}

/* Section specific colors */
.section-life-safety .section-icon {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.section-cctv .section-icon {
    background-color: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.section-access-control .section-icon {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.section-network .section-icon {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.section-intercom .section-icon {
    background-color: rgba(138, 43, 226, 0.1);
    color: #8a2be2;
}

.section-it-services .section-icon {
    background-color: rgba(32, 178, 170, 0.1);
    color: #20b2aa;
}

/* Hover effects for section icons */
.section-icon i {
    transition: transform 0.3s ease;
}

.section-divider:hover .section-icon i {
    transform: scale(1.1);
}

/* Enhanced tool count badges */
.tool-count {
    background: rgba(19, 99, 198, 0.08);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-left: 15px;
    transition: all 0.3s ease;
}

.section-divider:hover .tool-count {
    background: rgba(19, 99, 198, 0.15);
    transform: translateX(5px);
}

/* Enhancement for service items */
.service-item {
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-item .service-desc {
    transition: max-height 0.3s ease;
    max-height: 48px;
    overflow: hidden;
}

.service-item:hover .service-desc {
    max-height: 100px;
}

/* Add a subtle indicator for interactive elements */
.service-item::after {
    content: '';
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-item:hover::after {
    opacity: 1;
}


/*** Footer ***/
.footer {
    background: url(../img/footer.png) center center no-repeat;
    background-size: contain;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.5);
    border: 1px solid rgba(256, 256, 256, .1);
    border-radius: 40px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: rgba(255,255,255,.5);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: #FFFFFF;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: rgba(255,255,255,.5);
}

.footer .copyright a:hover {
    color: #FFFFFF;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/*** Home page additions: workspaces, badges, search states, Arabic layout ***/
/* Entrance animations slide in from the side; keep them from widening the page. */
.hero-header { overflow: hidden; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2000; padding: 10px 16px; background: #fff; color: var(--primary); border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
.navbar-brand .h1 { font-family: 'Ubuntu', sans-serif; font-weight: 700; }
#langToggle { text-decoration: none; text-align: start; }
.privacy-note { display: inline-block; margin: 0; padding: 6px 14px; border-radius: 20px; background: rgba(40, 167, 69, 0.1); color: #17683a; font-size: 14px; }
.app-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.app-row small { opacity: .75; }
.recent-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
.recent-chip { display: inline-block; margin: 0 3px; padding: 4px 12px; border: 1px solid #c9d8ee; border-radius: 20px; background: #fff; color: var(--primary); font-size: 13px; text-decoration: none; }
.recent-chip:hover { background: var(--primary); color: #fff; }
.workspace-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid #dee2e6; border-radius: 15px; background: #fff; color: inherit; box-shadow: 0 0 15px rgba(0,0,0,0.05); transition: all .3s ease; }
.workspace-card:hover, .workspace-card:focus-visible { color: inherit; transform: translateY(-5px); box-shadow: 0 8px 24px rgba(19, 99, 198, 0.18); border-color: var(--primary); }
.workspace-card img { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 593; object-fit: cover; object-position: top; border-bottom: 1px solid #dee2e6; background: #e9ecef; }
.workspace-body { padding: 22px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.workspace-body .service-desc { color: #555; }
.workspace-points { margin: 0 0 18px; padding-inline-start: 20px; color: #555; font-size: 14.5px; flex: 1; }
.workspace-body .btn { align-self: flex-start; }
.tool-badge { display: inline-block; margin-inline-end: 6px; padding: 3px 11px; border-radius: 20px; background: rgba(19, 99, 198, 0.1); color: var(--primary); font-size: 12.5px; font-weight: 600; }
.tool-badge-new { background: rgba(40, 167, 69, 0.14); color: #17683a; }
.service-item .service-title { transition: color .3s ease; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
.footer .copyright { padding: 20px 0 0; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

[lang=ar] body, [lang=ar] h1, [lang=ar] h2, [lang=ar] h3, [lang=ar] h4, [lang=ar] h5, [lang=ar] h6, [lang=ar] .h1, [lang=ar] .h5, [lang=ar] .btn { font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", "Geeza Pro", "Open Sans", sans-serif; letter-spacing: 0; }
[lang=ar] .navbar-brand .h1 { font-family: 'Ubuntu', sans-serif; }
[dir=rtl] .ms-auto { margin-left: 0 !important; margin-right: auto !important; }
[dir=rtl] .me-0 { margin-left: 0 !important; }
[dir=rtl] .me-2 { margin-right: 0 !important; margin-left: .5rem !important; }
[dir=rtl] .ms-2 { margin-left: 0 !important; margin-right: .5rem !important; }
[dir=rtl] .section-icon { margin-right: 0; margin-left: 15px; }
[dir=rtl] .tool-count { margin-left: 0; margin-right: 15px; }
[dir=rtl] .section-divider h3:after { left: auto; right: 0; }
[dir=rtl] .section-divider:hover .section-header { transform: translateX(-10px); }
[dir=rtl] .back-to-top { right: auto; left: 45px; }
[dir=rtl] ul { padding-left: 0; padding-right: 2rem; }
[dir=rtl] .quick-search .border-end-0 { border-right: 1px solid #dee2e6 !important; border-left: 0 !important; border-radius: 0 .25rem .25rem 0; }
[dir=rtl] .quick-search .border-start-0 { border-left: 1px solid #ced4da !important; border-right: 0 !important; border-radius: .25rem 0 0 .25rem; }
[dir=rtl] .quick-search .form-control { padding-left: .75rem; padding-right: 5px; }
[dir=rtl] .skip-link { left: auto; right: -9999px; }
[dir=rtl] .skip-link:focus { right: 0; }
@media (min-width: 992px) { [dir=rtl] .text-lg-start { text-align: right !important; } [dir=rtl] .text-lg-end { text-align: left !important; } }

/*** Reference codes page ***/
.page-header .display-5 { font-weight: 700; }
[dir=rtl] .back-arrow { transform: scaleX(-1); }
.codes-note { margin: 0; padding: 12px 18px; border-radius: 12px; background: #fff8e6; border: 1px solid #f3dca0; color: #6b4e00; font-size: 14px; text-align: start; }
.codes-table { background: #fff; border-radius: 12px; overflow: hidden; }
.codes-table thead th { background: var(--primary); color: #fff; font-weight: 600; border: 0; white-space: nowrap; }
.codes-table th, .codes-table td { padding: 14px 16px; }
.codes-table tbody th { font-weight: 600; color: var(--dark); }
.codes-table a[data-jump] { font-weight: 600; }
.doc-item { display: flex; flex-direction: column; padding: 22px; background: #fff; border: 1px solid #dee2e6; border-radius: 12px; transition: all .3s ease; }
.doc-item:hover { transform: translateY(-4px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.doc-icon { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; border-radius: 10px; background: rgba(220, 53, 69, 0.1); color: #dc3545; font-size: 20px; }
.section-divider h3.doc-title { margin-bottom: 8px; padding-bottom: 0; border-bottom: 0; line-height: 1.4; }
.section-divider h3.doc-title:after { display: none; }
.doc-desc { color: #555; flex: 1; margin-bottom: 10px; }
.doc-meta { color: #6c757d; margin-bottom: 14px; }
.doc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.doc-card.doc-flash .doc-item { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(19, 99, 198, 0.2); }

/*** Homepage Polish & Compact Mode ***/
.hero-highlights { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hero-hl-pill { background: rgba(255,255,255,0.13); border: 1px solid rgba(255,255,255,0.24); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: 0.78rem; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; backdrop-filter: blur(4px); }
.ws-exports { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.ws-export-tag { font-size: 0.72rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: #f1f5f9; color: #334155; border: 1px solid #cbd5e1; }
.section-divider .tool-card { display: flex; }
.section-divider .tool-card > a[data-tool] { display: flex; width: 100%; }
.section-life-safety { --cat-accent: #dc3545; }
.section-cctv { --cat-accent: #4f46e5; }
.section-access-control { --cat-accent: #16a34a; }
.section-network { --cat-accent: #1363C6; }
.section-it-services { --cat-accent: #0d9488; }
.section-rack-power { --cat-accent: #d97706; }
.section-intercom { --cat-accent: #7c3aed; }

#tools .service-item { width: 100%; padding: 0 !important; border: 1px solid #e2e8f0; border-radius: 14px !important; background: #fff; overflow: hidden; display: flex; flex-direction: column; text-align: start; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
#tools .service-item:hover { background: #fff !important; border-color: var(--cat-accent, #1363C6) !important; box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08) !important; transform: translateY(-3px); }
.card-split-body { padding: 18px 18px 14px; flex: 1 1 auto; display: flex; flex-direction: column; width: 100%; }
.card-split-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
#tools .service-item .service-icon { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 10px; margin: 0 !important; display: flex; align-items: center; justify-content: center; background: var(--cat-accent, var(--primary)) !important; color: #fff !important; font-size: 0.95rem; transition: transform .2s ease; }
#tools .service-item:hover .service-icon { transform: scale(1.06); }
#tools .service-item .service-title { color: #0f172a !important; font-size: 0.94rem; line-height: 1.32; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0 !important; flex: 1; }
#tools .service-item:hover .service-title { color: var(--cat-accent, var(--primary)) !important; }
#tools .service-item .service-desc { color: #64748b !important; font-size: 0.8rem; line-height: 1.48; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; max-height: none !important; margin: 0 !important; }
#tools .service-item:hover .service-desc { color: #475569 !important; max-height: none !important; }
.card-split-footer { background: #f8fafc; border-top: 1px solid #e2e8f0; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; margin-top: auto; }
.std-badge-pill { font-size: 0.69rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #475569; max-width: 55%; }
.std-badge-pill.is-empty { visibility: hidden; }
.fav-toggle-btn { position: static; width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; border: 1px solid #e2e8f0; background: #fff; color: #94a3b8; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 12px; transition: all .15s ease; padding: 0; }
.fav-toggle-btn:hover { border-color: #f59e0b; color: #f59e0b; background: #fffbeb; }
.fav-toggle-btn.active { color: #f59e0b; border-color: #fde68a; background: #fffbeb; }
#tools .service-item .card-open-btn { margin: 0 !important; padding: 4px 14px; font-size: 0.76rem; font-weight: 700; }
#tools .service-item::after { display: none; }
#tools.compact-view .section-divider .tool-card { width: 100%; }
@media (min-width: 992px) { #tools.compact-view .section-divider .tool-card { width: 50%; } }
#tools.compact-view .service-item { flex-direction: row !important; align-items: center; gap: 12px; padding: 10px 14px !important; }
#tools.compact-view .card-split-body { padding: 0; flex: 1; min-width: 0; }
#tools.compact-view .card-split-head { margin-bottom: 0; align-items: center; }
#tools.compact-view .service-item .service-icon { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 9px; font-size: 0.9rem; }
#tools.compact-view .service-item .std-badge-pill, #tools.compact-view .service-item .service-desc { display: none !important; }
#tools.compact-view .service-item .service-title { -webkit-line-clamp: 1; }
#tools.compact-view .card-split-footer { background: transparent; border-top: 0; padding: 0; width: auto; flex-shrink: 0; margin-top: 0; }
