/*=============================
	Common
=============================== */
body {
    min-height: 100vh;
    min-height: -webkit-fill-available;
    font-size: 14px;
}

html {
    height: -webkit-fill-available;
}

main {
    height: 100vh;
    height: -webkit-fill-available;
    max-height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
}

.btn {
    border-radius: 5px;
    font-size: 14px;
}

.dropdown-menu {
    font-size: 14px;
}

.form-control,
.input-group-text {
    font-size: 14px;
}

.form-label {
    font-weight: 600;
}

.page-title {
    font-size: 22px;
    margin-bottom: 0;
}

/* Deepak Dubey 03-02-2026 : Sidebar hide for mobile device */
.page-subtitle {
    margin-bottom: 0;
}

/* Deepak Dubey 03-02-2026 : Sidebar hide for mobile device */

.page-title-right {
    gap: 5px;
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    /*overflow-x: auto;*/
}

.noborder {
    border: none;
}


/*============================
	Table
============================== */

.table tr th {
    font-weight: 500;
    padding: 10px 5px;
    vertical-align: middle;
}

.table tr th a,
.table tr td a {
    color: #000;
}

.table tr td {
    vertical-align: middle;
    font-size: 13px;
}



/*============================
	Pagination
============================== */

.pagination .page-link {
    font-size: 13px;
    border-color: var(--primary);
    border-width: 1px;
    border-style: solid;
}

/*============================
	Colors
============================== */
.menu-sidebar .ms-link:not(.btn) {
    color: #000000;
}


.menu-sidebar .ms-link:hover,
.menu-sidebar .parent-menu li.active a,
.menu-sidebar .menu-sidebar-links-bottom li.active a,
.menu-sidebar .ms-link:focus {
    background: var(--primary);
    color: var(--white);
}



.menu-sidebar .has_submenu li a {
    background: transparent !important;
    color: var(--bs-body-color) !important;
    font-weight: 400;
}


.copy-btn {
    border-color: #54656f !important;
    color: #54656f !important;
}

/*=============================
	Header
=============================== */
body {
    padding-top: 60px;
}

header.header.header-dashboard {
    padding: 5px 60px 5px 280px;
    position: fixed;
    z-index: 99;
    width: 100%;
    top: 0;
    left: 0;
}

footer.dashboard-footer {
    padding: 0px 60px 0px 280px;
}

.header-profile-icon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    border-radius: 50%;
    font-size: 20px;
}

.header-profile-name {
    display: flex;
    align-items: center;
    color: #000;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 7px;
    height: 50px;
}

.header-profile-name:hover {
    background: #f5f5f5;
    color: #000;
}

.header-profile-title {
    font-size: 13px;
}

@media (max-width:991px) {
    body {
        padding-top: 70px;
    }

    .btn {
        border-radius: 5px;
        font-size: 12px;
    }

    /* Deepak Dubey 03-02-2026 : Header z-index for mobile device */
    header.header.header-dashboard {
        padding: 5px 10px 5px 10px;
        z-index: 1111;
    }

    /* Deepak Dubey 03-02-2026 : Header z-index for mobile device end */

    footer.dashboard-footer {
        padding: 0px 20px 0px 80px;
    }

    .header-dashboard-logo img {
        height: 60px;
    }

    .page-title {
        font-size: 22px;
    }
}

@media (max-width:576px) {
    .header-profile-name {
        padding-left: 7px;
        padding-right: 7px;
    }

    .nav-pills .nav-link {
        font-size: 15px;
        padding: 10px 10px;
        border-radius: 7px;
    }
}

/*=============================
	Sidebar
=============================== */
.menu-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    background: #ffffff;
    z-index: 99;
    height: 100vh;
    width: 260px;
}

.menu-sidebar .menu-sidebar-links {
    margin-top: 10px;
    height: calc(100vh - 130px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-sidebar .menu-sidebar-links-top {
    height: calc(100vh - 232px);
    overflow-y: auto;
    scrollbar-width: none;
}

.menu-sidebar .menu-sidebar-links-bottom {
    padding-top: 4px;
    padding-bottom: 3px;
}

.menu-sidebar-logo {
    text-align: center;
    padding: 15px 20px;
}

.menu-sidebar-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-sidebar-links ul li {
    padding: 3px 10px;
    font-weight: 600;
}



.menu-sidebar-links .ms-link {
    display: flex;
    width: 100%;
    padding: 8px 12px;
    border-radius: 5px;
}

.menu-sidebar-links .ms-link .ms-icon {
    margin-right: 10px;
}

#menu-sidebar-overlay {
    background: rgba(0, 0, 0, 0.45);
    z-index: 888;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
    backdrop-filter: blur(1px);
}

@media (max-width:991px) {
    .menu-sidebar-logo {
        display: none;
    }

   /* Deepak Dubey 03-02-2026 : Sidebar hide for mobile device */

    .menu-sidebar {
        width: 60px;
        opacity: 0;
        visibility: hidden;
        transform: translateX(-100%);
        z-index: 88;
        padding-top: 75px;
        transition: width 0.25s ease, opacity 0.25s ease;
    }

    .menu-sidebar.full-sidebar {
        width: 280px;
        opacity: 1;
        transform: translateX(0);
        visibility: visible;
        z-index: 999;
    }


    /* Deepak Dubey 03-02-2026 : Sidebar hide for mobile device */

    .menu-sidebar:not(.full-sidebar) .ms-link .ms-label,
    .menu-sidebar:not(.full-sidebar) .menu-sidebar-links-button .button-text {
        display: none;
        width: 0;
        overflow: hidden;
    }

    .menu-sidebar:not(.full-sidebar) .menu-sidebar-links-button {
        padding: 10px;
    }

    .menu-sidebar:not(.full-sidebar) .menu-sidebar-links ul li {
        padding: 3px 9px;
    }

    /*.menu-sidebar:not(.full-sidebar) .menu-sidebar-links .has_submenu{*/
    /*    position: absolute;*/
    /*    width: 200px;*/
    /*    left: 20px;*/
    /*}*/

    /*.menu-sidebar:not(.full-sidebar) .menu-sidebar-links .has_submenu .ms-link{*/

    /*       align-items: center;*/
    /*       justify-content: start;*/
    /*}*/


    .menu-sidebar:not(.full-sidebar) .menu-sidebar-links .ms-link {
        padding: 7px 10px;
        align-items: center;
        justify-content: center;
    }

    .menu-sidebar:not(.full-sidebar) .menu-sidebar-links .ms-link .ms-icon {
        margin-right: 0;
        font-size: 18px;
    }

    .menu-sidebar .menu-sidebar-links {
        height: calc(100vh - 130px);
    }

    .header .navbar-toggler {
        padding: 15px 10px;
        margin-left: 0;
    }
}



/*=============================
	Content
=============================== */
#dashboard-main {
    min-height: calc(100vh - 116px);
    padding-left: 260px;
}

