/* --- LLW Notice System --- */
#llw-notice-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
}
li#toplevel_page_admin-page-wc-settings-tab-checkout-from-PAYMENTS_MENU_ITEM, li#menu-dashboard, li.wp-not-current-submenu.wp-menu-separator, li#menu-media, li#menu-comments, li#menu-posts {
    display: none;
}
.llw-notice {
    min-width: 280px;
    max-width: 350px;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.llw-notice.show {
    opacity: 1;
    transform: translateY(0);
}

.llw-notice-content h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
}

.llw-notice-content p {
    margin: 0;
    font-size: 14px;
}

.llw-notice-close {
    font-size: 20px;
    line-height: 1;
    font-weight: bold;
    cursor: pointer;
    opacity: 0.7;
    background: none;
    border: none;
    padding: 0;
    color: inherit;
}

.llw-notice-close:hover {
    opacity: 1;
}

/* Default Types */
.llw-notice.light { color: #1F2A33; background-color: #fffc; }
.llw-notice.dark { color: white; background-color: #1F2A33; }
.llw-notice.warning { color: white; background-color: #F50909aa; }
.llw-notice.success { color: white; background-color: #2dce00aa; }

/* --- Password Visibility Toggle --- */
.llw-password-wrapper {
    position: relative;
    width: 100%;
}

/* Fix for default WordPress login form width */
.login .llw-password-wrapper {
    width: auto;
}

.llw-password-wrapper .llw-toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    cursor: pointer;
    color: inherit;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.llw-password-wrapper .llw-toggle-password svg {
    width: 1.2em;
    height: 1.2em;
    display: block;
    fill: currentColor;
}

/* Make space for the icon inside the field */
.llw-password-wrapper input[type="password"],
.llw-password-wrapper input[type="text"] {
    padding-right: 40px !important;
}