/**
 * Quaker Hub SSO - Complete Styles
 * Matches mockup-dropdown-ui.html exactly
 *
 * @package QuakerHubClientSSO
 */

/* ========================================
   LOGIN MODAL STYLES
   ======================================== */

   .modal.show {
    visibility: visible !important;
    opacity: 1 !important;
}

.px-modal-container .modal-dialog.modal-dialog-centered {
    width: 530px !important;
    max-width: 100%;
}
a.px-link-title {
    padding: 14px 0px !important;
}
.px-mark-all-read:hover {
    color: #000;
    background: lightgray !important;
}
.px-modal-container.modal {
    background: none;
}

.px-modal-container .modal-body {
    max-height: 100% !important;
    width: unset !important;
    padding: 0;
    max-width: 100%;
}

.px-modal-container .modal-content {
    border-radius: 6px;
    overflow: hidden;
    border: none;
}
.mobile-menu-login .elementor-widget-wrap.elementor-element-populated .px-login-button-link {
    margin: 0;
}
.mobile-menu-login .elementor-widget-wrap.elementor-element-populated .px-login-button-link .elementor-button {
    padding: 5px;
    margin-top: 6px;
    font-weight: 500;
}
.mobile-menu-login  .px-login-button-link .elementor-button .elementor-button-icon {
    position: relative;
    top: -2px;
}

.px-modal-container .px-form p {
    margin: 0 0 10px 0;
    padding: 0;
}

.px-modal-container .px-content-box {
    padding: 40px 125px;
}

#pxLoginModal p {
    margin-left: 0 !important;
}

.px-content-box .title_text h4 {
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.px-content-box .px-sub-title {
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    letter-spacing: 0.02em;
    color: rgba(0, 0, 0, 0.6);
}

.px-modal-container .px-form label {
    font-style: normal;
    font-weight: 700 !important;
    font-size: 12px !important;
    line-height: 15px;
    letter-spacing: 0.02em;
}

.px-modal-container .px-form .input {
    border: 1px solid rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
    border-radius: 4px;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 13px;
    letter-spacing: 0.02em;
    padding: 9px 10px;
}

.px-modal-container .px-form .input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.px-modal-container .forgetmenot {
    margin-top: 7px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 10px;
    color: #333;
}

.px-modal-container .forgetmenot div {
    display: flex;
}

.px-modal-container .forgetmenot #rememberme_label {
    font-size: 10px !important;
    margin-left: 8px;
}

.px-modal-container .forgetmenot a {
    color: #333;
    font-weight: 700;
}

.px-modal-container .submit #wp-submit {
    width: 100%;
    background: #000000 !important;
    border-radius: 4px;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    letter-spacing: 0.02em;
    color: #FFFFFF;
    margin: 0;
}

.px-modal-container .px-form label.error {
    font-size: 10px;
    margin: 0;
    padding: 0;
    font-size: 12px;
    color: #ff0000;
    font-weight: 500;
}

.px-modal-container .signup-section {
    font-size: 12px;
    text-align: center;
    margin-top: 12px;
    color: rgba(0, 0, 0, 0.7);
}

.px-modal-container .signup-section .text-info {
    font-weight: 400;
    color: #000 !important;
    font-size: 12px;
}

.api-error {
    font-weight: 400;
    color: #ff0000 !important;
    font-size: 12px;
    display: none;
    margin: 0;
}

.api-success {
    font-weight: 400;
    color: #00a000 !important;
    font-size: 12px;
    display: none;
    margin: 0;
}

.resend-otp-link {
    font-size: 11px;
    color: #333;
    text-decoration: underline;
    cursor: pointer;
}

.resend-otp-link:hover {
    color: #000;
}

.resend-otp-link:disabled {
    color: #999;
    cursor: not-allowed;
    text-decoration: none;
}

/* ========================================
   USER BUTTON & DROPDOWN CONTAINER
   ======================================== */

.px-login-btn-box {
    position: relative;
    z-index: 100;
}

