/* WordPress Admin Interface Styles */

/* Base styles */
.wp-admin-body {
    cursor: auto;
    background: rgb(240, 240, 241);
    color: rgb(60, 67, 74);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    font-size: 13px;
    line-height: 18.2px;
    min-width: 600px;
    height: 921px;
    margin: 0;
    padding: 0;
}

.wp-admin-container {
    outline: rgb(60, 67, 74) none 0px;
    height: auto;
    min-height: 100%;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: subpixel-antialiased;
}

/* Skip links */
.skip-link {
    outline: rgb(34, 113, 177) none 0px;
    color: rgb(34, 113, 177);
    transition: border, background, color 0.05s ease-in-out;
    position: absolute;
    top: -14000px;
    left: 6px;
    height: auto;
    width: auto;
    display: block;
    font-size: 14px;
    font-weight: 600;
    padding: 15px 23px 14px;
    background: rgb(240, 240, 241);
    z-index: 100000;
    line-height: normal;
}

/* Admin menu sidebar */
.admin-menu-container {
    position: fixed;
    top: 0;
    bottom: -120px;
    z-index: 1;
    width: 160px;
    background-color: rgb(29, 35, 39);
}

.admin-menu {
    top: 30px;
    position: fixed;
    width: 160px;
    background-color: rgb(29, 35, 39);
    clear: left;
    margin: 12px 0;
    padding: 0;
    list-style: none;
}

/* Menu items */
.menu-item {
    border: 0;
    min-height: 34px;
    position: relative;
    margin: 0;
    padding: 0;
    user-select: none;
    margin-bottom: 0;
}

.menu-link {
    font-size: 14px;
    font-weight: 400;
    line-height: 18.2px;
    padding: 0;
    display: block;
    color: rgb(240, 240, 241);
    user-select: none;
    text-decoration: none;
    transition: border, background, color 0.05s ease-in-out;
}

.menu-link.current {
    position: relative;
    background: rgb(34, 113, 177);
    color: rgb(255, 255, 255);
}

