/* =========================================================
   SMART MATRIMONIAL
   PROFESSIONAL SIDEBAR / NAVIGATION
   Completely isolated from old style.css
========================================================= */


/* =========================================================
   RESET ONLY OUR COMPONENTS
========================================================= */

.smart-sidebar,
.smart-sidebar *,
.smart-sidebar *::before,
.smart-sidebar *::after {
    box-sizing: border-box;
}


/* =========================================================
   MAIN DASHBOARD STRUCTURE

   THIS IS THE IMPORTANT PART.

   SIDEBAR + CONTENT MUST SIT SIDE BY SIDE.
========================================================= */

.dashboard-layout {
    width: 100%;
    min-height: 100vh;

    display: flex;
    align-items: stretch;

    position: relative;
}


/* =========================================================
   SIDEBAR
========================================================= */

.smart-sidebar {

    width: 100%;

    background: #ffffff;

    border-bottom: 1px solid #eeeeee;

    position: relative;

    z-index: 1000;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;
}


/* =========================================================
   LOGO
========================================================= */

.smart-sidebar-logo {

    display: flex;
    align-items: center;

    padding: 13px 20px;

    white-space: nowrap;
}


.smart-sidebar-logo a {

    display: flex;
    align-items: center;

    gap: 8px;

    text-decoration: none;

    color: #e91e63;

    font-size: 20px;

    font-weight: 700;
}


.smart-logo-heart {

    font-size: 22px;
}


/* =========================================================
   NAVIGATION
========================================================= */

.smart-sidebar-nav {

    display: flex;
    align-items: center;

    padding: 0 16px 10px;

    gap: 4px;

    position: relative;
}


/* =========================================================
   NAV ITEMS
========================================================= */

.smart-nav-item {

    height: 46px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 0 14px;

    border: none;

    background: transparent;

    border-radius: 7px;

    color: #555555;

    text-decoration: none;

    font-size: 14px;

    font-weight: 500;

    white-space: nowrap;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}


.smart-nav-item:hover {

    background: #fff1f5;

    color: #e91e63;
}


.smart-nav-item.active {

    background: #fff0f4;

    color: #e91e63;

    font-weight: 600;
}


/* =========================================================
   ICON
========================================================= */

.smart-nav-icon {

    width: 25px;
    height: 25px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    font-size: 16px;

    position: relative;
}


.smart-nav-text {
    line-height: 1;
}


/* =========================================================
   NOTIFICATION
========================================================= */

.notification-icon {
    position: relative;
}


.smart-notification-badge {

    position: absolute;

    top: -8px;
    right: -7px;

    min-width: 17px;
    height: 17px;

    padding: 0 4px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background: #e91e63;

    color: white;

    font-size: 10px;

    font-weight: 700;
}


/* =========================================================
   MORE
========================================================= */

.smart-more-wrapper {

    position: relative;
}


.smart-more-button {

    font-family: inherit;
}


.smart-more-arrow {

    margin-left: 3px;

    font-size: 10px;

    transition: transform .2s ease;
}


.smart-more-dropdown.show
~ * {

    /* intentionally empty */
}


/* =========================================================
   MORE DROPDOWN
========================================================= */

.smart-more-dropdown {

    position: absolute;

    top: calc(100% + 7px);

    left: 0;

    width: 235px;

    padding: 7px;

    background: #ffffff;

    border: 1px solid #eeeeee;

    border-radius: 10px;

    box-shadow:
        0 12px 35px rgba(0,0,0,.13);

    display: none;

    z-index: 9999;
}


.smart-more-dropdown.show {

    display: block;
}


.smart-more-dropdown a {

    width: 100%;

    min-height: 42px;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 9px 12px;

    color: #444444;

    text-decoration: none;

    border-radius: 7px;

    font-size: 14px;
}


.smart-more-dropdown a:hover,
.smart-more-dropdown a.active {

    background: #fff0f4;

    color: #e91e63;
}


.smart-more-dropdown a i {

    width: 20px;

    text-align: center;

    font-size: 15px;
}


/* =========================================================
   USER ACCOUNT
========================================================= */

.smart-account-wrapper {

    position: absolute;

    top: 12px;

    right: 20px;

    z-index: 10000;
}


