/* --- Custom Admin & Login Style for AvocatoNewsCMS --- */

/* ==========================================================================
   1. CUSTOM LOGIN SCREEN REDESIGN (Preserving Standard Sizes)
   ========================================================================== */
body.login {
    background: radial-gradient(circle at 10% 20%, #0c3d5a 0%, #072a40 90%) !important;
    font-family: 'Hanimation Arabic', sans-serif !important;
}
#login {
    background: #ffffff !important;
    padding: 30px 20px !important;
    border-radius: 8px !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.35) !important;
    position: relative;
    border-top: 4px solid #c5a059;
}
#login h1 a, .login h1 a {
    width: 100% !important;
    background-image: url('logo.png') !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    height: 80px !important;
    margin-bottom: 15px !important;
}
.login form {
    box-shadow: none !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}
.login label {
    font-size: 14px !important;
    color: #333333 !important;
    font-weight: 600 !important;
}
.login input[type="text"], .login input[type="password"] {
    border: 1px solid #e2e8f0 !important;
    padding: 10px !important;
    border-radius: 4px !important;
    background-color: #f8fafc !important;
    box-shadow: none !important;
    margin-top: 5px !important;
    margin-bottom: 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.3s !important;
}
.login input[type="text"]:focus, .login input[type="password"]:focus {
    border-color: #c5a059 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15) !important;
    outline: none !important;
}
.login #wp-submit {
    width: 100% !important;
    background: #072a40 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 10px !important;
    font-weight: bold !important;
    border-radius: 4px !important;
    height: auto !important;
    box-shadow: 0 4px 10px rgba(7, 42, 64, 0.2) !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
}
.login #wp-submit:hover {
    background: #c5a059 !important;
    color: #072a40 !important;
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.3) !important;
}
#backtoblog, #nav {
    text-align: center !important;
    margin-top: 15px !important;
    padding: 0 !important;
}
#backtoblog a, #nav a {
    color: rgba(255,255,255,0.7) !important;
    font-size: 13px !important;
    transition: color 0.3s !important;
}
#backtoblog a:hover, #nav a:hover {
    color: #c5a059 !important;
}

/* ==========================================================================
   2. CUSTOM ADMIN DASHBOARD REDESIGN (Preserving Standard Sizes)
   ========================================================================== */
body, #wpbody, .wrap, .wp-core-ui {
    font-family: 'Hanimation Arabic', sans-serif !important;
    background-color: #f4f6f8 !important;
}

/* Admin Bar Override */
#wpadminbar {
    background: #072a40 !important;
    border-bottom: 2px solid #c5a059 !important;
}
#wpadminbar #wp-admin-bar-site-name>.ab-item {
    font-weight: 700 !important;
}
#wpadminbar #wp-admin-bar-avocato-logo .ab-item img {
    margin-left: 8px !important;
}

/* Sidebar Menu Customizations (RTL Layout Support) */
#adminmenu, #adminmenu .wp-submenu, #adminmenuback, #adminmenuwrap {
    background-color: #072a40 !important;
}
#adminmenu li.menu-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
}
#adminmenu a {
    color: #a0b3c6 !important;
    transition: all 0.25s ease !important;
}
#adminmenu a:hover, #adminmenu li.menu-top:hover, #adminmenu li.opensub>a.menu-top {
    background-color: #0c3d5a !important;
    color: #c5a059 !important;
}
#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, #adminmenu li.current a.menu-top {
    background-color: #0c3d5a !important;
    color: #c5a059 !important;
    border-right: 4px solid #c5a059 !important; /* Active Right Gold Line */
    border-left: none !important;
}
#adminmenu .wp-submenu {
    background-color: #072a40 !important;
    border-right: 1px solid rgba(255,255,255,0.05) !important;
    box-shadow: -5px 5px 15px rgba(0,0,0,0.15) !important;
    left: auto !important;
}
#adminmenu .wp-submenu a:hover {
    color: #ffffff !important;
    background-color: rgba(255,255,255,0.03) !important;
}

