@charset "utf-8";
/*
 * CloudPosta Modern Theme for MailEnable Mobile WebAdmin
 * Executive Emerald (#15803d) & Deep Slate (#0f172a)
 */

body,
.ui-mobile-viewport,
.ui-page,
.ui-content,
input,
select,
textarea,
button,
.ui-btn {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   1. LOGIN PAGE (#Login)
   ========================================================================== */
#Login,
#Login.ui-page,
#Login .ui-panel-wrapper,
#Login .ui-panel-content-wrap {
    background: radial-gradient(circle at 20% 15%, #064e3b 0%, #0f172a 58%, #090d16 100%) !important;
    color: #1e293b !important;
    min-height: 100vh !important;
}

#Login .ui-header {
    background: rgba(15, 23, 42, 0.72) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
}

#Login .ui-header .ui-title {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    text-shadow: none !important;
    margin: 0 15% !important;
    padding: 0.75em 0 !important;
}

#Login .ui-content {
    max-width: 420px !important;
    margin: 24px auto 32px auto !important;
    padding: 26px 22px 24px 22px !important;
    background: #ffffff !important;
    border-radius: 18px !important;
    border-top: 4px solid #15803d !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
}

.admin_login_logo {
    width: 100% !important;
    height: auto !important;
    margin: 0 0 18px 0 !important;
    background: #f6f8f3 !important;
    border: 1px solid #dce6d5 !important;
    border-radius: 14px !important;
    padding: 16px !important;
    box-sizing: border-box !important;
}

.cp-mob-admin-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.7px;
    color: #2b4c35;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.cp-mob-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #15803d;
    box-shadow: 0 0 0 3px #d6ebd8;
}

.cp-mob-admin-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.15;
    color: #111c14;
    letter-spacing: -0.4px;
    margin-bottom: 5px;
}

.cp-mob-admin-title span {
    color: #15803d;
}

.cp-mob-admin-sub {
    font-size: 12px;
    line-height: 1.4;
    color: #4b584e;
}

.login_inputs {
    max-width: 100% !important;
    padding: 0 !important;
}

/* Input boxes */
.ui-input-text,
.ui-input-search {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
    margin: 8px 0 !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.ui-input-text.ui-focus,
.ui-input-search.ui-focus,
.ui-focus {
    background: #ffffff !important;
    border-color: #15803d !important;
    box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.18) !important;
}

.ui-input-text input,
.ui-input-search input,
textarea.ui-input-text {
    color: #0f172a !important;
    font-size: 14.5px !important;
    padding: 0.68em 0.85em !important;
    min-height: 2.5em !important;
    text-shadow: none !important;
}

/* Checkboxes */
.ui-checkbox .ui-btn {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
    border-radius: 10px !important;
    font-weight: 500 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

/* Hide Reset button & make Login button full width */
.bttn_grid_shell_login {
    max-width: 100% !important;
    padding-top: 10px !important;
}

#Login .bttn_grid_shell_login .ui-block-a {
    display: none !important;
}

#Login .bttn_grid_shell_login .ui-block-b {
    width: 100% !important;
    float: none !important;
}

#Login .bttn_grid_shell_login .ui-block-b .ui-btn,
.ui-btn-up-b,
.ui-btn-hover-b,
.ui-btn.ui-btn-b {
    background: linear-gradient(180deg, #15803d 0%, #166534 100%) !important;
    border: 1px solid #166534 !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(21, 128, 61, 0.3) !important;
    text-shadow: none !important;
}

.cp-desktop-switch {
    display: block;
    text-align: center;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    font-size: 13px;
    font-weight: 600;
    color: #15803d !important;
    text-decoration: none !important;
}

/* ==========================================================================
   2. AUTHENTICATED MOBILE WEBADMIN PAGES & NAVIGATION DRAWER
   ========================================================================== */
.ui-page:not(#Login),
.ui-page:not(#Login) .ui-panel-content-wrap {
    background: #f8fafc !important;
    color: #1e293b !important;
}

.ui-header.ui-bar-b {
    background: linear-gradient(135deg, #0f172a 0%, #064e3b 100%) !important;
    border-bottom: 1px solid #064e3b !important;
    color: #ffffff !important;
    text-shadow: none !important;
}

.ui-footer.ui-bar-b {
    background: #0f172a !important;
    border-top: 1px solid #1e293b !important;
    color: #f8fafc !important;
    text-shadow: none !important;
}

#navpanel,
.navpanel,
.ui-panel {
    background: #0f172a !important;
    border-right: 1px solid #1e293b !important;
}

#navpanel .ui-listview > li > .ui-btn-inner,
#navpanel .ui-listview > li,
#navpanel .ui-listview > li > a.ui-btn,
#navpanel .ui-btn-up-a,
#navpanel .ui-btn-hover-a {
    background: #0f172a !important;
    border-color: #1e293b !important;
    color: #f1f5f9 !important;
    text-shadow: none !important;
}

#navpanel .ui-listview > li:hover,
#navpanel .ui-listview > li > a.ui-btn:hover,
#navpanel .ui-btn-hover-a:hover {
    background: #064e3b !important;
    color: #ffffff !important;
}

#navpanel a {
    color: #f1f5f9 !important;
    text-shadow: none !important;
}
