

   .searchbar-fixed {
                        display: none;
                        transition: all 0.3s ease;
                    }

                    .navbar-sticky .searchbar-fixed {
                        display: block !important;
                    }

                    .searchbar-fixed input.form-control::placeholder {
                        color: #888;
                        font-style: italic;
                    }

                    .searchbar-fixed .btn i {
                        transition: transform 0.2s ease;
                    }

                    .searchbar-fixed .btn:hover i {
                        transform: scale(1.1);
                    }


                      .role-selection {
        max-width: 380px;
        margin: 0 auto;
    }

    .role-selection .btn-role {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 18px;
        border-radius: 16px;
        margin-bottom: 15px;
        text-decoration: none;
        font-weight: 600;
        font-size: 15px;
        transition: all .3s ease;
        box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    }

    .role-selection .btn-role:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, .15);
    }

    .role-selection .btn-role i:first-child {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
    }

    .role-selection .btn-role i:last-child {
        opacity: .8;
        transition: .3s;
    }

    .role-selection .btn-role:hover i:last-child {
        transform: translateX(5px);
    }

    .btn-doctor {
        background: linear-gradient(135deg, #4f46e5, #7c3aed);
        color: #fff !important;
    }

    .btn-patient {
        background: linear-gradient(135deg, #16a34a, #22c55e);
        color: #fff !important;
    }

    .btn-clinic {
        background: linear-gradient(135deg, #0891b2, #06b6d4);
        color: #fff !important;
    }

    .btn-role span {
        flex: 1;
        text-align: left;
        margin-left: 15px;
    }

    @media(max-width:576px) {
        .role-selection {
            padding: 0 15px;
        }

        .role-selection .btn-role {
            padding: 16px;
            font-size: 16px;
        }
    }

     .modal .btn-close {
        box-sizing: content-box;
        width: 1.2em;
        height: 1.2em;
        padding: 0.4em;
        color: #000;
        background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat !important;
        border: 0 !important;
        border-radius: 50% !important;
        opacity: 0.7;
        cursor: pointer !important;
        z-index: 1070 !important;
        position: relative !important;
        transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
    }
    .modal .btn-close:hover {
        opacity: 1 !important;
        background-color: rgba(0, 0, 0, 0.06) !important;
        transform: scale(1.1);
    }


    
       
.login-card {
    display: block;
    padding: 20px;
    border-radius: 15px;
    text-decoration: none;
    color: #333;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.login-card .icon {
    font-size: 28px;
}

.login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}


        .offcanvas-body a {
            display: block;
            padding: 10px 0;
            color: #ddd;
            text-decoration: none;
            
        }

        .offcanvas-backdrop {
            display: none;
        }

        .offcanvas-body a:hover,
        .offcanvas-body a.active {
            color: #fd7e14;
            font-weight: 500;
        }

        .offcanvas-body .phone-link {
            color: #fd7e14;
            font-weight: 500;
        }

        .btn-install {
            width: 100%;
            background-color: #0066d6;
            color: #fff;
            font-weight: 500;
        }

        .btn-install:hover {
            background-color: #004bb5;
        }

        .desktop_nav {
            position: absolute;
            width: 100%;
            z-index: 999;
            transition: all 0.3s ease-in-out;
            background-color: transparent;
        }

        .desktop_nav.scrolled {
            position: fixed;
            top: 0;
            left: 0;
            background-color: rgb(32 89 9);
            color: #ffffff !important;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .desktop_nav.scrolled h2,
        .desktop_nav.scrolled a,
        .desktop_nav.scrolled .fa-bars {
            color: #0f0d0dff !important;
        }

        .desktop_nav .nav-link {
            color: white;
            transition: color 0.3s;
        }

        .desktop_nav.scrolled .nav-link {
            color: black !important;
        }


        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }



        .loader {
            position: fixed;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            z-index: 9999;
            background: rgb(249, 249, 249);
            display: flex;
            justify-content: center;
            align-items: center;
        }

        /* Loader logo */
        .loader::before {
            content: "";
            width: 100px;
            height: 100px;
            background: url('{{ asset('public/assets/image/load.png') }}') no-repeat center;
            background-size: contain;
            animation: spin 1.5s linear infinite;
        }

        /* Spin animation */
        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        .role-select {
    max-width: 380px;
    margin: 0 auto;
}

.role-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 14px 18px;
    margin-bottom: 14px;
    transition: all .3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,.05);
}

.role-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
    border-color: #6f42c1;
    text-decoration: none;
}

.role-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.role-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
}

