/*
Theme Name: Docsy
Theme URI: http://https://iqonic.design/
Author: Iqonic Design
Author URI: http://https://iqonic.design/
Description: Docsy is a modern, fully responsive WordPress theme designed specifically for creating detailed and elegant documentation for any product or service. Built with the powerful Gutenberg block editor, Docsy offers complete customization flexibility, allowing you to design and modify each page section with ease. Whether you're building product manuals, API documentation, or user guides, Docsy provides the perfect foundation to showcase your content beautifully on any device.
Version: 1.0.9
Text Domain: docsy
*/

:root {
    --bs-body-font-family: "Inter", sans-serif;
    --bs-primary: #5670CC;
    --bs-primary-rgb: 86, 112, 204;
    --bs-primary-bg-subtle: #dde2f4;
    --bs-primary-border-subtle: var(--bs-primary-bg-subtle);
    /* --bs-link-color-rgb: var(--bs-gray-900-rgb); */
    --bs-primary-hover-bg: #4459a3;
    --bs-primary-hover-border: #3c4e8e;
    --bs-primary-active-bg: #4459a3;
    --bs-primary-active-border: #3c4e8e;
    --bs-secondary: #f68685;
    --bs-secondary-rgb: 246, 134, 133;
    --bs-secondary-bg-subtle: #fde6e6;
    --bs-secondary-border-subtle: var(--bs-secondary-bg-subtle);
    --bs-secondary-hover-bg: #c46b6a;
    --bs-secondary-hover-border: #ac5d5d;
    --bs-secondary-active-bg: #c46b6a;
    --bs-secondary-active-border: #ac5d5d;
    --bs-success: #219653;
    --bs-success-rgb: 33, 150, 83;
    --bs-success-bg-subtle: #d2eadc;
    --bs-success-border-subtle: var(--bs-success-bg-subtle);
    --bs-success-hover-bg: #1a7842;
    --bs-success-hover-border: #17693a;
    --bs-success-active-bg: #1a7842;
    --bs-success-active-border: #17693a;
    --bs-warning: #FAA100;
    --bs-warning-rgb: 250, 161, 0;
    --bs-warning-bg-subtle: #feeccc;
    --bs-warning-border-subtle: var(--bs-warning-bg-subtle);
    --bs-warning-hover-bg: #c88000;
    --bs-warning-hover-border: #af7000;
    --bs-warning-active-bg: #c88000;
    --bs-warning-active-border: #af7000;
    --bs-danger: #F54438;
    --bs-danger-rgb: 245, 68, 56;
    --bs-danger-bg-subtle: #fdd9d7;
    --bs-danger-border-subtle: var(--bs-danger-bg-subtle);
    --bs-danger-hover-bg: #c4362c;
    --bs-danger-hover-border: #ab2f27;
    --bs-danger-active-bg: #c4362c;
    --bs-danger-active-border: #ab2f27;
    --bs-info: #007EA7;
    --bs-info-rgb: 0, 126, 167;
    --bs-info-bg-subtle: #cce5ed;
    --bs-info-border-subtle: var(--bs-info-bg-subtle);
    --bs-info-hover-bg: #006485;
    --bs-info-hover-border: #005874;
    --bs-info-active-bg: #006485;
    --bs-info-active-border: #005874;
    --bs-body-bg: #f5f6fa;
    --bs-body-bg-rgb: 245, 246, 250;
    --bs-body-bg-bg-subtle: #fdfdfe;
    --bs-body-bg-border-subtle: var(--bs-body-bg-bg-subtle);
    --bs-body-bg-hover-bg: #c4c4c8;
    --bs-body-bg-hover-border: #abacaf;
    --bs-body-bg-active-bg: #c4c4c8;
    --bs-body-bg-active-border: #abacaf;
    --bs-body-color: #171c26;
    --bs-body-color-rgb: 130, 138, 144;
    --bs-body-color-bg-subtle: #e6e7e8;
    --bs-body-color-border-subtle: var(--bs-body-color-bg-subtle);
    --bs-body-color-hover-bg: #686e73;
    --bs-body-color-hover-border: #5b6064;
    --bs-body-color-active-bg: #686e73;
    --bs-body-color-active-border: #5b6064;
    --bs-border-color: #dbdfe7;
    --bs-border-color-rgb: 219, 223, 231;
    --bs-border-color-bg-subtle: #f7f8fa;
    --bs-border-color-border-subtle: var(--bs-border-color-bg-subtle);
    --bs-border-color-hover-bg: #afb2b8;
    --bs-border-color-hover-border: #999ca1;
    --bs-border-color-active-bg: #afb2b8;
    --bs-border-color-active-border: #999ca1;
    --bs-heading-color: #3F414D;
    --bs-heading-color-rgb: 63, 65, 77;
    --bs-heading-color-bg-subtle: #d8d9db;
    --bs-heading-color-border-subtle: var(--bs-heading-color-bg-subtle);
    --bs-heading-color-hover-bg: #32343d;
    --bs-heading-color-hover-border: #2c2d35;
    --bs-heading-color-active-bg: #32343d;
    --bs-heading-color-active-border: #2c2d35;
    --bs-gray-900: #ffffff;
    --bs-gray-900-rgb: 255, 255, 255;
    --bs-gray-900-bg-subtle: #ffffff;
    --bs-gray-900-border-subtle: var(--bs-gray-900-bg-subtle);
    --bs-gray-900-hover-bg: #cccccc;
    --bs-gray-900-hover-border: #b2b2b2;
    --bs-gray-900-active-bg: #cccccc;
    --bs-gray-900-active-border: #b2b2b2;
}

