/* ============================================================
   Home Hub - Shortcode Styles
   [papalocal_home_hub]
   ============================================================ */

/* --- Guest / Marketing View --- */
.pl-hub-guest {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 15px;
}
.pl-hub-hero {
    padding: 40px 15px 30px;
}
.pl-hub-hero-logo {
    width: 50%;
    max-width: 280px;
    margin-bottom: 20px;
}
.pl-hub-hero-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}
.pl-hub-hero-subtitle {
    font-size: 1.05rem;
    color: #555;
    max-width: 720px;
    margin: 0 auto 25px;
    line-height: 1.6;
}
.pl-hub-features {
    margin-top: 30px;
}
/* Ensure Bootstrap row columns stretch equally */
.pl-hub-features .row > [class*="col-"] {
    display: flex;
}
.pl-hub-feature-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px 12px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s, transform 0.2s;
}
.pl-hub-feature-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.pl-hub-feature-card h6 {
    margin-bottom: 6px;
}
.pl-hub-feature-card p {
    flex-grow: 1;
}
.pl-hub-feature-icon {
    font-size: 2rem;
    color: #4A90D9;
    margin-bottom: 10px;
    display: block;
}

/* Why Papalocal value-prop cards */
.pl-hub-why-section .row > [class*="col-"] {
    display: flex;
}
.pl-hub-why-card {
    border-radius: 12px;
    padding: 20px 16px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.pl-hub-why-card > i {
    font-size: 1.6rem;
    margin-bottom: 10px;
    display: block;
}
.pl-hub-why-card h6 {
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}
.pl-hub-why-card p {
    flex-grow: 1;
}

/* --- Logged-In App View --- */
.pl-hub-app {
    max-width: 600px;
    margin: 0 auto;
    padding: 0px 15px;
    transition: max-width 0.3s ease;
}
/* About view no longer widens — keep same container width */

/* Top bar (removed — logo + old toggle buttons no longer used) */

/* Consolidated Action Bar — uniform muted buttons, active = colored */
.pl-hub-action-btns {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: nowrap;
}
.pl-hub-action-icon {
    border: 1px solid #c5c9d0 !important;
    border-radius: 10px !important;
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    font-size: 1.05rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.15s ease !important;
    cursor: pointer !important;
    line-height: 1 !important;
    text-align: center !important;
    color: #555 !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    background: #fff !important;
}
.pl-hub-action-icon:hover {
    background: #f0f2f5 !important;
    border-color: #adb2ba !important;
    transform: scale(1.05);
}
.pl-hub-action-icon:active {
    transform: scale(0.95);
    background: #e4e7eb !important;
}
/* Active (selected) state — colored */
.pl-hub-action-icon.active {
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.pl-hub-action-icon.active[data-view="hub"] {
    background: linear-gradient(180deg, #3395ff 0%, #0062cc 100%) !important;
}
.pl-hub-action-icon.active[data-view="search"] {
    background: linear-gradient(180deg, #5dd879 0%, #28a745 100%) !important;
}
.pl-hub-action-icon.active[data-view="about"] {
    background: linear-gradient(180deg, #7b79e8 0%, #4643b0 100%) !important;
}
#pl-hub-logout-btn.pl-hub-action-icon {
    color: #d63031 !important;
    border-color: #f5c6c6 !important;
    background: #fff5f5 !important;
}
#pl-hub-logout-btn.pl-hub-action-icon:hover {
    background: #fee !important;
    border-color: #e8a0a0 !important;
}

/* Navigation click feedback — real DOM spinner overlay (mobile-reliable) */
.pl-hub-spinner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    border-radius: inherit;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pl-hub-spinner-circle {
    width: 22px;
    height: 22px;
    border: 2.5px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: pl-hub-nav-spin 0.6s linear infinite;
}
@keyframes pl-hub-nav-spin {
    to { transform: rotate(360deg); }
}

/* AI label badge in quick actions row */
.pl-hub-ai-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
}
.pl-hub-ai-label i {
    font-size: 0.62rem;
}

/* Quick Actions - horizontally swipable on mobile */
.pl-hub-quick-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 0;
    padding: 10px 0 10px;
    border-bottom: 1px solid #e9ecef;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: flex-start;
    position: sticky;
    top: 63px; /* below action bar */
    z-index: 99;
    background: #fff;
}
.pl-hub-quick-actions::-webkit-scrollbar {
    display: none;
}
.pl-hub-quick-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 22px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    outline: none;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    background: #fff;
    border: 1.5px solid #dee2e6;
    color: #555;
}
.pl-hub-quick-btn i {
    font-size: 0.7rem;
}
.pl-hub-quick-need {
    border-color: #E8445A;
    color: #E8445A;
}
.pl-hub-quick-need:hover {
    background: #fdf0f2;
}
.pl-hub-quick-story {
    border-color: #3A8DDE;
    color: #3A8DDE;
}
.pl-hub-quick-story:hover {
    background: #eef5fc;
}
.pl-hub-quick-food {
    border-color: #F5A623;
    color: #c48510;
}
.pl-hub-quick-food:hover {
    background: #fef8ec;
}
.pl-hub-quick-beliefs {
    border-color: #9B59B6;
    color: #9B59B6;
}
.pl-hub-quick-beliefs:hover {
    background: #f7f0fa;
}
.pl-hub-quick-skills {
    border-color: #00B894;
    color: #009e7e;
}
.pl-hub-quick-skills:hover {
    background: #eefbf7;
}