.menu-icon {
    float: left;
    width: 36px;
    height: 34px;
    margin: 0;
    text-align: center;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-icon img {
    width: 25px;
    height: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.menu-text {
    padding: 8px 8px 8px 36px;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    user-select: none;
}
/* Notification badges */
.notification-badge {
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    margin: 1px 0 -1px 2px;
    padding: 0 5px;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    background-color: rgb(214, 54, 56);
    color: rgb(255, 255, 255);
    font-size: 11px;
    line-height: 17.6px;
    text-align: center;
    z-index: 26;
    user-select: none;
}

.notification-badge.hidden {
    display: none;
}

/* Submenu */
.submenu {
    position: relative;
    z-index: 3;
    border: 0;
    margin-top: 0;
    box-shadow: none;
    list-style: none;
    top: 0;
    left: 0;
    overflow: visible;
    padding: 6px 0;
    background-color: rgb(44, 51, 56);
    user-select: none;
    width: 160px;
}

.submenu-header {
    color: rgb(255, 255, 255);
    font-weight: 400;
    font-size: 14px;
    padding: 5px 4px 5px 11px;
    margin: -8px -1px 4px -5px;
    border: 3px 1px 3px 5px solid transparent;
    display: none;
    line-height: 18.2px;
    background: rgb(34, 113, 177);
    user-select: none;
    margin-bottom: 4px;
}

.submenu-item {
    padding: 0;
    margin: 0;
    user-select: none;
    margin-bottom: 0;
}

.submenu-link {
    padding: 5px 12px;
    color: rgb(255, 255, 255);
    font-size: 13px;
    line-height: 18.2px;
    margin: 0;
    display: block;
    user-select: none;
    font-weight: 600;
    text-decoration: none;
    transition: border, background, color 0.05s ease-in-out;
}

.submenu-link.inactive {
    color: rgba(240, 246, 252, 0.7);
    font-weight: 400;
}

/* Hidden submenu */
.submenu.hidden {
    min-width: 160px;
    width: auto;
    border: 1px 1px 1px 5px solid transparent;
    position: absolute;
    top: -13000px;
    left: 160px;
    overflow: visible;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 5px 0px;
}

/* Menu collapse */
.menu-collapse-container {
    height: 5px;
    padding: 0;
    margin: 0 0 6px;
    cursor: auto;
    user-select: none;
    margin-bottom: 6px;
}

.menu-collapse-divider {
    height: 2px;
    padding: 0;
    user-select: none;
}

.menu-collapse-button {
    display: block;
    width: 100%;
    height: 34px;
    margin: 0;
    border: 0;
    padding: 0;
    position: relative;
    overflow: visible;
    background: transparent;
    color: rgb(167, 170, 173);
    cursor: pointer;
    user-select: none;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
}

.collapse-icon {
    width: 36px;
    height: 34px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.collapse-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.menu-collapse-button:hover .collapse-icon img {
    opacity: 1;
}

/* Main content area */
.main-content {
    margin-left: 160px;
    height: 0;
    padding-left: 20px;
}

/* Top toolbar */
.top-toolbar {
    direction: ltr;
    color: rgb(195, 196, 199);
    font-size: 13px;
    font-weight: 400;
    font-family: inherit;
    line-height: 32px;
    height: 32px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-width: 600px;
    z-index: 99999;
    background: rgb(29, 35, 39);
}

.toolbar-nav {
    box-shadow: none;
    height: auto;
    width: auto;
    margin: 0;
    padding: 0;
    position: static;
    text-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    font-size: 13px;
    font-weight: 400;
    font-family: inherit;
    font-style: normal;
    /* line-height: 32px; */
    border-radius: 0;
    box-sizing: content-box;
    transition: none;
    -webkit-font-smoothing: subpixel-antialiased;
}

.toolbar-menu {
    list-style: none;
    padding: 0;
    text-align: left;
    background: transparent;
    clear: none;
    margin: 0;
    position: relative;
    text-indent: 0;
    z-index: 99999;
    height: auto;
    width: auto;
    align-items: center;
}

.toolbar-menu.right {
    float: right;
}

.toolbar-item {
    float: left;
    margin: 0;
    background: transparent;
    clear: none;
    list-style: none;
    padding: 0;
    position: relative;
    text-indent: 0;
    z-index: 99999;
    height: auto;
    width: auto;
}

.toolbar-link {
    color: rgb(240, 240, 241);
    transition: none;
    padding-right: 10px;
    height: 32px;
    display: block;
    margin: 0;
    border: 0;
    text-decoration: none;
    background: transparent;
    box-shadow: none;
    width: auto;
    position: static;
}

.toolbar-link.with-icon {
    padding: 0 8px 0 7px;
}

.toolbar-icon {
    width: 30px;
    height: auto;
    padding: 0;
    position: relative;
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-font-smoothing: antialiased;
}

.toolbar-icon img {
    width: 30px;
    height: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

/* Status badge */
.status-badge {
    color: rgb(0, 69, 12);
    left: inherit;
    padding: 0 6px;
    margin: 0;
    border: 0;
    text-decoration: none;
    background: rgb(230, 242, 232);
    box-shadow: none;
    position: static;
    font-size: 12px;
    font-weight: 500;
    font-family: inherit;
    line-height: 16px;
    border-radius: 2px;
    transition: none;
    -webkit-font-smoothing: subpixel-antialiased;
    background-color: rgb(230, 242, 232);
    align-items: center;
}

/* Avatar */
.avatar {
    border: 1px solid rgb(140, 143, 148);
    width: auto;
    height: 16px;
    padding: 0;
    background: rgb(240, 240, 241);
    line-height: 24px;
    vertical-align: middle;
    margin: -4px 0 0 6px;
    float: none;
    display: inline;
    border-radius: 0;
}

/* User dropdown */
.user-dropdown {
    right: 0;
    left: auto;
    min-width: 100%;
    margin: 0;
    padding: 0;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 5px 0px;
    background: rgb(44, 51, 56);
    display: none;
    position: absolute;
}

.user-dropdown-menu {
    list-style: none;
    padding: 6px 0 12px;
    text-align: left;
    background: transparent;
    clear: none;
    margin: 0;
    position: relative;
}

.user-profile-item {
    margin: 15px 88px 0 16px;
    height: auto;
    background: transparent;
}

.user-profile-link {
    color: rgba(240, 246, 252, 0.7);
    transition: none;
    background: transparent;
    height: auto;
    box-shadow: none;
    line-height: 26px;
    white-space: nowrap;
    min-width: 140px;
    display: block;
    padding: 0 10px;
    margin: 0;
    border: 0;
    text-decoration: none;
    width: auto;
    position: static;
}

.user-avatar {
    border: 0;
    position: absolute;
    left: -72px;
    top: 4px;
    width: 64px;
    height: 64px;
    text-decoration: none;
    background: transparent;
    box-shadow: none;
    margin: 0;
    padding: 0;
    border-radius: 0;
}

.user-info {
    display: block;
    background: transparent;
    padding: 0;
    height: 18px;
    width: auto;
    margin: 0;
    position: static;
}

/* Screen reader text */
.sr-only {
    border: 0;
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    overflow-wrap: normal;
}

/* Main content and footer */
.wp-body {
    position: relative;
}

.clear {
    clear: both;
}

/* Responsive adjustments */
@media (max-width: 782px) {
    .admin-menu-container,
    .admin-menu {
        width: 36px;
    }
    
    .main-content {
        margin-left: 36px;
    }
    
    .wp-footer {
        margin-left: 36px;
    }
    
    .menu-text {
        display: none;
    }
}

/* Hover effects */
.footer-link:hover {
    color: #5b95c9;
}

/* Menu item hover effects - chỉ thay đổi màu text */
.menu-link:hover {
    color: #5b95c9;
}

.menu-link:hover .menu-icon img {
    opacity: 1;
}

/* Submenu hover effects - chỉ thay đổi màu text */
.submenu-link:hover {
    color: #5b95c9;
}

.submenu-link.inactive:hover {
    color: #5b95c9;
}

/* Toolbar item hover effects - chỉ thay đổi màu text */
.toolbar-link:hover {
    color: #5b95c9;
}

.toolbar-link:hover .toolbar-icon img {
    opacity: 1;
}

.toolbar-link.with-icon:hover {
    color: #5b95c9;
}

/* Status badge hover - chỉ thay đổi màu text */
.status-badge:hover {
    color: #5b95c9;
}

/* User dropdown hover - chỉ thay đổi màu text */
.user-profile-link:hover {
    color: #5b95c9;
}