/* Redesign Admin Sidebar Icons to Lucide-Style SVGs using CSS Masks */
#adminmenu .wp-menu-image:before {
    font-family: none !important;
    content: "" !important;
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    background-color: currentColor !important;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-position: center !important;
    mask-position: center !important;
    opacity: 0.8;
    transition: all 0.25s ease;
}
#adminmenu li.menu-top:hover .wp-menu-image:before, 
#adminmenu li.wp-has-current-submenu .wp-menu-image:before, 
#adminmenu li.current .wp-menu-image:before {
    opacity: 1;
}

/* Dashboard Icon */
#adminmenu .menu-icon-dashboard .wp-menu-image:before {
    -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='3'%20y='3'%20width='7'%20height='9'/%3E%3Crect%20x='14'%20y='3'%20width='7'%20height='5'/%3E%3Crect%20x='14'%20y='12'%20width='7'%20height='9'/%3E%3Crect%20x='3'%20y='16'%20width='7'%20height='5'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='3'%20y='3'%20width='7'%20height='9'/%3E%3Crect%20x='14'%20y='3'%20width='7'%20height='5'/%3E%3Crect%20x='14'%20y='12'%20width='7'%20height='9'/%3E%3Crect%20x='3'%20y='16'%20width='7'%20height='5'/%3E%3C/svg%3E") !important;
}

/* Posts (Articles) Icon */
#adminmenu .menu-icon-post .wp-menu-image:before {
    -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M14.5%202H6a2%202%200%200%200-2%202v16a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V7.5L14.5%202z'/%3E%3Cpolyline%20points='14%202%2014%208%2020%208'/%3E%3Cline%20x1='16'%20y1='13'%20x2='8'%20y2='13'/%3E%3Cline%20x1='16'%20y1='17'%20x2='8'%20y2='17'/%3E%3Cline%20x1='10'%20y1='9'%20x2='8'%20y2='9'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M14.5%202H6a2%202%200%200%200-2%202v16a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V7.5L14.5%202z'/%3E%3Cpolyline%20points='14%202%2014%208%2020%208'/%3E%3Cline%20x1='16'%20y1='13'%20x2='8'%20y2='13'/%3E%3Cline%20x1='16'%20y1='17'%20x2='8'%20y2='17'/%3E%3Cline%20x1='10'%20y1='9'%20x2='8'%20y2='9'/%3E%3C/svg%3E") !important;
}

/* Media Icon */
#adminmenu .menu-icon-media .wp-menu-image:before {
    -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='3'%20y='3'%20width='18'%20height='18'%20rx='2'%20ry='2'/%3E%3Ccircle%20cx='8.5'%20cy='8.5'%20r='1.5'/%3E%3Cpolyline%20points='21%2015%2016%2010%205%2021'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='3'%20y='3'%20width='18'%20height='18'%20rx='2'%20ry='2'/%3E%3Ccircle%20cx='8.5'%20cy='8.5'%20r='1.5'/%3E%3Cpolyline%20points='21%2015%2016%2010%205%2021'/%3E%3C/svg%3E") !important;
}

/* Pages Icon */
#adminmenu .menu-icon-page .wp-menu-image:before {
    -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M14%202H6a2%202%200%200%200-2%202v16a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V8z'/%3E%3Cpolyline%20points='14%202%2014%208%2020%208'/%3E%3Cline%20x1='16'%20y1='13'%20x2='8'%20y2='13'/%3E%3Cline%20x1='16'%20y1='17'%20x2='8'%20y2='17'/%3E%3Cpolyline%20points='10%209%209%209%208%209'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M14%202H6a2%202%200%200%200-2%202v16a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V8z'/%3E%3Cpolyline%20points='14%202%2014%208%2020%208'/%3E%3Cline%20x1='16'%20y1='13'%20x2='8'%20y2='13'/%3E%3Cline%20x1='16'%20y1='17'%20x2='8'%20y2='17'/%3E%3Cpolyline%20points='10%209%209%209%208%209'/%3E%3C/svg%3E") !important;
}

/* Comments Icon */
#adminmenu .menu-icon-comments .wp-menu-image:before {
    -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M21%2015a2%202%200%200%201-2%202H7l-4%204V5a2%202%200%200%201%202-2h14a2%202%200%200%201%202%202z'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M21%2015a2%202%200%200%201-2%202H7l-4%204V5a2%202%200%200%201%202-2h14a2%202%200%200%201%202%202z'/%3E%3C/svg%3E") !important;
}