.smart-account-button {

    height: 46px;

    min-width: 180px;

    display: flex;

    align-items: center;

    gap: 9px;

    padding: 5px 10px;

    border: 1px solid #eeeeee;

    border-radius: 24px;

    background: #ffffff;

    cursor: pointer;

    font-family: inherit;

    transition: .2s ease;
}


.smart-account-button:hover {

    border-color: #e91e63;

    background: #fffafb;
}


/* =========================================================
   ACCOUNT AVATAR
========================================================= */

.smart-account-avatar {

    width: 34px;
    height: 34px;

    min-width: 34px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #ffe7ef;

    color: #e91e63;

    font-size: 15px;
}


.smart-account-avatar img {

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   ACCOUNT INFORMATION
========================================================= */

.smart-account-info {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    min-width: 0;

    flex: 1;
}


.smart-account-info strong {

    max-width: 105px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    color: #333333;

    font-size: 13px;
}


.smart-account-info small {

    color: #999999;

    font-size: 10px;

    margin-top: 2px;
}


.smart-account-arrow {

    color: #777777;

    font-size: 10px;
}


/* =========================================================
   ACCOUNT DROPDOWN
========================================================= */

.smart-account-dropdown {

    position: absolute;

    top: calc(100% + 9px);

    right: 0;

    width: 310px;

    background: #ffffff;

    border: 1px solid #eeeeee;

    border-radius: 12px;

    box-shadow:
        0 15px 40px rgba(0,0,0,.15);

    overflow: hidden;

    display: none;
}


.smart-account-dropdown.show {

    display: block;
}


/* =========================================================
   ACCOUNT HEADER
========================================================= */

.smart-account-header {

    display: flex;

    align-items: center;

    gap: 13px;

    padding: 17px;

    border-bottom: 1px solid #f1f1f1;
}


.smart-account-large-avatar {

    width: 50px;
    height: 50px;

    border-radius: 50%;

    overflow: hidden;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #ffe7ef;

    color: #e91e63;

    font-size: 20px;
}


.smart-account-large-avatar img {

    width: 100%;
    height: 100%;

    object-fit: cover;
}


.smart-account-header strong {

    display: block;

    color: #333333;

    font-size: 14px;

    margin-bottom: 4px;
}


.smart-account-header a {

    color: #e91e63;

    text-decoration: none;

    font-size: 12px;
}


/* =========================================================
   ACCOUNT LINKS
========================================================= */

.smart-account-links {

    padding: 7px;
}


.smart-account-links a {

    min-height: 42px;

    display: flex;

    align-items: center;

    gap: 11px;

    padding: 8px 10px;

    border-radius: 7px;

    color: #444444;

    text-decoration: none;

    font-size: 13px;
}


.smart-account-links a:hover {

    background: #fff1f5;

    color: #e91e63;
}


.smart-account-links a i {

    width: 20px;

    text-align: center;
}


.smart-account-links a b {

    margin-left: auto;

    min-width: 18px;
    height: 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background: #e91e63;

    color: #ffffff;

    font-size: 10px;
}


/* =========================================================
   MEMBERSHIP
========================================================= */

.smart-account-membership {

    padding: 13px 15px;

    background: #fff8fa;

    border-top: 1px solid #f5e7eb;

    border-bottom: 1px solid #f5e7eb;

    font-size: 12px;

    color: #777777;
}


.smart-account-membership strong {

    color: #e91e63;
}


.smart-upgrade-button {

    margin-top: 9px;

    width: 100%;

    height: 37px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    background: #e91e63;

    color: #ffffff;

    text-decoration: none;

    border-radius: 6px;

    font-size: 12px;

    font-weight: 600;
}


.smart-upgrade-button:hover {

    background: #d81757;
}


/* =========================================================
   LOGOUT
========================================================= */

.smart-account-logout {

    padding: 7px;
}


.smart-account-logout a {

    height: 40px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 0 10px;

    border-radius: 7px;

    color: #777777;

    text-decoration: none;

    font-size: 13px;
}


.smart-account-logout a:hover {

    background: #fff1f1;

    color: #d93025;
}


/* =========================================================
   DESKTOP MAIN CONTENT

   THIS FIXES YOUR "DASHBOARD GOES TO RIGHT/WRONG AREA"
========================================================= */

.dashboard-layout > .main-content {

    flex: 1;

    min-width: 0;

    width: 100%;

    position: relative;
}


/* =========================================================
   IMPORTANT:
   YOUR EXISTING DASHBOARD BANNER/CARDS KEEP THEIR
   OLD CSS. WE ONLY CONTROL THE LAYOUT.
========================================================= */


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .smart-nav-item {

        padding: 0 10px;

    }

    .smart-nav-text {

        font-size: 13px;

    }

    .smart-account-wrapper {

        right: 12px;

    }

    .smart-account-info {

        display: none;

    }

    .smart-account-button {

        min-width: auto;

        width: 46px;

        justify-content: center;

        border: none;

    }

    .smart-account-arrow {

        display: none;

    }

}