.doctor {
    background: linear-gradient(135deg,#4f46e5,#7c3aed);
}

.patient {
    background: linear-gradient(135deg,#16a34a,#22c55e);
}

.clinic {
    background: linear-gradient(135deg,#0ea5e9,#06b6d4);
}

.role-title {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.role-sub {
    font-size: 13px;
    color: #6b7280;
    margin: 2px 0 0;
}

.arrow {
    color: #9ca3af;
    font-size: 20px;
    transition: .3s;
}

.role-btn:hover .arrow {
    transform: translateX(6px);
    color: #6f42c1;
}

   
/* =========================================
   MOBILE APP STYLE NAVBAR
========================================= */

.mobile_nav {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 76px;

    z-index: 1050;

    background-color: rgb(32, 89, 9);

    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;

    transition: transform 0.35s ease-in-out;

    /* Important for smooth mobile scrolling */
    will-change: transform;
   
}

/* Hide navbar when scrolling DOWN */
.mobile_nav.nav-hidden {
    transform: translateY(-100%);
}

/* =========================================
   SPACE FOR FIXED NAVBAR
========================================= */

/*
   IMPORTANT:
   Because navbar is fixed, it no longer
   occupies space in the page.

   Add this class to your main page wrapper.
*/
/* 
.mobile-page-content {
    padding-top: 86px;
} */


/* =========================================
   MOBILE NAVBAR INNER CONTENT
========================================= */

/* .mobile_nav .container {
    min-height: 76px;
} */


/* =========================================
   OFFCANVAS
========================================= */

.mobile_nav .offcanvas {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
}

.mobile_nav .offcanvas-body {
    overflow-y: auto !important;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}


/* =========================================
   MOBILE ONLY
========================================= */

@media (min-width: 768px) {
    .mobile_nav {
        display: none !important;
    }

    .mobile-page-content {
        padding-top: 0;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 576px) {

    .mobile_nav {
        height: 88px;
    }

    .mobile_nav .container {
        min-height: 90px;
    }

    .mobile-page-content {
        padding-top: 130px!important;
    }
}
  .modal .btn-close {
        box-sizing: content-box;
        width: 1.2em;
        height: 1.2em;
        padding: 0.4em;
        color: #000;
        background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat !important;
        border: 0 !important;
        border-radius: 50% !important;
        opacity: 0.7;
        cursor: pointer !important;
        z-index: 1070 !important;
        position: relative !important;
        transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
    }
    .modal .btn-close:hover {
        opacity: 1 !important;
        background-color: rgba(0, 0, 0, 0.06) !important;
        transform: scale(1.1);
    }


     /* Header Search Bar & Category Dropdown */
            .header-search-group {
                background: #ffffff;
                border-radius: 50px;
                box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
                transition: all 0.25s ease;
            }
            .header-search-group:focus-within {
                box-shadow: 0 6px 20px rgba(10, 53, 139, 0.16);
            }
            .header-cat-toggle-btn {
                border-radius: 50px 0 0 50px !important;
                background: #f8fafc !important;
                border: 1px solid #e2e8f0 !important;
                border-right: 1px solid #cbd5e1 !important;
                font-weight: 600;
                font-size: 13.5px;
                color: #1e293b !important;
                display: inline-flex;
                align-items: center;
                gap: 6px;
                padding: 0 14px;
                height: 46px;
                transition: all 0.2s ease;
                z-index: 5;
                white-space: nowrap;
            }
            .header-cat-toggle-btn:hover,
            .header-cat-toggle-btn:focus {
                background: #f1f5f9 !important;
                color: #0f172a !important;
                border-color: #cbd5e1 !important;
            }
            .header-cat-menu {
                border-radius: 14px !important;
                padding: 8px !important;
                min-width: 250px !important;
                border: 1px solid rgba(0, 0, 0, 0.08) !important;
                box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
                margin-top: 6px !important;
                z-index: 1065 !important;
            }
            .header-category-item {
                border-radius: 10px;
                padding: 8px 12px;
                transition: background 0.2s ease;
                cursor: pointer;
                text-decoration: none !important;
            }
            .header-category-item:hover {
                background: #f8fafc;
            }
            .header-category-item.active-category {
                background: #f0fdf4;
            }
            .header-cat-badge {
                width: 32px;
                height: 32px;
                border-radius: 8px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                font-size: 14px;
                flex-shrink: 0;
            }
            .bg-success-light {
                background: #e6f7df;
            }
            .bg-primary-light {
                background: #e7efff;
            }
            .header-search-input {
                height: 46px;
                border: 1px solid #e2e8f0 !important;
                border-left: none !important;
                border-right: none !important;
                font-size: 13.5px;
                background: #ffffff !important;
                box-shadow: none !important;
            }
            .header-search-input:focus {
                background: #ffffff !important;
                border-color: #cbd5e1 !important;
            }
            .header-search-submit-btn {
                border-radius: 0 50px 50px 0 !important;
                background-color: #0a358bff !important;
                height: 46px;
                padding: 0 20px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                border: 1px solid #0a358bff !important;
                transition: all 0.2s ease;
                z-index: 5;
            }
            .header-search-submit-btn:hover {
                background-color: #08286b !important;
                border-color: #08286b !important;
            }
            .header-search-submit-btn i {
                transition: transform 0.2s ease;
            }
            .header-search-submit-btn:hover i {
                transform: scale(1.15);
            }
            @media (max-width: 576px) {
                .header-cat-toggle-btn {
                    padding: 0 10px;
                    font-size: 12.5px;
                    gap: 4px;
                }
                .header-search-submit-btn {
                    padding: 0 14px;
                }
                .header-search-input {
                    font-size: 13px;
                    padding-left: 8px !important;
                    padding-right: 8px !important;
                }
            }

            .live-search-item {
                display: flex;
                align-items: center;
                padding: 10px 15px;
                border-bottom: 1px solid #eee;
                text-decoration: none;
                color: #333;
                transition: background 0.2s;
            }
            .live-search-item:hover {
                background: #f8f9fa;
            }
            .live-search-item img {
                width: 40px;
                height: 40px;
                border-radius: 50%;
                object-fit: cover;
                margin-right: 15px;
            }
            .live-search-item .info {
                flex-grow: 1;
                overflow: hidden;
            }
            .live-search-item .title {
                font-weight: 600;
                margin: 0;
                font-size: 14px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            .live-search-item .subtitle {
                font-size: 12px;
                color: #666;
                margin: 0;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            .live-search-header {
                background: #f1f5f9;
                padding: 5px 15px;
                font-size: 12px;
                font-weight: bold;
                color: #475569;
                text-transform: uppercase;
            }