/* Appearance (Themes) Icon */
#adminmenu .menu-icon-appearance .wp-menu-image:before {
    -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='m12%203-1.912%205.813a2%202%200%200%201-1.275%201.275L3%2012l5.813%201.912a2%202%200%200%201%201.275%201.275L12%2021l1.912-5.813a2%202%200%200%201%201.275-1.275L21%2012l-5.813-1.912a2%202%200%200%201-1.275-1.275L12%203Z'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='m12%203-1.912%205.813a2%202%200%200%201-1.275%201.275L3%2012l5.813%201.912a2%202%200%200%201%201.275%201.275L12%2021l1.912-5.813a2%202%200%200%201%201.275-1.275L21%2012l-5.813-1.912a2%202%200%200%201-1.275-1.275L12%203Z'/%3E%3C/svg%3E") !important;
}

/* Plugins Icon */
#adminmenu .menu-icon-plugins .wp-menu-image:before {
    -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%2022v-5M9%208V2h6v6M5%208h14a2%202%200%200%201%202%202v3a3%203%200%200%201-3%203H6a3%203%200%200%201-3-3v-3a2%202%200%200%201%202-2z'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%2022v-5M9%208V2h6v6M5%208h14a2%202%200%200%201%202%202v3a3%203%200%200%201-3%203H6a3%203%200%200%201-3-3v-3a2%202%200%200%201%202-2z'/%3E%3C/svg%3E") !important;
}

/* Users Icon */
#adminmenu .menu-icon-users .wp-menu-image:before {
    -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M17%2021v-2a4%204%200%200%200-4-4H5a4%204%200%200%200-4%204v2'/%3E%3Ccircle%20cx='9'%20cy='7'%20r='4'/%3E%3Cpath%20d='M23%2021v-2a4%204%200%200%200-3-3.87'/%3E%3Cpath%20d='M16%203.13a4%204%200%200%201%200%207.75'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M17%2021v-2a4%204%200%200%200-4-4H5a4%204%200%200%200-4%204v2'/%3E%3Ccircle%20cx='9'%20cy='7'%20r='4'/%3E%3Cpath%20d='M23%2021v-2a4%204%200%200%200-3-3.87'/%3E%3Cpath%20d='M16%203.13a4%204%200%200%201%200%207.75'/%3E%3C/svg%3E") !important;
}

/* Tools Icon */
#adminmenu .menu-icon-tools .wp-menu-image:before {
    -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M14.7%206.3a1%201%200%200%200%200%201.4l1.6%201.6a1%201%200%200%200%201.4%200l3.77-3.77a6%206 0 0 1-7.94%207.94l-6.91%206.91a2.12%202.12%200%200%201-3-3l6.91-6.91a6%206 0 0 1%207.94-7.94l-3.76%203.76z'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M14.7%206.3a1%201%200%200%200%200%201.4l1.6%201.6a1%201%200%200%200%201.4%200l3.77-3.77a6%206 0 0 1-7.94%207.94l-6.91%206.91a2.12%202.12%200%200%201-3-3l6.91-6.91a6%206 0 0 1%207.94-7.94l-3.76%203.76z'/%3E%3C/svg%3E") !important;
}