/* App Icon Grid (phone-style) */
.pl-hub-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 10px;
    padding: 10px 0 60px;
}
.pl-hub-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    cursor: pointer;
    position: relative;
}
.pl-hub-icon span {
    font-size: 0.74rem;
    font-weight: 500;
    margin-top: 7px;
    text-align: center;
    line-height: 1.2;
    max-width: 76px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #1c1c1e;
    letter-spacing: -0.01em;
}
.pl-hub-icon:hover span {
    color: #4A90D9;
}
.pl-hub-icon-img {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.7rem;
    position: relative;
    overflow: visible;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.22) inset,
        0 4px 14px rgba(0,0,0,0.22),
        0 1px 4px rgba(0,0,0,0.14);
}
/* iOS-style gloss highlight */
.pl-hub-icon-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        170deg,
        rgba(255,255,255,0.28) 0%,
        rgba(255,255,255,0.06) 42%,
        rgba(0,0,0,0) 55%,
        rgba(0,0,0,0.08) 100%
    );
    border-radius: inherit;
    pointer-events: none;
}
.pl-hub-icon:hover .pl-hub-icon-img {
    transform: scale(1.10);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.22) inset,
        0 8px 22px rgba(0,0,0,0.26),
        0 2px 6px rgba(0,0,0,0.16);
}

/* Badge on multi-entity icon */
.pl-hub-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #FF3B30 !important;
    color: #fff !important;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    pointer-events: none;
}

/* Dropdown for multi-entity — position:fixed, shown/positioned via JS only */
.pl-hub-dropdown {
    display: none;
    position: fixed;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    min-width: 180px;
    max-height: 50vh;
    overflow-y: auto;
    z-index: 99999;
}
.pl-hub-dropdown a {
    display: block;
    padding: 10px 14px;
    color: #333;
    text-decoration: none;
    font-size: 0.85rem;
    border-bottom: 1px solid #f1f3f5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}
.pl-hub-dropdown a:last-child {
    border-bottom: none;
}
.pl-hub-dropdown a:hover {
    background: #f8f9fa;
    color: #4A90D9;
}

/* --- My Stuff Folder (Apple-style icon) --- */
.pl-hub-folder-img {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
    padding: 10% !important;
    background-color: #fff !important;
    border: 2px solid #dee2e6;
    box-sizing: border-box;
}
.pl-hub-folder-mini {
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pl-hub-folder-trigger {
    cursor: pointer;
}

/* --- My Stuff Modal (popup overlay) --- */
.pl-hub-stuff-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.pl-hub-stuff-modal {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 340px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
    animation: pl-hub-modal-in 0.2s ease-out;
}
@keyframes pl-hub-modal-in {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.pl-hub-stuff-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 12px;
    border-bottom: 1px solid #e9ecef;
}
.pl-hub-stuff-modal-header h6 {
    margin: 0;
    font-weight: 700;
    font-size: 1.05rem;
    color: #333;
}
.pl-hub-stuff-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
}
.pl-hub-stuff-modal-close:hover {
    color: #333;
}
.pl-hub-stuff-modal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 12px;
    padding: 20px;
    overflow-y: auto;
    max-height: calc(80vh - 60px);
    -webkit-overflow-scrolling: touch;
}
.pl-hub-stuff-modal-grid .pl-hub-icon-img {
    width: 68px;
    height: 68px;
    font-size: 1.7rem;
    border-radius: 16px;
}