.px-login-btn-box .px-login-button-link,
.px-login-btn-box .px-user-button-link {
    background: transparent !important;
    font-weight: inherit;
    color: inherit;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center !important;
    align-items: center;
    gap: 7px;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.px-user-button-link {
    position: relative;
    display: flex;
    gap: 5px;
    cursor: pointer;
}

.px-user-button-link:hover {
    background: none !important;
}

a.px-login-button-link,
a.px-user-button-link {
    display: flex;
    gap: 5px;
    text-decoration: none;
}

.px-login-button-link svg path,
.px-user-button-link svg path {
    fill: #fff;
}

.unread-badge {
    background: #e74c3c;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 2px;
    right: -12px;
    padding: 0 4px;
    box-sizing: border-box;
    line-height: 1;
    pointer-events: none;
}

/* Mobile: overlay the badge on the user-icon SVG. The button itself has
   position:relative so we anchor to its top-left corner and nudge onto the
   13px icon. Desktop overrides below place the badge at the top-right of
   the whole trigger (past the username text). */
.px-user-button-link .px-notification-badge {
    top: -6px;
    right: auto;
    left: 8px;
}

@media (min-width: 768px) {
    .px-user-button-link .px-notification-badge {
        top: -8px;
        right: -10px;
        left: auto;
    }
}

/* DROPDOWN CONTAINER */
.px-my-account-box {
    position: absolute;
    top: 28px;
    right: 0px;
    width: 420px;
    background: #fff !important;
    box-shadow: 0px 10px 14px rgba(0, 0, 0, 0.25);
    z-index: 100;
    display: none !important;
    border-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #000 !important;
}

/* Arrow */
.px-my-account-box::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 22px;
    width: 14px;
    height: 14px;
    background: #fff;
    transform: rotate(45deg);
    box-shadow: -4px -4px 8px rgba(0, 0, 0, 0.06);
    z-index: -1;
}

.px-user-button-link:hover + .px-my-account-box,
.px-my-account-box:hover {
    display: block !important;
}

.px-my-account-box.disable {
    display: none !important;
}

/* ========================================
   TABS NAVIGATION
   ======================================== */

.px-dropdown-tabs {
    display: flex;
    border-bottom: 1px solid #e5e5e5;
    background: #fafafa !important;
    border-radius: 4px 4px 0 0;
}

.px-tab-nav {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.px-dropdown-tab {
    flex: 1;
    padding: 12px 8px;
    border: none;
    background: none !important;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #777 !important;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
    text-decoration: none !important;
    text-align: center;
    font-family: inherit;
    outline: none;
}

.px-dropdown-tab:hover {
    color: #333 !important;
    background: none !important;
    text-decoration: none !important;
}

.px-dropdown-tab.active {
    color: #143164 !important;
    background: none !important;
}

.px-dropdown-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 2px;
    background: #143164;
    border-radius: 2px 2px 0 0;
}

.px-tab-badge {
    background: #e74c3c;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 8px;
    margin-left: 4px;
    vertical-align: middle;
    display: inline-block;
}

/* ========================================
   TAB PANELS
   ======================================== */

/* Override any theme styles on tab content divs */
.elementor-nav-menu--main .px-tab-content,
.elementor-nav-menu .px-tab-content,
.px-tab-content {
    display: none !important;
    position: static !important;
    width: 100% !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.elementor-nav-menu--main .px-tab-content.active,
.elementor-nav-menu .px-tab-content.active,
.px-tab-content.active {
    display: block !important;
}

/* ========================================
   SITES TAB (Welcome Section)
   ======================================== */

/* Override any theme styles on welcome section */
.elementor-nav-menu--main .px-welcome-section,
.elementor-nav-menu .px-welcome-section,
.px-welcome-section {
    text-align: center !important;
    padding: 20px 20px 15px !important;
    background: #fff !important;
    border-bottom: 1px solid #eee !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
}

.px-welcome-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e !important;
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
    font-family: inherit;
}

.px-welcome-section p {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.55) !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
}

.px-welcome-section h5 {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #555 !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
}

/* Site Grid */
/* Override theme's .elementor-nav-menu ul display:none and other conflicting styles */
.elementor-nav-menu--main .elementor-nav-menu .px-site-grid,
.elementor-nav-menu .px-site-grid,
.px-site-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    position: static !important;
    width: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
    border: none !important;
    border-style: none !important;
    border-width: 0 !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
}