/* Settings Icon */
#adminmenu .menu-icon-settings .wp-menu-image:before {
    -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='12'%20cy='12'%20r='3'/%3E%3Cpath%20d='M19.4%2015a1.65%201.65%200%200%200%20.33%201.82l.06.06a2%202%200%201%201-2.83%202.83l-.06-.06a1.65%201.65%200%200%200-1.82-.33%201.65%201.65%200%200%200-1%201.51V21a2%202%200%200%201-4%200v-.09A1.65%201.65%200%200%200%209%2019.4a1.65%201.65%200%200%200-1.82.33l-.06.06a2%202%200%201%201-2.83-2.83l.06-.06a1.65%201.65%200%200%200%20.33-1.82%201.65%201.65%200%200%200-1-1.51V3a2%202%200%200%201%204%200v.09a1.65%201.65%200%200%200%201%201.51%201.65%201.65%200%200%200%201.82-.33l.06-.06a2%202%200%201%201%202.83%202.83l-.06.06a1.65%201.65%200%200%200-.33%201.82V9a1.65%201.65%200%200%200%201.51%201H21a2%202%200%200%201%200%204h-.09a1.65%201.65%200%200%200-1.5%201z'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='12'%20cy='12'%20r='3'/%3E%3Cpath%20d='M19.4%2015a1.65%201.65%200%200%200%20.33%201.82l.06.06a2%202%200%201%201-2.83%202.83l-.06-.06a1.65%201.65%200%200%200-1.82-.33%201.65%201.65%200%200%200-1%201.51V21a2%202%200%200%201-4%200v-.09A1.65%201.65%200%200%200%209%2019.4a1.65%201.65%200%200%200-1.82.33l-.06.06a2%202%200%201%201-2.83-2.83l.06-.06a1.65%201.65%200%200%200%20.33-1.82%201.65%201.65%200%200%200-1-1.51V3a2%202%200%200%201%204%200v.09a1.65%201.65%200%200%200%201%201.51%201.65%201.65%200%200%200%201.82-.33l.06-.06a2%202%200%201%201%202.83%202.83l-.06.06a1.65%201.65%200%200%200-.33%201.82V9a1.65%201.65%200%200%200%201.51%201H21a2%202%200%200%201%200%204h-.09a1.65%201.65%200%200%200-1.5%201z'/%3E%3C/svg%3E") !important;
}

/* AvocatoNews CMS Settings Icon */
#adminmenu .toplevel_page_avocatonews-settings .wp-menu-image:before {
    -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12.22%202h-.44a2%202%200%200%200-2%202v.18a2%202%200%200%201-1%201.73l-.43.25a2%202%200%200%201-2%200l-.15-.08a2%202%200%200%200-2.73.73l-.22.38a2%202%200%200%200%20.73%202.73l.15.1a2%202%200%200%201%201%201.72v.51a2%202%200%200%201-1%201.74l-.15.09a2%202%200%200%200-.73%202.73l.22.38a2%202%200%200%200%202.73.73l.15-.08a2%202%200%200%201%202%200l.43.25a2%202%200%200%201%201%201.73V20a2%202%200%200%200%202%202h.44a2%202%200%200%200%202-2v-.18a2%202%200%200%201%201-1.73l.43-.25a2%202%200%200%201%202%200l.15.08a2%202%200%200%200%202.73-.73l.22-.39a2%202%200%200%200-.73-2.73l-.15-.08a2%202%200%200%201-1-1.74v-.5a2%202%200%200%201%201-1.74l.15-.1a2%202%200%200%200%20.73-2.73l-.22-.38a2%202%200%200%200-2.73-.73l-.15.08a2%202%200%200%201-2%200l-.43-.25a2%202%200%200%201-1-1.73V4a2%202%200%200%200-2-2z'/%3E%3Ccircle%20cx='12'%20cy='12'%20r='3'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12.22%202h-.44a2%202%200%200%200-2%202v.18a2%202%200%200%201-1%201.73l-.43.25a2%202%200%200%201-2%200l-.15-.08a2%202%200%200%200-2.73.73l-.22.38a2%202%200%200%200%20.73%202.73l.15.1a2%202%200%200%201%201%201.72v.51a2%202%200%200%201-1%201.74l-.15.09a2%202%200%200%200-.73%202.73l.22.38a2%202%200%200%200%202.73.73l.15-.08a2%202%200%200%201%202%200l.43.25a2%202%200%200%201%201%201.73V20a2%202%200%200%200%202%202h.44a2%202%200%200%200%202-2v-.18a2%202%200%200%201%201-1.73l.43-.25a2%202%200%200%201%202%200l.15.08a2%202%200%200%200%202.73-.73l.22-.39a2%202%200%200%200-.73-2.73l-.15-.08a2%202%200%200%201-1-1.74v-.5a2%202%200%200%201%201-1.74l.15-.1a2%202%200%200%200%20.73-2.73l-.22-.38a2%202%200%200%200-2.73-.73l-.15.08a2%202%200%200%201-2%200l-.43-.25a2%202%200%200%201-1-1.73V4a2%202%200%200%200-2-2z'/%3E%3Ccircle%20cx='12'%20cy='12'%20r='3'/%3E%3C/svg%3E") !important;
}