/* Dropdown inside My Stuff modal — uses fixed positioning to escape overflow */
.pl-hub-stuff-dd-trigger {
    cursor: pointer;
}
.pl-hub-stuff-dd {
    display: none;
    position: fixed;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    min-width: 200px;
    max-height: 180px;
    overflow-y: auto;
    z-index: 10001;
}
.pl-hub-stuff-dd a {
    display: block;
    padding: 10px 14px;
    color: #333;
    text-decoration: none;
    font-size: 0.85rem;
    border-bottom: 1px solid #f1f3f5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 240px;
}
.pl-hub-stuff-dd a:last-child {
    border-bottom: none;
}
.pl-hub-stuff-dd a:hover {
    background: #f8f9fa;
    color: #4A90D9;
}

/* --- Login & Request to Join Forms --- */
.pl-hub-join-form-wrap {
    max-width: 460px;
    margin: 20px auto 0;
}
.pl-hub-join-form {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 24px 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.pl-hub-join-form .form-control {
    font-size: 0.9rem;
}
.pl-hub-join-form .form-label {
    color: #495057;
}

/* --- About Us View --- */
.pl-hub-about {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 10px 0 40px;
}
.pl-hub-about-header {
    margin-bottom: 30px;
}
.pl-hub-about-header h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}
.pl-hub-about-tagline {
    font-size: 1.05rem;
    color: #666;
    margin: 0;
}
.pl-hub-about-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #4A90D9, #34C759);
    border-radius: 2px;
    margin: 16px auto 0;
}
.pl-hub-about-columns {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.pl-hub-about-section {
    margin-bottom: 20px;
    padding: 24px 20px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.pl-hub-about-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
}
.pl-hub-about-section p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 10px;
}
.pl-hub-about-section p:last-child {
    margin-bottom: 0;
}
.pl-hub-about-intro {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    border-color: #d6e8f7;
}
.pl-hub-about-highlight {
    font-size: 1.15rem;
    color: #1a1a2e;
    text-align: center;
    padding: 8px 0;
}
.pl-hub-about-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #333;
    transition: background 0.15s;
}
.pl-hub-about-feature:hover {
    background: #e8f4fd;
}
.pl-hub-about-feature i {
    color: #4A90D9;
    font-size: 0.95rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}
.pl-hub-about-ai {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
    border-color: #d6e8f7;
}
.pl-hub-about-origin {
    background: linear-gradient(135deg, #f0fdf4 0%, #e8f4fd 100%);
    border-color: #b6e3c8;
}
.pl-hub-about-origin h4 i {
    color: #34C759;
}
.pl-hub-about-origin p strong {
    color: #1a1a2e;
}
.pl-hub-about-started {
    font-size: 0.85rem;
    color: #666;
    background: rgba(255,255,255,0.6);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #d6e8d6;
}

/* --- Responsive: Mobile --- */
@media (max-width: 400px) {
    .pl-hub-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px 6px;
    }
    .pl-hub-icon-img {
        width: 60px;
        height: 60px;
        font-size: 1.45rem;
        border-radius: 14px;
    }
    .pl-hub-hero-title {
        font-size: 1.4rem;
    }
    .pl-hub-action-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.9rem !important;
        border-radius: 8px !important;
    }
    .pl-hub-action-btns {
        gap: 6px;
    }
    .pl-hub-folder-mini {
        font-size: 0.55rem;
    }
    .pl-hub-quick-actions {
        top: 57px;
    }
}

/* --- Responsive: Tablet --- */
@media (min-width: 577px) and (max-width: 991px) {
    .pl-hub-quick-actions {
        justify-content: center;
        overflow-x: visible;
    }
    .pl-hub-app {
        max-width: 700px;
    }
    .pl-hub-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 22px 12px;
    }
    .pl-hub-icon-img {
        width: 72px;
        height: 72px;
        font-size: 1.8rem;
        border-radius: 17px;
    }
    .pl-hub-icon span {
        font-size: 0.8rem;
        max-width: 86px;
    }
    .pl-hub-about-columns {
        flex-direction: row;
        gap: 16px;
    }
    .pl-hub-about-columns > .pl-hub-about-section {
        flex: 1;
    }
}