body {
    font-family: var(--bs-body-font-family);
}

.btn.btn-primary {
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: var(--bs-primary-hover-bg);
    --bs-btn-hover-border-color: var(--bs-primary-hover-border);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: var(--bs-white);
    --bs-btn-active-bg: var(--bs-primary-active-bg);
    --bs-btn-active-border-color: var(--bs-primary-active-border);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--bs-white);
    --bs-btn-disabled-bg: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
}


.btn.btn-outline-primary {
    --bs-btn-color: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-primary);
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: var(--bs-white);
    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-active-border-color: var(--bs-primary);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--bs-primary);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--bs-primary);
    --bs-gradient: none;
}

.main-header-menu .navbar-nav .menu-item a {
    position: relative;
    font-size: 14px;
    font-weight: 500;
    color: var(--bs-heading-color);
    text-transform: uppercase;
    padding: 34px 20px;
    letter-spacing: 0.094rem;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.main-header-menu .navbar-nav .menu-item:hover a {
    color: var(--bs-primary);
}

.main-header-menu .navbar-nav .menu-item a::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 0;
    margin: auto;
    height: 4px;
    transform-origin: right center;
    transform: scale(0, 1);
    transition: transform 0.25s cubic-bezier(0.37, 0.31, 0.2, 0.85);
    transition: transform 0.25s cubic-bezier(0.37, 0.31, 0.2, 0.85), -webkit-transform 0.25s cubic-bezier(0.37, 0.31, 0.2, 0.85);
    background: var(--bs-primary);
}

.main-header-menu .navbar-nav .menu-item:hover a::after {
    transform-origin: left center;
    transform: scale(1, 1);
}

.iq-header-right-menu a {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-weight: 700;
    color: #3745a4;
    text-decoration: none;
    border-bottom: 1px solid;
}

.iq-header-right-menu a.btn {
    background-color: #3745a4;
    color: #ffffff;
    padding: .75rem 1.5rem;
}

.footer-text a {
    color: var(--bs-primary);
}

a.doce-header-link {
    color: var(--bs-primary);
    font-weight: 600;
    border-color: var(--bs-primary) !important;
}

.container {
    max-width: 1550px;
}