/* =========================================================
   MOBILE
   SHAADI-STYLE BOTTOM NAVIGATION
========================================================= */

@media (max-width: 768px) {


    /* ---------------------------------------------
       DASHBOARD
    --------------------------------------------- */

    .dashboard-layout {

        display: block;

        min-height: 100vh;

        padding-bottom: 70px;

    }


    /* ---------------------------------------------
       TOP SIDEBAR BECOMES HIDDEN
    --------------------------------------------- */

    .smart-sidebar {

        width: 100%;

        height: 0;

        min-height: 0;

        border: none;

        background: transparent;

        position: static;

    }


    /* ---------------------------------------------
       LOGO HIDDEN ON MOBILE
    --------------------------------------------- */

    .smart-sidebar-logo {

        display: none;

    }


    /* ---------------------------------------------
       NAV BECOMES FIXED BOTTOM BAR
    --------------------------------------------- */

    .smart-sidebar-nav {

        position: fixed;

        left: 0;

        right: 0;

        bottom: 0;

        height: 64px;

        padding: 5px 5px
                 calc(5px + env(safe-area-inset-bottom));

        display: flex;

        align-items: center;

        justify-content: space-around;

        gap: 0;

        background: #ffffff;

        border-top: 1px solid #eeeeee;

        box-shadow:
            0 -4px 18px rgba(0,0,0,.08);

        z-index: 9998;

    }


    /* ---------------------------------------------
       IMPORTANT MOBILE MENUS
    --------------------------------------------- */

    .smart-nav-item {

        height: 54px;

        min-width: 54px;

        flex: 1;

        max-width: 82px;

        padding: 4px 2px;

        border-radius: 8px;

        display: flex;

        flex-direction: column;

        justify-content: center;

        gap: 3px;

    }


    .smart-nav-icon {

        width: 25px;
        height: 25px;

        font-size: 18px;

    }


    .smart-nav-text {

        display: block;

        font-size: 9px;

        line-height: 1;

    }


    /* ---------------------------------------------
       HIDE LESS IMPORTANT MENUS
       ON MOBILE
    --------------------------------------------- */

    .smart-sidebar-nav > a:nth-of-type(6),
    .smart-sidebar-nav > a:nth-of-type(7) {

        display: none;

    }


    /* ---------------------------------------------
       MORE
    --------------------------------------------- */

    .smart-more-wrapper {

        flex: 1;

        max-width: 82px;

    }


    .smart-more-button {

        width: 100%;

    }


    .smart-more-arrow {

        display: none;

    }


    /* ---------------------------------------------
       MORE DROPDOWN MOBILE
    --------------------------------------------- */

    .smart-more-dropdown {

        position: fixed;

        left: 8px;

        right: 8px;

        bottom: 70px;

        top: auto;

        width: auto;

        max-height: 65vh;

        overflow-y: auto;

        border-radius: 12px;

        box-shadow:
            0 -5px 30px rgba(0,0,0,.16);

    }


    .smart-more-dropdown a {

        min-height: 45px;

    }


    /* ---------------------------------------------
       ACCOUNT BUTTON
    --------------------------------------------- */

    .smart-account-wrapper {

        position: fixed;

        top: auto;

        right: auto;

        left: auto;

        bottom: 64px;

        width: 0;

        height: 0;

    }


    .smart-account-button {

        display: none;

    }


    /* ---------------------------------------------
       ACCOUNT DROPDOWN
    --------------------------------------------- */

    .smart-account-dropdown {

        position: fixed;

        left: 8px;

        right: 8px;

        bottom: 70px;

        top: auto;

        width: auto;

        max-height: 75vh;

        overflow-y: auto;

    }


    /* ---------------------------------------------
       MAIN CONTENT
    --------------------------------------------- */

    .dashboard-layout > .main-content {

        width: 100%;

        min-width: 0;

        padding-bottom: 10px;

    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {

    .smart-sidebar-nav {

        height: 62px;

    }


    .smart-nav-item {

        min-width: 45px;

    }


    .smart-nav-icon {

        font-size: 17px;

    }


    .smart-nav-text {

        font-size: 8px;

    }


    .dashboard-layout {

        padding-bottom: 66px;

    }

}

/* Desktop: horizontal navigation above dashboard */
@media (min-width: 769px) {
    .dashboard-layout {
        display: block;
        width: 100%;
        min-height: 100vh;
    }

    .smart-sidebar {
        width: 100%;
        flex-shrink: 0;
    }

    .dashboard-layout > .main-content {
        width: 100%;
        min-width: 0;
        flex: none;
        margin: 0;
        padding: 30px;
    }
}

/* Desktop: logo left, menu truly centered */
@media (min-width: 769px) {
    .dashboard-layout {
        display: block;
    }

    .smart-sidebar {
        width: 100%;
        min-height: 70px;
        position: relative;
    }

    .smart-sidebar-logo {
        position: absolute;
        top: 0;
        left: 0;
        height: 70px;
        z-index: 2;
    }

    .smart-sidebar-nav {
        min-height: 70px;
        padding: 12px 215px;
        justify-content: center;
    }

    .smart-account-wrapper {
        top: 12px;
        right: 20px;
    }

    .dashboard-layout > .main-content {
        width: 100%;
        min-width: 0;
        flex: none;
        margin: 0;
    }

    .smart-mobile-nav,
    .smart-mobile-menu,
    .smart-mobile-menu-button {
        display: none;
    }
}

/* Mobile: Shaadi-style five-item bottom navigation */
@media (max-width: 768px) {
    .smart-sidebar-nav {
        display: none;
    }

    .smart-sidebar {
        height: 0;
        border: 0;
    }

    .dashboard-layout {
        padding-bottom: 76px;
    }

    .smart-mobile-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10002;
        height: 68px;
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: 5px 4px calc(5px + env(safe-area-inset-bottom));
        background: #fff;
        border-top: 1px solid #e9e9e9;
        box-shadow: 0 -4px 18px rgba(0, 0, 0, .08);
    }

    .smart-mobile-nav a {
        flex: 1;
        min-width: 0;
        height: 56px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        color: #646477;
        text-decoration: none;
        font-size: 10px;
        border-radius: 8px;
    }

    .smart-mobile-nav a i {
        font-size: 22px;
    }

    .smart-mobile-nav a.active {
        color: #e91e63;
        background: #fff0f5;
        font-weight: 700;
    }

    .smart-mobile-menu-button {
        position: fixed;
        top: 14px;
        left: 14px;
        z-index: 10003;
        width: 34px;
        height: 34px;
        border: 0;
        border-radius: 9px;
        background: #e91e63;
        color: #fff;
        font-size: 17px;
        cursor: pointer;
    }

    .smart-mobile-menu {
        position: fixed;
        top: 58px;
        left: 12px;
        right: 12px;
        z-index: 10003;
        display: none;
        max-height: calc(100vh - 150px);
        overflow-y: auto;
        background: #fff;
        border-radius: 14px;
        box-shadow: 0 12px 35px rgba(0, 0, 0, .18);
    }

    .smart-mobile-menu.show {
        display: block;
    }

    .smart-mobile-menu a {
        min-height: 51px;
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 12px 17px;
        color: #404050;
        text-decoration: none;
        border-bottom: 1px solid #f0f0f0;
        font-size: 14px;
    }

    .smart-mobile-menu a i {
        width: 20px;
        color: #e91e63;
        text-align: center;
    }

    .smart-mobile-menu .mobile-logout {
        color: #d93025;
    }

    .dashboard-layout > .main-content {
        padding-bottom: 18px;
    }
}

/* Notification beside account menu */
.smart-header-notification {
    position: absolute;
    top: 15px;
    right: 220px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    text-decoration: none;
    border-radius: 50%;
    font-size: 18px;
}

.smart-header-notification:hover,
.smart-header-notification.active {
    color: #e91e63;
    background: #fff0f5;
}

.smart-header-notification span {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 17px;
    height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border-radius: 20px;
    background: #e91e63;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

/* Mobile: header logo left, notification + account right */
@media (max-width: 768px) {
    .smart-sidebar {
        height: 62px;
        min-height: 62px;
        background: #fff;
        border-bottom: 1px solid #eee;
        position: relative;
    }

    .smart-sidebar-logo {
        display: flex;
        height: 62px;
        padding: 0 16px;
        align-items: center;
    }

    .smart-sidebar-logo a {
        font-size: 18px;
    }

    .smart-header-notification {
        position: fixed;
        top: 10px;
        right: 68px;
        z-index: 10004;
    }

    .smart-account-wrapper {
        position: fixed;
        top: 8px;
        right: 12px;
        bottom: auto;
        left: auto;
        width: 46px;
        height: 46px;
        z-index: 10004;
    }

    .smart-account-button {
        display: flex;
        width: 46px;
        min-width: 46px;
        height: 46px;
        padding: 5px;
        justify-content: center;
        border: 0;
    }

    .smart-account-info,
    .smart-account-arrow {
        display: none;
    }

    .smart-account-dropdown {
        position: fixed;
        top: 66px;
        right: 8px;
        bottom: auto;
        left: 8px;
        width: auto;
        max-height: calc(100vh - 150px);
    }

    /* Hide old desktop menu only */
    .smart-sidebar-nav {
        display: none;
    }

    /* More panel opens above bottom navigation */
    .smart-mobile-menu {
        top: auto;
        right: 8px;
        bottom: 76px;
        left: 8px;
        max-height: 65vh;
    }

    /* Remove old top toggle completely */
    .smart-mobile-menu-button {
        display: none !important;
    }

    /* Six Shaadi-style bottom items */
    .smart-mobile-nav {
        height: 68px;
        justify-content: space-around;
    }

    .smart-mobile-nav a,
    .smart-mobile-nav button {
        flex: 1;
        min-width: 0;
        height: 56px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        border: 0;
        border-radius: 8px;
        background: transparent;
        color: #646477;
        text-decoration: none;
        font: inherit;
        font-size: 9px;
        cursor: pointer;
    }

    .smart-mobile-nav a i,
    .smart-mobile-nav button i {
        font-size: 20px;
    }

    .smart-mobile-nav a.active,
    .smart-mobile-nav button:hover {
        color: #e91e63;
        background: #fff0f5;
    }
}

/* Tablet account icon is smaller, so keep notification beside it */
@media (min-width: 769px) and (max-width: 1000px) {
    .smart-header-notification {
        right: 68px;
    }
}

/* with notification and usericon for scroll logo and upper side for mobile view */

/* Mobile header should scroll away with the page */
/* Mobile: fixed top header */
@media (max-width: 768px) {
    .dashboard-page {
        padding-top: 62px;
    }

    .dashboard-page .smart-sidebar {
        position: fixed !important;
        top: 0;
        right: 0;
        left: 0;
        z-index: 10001;
        height: 62px;
        min-height: 62px;
        background: #fff;
        border-bottom: 1px solid #eee;
    }

    .dashboard-page .smart-sidebar-logo {
        display: flex;
        height: 62px;
        align-items: center;
    }

    .dashboard-page .smart-header-notification {
        position: absolute !important;
        top: 10px;
        right: 68px;
    }

    .dashboard-page .smart-account-wrapper {
        position: absolute !important;
        top: 8px;
        right: 12px;
        bottom: auto;
        left: auto;
    }
}
/* end */

/* =========================================================
   SMART MATRIMONIAL GLOBAL CHAT
========================================================= */

.smart-chat-floating-button{

    position:fixed;

    right:25px;
    bottom:25px;

    width:62px;
    height:62px;

    border:none;
    border-radius:50%;

    background:linear-gradient(
        135deg,
        #e91e63,
        #c2185b
    );

    color:#fff;

    font-size:25px;

    cursor:pointer;

    z-index:9998;

    box-shadow:
        0 8px 30px rgba(233,30,99,.35);

    transition:.3s;

}


.smart-chat-floating-button:hover{

    transform:scale(1.08);

    box-shadow:
        0 12px 35px rgba(233,30,99,.45);

}


.smart-chat-total-badge{

    position:absolute;

    top:-4px;
    right:-4px;

    min-width:22px;
    height:22px;

    padding:0 5px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#d32f2f;

    border:3px solid #fff;

    border-radius:20px;

    color:#fff;

    font-size:11px;
    font-weight:700;
}


/* =========================================================
   CHAT PANEL
========================================================= */

.smart-chat-panel{

    position:fixed;

    right:25px;
    bottom:100px;

    width:370px;
    max-width:calc(100vw - 30px);

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    box-shadow:
        0 20px 60px rgba(0,0,0,.22);

    z-index:9997;

    opacity:0;
    visibility:hidden;

    transform:
        translateY(20px)
        scale(.96);

    transition:.25s;

}


.smart-chat-panel.show{

    opacity:1;
    visibility:visible;

    transform:
        translateY(0)
        scale(1);

}


/* HEADER */

.smart-chat-panel-header{

    padding:18px 20px;

    background:
        linear-gradient(
            135deg,
            #e91e63,
            #c2185b
        );

    color:#fff;

    display:flex;

    justify-content:space-between;

    align-items:center;

}


.smart-chat-panel-header h3{

    margin:0;

    font-size:19px;

}


.smart-chat-panel-header h3 i{

    margin-right:7px;

}


.smart-chat-panel-header span{

    display:block;

    margin-top:4px;

    font-size:12px;

    opacity:.85;

}


.smart-chat-close{

    width:36px;
    height:36px;

    border:none;
    border-radius:50%;

    background:rgba(255,255,255,.15);

    color:#fff;

    cursor:pointer;

    font-size:16px;

}


.smart-chat-close:hover{

    background:#fff;

    color:#e91e63;

}


/* SEARCH */

.smart-chat-search{

    margin:15px;

    background:#f6f6f8;

    border-radius:12px;

    display:flex;

    align-items:center;

    padding:0 13px;

}


.smart-chat-search i{

    color:#999;

}


.smart-chat-search input{

    width:100%;

    border:none;

    outline:none;

    background:transparent;

    padding:12px;

    font-size:13px;

}


/* USERS */

.smart-chat-users{

    max-height:420px;

    overflow-y:auto;

}


.smart-chat-user{

    display:flex;

    align-items:center;

    gap:10px;

    padding:12px 15px;

    border-bottom:1px solid #f0f0f0;

    transition:.2s;

}


.smart-chat-user:hover{

    background:#fff5f8;

}


.smart-chat-user-main{

    min-width:0;

    flex:1;

    display:flex;

    align-items:center;

    gap:11px;

    cursor:pointer;

}


.smart-chat-avatar{

    width:50px;
    height:50px;

    min-width:50px;

    position:relative;

}


.smart-chat-avatar img{

    width:50px;
    height:50px;

    border-radius:50%;

    object-fit:cover;

    border:2px solid #f3d0dc;

}


.smart-chat-online{

    position:absolute;

    width:12px;
    height:12px;

    right:0;
    bottom:1px;

    background:#28a745;

    border:2px solid #fff;

    border-radius:50%;

}


.smart-chat-user-info{

    min-width:0;

    flex:1;

}


.smart-chat-user-info strong{

    display:block;

    color:#333;

    font-size:14px;

    white-space:nowrap;

    overflow:hidden;

    text-overflow:ellipsis;

}


.smart-chat-last-message{

    display:block;

    color:#888;

    font-size:12px;

    margin-top:3px;

    white-space:nowrap;

    overflow:hidden;

    text-overflow:ellipsis;

}


.smart-chat-user-info small{

    display:block;

    margin-top:3px;

    color:#aaa;

    font-size:10px;

}


.chat-online-text{

    color:#28a745;

}


.smart-chat-unread{

    min-width:20px;
    height:20px;

    padding:0 5px;

    display:flex;

    justify-content:center;
    align-items:center;

    border-radius:20px;

    background:#e91e63;

    color:#fff;

    font-size:10px;

    font-weight:bold;

}


.smart-chat-open-button{

    width:36px;
    height:36px;

    border:none;

    border-radius:50%;

    background:#fff0f5;

    color:#e91e63;

    cursor:pointer;

    transition:.2s;

}


.smart-chat-open-button:hover{

    background:#e91e63;

    color:#fff;

    transform:scale(1.08);

}


/* EMPTY */

.smart-chat-empty{

    padding:45px 25px;

    text-align:center;

    color:#777;

}


.smart-chat-empty-icon{

    width:65px;
    height:65px;

    margin:auto;

    border-radius:50%;

    background:#fff0f5;

    color:#e91e63;

    display:flex;

    align-items:center;
    justify-content:center;

    font-size:25px;

}


.smart-chat-empty h4{

    margin:15px 0 7px;

    color:#444;

}


.smart-chat-empty p{

    font-size:12px;

    line-height:1.6;

}


.smart-chat-empty a{

    display:inline-block;

    margin-top:10px;

    padding:10px 18px;

    background:#e91e63;

    color:#fff;

    border-radius:20px;

    text-decoration:none;

    font-size:12px;

}


/* FOOTER */

.smart-chat-panel-footer{

    border-top:1px solid #eee;

    padding:14px;

    text-align:center;

}


.smart-chat-panel-footer a{

    color:#e91e63;

    text-decoration:none;

    font-size:13px;

    font-weight:600;

}


.smart-chat-panel-footer i{

    margin-left:5px;

}


/* =========================================================
   PREMIUM POPUP
========================================================= */

.smart-premium-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.55);

    backdrop-filter:blur(5px);

    display:flex;

    align-items:center;
    justify-content:center;

    z-index:10000;

    opacity:0;
    visibility:hidden;

    transition:.25s;

    padding:20px;

}