/* --- Responsive: Desktop --- */
@media (min-width: 992px) {
    .pl-hub-quick-actions {
        justify-content: center;
        overflow-x: visible;
    }
    .pl-hub-app {
        max-width: 960px;
    }
    .pl-hub-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 24px 16px;
    }
    .pl-hub-icon-img {
        width: 76px;
        height: 76px;
        font-size: 1.9rem;
        border-radius: 18px;
    }
    .pl-hub-icon span {
        font-size: 0.82rem;
        max-width: 96px;
    }
    .pl-hub-action-icon {
        width: 46px !important;
        height: 46px !important;
        font-size: 1.15rem !important;
    }
    .pl-hub-action-btns {
        gap: 10px;
    }
    .pl-hub-folder-img {
        gap: 15px;
        padding: 10% !important;
    }
    .pl-hub-folder-mini {
        font-size: 0.65rem;
    }
    .pl-hub-quick-btn {
        padding: 10px 24px;
        font-size: 1rem;
    }
    .pl-hub-about-columns {
        flex-direction: row;
        gap: 20px;
    }
    .pl-hub-about-columns > .pl-hub-about-section {
        flex: 1;
    }
    .pl-hub-about-header h2 {
        font-size: 2rem;
    }
    .pl-hub-about-tagline {
        font-size: 1.15rem;
    }
    .pl-hub-about-section h4 {
        font-size: 1.2rem;
    }
    .pl-hub-about-section p {
        font-size: 1rem;
    }
    .pl-hub-about-section {
        padding: 28px 24px;
    }
}

/* --- Responsive: Large Desktop --- */
@media (min-width: 1400px) {
    .pl-hub-app {
        max-width: 1100px;
    }
    .pl-hub-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 26px 20px;
    }
    .pl-hub-icon-img {
        width: 80px;
        height: 80px;
        font-size: 2rem;
        border-radius: 19px;
    }
    .pl-hub-icon span {
        font-size: 0.85rem;
        max-width: 100px;
    }
    .pl-hub-folder-img {
        gap: 15px;
        padding: 10% !important;
    }
    .pl-hub-folder-mini {
        font-size: 0.7rem;
    }
    .pl-hub-about-columns {
        gap: 28px;
    }
    .pl-hub-about-header h2 {
        font-size: 2.2rem;
    }
    .pl-hub-about-section {
        padding: 32px 28px;
    }
}

/* ── Inline Edit Mode ───────────────────────────────────────────────────── */
@keyframes pl-hub-wiggle {
    0%   { transform: rotate(0deg);    }
    20%  { transform: rotate(-2.5deg); }
    40%  { transform: rotate(0deg);    }
    60%  { transform: rotate(2.5deg);  }
    80%  { transform: rotate(0deg);    }
    100% { transform: rotate(0deg);    }
}
.pl-hub-grid.pl-hub-edit-mode .pl-hub-icon {
    animation: pl-hub-wiggle 0.55s ease-in-out infinite;
    animation-delay: calc(var(--wiggle-delay, 0) * 1ms);
}

/* × remove button — lives inside .pl-hub-icon-img, top-right corner */
.pl-hub-icon-remove {
    display: none;
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.78);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.95);
    font-size: 14px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    z-index: 30;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
    font-family: -apple-system, sans-serif;
}
.pl-hub-grid.pl-hub-edit-mode .pl-hub-icon-remove {
    display: flex;
}
/* Grab cursor on draggable icons */
.pl-hub-grid.pl-hub-edit-mode .pl-hub-icon {
    cursor: grab;
}
.pl-hub-grid.pl-hub-edit-mode .pl-hub-icon:active {
    cursor: grabbing;
}
/* Drag-over indicator in grid edit mode */
.pl-hub-grid.pl-hub-edit-mode .pl-hub-icon.pl-hub-grid-drag-over .pl-hub-icon-img {
    outline: 3px dashed #007AFF;
    outline-offset: 4px;
    transform: scale(0.88);
    box-shadow:
        0 0 0 5px rgba(0, 122, 255, 0.18),
        0 4px 14px rgba(0,0,0,0.22);
}
/* Drag hint label shown during edit mode */
.pl-hub-edit-hint {
    display: none;
    text-align: center;
    font-size: 0.72rem;
    color: #888;
    padding: 0 0 6px;
    letter-spacing: 0.01em;
}
.pl-hub-grid.pl-hub-edit-mode ~ .pl-hub-edit-hint {
    display: block;
}

/* Filter-tab × delete button */
.pl-hub-tab-remove {
    display: none;
    background: none;
    border: none;
    padding: 0 0 0 4px;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.45);
    font-size: 1rem;
    line-height: 1;
    vertical-align: middle;
    transition: color 0.15s;
}
.pl-hub-tab-remove:hover {
    color: rgba(0, 0, 0, 0.75);
}
.pl-hub-filter-bar.pl-hub-edit-mode [data-custom-tab] .pl-hub-tab-remove {
    display: inline;
}

/* Pencil/Save button active state */
#pl-hub-edit-btn[data-mode="save"] {
    background: linear-gradient(180deg, #c77deb 0%, #9b3cc7 100%) !important;
    border-color: transparent !important;
    color: #fff !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(155, 60, 199, 0.35) !important;
}