.inter-theme {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.nav-pills {
    --bs-nav-pills-border-radius: var(--bs-border-radius);
    --bs-nav-pills-link-active-color: #fff;
    --bs-nav-pills-link-active-bg: var(--bs-primary);
}

.heading-color {
    color: var(--bs-heading-color);
}

.ph {
    color: #F68685;
}

/* header */
header.doce-header {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #ffffff;
}

header .nav {
    background: #fff;
    padding: 10px 0;
}

body.admin-bar header.doce-header {
    top: 32px;
}

.navbar-brand img {
    height: 50px;
}

/* sidebar css */
.d-none-sidebar-btn {
    display: none;
}

.sidebar-menu {
    position: sticky;
    left: 0;
    height: calc(100dvh - 125px);
    min-width: 20rem !important;
    background: #fff;
    /* padding-top: 146px; */
    top: 125px;
    overflow-y: auto;
}

.admin-bar .sidebar-menu {
    top: 157px;
    height: calc(100dvh - 157px);
}

.sidebar-nav-list li a {
    color: var(--bs-body-color);
    font-size: .875rem;
    line-height: 1.25rem;
    text-decoration: none;
    display: inline-flex;
    padding: .25rem 0;
}

.sidebar-nav-list li a:hover {
    color: #3745a4;
}

.sidebar-nav-list li a.active {
    color: #3745a4;
    font-weight: bold;
}

.sidebar-menu-right {
    background: #fff;
    height: calc(100dvh - 125px);
    top: 125px;
}

.admin-bar .sidebar-menu-right {
    top: 157px;
    height: calc(100dvh - 157px);
}

/* Bootstrap List Group Sidebar Styling */
.list-group-item {
    background-color: transparent;
}

.list-group-item .menu-item {
    color: var(--bs-body-color);
    font-size: .875rem;
    transition: color 0.2s ease;
}

.list-group-item .menu-item:hover {
    color: #3745a4;
}

.list-group-item .menu-item.active {
    color: #3745a4;
    font-weight: bold;
}

/* Bootstrap Collapse Toggle Arrow Animation */
.toggle-arrow {
    transition: all 0.2s ease;
    color: var(--bs-body-color);
}

.toggle-arrow i {
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

/* Smooth collapse animation */
.collapse {
    transition: height 0.35s ease;
}

.collapsing {
    transition: height 0.35s ease;
}

/* For pages WITH sidebar */
.documentation-template.with-sidebar {
    padding-top: 125px;
    /* padding-left: 320px; */
}

/* For pages WITHOUT sidebar (help guides) */
.documentation-template.without-sidebar {
    padding: 125px 0px 0px 100px;
}

.doce-footer {
    padding-left: 320px;
}

/* tabs */
.nav-pills-header .nav-item {
    padding: 0 16px;
    position: relative;
}

.nav-pills-header .nav-item:first-child {
    padding-left: 0;
}

.nav-pills-header .nav-item .nav-link {
    color: #374151;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    padding: 16px 0;
    position: relative;
}

.nav-pills-header .nav-item .nav-link.active {
    background: transparent;
    color: var(--bs-heading-color);
}

.nav-pills-header .nav-item .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    height: 2px;
    transform-origin: right center;
    transform: scale(0, 1);
    transition: -webkit-transform .25s cubic-bezier(0.37, 0.31, 0.2, 0.85);
    transition: transform .25s cubic-bezier(0.37, 0.31, 0.2, 0.85);
    transition: transform .25s cubic-bezier(0.37, 0.31, 0.2, 0.85), -webkit-transform .25s cubic-bezier(0.37, 0.31, 0.2, 0.85);
    background: var(--bs-heading-color);
}

.nav-pills-header .nav-item .nav-link:hover::after,
.nav-pills-header .nav-item .nav-link.active::after {
    transform-origin: left center;
    transform: scale(1, 1);
}


@media (max-width: 1024px) {
    .d-none-sidebar-btn {
        display: block;
    }

    .documentation-template,
    .doce-footer {
        padding-left: 0;
    }

    .sidebar-menu {
        position: fixed;
        transform: translateX(-100%);
        transition: all .3s ease 0s;
    }

    .sidebar-menu.sidebar-toggle {
        transform: translateX(0);
    }
}

/* ==============================================
   Custom DocSearch Styles (WordPress API)
   ============================================== */

/* DocSearch Button */
.DocSearch-Button {
    height: 40px;
    padding: 11px 15px;
    border-radius: 6px;
    background-color: #F6F7F9;
    border: 1px solid #EBEBEB;
    transition: all 0.2s ease;
    cursor: pointer;
    font-family: inherit;
    display: flex;
}

input[type="search"]:focus::-webkit-search-cancel-button {
    display: none;
}

.DocSearch-Button:hover {
    background-color: #ffffff;
    border-color: var(--bs-primary);
    box-shadow: 0 2px 4px rgba(86, 112, 204, 0.1);
}

.DocSearch-Button-Container {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
}

.DocSearch-Search-Icon {
    color: var(--bs-body-color);
}

.DocSearch-Button-Placeholder {
    font-size: 14px;
    color: #6E8192;
}

.DocSearch-Button-Keys {
    display: flex;
    align-items: center;
    gap: 4px;
}

.DocSearch-Button-Key {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
    padding: 2px 6px;
    font-size: 12px;
    color: var(--bs-body-color);
    min-width: 20px;
    text-align: center;
}

/* DocSearch Modal Container */
.DocSearch-Container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10000 !important;
    /* display: flex; */
    align-items: flex-start;
    justify-content: center;
    padding: 60px 20px 20px;
}