.px-site-item {
    width: calc(50% - 5px) !important;
    height: 72px;
    border: 1px solid #ddd !important;
    border-radius: 6px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: all 0.2s;
    cursor: pointer;
    position: relative;
    padding: 12px !important;
    background: #fff !important;
    box-sizing: border-box;
}

.px-site-item:hover {
    opacity: 0.75;
    border-color: #bbb !important;
}

.px-site-item.px-active-site {
    opacity: 1 !important;
    border-color: #143164 !important;
    background: #f8f9fc !important;
}

.px-site-item.px-active-site::after {
    content: '\2192';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #143164;
}

.px-site-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 100%;
    height: 100%;
    padding: 0 !important;
    gap: 4px;
}

.px-current-site {
    cursor: default;
}

.px-site-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.px-site-logo {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
    display: block;
}

.px-site-logo-placeholder {
    font-size: 11px;
    font-weight: 700;
    color: #333 !important;
    text-align: center;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

.px-site-logo-placeholder span {
    display: block;
    font-size: 9px;
    font-weight: 400;
    color: #888 !important;
    margin-top: 2px;
}

.px-site-name {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 11px;
    font-weight: 700;
    color: #333 !important;
    text-align: center;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

/* ========================================
   NOTIFICATIONS TAB
   ======================================== */

/* Override any theme styles on wrapper divs */
.elementor-nav-menu--main .px-notifications-wrapper,
.elementor-nav-menu .px-notifications-wrapper,
.px-notifications-wrapper {
    max-height: 340px !important;
    overflow-y: auto !important;
    position: static !important;
    width: 100% !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Override theme's .elementor-nav-menu ul display:none and other conflicting styles */
.elementor-nav-menu--main .elementor-nav-menu .px-notifications-list,
.elementor-nav-menu .px-notifications-list,
.px-notifications-list {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    position: static !important;
    width: 100% !important;
    border: none !important;
    border-style: none !important;
    border-width: 0 !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
}

.px-notification-item {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.15s;
    border-left: none;
}

.px-notification-item:hover {
    background: #f8f9fc;
}

.px-notification-item.unread {
    background: #f0f4ff;
    border-left: 3px solid #143164;
}

.px-notification-item.unread:hover {
    background: #e8eefb;
}

.px-notif-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #143164;
    margin-top: 5px;
    flex-shrink: 0;
}

.px-notif-dot.read {
    background: transparent;
}

.px-notif-content {
    flex: 1;
}

.px-notif-title {
    font-size: 12px;
    font-weight: 600;
    color: #222;
    margin: 0 0 3px 0;
    line-height: 1.3;
}

.px-notif-message {
    font-size: 11px !important;
    color: #666 !important;
    line-height: 1.4 !important;
    margin: 0 0 4px 0 !important;
    /* 2-line truncation with ellipsis */
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-break: break-word !important;
}

/* Wrapper so the toggle can overlay the last line of the clamped message */
.px-notif-msg-wrap {
    position: relative;
    margin: 0 0 4px 0;
}

.px-notif-msg-wrap .px-notif-message {
    margin: 0 !important;
}

/* Expand toggle — hidden unless the row has more content (.has-more) */
.px-notif-msg-wrap .px-notif-toggle {
    /* Aggressive theme reset — WP themes style generic <button> */
    all: unset;
    display: none !important;
    box-sizing: border-box;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    color: #143164 !important;
    cursor: pointer;
    background: transparent !important;
    border: none;
}

/* Collapsed + truncated: overlay button at bottom-right of the 2-line box
   with a white fade behind it so it sits inline on line 2 instead of adding a 3rd line */
.px-notification-item.has-more:not(.expanded) .px-notif-toggle {
    display: inline-flex !important;
    position: absolute;
    right: 0;
    bottom: 0;
    padding-left: 28px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #fff 20%);
}

/* Unread rows have a blueish tint — match the fade color */
.px-notification-item.px-unread.has-more:not(.expanded) .px-notif-toggle,
.px-notification-item.unread.has-more:not(.expanded) .px-notif-toggle {
    background: linear-gradient(90deg, rgba(249, 251, 255, 0) 0%, #f9fbff 20%);
}

/* Reserve a gutter at the right of the clamped preview so line 2 wraps
   before the absolutely-positioned Show more button. Without this, a
   preview that happens to fill the full line will render text behind
   the button label. */
.px-notification-item.has-more:not(.expanded) .px-notif-message {
    padding-right: 90px;
}

/* Expanded: button flows below the full message */
.px-notification-item.has-more.expanded .px-notif-toggle {
    display: inline-flex !important;
    position: static;
    margin-top: 4px;
}

.px-notif-toggle:hover,
.px-notif-toggle:focus {
    color: #0f2449;
    text-decoration: none;
    outline: none;
}

.px-notif-toggle:hover .px-notif-toggle-label,
.px-notif-toggle:focus .px-notif-toggle-label {
    text-decoration: underline;
}

.px-notif-toggle:focus-visible {
    outline: 2px solid #143164;
    outline-offset: 2px;
    border-radius: 2px;
}

.px-notif-toggle-icon {
    display: inline-block;
    font-size: 12px;
    line-height: 1;
    transition: transform 0.15s ease;
    text-decoration: none !important;
}

.px-notification-item.expanded .px-notif-toggle-icon {
    transform: rotate(180deg);
}

.px-notification-item.expanded .px-notif-message {
    display: block !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

.px-notif-time {
    font-size: 10px;
    color: #aaa;
    margin: 0;
}

.px-notif-link {
    margin-top: 8px;
}

/* Hide the View button when the notification is truncated but not expanded.
   Non-truncated items and expanded-truncated items keep showing it. Pairs
   with the `.expanded` toggled by the Show more/Show less handler. */
.px-notification-item.has-more:not(.expanded) .px-notif-link {
    display: none;
}

.px-notif-button,
a.px-notif-button {
    display: inline-block !important;
    padding: 6px 14px !important;
    font-size: 11px;
    font-weight: 600;
    line-height: 1 !important;
    color: #ffffff !important;
    background-color: #143164;
    border: 1px solid #143164;
    border-radius: 4px;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease !important;
}

.px-notif-button:hover,
a.px-notif-button:hover,
.px-notif-button:focus,
a.px-notif-button:focus {
    background-color: #0f2449 !important;
    border-color: #0f2449 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.px-notif-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    border-top: 1px solid #eee;
    background: #fafafa;
}

.px-footer-link {
    font-size: 11px;
    color: #143164;
    text-decoration: none;
    font-weight: 600;
}

.px-footer-link:hover {
    text-decoration: underline;
}

.px-mark-all-read {
    font-size: 10px;
    color: #143164 !important;
    cursor: pointer !important;
    border: none;
    background: none !important;
    font-weight: 500;
    font-family: inherit;
}

/* ========================================
   MY LINKS TAB
   ======================================== */

/* Override any theme styles on wrapper divs */
.elementor-nav-menu--main .px-saved-links-wrapper,
.elementor-nav-menu .px-saved-links-wrapper,
.px-saved-links-wrapper {
    max-height: 300px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    position: static !important;
    width: 100% !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Override theme's .elementor-nav-menu ul display:none and other conflicting styles */
.elementor-nav-menu--main .elementor-nav-menu .px-saved-links-list,
.elementor-nav-menu .px-saved-links-list,
.px-saved-links-list {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    position: static !important;
    width: 100% !important;
    border: none !important;
    border-style: none !important;
    border-width: 0 !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
}

.px-saved-link-item {
    display: flex;
    align-items: center;
    flex-wrap: nowrap !important;
    gap: 10px;
    padding: 10px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: grab;
    transition: background 0.15s;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.px-saved-link-item:hover {
    background: #f8f9fc;
}

.px-drag-handle {
    color: #ccc;
    font-size: 14px;
    cursor: grab;
    flex-shrink: 0;
}

.px-link-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.px-link-title {
    font-size: 12px;
    font-weight: 500;
    color: #222;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-decoration: none;
    max-width: 100%;
    display: block;
}

.px-link-title:hover {
    text-decoration: underline;
}

.px-link-site-badge {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
    background: #143164;
    padding: 1px 6px;
    border-radius: 3px;
    display: inline-block;
    flex-shrink: 0;
}
.px-link-site-badge.px-badge-hub { background: #143164; }
.px-link-site-badge.px-badge-residential { background: #2e7d32; }
.px-link-site-badge.px-badge-commercial { background: #1565c0; }
.px-link-site-badge.px-badge-quartz { background: #6a1b9a; }
.px-link-site-badge.px-badge-corporate { background: #e65100; }

    .px-link-delete {
        opacity: 0;
        color: #c33 !important;
        cursor: pointer !important;
        font-size: 18px;
        line-height: 1;
        transition: opacity 0.15s;
        border: none !important;
        background: none !important;
        padding: 4px !important;
        flex-shrink: 0;
    }
.px-link-delete:hover {
    background-color: transparent!important;
    color: #c33 !important;
}
.px-saved-link-item:hover .px-link-delete {
    opacity: 1;
}

.px-links-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    border-top: 1px solid #eee;
    background: #fafafa;
}

.px-link-count {
    font-size: 10px;
    color: #aaa;
}

/* ========================================
   ACTION BAR
   ======================================== */

.px-action-bar {
    display: flex;
    border-top: 1px solid #e5e5e5;
    background: #fafafa !important;
    border-radius: 0 0 4px 4px;
}

.px-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 12px 8px;
    border: none;
    background: none !important;
    cursor: pointer;
    color: #555 !important;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: color 0.15s, background 0.15s;
    border-right: 1px solid #eee;
    font-family: inherit;
    outline: none;
    text-decoration: none;
}

.px-action-btn span {
    color: inherit;
}

.px-action-btn:last-child {
    border-right: none;
}

.px-action-btn:hover {
    background: #f0f0f0 !important;
    color: #143164 !important;
}

.px-action-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Prevent pseudo-element duplication from theme/plugin conflicts */
.px-action-btn::before,
.px-action-btn::after,
.px-action-btn span::before,
.px-action-btn span::after {
    content: none !important;
    display: none !important;
}

.px-action-btn.px-save-active {
    color: #27ae60 !important;
}

/* ========================================
   LOADING & EMPTY STATES
   ======================================== */

.px-notifications-loading,
.px-saved-links-loading,
.px-site-loading {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 11px;
    width: 100%;
    flex: 0 0 100%;
}

.px-notifications-loading:after,
.px-saved-links-loading:after,
.px-site-loading:after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #143164;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.px-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #aaa;
}

.px-empty-state p {
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
}

.px-no-items,
.px-no-sites,
.px-error {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 11px;
    width: 100%;
    flex: 0 0 100%;
}

.px-error {
    color: #d9534f !important;
}

/* ========================================
   SCROLLBAR
   ======================================== */

.px-notifications-wrapper::-webkit-scrollbar,
.px-saved-links-wrapper::-webkit-scrollbar {
    width: 4px;
}

.px-notifications-wrapper::-webkit-scrollbar-thumb,
.px-saved-links-wrapper::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */

.px-my-account-mobile-link {
    display: none;
}

@media only screen and (max-width: 767px) {
    .px-modal-container .px-content-box {
        padding: 40px 35px;
    }

    .px-modal-container .modal-dialog.modal-dialog-centered {
        width: auto !important;
    }

    .px-my-account-box {
        width: calc(100vw - 40px);
        right: 20px;
    }

    .px-welcome-section {
        padding: 15px;
    }

    .px-my-account-mobile-link.active {
        display: block;
    }

    .px-site-grid {
        gap: 8px;
    }

    .px-site-item {
        height: 60px;
        padding: 8px !important;
    }

    .px-action-btn {
        font-size: 8px;
        padding: 10px 6px;
    }

    .px-action-btn svg {
        width: 14px;
        height: 14px;
    }
}
@media(max-width:1024px){
    .px-my-account-box {
            position: absolute;
            top: 42px;
            right: -40px;
        }
     .px-my-account-box::before {
            top: -6px;
            right: 42px;
        }
    .px-link-site-badge {
            line-height: normal !important;
        }
     .px-user-button-link {
                font-size: 0 !important;
            }
     .px-user-button-link svg {
                font-size: initial!important;
            }
    .mobile-menu-login .px-menu-item-login,.mobile-menu-login  .px-login-button-link {
        position: absolute;
        right: 60px;
        z-index:1;
    }
    }

/* ========================================
   DARK MODE - DISABLED FOR DROPDOWN
   ========================================

   The dropdown always uses light mode colors to match the mockup,
   regardless of the page's dark mode setting.
   All dark mode styles have been removed to ensure consistency.

   ======================================== */