/* Schema Star - Admin common (notices hide + WhatsApp button) */
.wrap h1,
.wrap .page-title-action,
.wp-heading-inline {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    line-height: 1.5 !important;
    overflow: visible !important;
    margin: 0 0 15px 0 !important;
    padding: 0 !important;
    max-height: none !important;
    white-space: normal !important;
    word-wrap: break-word !important;
}
.wrap h1 {
    font-size: 23px !important;
    font-weight: 400 !important;
    padding: 9px 0 4px 0 !important;
    margin: 0 0 15px 0 !important;
    line-height: 1.8 !important;
    display: block !important;
    min-height: auto !important;
    height: auto !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
}
.wrap h1::after { display: none !important; }
.notice:not(.star-notice), .update-nag, .error:not(.star-error), .updated:not(.star-updated),
.is-dismissible:not(.star-notice), .notice-info:not(.star-notice), .notice-success:not(.star-notice),
.notice-warning:not(.star-notice), .notice-error:not(.star-notice), .yoast-notification,
.rank-math-notice, .aioseo-notice, .wpseo-notice, .woocommerce-message:not(.star-notice),
.woocommerce-error:not(.star-notice), .woocommerce-info:not(.star-notice), .update-message,
.plugin-update-tr, div[class*="notice"]:not(.star-notice):not(.star-error):not(.star-updated),
div[class*="alert"]:not(.star-alert), div[class*="message"]:not(.star-message),
.promo-banner, .plugin-promo, .upgrade-notice,
#wpadminbar .ab-top-menu > li:not(.star-menu-item) .ab-item[title*="notification"],
.floating-notice, .toast-notification, .admin-notice {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}
.star-whatsapp-support-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999998;
    text-align: center;
}
body.rtl .star-whatsapp-support-container { left: 50%; transform: translateX(-50%); text-align: center; }
#adminmenuback, #adminmenuwrap, #adminmenu { z-index: 999999 !important; }
.star-whatsapp-support-box {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 14px;
    padding: 10px 14px;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.2), 0 0 0 1px rgba(37, 211, 102, 0.1);
    max-width: 180px;
    border: 2px solid #25D366;
    backdrop-filter: blur(10px);
}
.star-whatsapp-support-box:hover {
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.3), 0 0 0 1px rgba(37, 211, 102, 0.15);
}
.star-whatsapp-support-button {
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
    color: white;
    padding: 8px 14px;
    border-radius: 22px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 12px;
    width: 100%;
    justify-content: center;
    margin-top: 6px;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.35);
    position: relative;
    overflow: hidden;
}
.star-whatsapp-support-button::before { display: none; }
.star-whatsapp-support-button:hover::before { display: none; }
.star-whatsapp-support-button:hover {
    background: linear-gradient(135deg, #20BA5A 0%, #1DA851 100%);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.45);
    color: white;
}
.star-whatsapp-support-button .dashicons { font-size: 14px; width: 14px; height: 14px; }
.star-whatsapp-support-box .star-whatsapp-title {
    font-size: 11px;
    font-weight: 700;
    color: #25D366;
    margin: 0 0 5px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.star-whatsapp-support-box .star-whatsapp-title .dashicons { font-size: 14px; width: 14px; height: 14px; }
.wrap .button-primary, .wrap .button.button-primary, .star-submit-button { position: relative; z-index: 1; }
.star-whatsapp-support-note { font-size: 10px; color: #555; margin: 5px 0 0 0; line-height: 1.4; font-weight: 500; }
@media screen and (min-width: 783px) {
    .star-whatsapp-support-container { margin-left: 160px; }
    .folded .star-whatsapp-support-container { margin-left: 36px; }
    body.rtl .star-whatsapp-support-container { margin-left: 0; margin-right: 160px; }
    body.rtl.folded .star-whatsapp-support-container { margin-right: 36px; }
}
@media (max-width: 782px) {
    .star-whatsapp-support-container { bottom: 15px; left: 50%; transform: translateX(-50%); margin-left: 0; }
    body.rtl .star-whatsapp-support-container { margin-right: 0; }
    .star-whatsapp-support-box { max-width: 100%; padding: 12px 14px; }
    .star-whatsapp-support-button { padding: 8px 16px; font-size: 12px; }
}
@media (max-width: 480px) {
    .star-whatsapp-support-box { padding: 10px 12px; max-width: 170px; }
}
.star-notice, .star-error, .star-updated, .star-alert, .star-message {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