/* DocSearch Modal */
.DocSearch-Modal {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 600px;
    width: 100%;
    max-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Search Bar */
.DocSearch-SearchBar {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
    display: flex;
}

.DocSearch-Form {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    border-radius: 6px;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    width: 100%;
}

.DocSearch-Form:focus-within {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 3px rgba(86, 112, 204, 0.1);
}

.DocSearch-MagnifierLabel {
    display: flex;
    align-items: center;
    color: var(--bs-body-color);
}

.DocSearch-LoadingIndicator {
    width: 20px;
    height: 20px;
    color: var(--bs-primary);
}

.DocSearch-Input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 16px;
    color: var(--bs-heading-color);
    font-family: inherit;
}

.DocSearch-Input::placeholder {
    color: #94a3b8;
}

.DocSearch-Reset {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--bs-body-color);
    display: flex;
    align-items: center;
}

.DocSearch-Reset:hover {
    color: var(--bs-heading-color);
}

.DocSearch-Cancel {
    background: none;
    border: none;
    padding: 8px 16px;
    margin-left: 12px;
    cursor: pointer;
    color: var(--bs-body-color);
    font-size: 14px;
    border-radius: 4px;
    font-family: inherit;
}

.DocSearch-Cancel:hover {
    background: #f1f5f9;
}

/* Dropdown */
.DocSearch-Dropdown {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.DocSearch-Dropdown-Container {
    min-height: 200px;
}

/* Start Screen */
.DocSearch-StartScreen {
    text-align: center;
    padding: 60px 20px;
    color: var(--bs-body-color);
}

.DocSearch-Help {
    font-size: 14px;
    margin: 0;
}

/* No Results */
.DocSearch-NoResults {
    text-align: center;
    padding: 60px 20px;
}

.DocSearch-Screen-Icon {
    margin-bottom: 16px;
    color: #cbd5e1;
}

.DocSearch-Title {
    color: var(--bs-heading-color);
    font-size: 16px;
    margin: 0;
}

.DocSearch-Query {
    color: var(--bs-primary);
}

/* Hits / Results */
.DocSearch-Hit-source {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--bs-primary);
    margin: 1rem 0 0.5rem;
    padding: 0 0.5rem;
    letter-spacing: 0.5px;
}

.DocSearch-Hit-source:first-child {
    margin-top: 0;
}

.DocSearch-Hits-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.DocSearch-Hit {
    margin-bottom: 4px;
}

.DocSearch-Hit a {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 6px;
    padding: 12px;
    transition: background-color 0.2s ease;
}

.DocSearch-Hit a:hover,
.DocSearch-Hit[aria-selected="true"] a {
    background-color: rgba(86, 112, 204, 0.08);
}

.DocSearch-Hit-Container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.DocSearch-Hit-icon {
    flex-shrink: 0;
    color: var(--bs-primary);
    margin-top: 2px;
}