/* Lawyers Directory Icon */
#adminmenu .toplevel_page_avocato-lawyers .wp-menu-image:before {
    -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='m16%2016%203-8%203%208c-.87.65-1.92%201-3%201s-2.13-.35-3-1Z'/%3E%3Cpath%20d='m2%2016%203-8%203%208c-.87.65-1.92%201-3%201s-2.13-.35-3-1Z'/%3E%3Cpath%20d='M7%2021h10'/%3E%3Cpath%20d='M12%203v18'/%3E%3Cpath%20d='M3%207h2c2%200%205-1%207-2%202%201%205%202%207%202h2'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='m16%2016%203-8%203%208c-.87.65-1.92%201-3%201s-2.13-.35-3-1Z'/%3E%3Cpath%20d='m2%2016%203-8%203%208c-.87.65-1.92%201-3%201s-2.13-.35-3-1Z'/%3E%3Cpath%20d='M7%2021h10'/%3E%3Cpath%20d='M12%203v18'/%3E%3Cpath%20d='M3%207h2c2%200%205-1%207-2%202%201%205%202%207%202h2'/%3E%3C/svg%3E") !important;
}

/* Ads Icon */
#adminmenu .toplevel_page_avocatonews-ads .wp-menu-image:before {
    -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='m3%2011%2018-5v12L3%2014v-3z'/%3E%3Cpath%20d='M11.6%2016.8a3%203%200%201%201-5.8-1.6'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='m3%2011%2018-5v12L3%2014v-3z'/%3E%3Cpath%20d='M11.6%2016.8a3%203%200%201%201-5.8-1.6'/%3E%3C/svg%3E") !important;
}

/* Radio Icon */
#adminmenu .toplevel_page_avocato-radio .wp-menu-image:before {
    -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M4.9%2019.1C1%2015.2%201%208.8%204.9%204.9'/%3E%3Cpath%20d='M7.8%2016.2c-2.3-2.3-2.3-6.1%200-8.5'/%3E%3Ccircle%20cx='12'%20cy='12'%20r='2'/%3E%3Cpath%20d='M16.2%207.8c2.3%202.3%202.3%206.1%200%208.5'/%3E%3Cpath%20d='M19.1%204.9C23%208.8%2023%2015.1%2019.1%2019'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M4.9%2019.1C1%2015.2%201%208.8%204.9%204.9'/%3E%3Cpath%20d='M7.8%2016.2c-2.3-2.3-2.3-6.1%200-8.5'/%3E%3Ccircle%20cx='12'%20cy='12'%20r='2'/%3E%3Cpath%20d='M16.2%207.8c2.3%202.3%202.3%206.1%200%208.5'/%3E%3Cpath%20d='M19.1%204.9C23%208.8%2023%2015.1%2019.1%2019'/%3E%3C/svg%3E") !important;
}

/* Jobs CPT Icon */
#adminmenu .menu-icon-avocato_job .wp-menu-image:before {
    -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20width='20'%20height='14'%20x='2'%20y='7'%20rx='2'%20ry='2'/%3E%3Cpath%20d='M16%2021V5a2%202%200%200%200-2-2h-4a2%202%200%200%200-2%202v16'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20width='20'%20height='14'%20x='2'%20y='7'%20rx='2'%20ry='2'/%3E%3Cpath%20d='M16%2021V5a2%202%200%200%200-2-2h-4a2%202%200%200%200-2%202v16'/%3E%3C/svg%3E") !important;
}

/* Consultations CPT Icon */
#adminmenu .menu-icon-avocato_consultation .wp-menu-image:before {
    -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M7.9%2020A9%209%200%201%200%204%2016.1L2%2022Z'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M7.9%2020A9%209%200%201%200%204%2016.1L2%2022Z'/%3E%3C/svg%3E") !important;
}