.smart-premium-overlay.show{

    opacity:1;
    visibility:visible;

}


.smart-premium-popup{

    width:430px;
    max-width:100%;

    background:#fff;

    border-radius:24px;

    padding:35px 30px;

    text-align:center;

    position:relative;

    box-shadow:
        0 25px 80px rgba(0,0,0,.3);

    transform:translateY(20px);

    transition:.3s;

}


.smart-premium-overlay.show
.smart-premium-popup{

    transform:translateY(0);

}


.smart-premium-close{

    position:absolute;

    top:15px;
    right:15px;

    width:34px;
    height:34px;

    border:none;
    border-radius:50%;

    background:#f5f5f5;

    cursor:pointer;

    color:#777;

}


.smart-premium-icon{

    width:75px;
    height:75px;

    margin:0 auto 18px;

    border-radius:50%;

    display:flex;

    align-items:center;
    justify-content:center;

    background:
        linear-gradient(
            135deg,
            #ffd54f,
            #ff9800
        );

    color:#fff;

    font-size:30px;

    box-shadow:
        0 10px 25px rgba(255,152,0,.3);

}


.smart-premium-popup h2{

    margin:0 0 10px;

    color:#333;

}


.smart-premium-popup > p{

    color:#777;

    line-height:1.6;

    font-size:14px;

}


.smart-premium-benefits{

    margin:20px 0;

    text-align:left;

    background:#fff8fa;

    border-radius:14px;

    padding:15px;

}


.smart-premium-benefits div{

    padding:8px 0;

    color:#555;

    font-size:13px;

}


.smart-premium-benefits i{

    width:25px;

    color:#e91e63;

}


.smart-premium-actions{

    display:flex;

    flex-direction:column;

    gap:10px;

}


.smart-premium-upgrade{

    padding:14px;

    background:
        linear-gradient(
            135deg,
            #e91e63,
            #c2185b
        );

    color:#fff;

    border-radius:30px;

    text-decoration:none;

    font-weight:bold;

}


.smart-premium-later{

    border:none;

    background:none;

    color:#888;

    cursor:pointer;

    padding:8px;

}


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

@media(max-width:600px){

    .smart-chat-floating-button{

        width:55px;
        height:55px;

        right:15px;
        bottom:75px;

        font-size:22px;

    }


    .smart-chat-panel{

        right:10px;
        left:10px;

        bottom:135px;

        width:auto;

        max-width:none;

        border-radius:18px;

    }


    .smart-chat-users{

        max-height:50vh;

    }


    .smart-premium-popup{

        padding:30px 20px;

    }

}