.dashboard-section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 40px;
}

.dashboard-page-title {
    margin-bottom: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
}

.icon-heighliter {
    border-radius: 7px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    padding: 7px;
}

@media (max-width:991px) {
     /* Deepak Dubey 03-02-2026 : Sidebar hide for mobile device */
    #dashboard-main {
        min-height: calc(100vh - 116px);
        padding-left: 0;
    }

    /* Deepak Dubey 03-02-2026 : Sidebar hide for mobile device  end */

    .dashboard-section-container {
        max-width: 1280px;
        margin: 0 auto;
        padding: 10px 20px;
    }



    .dashboard-section-container {
        padding: 25px 30px;
    }
}

@media (max-width:576px) {
    .dashboard-section-container {
        padding: 25px 15px;
    }


}

/* ==========  widget count =========== */
.border-thick {
    border: 2px solid #ddd;
}

.widget-count .card-body {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.widget-count-text .card-title {
    font-size: 18px;
}

.widget-count-text .card-text {
    font-size: 12px;
}

.widget-count-number {
    width: 30%;
    text-align: right;
    font-size: 24px;
    font-weight: 600;
}

/* ================ Listing ============ */
.link-list-content {
    display: flex;
}

.link-list-content-text-qr {
    width: 100%;
    max-width: calc(100% - 0px);
}

.link-list-content-text {
    width: 100%;
    max-width: calc(100% - 10px);
}

.link-list-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 5px;
    position: relative;
    z-index: 11;
}

.link-list-link {
    font-weight: 500;
    z-index: 55;
    position: relative;
    font-size: 14px;
}

.link-list-other-details {
    font-size: 12px;
    margin-top: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 55;
}

.link-list-actions {
    position: relative;
}

@media (max-width:576px) {

    .link-list-content .icon-heighliter,
    .link-list-content .link-list-qr {
        display: none;
    }

    .link-list-content-text {
        flex-grow: 1;
    }

    .link-list-content {
        display: block;
    }

    .link-list-qr {
        max-width: 100%;
        justify-content: center;

    }

    .link-list-actions {
        width: 100%;
        padding-top: 7px;
        margin-top: 10px;
        border-top: 1px solid #ddd;
    }

    .link-list-row {
        padding: 10px !important;
    }

    .link-list-row .copy-btn {
        flex-grow: 1;
    }
}



/* Basic styling */
.custom-select-container {
    position: relative;
    width: 300px;
}

.select-input {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.custom-select {
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    z-index: 10;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: none;
    max-height: 200px;
    overflow-y: auto;
}

.custom-select span {
    display: block;
    padding: 10px;
    cursor: pointer;
}

.option-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.option-list li {
    padding: 10px;
    cursor: pointer;
}

.option-list li:hover {
    background-color: #f0f0f0;
}

.selected {
    background-color: #3498db;
    color: white;
}

.custom-select.active {
    display: block;
}


.image-input-btn {
    position: relative;
}

.image-input-btn input[type=file] {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.image-input-btn .image-input {
    display: inline-flex;
    align-items: center;
    border-radius: .4rem;
    border: none;
    color: #fff;
    background-color: var(--primary);
    cursor: pointer;
    font-size: 16px;
    justify-content: center;
    letter-spacing: 0;
    outline: none;
    text-align: center;
    padding: 10px 12px;
    word-break: normal;
    overflow-wrap: normal;
}

/* Create form section  */
.qr_limit_title {
    font-weight: 600;
    border-bottom: 1px dashed #444;
}

.overlay-msg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    /* Semi-transparent dark background */
    backdrop-filter: blur(5px);
    /* Blur effect */
    padding: 20px 40px;
    border-radius: 10px;
}

.has_submenu {
    background: #d8c6ff;
    border-radius: 10px;
}



.has_submenu li.active,
.has_submenu li:hover,
.has_submenu li:hover a,
.has_submenu li.active a {
    /*font-weight: 600;*/
    color: #6e42cb !important;
    background-color: rgba(0, 0, 0, 0.05);
}


.ms-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-decoration: none;
    padding: 0.5rem 1rem;
}

.ms-icon {
    margin-right: 0.5rem;
}

.ms-label {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ms-caret {
    margin-left: auto;
}

.modal-backdrop {
    z-index: 888;
}