/* Cases CPT Icon */
#adminmenu .menu-icon-avocato_case .wp-menu-image:before {
    -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M15%202H6a2%202%200%200%200-2%202v16a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V7Z'/%3E%3Cpath%20d='M14%202v4a2%202%200%200%200%202%202h4'/%3E%3Cpath%20d='M10%209H8'/%3E%3Cpath%20d='M16%2013H8'/%3E%3Cpath%20d='M16%2017H8'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M15%202H6a2%202%200%200%200-2%202v16a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V7Z'/%3E%3Cpath%20d='M14%202v4a2%202%200%200%200%202%202h4'/%3E%3Cpath%20d='M10%209H8'/%3E%3Cpath%20d='M16%2013H8'/%3E%3Cpath%20d='M16%2017H8'/%3E%3C/svg%3E") !important;
}

/* Legislation CPT Icon */
#adminmenu .menu-icon-avocato_legislation .wp-menu-image:before {
    -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%207v14'/%3E%3Cpath%20d='M3%2018a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1h5a4%204%200%200%201%204%204%204%204%200%200%201%204-4h5a1%201%200%200%201%201%201v13a1%201%200%200%201-1%201h-6a3%203%200%200%200-3%203%203%203%200%200%200-3-3z'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%207v14'/%3E%3Cpath%20d='M3%2018a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1h5a4%204%200%200%201%204%204%204%204%200%200%201%204-4h5a1%201%200%200%201%201%201v13a1%201%200%200%201-1%201h-6a3%203%200%200%200-3%203%203%203%200%200%200-3-3z'/%3E%3C/svg%3E") !important;
}

/* Reports CPT Icon */
#adminmenu .menu-icon-avocato_report .wp-menu-image:before {
    -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%202a3%203%200%200%200-3%203v7a3%203%200%200%200%206%200V5a3%203%200%200%200-3-3Z'/%3E%3Cpath%20d='M19%2010v2a7%207%200%200%201-14%200v-2'/%3E%3Cline%20x1='12'%20x2='12'%20y1='19'%20y2='22'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%202a3%203%200%200%200-3%203v7a3%203%200%200%200%206%200V5a3%203%200%200%200-3-3Z'/%3E%3Cpath%20d='M19%2010v2a7%207%200%200%201-14%200v-2'/%3E%3Cline%20x1='12'%20x2='12'%20y1='19'%20y2='22'/%3E%3C/svg%3E") !important;
}

#adminmenu .wp-submenu a:hover {
    color: #ffffff !important;
    background-color: rgba(255,255,255,0.03) !important;
}

/* Postbox and Card layouts */
.postbox {
    border: none !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    overflow: hidden !important;
}
.postbox-header {
    border-bottom: 1px solid #f1f5f9 !important;
    background-color: #f8fafc !important;
}
.postbox-header h2 {
    color: #072a40 !important;
}
.wrap h1 {
    color: #072a40 !important;
    font-weight: 700 !important;
}

/* Tables Customizations */
.wp-list-table {
    border: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #ffffff !important;
}
.wp-list-table th {
    background-color: #f8fafc !important;
    border-bottom: 2px solid #e2e8f0 !important;
    font-weight: bold !important;
    color: #072a40 !important;
}
.wp-list-table td {
    border-bottom: 1px solid #f1f5f9 !important;
    vertical-align: middle !important;
}
.wp-list-table tr:hover {
    background-color: #f8fafc !important;
}

/* Buttons Customizations */
.wp-core-ui .button, .wp-core-ui .button-secondary {
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #334155 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    transition: all 0.25s !important;
}
.wp-core-ui .button:hover, .wp-core-ui .button-secondary:hover {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
}
.wp-core-ui .button-primary {
    background: #072a40 !important;
    border-color: #072a40 !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 10px rgba(7, 42, 64, 0.15) !important;
}
.wp-core-ui .button-primary:hover {
    background: #c5a059 !important;
    border-color: #c5a059 !important;
    color: #072a40 !important;
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.2) !important;
}

/* Hide WP screen options and help tabs for cleaner custom feel */
#screen-options-link-wrap, #contextual-help-link-wrap {
    display: none !important;
}
