/* ==========================================================
GLOBAL DEVICE VISIBILITY
========================================================== */

.mobile-only{
    display:none;
}

.desktop-only{
    display:block;
}

@media (max-width:991px){

    .mobile-only{
        display:block !important;
    }

    .desktop-only{
        display:none !important;
    }

}

@media (min-width:992px){

    .mobile-only{
        display:none !important;
    }

    .desktop-only{
        display:block !important;
    }

}

/*=========================================================
ACMOBOOK MOBILE UI SYSTEM
=========================================================*/

@media (min-width:992px){

.mobile-only{
display:none !important;
}

}

@media (max-width:991px){

:root{

--mobile-header-height:64px;
--mobile-bottom-height:74px;

--mobile-radius:18px;
--mobile-radius-sm:14px;

--mobile-shadow:
0 20px 60px rgba(15,23,42,.10);

}

/*=========================================================
Desktop Hide
=========================================================*/

.desktop-only{
display:none!important;
}

.mobile-only{
display:block;
}

.header-search-section{
display:none!important;
}

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

.acmo-mobile-header{

position:sticky;

top:0;

left:0;

right:0;

height:74px;

background:#fff;

display:flex;

align-items:center;

z-index:9999;

border-bottom:1px solid #EDF2F7;

box-shadow:0 8px 28px rgba(15,23,42,.05);

}

.mobile-topbar{

width:100%;

display:flex;

align-items:center;

justify-content:space-between;

padding:0 16px;

}

.mobile-logo{

display:flex;

align-items:center;

justify-content:center;

flex:1;

}

.mobile-logo img{

height:72px;

transition: .25s;

width:auto;

display:block;

}

.mobile-actions{

    display:flex;

    align-items:center;

    gap:10px;

    flex-shrink:0;

}

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

.mobile-icon-btn{

    position:relative;

    width:50px;

    height:50px;

    display:flex;

    align-items:center;

    justify-content:center;

    border:1px solid #EEF2F7;

    border-radius:18px;

    background:#F8FAFC;

    color:#0F172A;

    transition:.25s;

    cursor:pointer;

    overflow:visible;

}

.mobile-icon-btn:hover{

    background:#EEF2FF;

    color:#4F46E5;

}

.mobile-icon-btn i{

font-size:21px;

color:#0F172A;

}

.mobile-login-btn{

height:42px;

padding:0 18px;

border-radius:14px;

border:none;

background:linear-gradient(135deg,#6C63FF,#1FA2FF);

color:#fff;

font-weight:600;

font-size:14px;

}

.mobile-badge{

    position:absolute;

    top:4px;

    right:4px;

    min-width:20px;

    height:20px;

    padding:0 5px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:999px;

    background:#EF4444;

    color:#fff;

    font-size:11px;

    font-weight:700;

    line-height:1;

    border:3px solid #fff;

    box-shadow:
    0 4px 12px rgba(239,68,68,.35);

}

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

.mobile-sidebar{

position:fixed;

top:0;

left:-360px;

width:320px;

max-width:88vw;

height:100vh;

background:#fff;

z-index:11000;

overflow-y:auto;

transition:.35s;

box-shadow:var(--mobile-shadow);

}

.mobile-sidebar.active{

left:0;

}

.mobile-sidebar-header{

height:72px;

display:flex;

align-items:center;

justify-content:space-between;

padding:0 20px;

border-bottom:1px solid #EEF2F7;

}

.mobile-sidebar-logo img{

height:28px;

}

.mobile-sidebar-close{

width:40px;

height:40px;

border:none;

background:#F8FAFC;

border-radius:12px;

cursor:pointer;

}

.mobile-sidebar-close i{

font-size:20px;

}

/*=========================================================
USER CARD
=========================================================*/

.mobile-user-card{

display:flex;

align-items:center;

gap:16px;

padding:24px 20px;

background:linear-gradient(
135deg,
#6C63FF,
#1FA2FF
);

color:#fff;

}

.mobile-user-avatar{

width:56px;

height:56px;

border-radius:50%;

background:#fff;

display:flex;

align-items:center;

justify-content:center;

font-size:22px;

font-weight:700;

color:#6C63FF;

flex-shrink:0;

}

.mobile-user-info{

flex:1;

}

.mobile-user-info h4{

margin:0;

font-size:17px;

font-weight:700;

}

.mobile-user-info p{

margin:4px 0;

opacity:.85;

font-size:13px;

}

.mobile-user-info span{

display:inline-flex;

padding:5px 10px;

border-radius:999px;

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

font-size:12px;

}

/*=========================================================
GUEST CARD
=========================================================*/

.mobile-guest-card{

padding:26px 20px;

background:linear-gradient(
135deg,
#6C63FF,
#1FA2FF
);

color:#fff;

}

.mobile-guest-card h3{

margin:0;

font-size:22px;

font-weight:700;

}

.mobile-guest-card p{

margin-top:8px;

opacity:.9;

font-size:14px;

line-height:1.5;

}

/*=========================================================
MENU
=========================================================*/

.mobile-sidebar-menu{

padding:18px;

}

.mobile-sidebar-link{

display:flex;

align-items:center;

justify-content:space-between;

padding:15px 16px;

margin-bottom:6px;

border-radius:16px;

text-decoration:none;

transition:.25s;

color:#0F172A;

}

.mobile-sidebar-link:hover{

background:#F8FAFC;

}

.mobile-sidebar-link>div{

display:flex;

align-items:center;

gap:14px;

}

.mobile-sidebar-link i{

font-size:20px;

}

.mobile-sidebar-link span{

font-size:15px;

font-weight:600;

}

.mobile-sidebar-divider{

height:1px;

background:#EEF2F7;

margin:18px 0;

}

.mobile-sidebar-footer{

padding:24px;

text-align:center;

color:#94A3B8;

font-size:13px;

}

/*=========================================================
OVERLAY
=========================================================*/

.mobile-overlay,
.mobile-panel-overlay,
.mobile-sheet-overlay{

position:fixed;

inset:0;

background:rgba(15,23,42,.45);

opacity:0;

visibility:hidden;

transition:.3s;

z-index:10990;

}

.mobile-overlay.active,
.mobile-panel-overlay.active,
.mobile-sheet-overlay.active{

opacity:1;

visibility:visible;

}

/*=========================================================
RIGHT DRAWERS
=========================================================*/

.mobile-right-panel{

position:fixed;

top:0;

right:-380px;

width:340px;

max-width:92vw;

height:100vh;

background:#fff;

z-index:11010;

transition:.35s;

overflow-y:auto;

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

}

.mobile-right-panel.active{

right:0;

}

.mobile-panel-header{

    position:sticky;
    top:0;
    z-index:20;

    background:#fff;

    padding:28px 24px 20px;

    border-bottom:1px solid #EEF2F7;

}

.mobile-panel-header h3{

    margin:0;
    font-size:22px;
    font-weight:800;
    color:#0F172A;
    line-height:1;

}

.mobile-panel-header p{

    margin-top:8px;
    font-size:15px;
    color:#64748B;

}

.mobile-panel-close{

    position:absolute;

    top:22px;
    right:22px;

    width:46px;
    height:46px;

    border:none;

    background:#F8FAFC;

    border-radius:16px;

    transition:.25s;

}

.mobile-panel-close:hover{

    background:#EEF2FF;

}

.mobile-panel-body{

padding:22px;

}

/*=========================================================
ANIMATION
=========================================================*/

.mobile-sidebar,
.mobile-right-panel{

will-change:transform;

}


.mobile-profile-btn{

    width:44px;
    height:44px;

    border:none;
    background:#fff;

    border-radius:50%;

    overflow:hidden;

    cursor:pointer;

    padding:0;

    box-shadow:
    0 8px 20px rgba(0,0,0,.08);

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

    transition:.25s;

}

.mobile-profile-btn:hover{

    transform:translateY(-2px);

}

.mobile-profile-image{

    width:100%;
    height:100%;

    object-fit:cover;

    display:block;

}

.mobile-profile-btn img{

width:100%;

height:100%;

object-fit:cover;

}

.mobile-profile-btn span{

width:40px;

height:40px;

border-radius:50%;

display:flex;

align-items:center;

justify-content:center;

background:linear-gradient(
135deg,
#6C63FF,
#25B6FF
);

color:#fff;

font-size:18px;

font-weight:700;

}



/*=========================================================
PROFILE CARD
=========================================================*/

.mobile-profile-card{

    display:flex;

    align-items:center;

    gap:18px;

    padding:22px;

    margin:26px 0;

    background:linear-gradient(
        135deg,
        #FFFFFF,
        #F8FAFC
    );

    border:1px solid #EEF2F7;

    border-radius:24px;

    box-shadow:
    0 15px 45px rgba(15,23,42,.05);

}

.mobile-profile-avatar{

width:66px;

height:66px;

border-radius:50%;

overflow: hidden;

background:#fff;

display:flex;

align-items:center;

justify-content:center;

font-size:30px;

box-shadow:
0 10px 30px rgba(79,70,229,.25);



font-weight:700;

color:#fff;

flex-shrink:0;

}

.mobile-profile-avatar img{

    width:100%;
    height:100%;

    object-fit:cover;

    display:block;

}

.mobile-profile-info{

flex:1;

}

.mobile-profile-info h4{

margin:0;
margin-bottom: 6px;

font-size:18px;

font-weight:700;

color:#0F172A;

}

.mobile-profile-info p{

margin:6px 0;

font-size:13px;

color:#64748B;

word-break:break-word;

}

.mobile-profile-info span{

display:inline-flex;

padding:6px 12px;

background:#EEF2FF;

border-radius:999px;

font-size:12px;

font-weight:600;

color:#4F46E5;

}

/*=========================================================
PROFILE MENU
=========================================================*/

.mobile-profile-menu{

display:flex;

flex-direction:column;

gap:8px;

}

.mobile-profile-menu a{

display:flex;

align-items:center;

gap:14px;

padding:16px;

text-decoration:none;

border-radius:16px;

color:#0F172A;

transition:.25s;

}

.mobile-profile-menu a:hover{

background:#F8FAFC;

}

.mobile-profile-menu a i{

font-size:20px;

width:24px;

text-align:center;

}

.mobile-profile-menu a span{

font-weight:600;

}

.mobile-logout-link{

margin-top:12px;

color:#EF4444 !important;

}

/*=========================================================
LOGIN DRAWER
=========================================================*/

.mobile-social-btn{

width:100%;

height:54px;

display:flex;

align-items:center;

justify-content:center;

gap:12px;

margin-bottom:14px;

background:#fff;

border:1px solid #E5E7EB;

border-radius:16px;

font-weight:600;

cursor:pointer;

transition:.25s;

}

.mobile-social-btn:hover{

background:#F8FAFC;

}

.mobile-divider-text{

display:flex;

align-items:center;

justify-content:center;

margin:24px 0;

font-size:13px;

font-weight:600;

color:#94A3B8;

}

.mobile-primary-btn{

width:100%;

height:52px;

border:none;

border-radius:16px;

background:linear-gradient(135deg,#6C63FF,#1FA2FF);

color:#fff;

font-size:15px;

font-weight:700;

cursor:pointer;

margin-bottom:12px;

}

.mobile-secondary-btn{

width:100%;

height:52px;

border-radius:16px;

border:1px solid #E5E7EB;

background:#fff;

font-weight:600;

cursor:pointer;

}

.mobile-panel-links{

display:flex;

flex-direction:column;

margin-top:24px;

gap:14px;

}

.mobile-panel-links a{

text-decoration:none;

font-weight:600;

color:#334155;

}

.mobile-panel-footer{

padding:20px;

border-top:1px solid #EEF2F7;

font-size:12px;

color:#94A3B8;

line-height:1.6;

}

/*=========================================================
SEARCH OVERLAY
=========================================================*/

.mobile-search-overlay{

position:fixed;

inset:0;

background:#fff;

z-index:12000;

transform:translateY(100%);

transition:.35s;

display:flex;

flex-direction:column;

}

.mobile-search-overlay.active{

transform:translateY(0);

}

.mobile-search-header{

display:flex;

align-items:center;

gap:14px;

padding:16px;

border-bottom:1px solid #EEF2F7;

}

.mobile-search-header button{

width:42px;

height:42px;

border:none;

background:#F8FAFC;

border-radius:14px;

}

.mobile-search-header input{

flex:1;

height:46px;

padding:0 18px;

border:1px solid #E5E7EB;

border-radius:16px;

outline:none;

font-size:15px;

}

.mobile-search-body{

padding:20px;

overflow:auto;

flex:1;

}

.mobile-search-body h5{

margin-bottom:16px;

font-size:15px;

font-weight:700;

color:#334155;

}

.mobile-search-tags{

display:flex;

flex-wrap:wrap;

gap:10px;

margin-bottom:28px;

}

.mobile-search-tags span{

padding:10px 16px;

background:#F8FAFC;

border-radius:999px;

font-size:13px;

font-weight:600;

}

/*=========================================================
BOTTOM SHEET
=========================================================*/

.mobile-bottom-sheet{

position:fixed;

left:0;

right:0;

bottom:-100%;

background:#fff;

border-radius:28px 28px 0 0;

z-index:12000;

transition:.35s;

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

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

}

.mobile-bottom-sheet.active{

bottom:0;

}

.mobile-sheet-handle{

width:56px;

height:6px;

background:#CBD5E1;

border-radius:999px;

margin:12px auto;

}

.mobile-sheet-header{

padding:10px 24px 18px;

}

.mobile-sheet-header h3{

margin:0;

font-size:20px;

font-weight:700;

}

.mobile-sheet-body{

display:flex;

flex-direction:column;

padding:0 18px 20px;

}

.mobile-sheet-body a{

display:flex;

align-items:center;

gap:16px;

padding:18px;

margin-bottom:10px;

border-radius:18px;

background:#F8FAFC;

text-decoration:none;

color:#0F172A;

font-weight:600;

transition:.25s;

}

.mobile-sheet-body a:hover{

background:#EEF2FF;

}

.mobile-sheet-body a i{

font-size:22px;

width:28px;

text-align:center;

color:#4F46E5;

}

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

.mobile-empty-state{

display:flex;

flex-direction:column;

align-items:center;

justify-content:center;

text-align:center;

padding:60px 20px;

}

.mobile-empty-state i{

font-size:54px;

color:#CBD5E1;

margin-bottom:20px;

}

.mobile-empty-state h4{

margin:0 0 10px;

font-size:18px;

font-weight:700;

}

.mobile-empty-state p{

margin:0;

color:#64748B;

line-height:1.6;

}

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

.mobile-bottom-nav{

position:fixed;

left:0;

right:0;

bottom:0;

height:74px;

display:flex;

align-items:center;

justify-content:space-around;

background:#fff;

border-top:1px solid #EEF2F7;

z-index:11000;

padding-bottom:env(safe-area-inset-bottom);

box-shadow:0 -10px 30px rgba(15,23,42,.08);

}

.mobile-bottom-nav a,
.mobile-bottom-nav button{

flex:1;

display:flex;

flex-direction:column;

align-items:center;

justify-content:center;

gap:4px;

background:none;

border:none;

text-decoration:none;

color:#64748B;

font-size:11px;

cursor:pointer;

}

.mobile-bottom-nav i{

font-size:22px;

}

.mobile-bottom-nav a.active{

color:#4F46E5;

font-weight:700;

}

.mobile-create-btn{

width:64px !important;

height:64px !important;

margin-top:-30px;

border-radius:50% !important;

background:linear-gradient(135deg,#6C63FF,#1FA2FF)!important;

color:#fff!important;

box-shadow:0 12px 30px rgba(79,70,229,.35);

flex:none!important;

}

.mobile-create-btn i{

font-size:26px!important;

}

/*=========================================================
CONTENT SPACING
=========================================================*/

.site-main,
main,
.page-content{

padding-bottom:92px;

}

/*=========================================================
SCROLLBAR
=========================================================*/

.mobile-sidebar::-webkit-scrollbar,
.mobile-right-panel::-webkit-scrollbar,
.mobile-search-body::-webkit-scrollbar{

width:5px;

}

.mobile-sidebar::-webkit-scrollbar-thumb,
.mobile-right-panel::-webkit-scrollbar-thumb,
.mobile-search-body::-webkit-scrollbar-thumb{

background:#CBD5E1;

border-radius:999px;

}

.mobile-search-wrap{

position:sticky;

top:64px;

z-index:9998;

background:#fff;

padding:12px 16px;

border-bottom:1px solid #EEF2F7;

}

.mobile-search-trigger{

height:56px;

width: 100%;

display:flex;

align-items:center;

gap:16px;

padding:0 22px;

background:#F8FAFC;

border:1px solid #E5E7EB;

border-radius:20px;

cursor:pointer;

transition:.25s;

}

.mobile-search-trigger:hover{
    background:#fff;
    border-color:#6C63FF;
    box-shadow:0 8px 25px rgba(108,99,255,.10);
}

.mobile-search-trigger i{
    font-size:22px;
    color:#64748B;
}

.mobile-search-wrap{
    display:flex;
}

#mobileSearchTyping{

font-size:15px;

color:#64748B;

white-space:nowrap;

overflow:hidden;

text-overflow:ellipsis;

}



.mobile-workspace-switch{

    display:flex;

    gap:14px;

    margin:20px 0 34px;

}

.mobile-workspace-switch button{

    flex:1;

    height:56px;

    border:none;

    border-radius:16px;
    
    font-size: 15px;

    background:#F8FAFC;

    color:#475569;

    font-weight:700;

    transition:.25s;

}

.mobile-workspace-switch button.active{

    background:linear-gradient(135deg,#6C63FF,#1FA2FF);

    color:#fff;

}

.mobile-menu-btn{

width:52px;

height:52px;

border-radius:18px;

background:#F8FAFC;

border:1px solid #EEF2F7;

box-shadow:

0 8px 20px rgba(15,23,42,.05);

}

.mobile-menu-btn:active{

transform:scale(.96);

}

.mobile-menu-heading{

    margin:26px 0 12px;

    font-size:11px;

    font-weight:700;

    letter-spacing:1px;

    color:#94A3B8;

}

.mobile-sheet-body a{

    display:flex;

    align-items:center;

    gap:16px;

}

.mobile-sheet-body a div{

    display:flex;

    flex-direction:column;

}

.mobile-sheet-body strong{

    font-size:15px;

    color:#0F172A;

}

.mobile-sheet-body small{

    font-size:12px;

    color:#64748B;

    margin-top:2px;

}

}