.DocSearch-Hit-content-wrapper {
    flex: 1;
    min-width: 0;
}

.DocSearch-Hit-title {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--bs-heading-color);
    margin-bottom: 4px;
    line-height: 1.4;
}

.DocSearch-Hit-path {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 4px;
}

.DocSearch-Hit-excerpt {
    font-size: 13px;
    color: var(--bs-body-color);
    line-height: 1.5;
    margin-top: 4px;
}

.DocSearch-Hit-action {
    flex-shrink: 0;
    color: #cbd5e1;
    margin-top: 2px;
}

.DocSearch-Hit-action-icon {
    width: 16px;
    height: 16px;
}

/* Highlighting */
.DocSearch-Hit mark {
    background: transparent;
    color: var(--bs-primary);
    font-weight: 600;
}

/* Error Screen */
.DocSearch-ErrorScreen {
    text-align: center;
    padding: 60px 20px;
    color: #ef4444;
}

/* Recent Searches */
.DocSearch-Recent-Searches {
    margin-top: 24px;
    text-align: left;
}

.DocSearch-Recent-Searches .DocSearch-Hit-source {
    margin-top: 0;
}

.DocSearch-Hit--recent .DocSearch-Hit-icon svg {
    opacity: 0.5;
}

.DocSearch-Hit-action-remove {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #cbd5e1;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.DocSearch-Hit-action-remove:hover {
    background-color: #f1f5f9;
    color: #64748b;
}

.DocSearch-Recent-Clear {
    margin-top: 12px;
    padding: 8px 12px;
    text-align: center;
}

.DocSearch-Recent-Clear-Button {
    background: none;
    border: none;
    color: #64748b;
    font-size: 13px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    font-family: inherit;
}

.DocSearch-Recent-Clear-Button:hover {
    background-color: #f1f5f9;
    color: var(--bs-heading-color);
}

.DocSearch-Recent-Clear-Button svg {
    flex-shrink: 0;
}

.ph {
    font-size: 1.25rem;
}

.doc-content-area .ph {
    font-size: unset;
}

.footer-top {
    background-color: #F7F7F7;
    padding: 80px 0 30px 0;
}

.footer-top .social-icon-list {
    margin: 40px 0 76px 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-top .footer-menu li {
    margin-bottom: 22px;
}

.footer-top .footer-menu-title {
    margin-bottom: 30px;
}

.footer-top .footer-menu li:last-child {
    margin-bottom: 0;
}

.footer-top .footer-menu li a {
    color: #828a90;
    font-size: 18px;
}

.footer-top .footer-copy-right {
    border-top: 1px solid #F2EBFF;
    margin-top: 40px;
    padding-top: 30px;
}

.footer-top .footer-copy-right .copy-right-text {
    font-size: 18px;
    color: #828A90;
}

/* Responsive adjustments */
@media (max-width: 1199px) {
    .iq-header-center-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 9;
        background-color: #ffffff;
        padding: 16px;
    }
    .iq-header-right-menu {
        margin-top: 32px;
    }
    .main-header-menu .navbar-nav .menu-item a {
        display: inline-block;
        padding: 16px;
    }
}
@media (max-width: 768px) {
    header .DocSearch-Button {
        width: 40px;
        padding: 0;
        justify-content: center;
    }

    .DocSearch-Form {
        padding: 8px;
    }

    header .DocSearch-Button-Placeholder,
    header .DocSearch-Button-Keys {
        display: none;
    }

    .DocSearch-Button-Container {
        justify-content: center;
    }

    .DocSearch-Container {
        padding: 20px 10px;
    }

    .DocSearch-Modal {
        max-height: calc(100vh - 40px);
    }

    .DocSearch-SearchBar {
        padding: 0.75rem;
    }

    .DocSearch-Cancel {
        padding: 6px 12px;
        font-size: 13px;
    }

    .footer-top {
        padding: 40px 0 16px 0;
    }

    .footer-top .social-icon-list {
        margin: 20px 0 32px 0;

    }


    .footer-top .footer-copy-right {
        margin-top: 20px;
        padding-top: 16px;
    }

}