/* ============================================================
   WizBrand — Public Profile (enterprise redesign)
   Loaded AFTER the page's inline <style> so these rules win the
   cascade. Markup/JS is untouched; this is a visual refresh only.
   ============================================================ */

:root {
    --wz-pf-blue: #1d4ed8;
    --wz-pf-blue-2: #3b82f6;
    --wz-pf-ink: #0f1b34;
    --wz-pf-muted: #51607a;
    --wz-pf-line: #e7edf6;
    --wz-pf-bg: #eef2f9;
    --wz-pf-card-shadow: 0 10px 30px rgba(15, 27, 52, .06);
}

/* ---------- Page canvas ---------- */
body { background: var(--wz-pf-bg); }

.main-layout {
    max-width: 1320px;
    margin: 0 auto;
    padding: 26px 18px 10px;
}

.main-layout > .row {
    align-items: stretch;
}

/* keep the sticky side cards above scrolling feed content */
.sidebar-x .sidebar-inner,
.wz-right-sticky { z-index: 5; }

/* ---------- Profile sidebar card ---------- */
.sidebar-x .sidebar-inner {
    background: #fff;
    border: 1px solid var(--wz-pf-line);
    border-radius: 20px;
    padding: 28px 22px;
    box-shadow: var(--wz-pf-card-shadow);
    position: sticky;
    top: 24px;
}

.sidebar-x .profile-section { position: relative; }

.sidebar-x .profile-pic-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 6px;
}

.sidebar-x .profile-pic {
    width: 118px !important;
    height: 118px !important;
    border-radius: 50% !important;
    object-fit: cover;
    border: 4px solid #fff !important;
    box-shadow: 0 0 0 3px var(--wz-pf-blue), 0 12px 28px rgba(29, 78, 216, .25);
    background: #fff;
}

.sidebar-x .edit-icon {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--wz-pf-blue);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 6px 14px rgba(29, 78, 216, .4);
    cursor: pointer;
    transition: transform .15s, background-color .15s;
}

.sidebar-x .edit-icon:hover { transform: scale(1.08); background: #173bb0; }

.sidebar-x .profile-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--wz-pf-ink);
    margin-top: 14px;
    line-height: 1.25;
}

.sidebar-x .profile-meta {
    display: inline-block;
    margin-top: 8px;
    font-size: .74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--wz-pf-blue);
    background: #eaf1ff;
    padding: 5px 14px;
    border-radius: 999px;
}

.sidebar-x .profile-bio {
    margin-top: 14px;
    color: var(--wz-pf-muted);
    font-size: .93rem;
    line-height: 1.65;
}

.sidebar-x .profile-location {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #e2e8f4;
    color: var(--wz-pf-muted) !important;
    font-size: .9rem;
    line-height: 2;
    text-align: left;
}

/* ---------- Social icons ---------- */
.social-icons-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 18px !important;
}

.social-icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f3f6fc;
    color: var(--wz-pf-blue);
    font-size: 1.08rem;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s, background-color .15s, color .15s;
}

.social-icon-circle:hover {
    transform: translateY(-3px);
    background: var(--wz-pf-blue);
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(29, 78, 216, .3);
}

/* ---------- Action buttons (both sidebars) ---------- */
.sidebar-actions,
.sidebar-actions-mobile {
    background: #fff;
    border: 1px solid var(--wz-pf-line);
    border-radius: 20px;
    padding: 18px 16px;
    box-shadow: var(--wz-pf-card-shadow);
}

.sidebar-actions .btn,
.sidebar-actions-mobile .btn {
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: .92rem !important;
    padding: 12px 16px !important;
    margin-bottom: 10px !important;
    box-shadow: none !important;
    transition: transform .15s, box-shadow .15s, background-color .15s, color .15s, border-color .15s !important;
}

.sidebar-actions .btn:last-child,
.sidebar-actions-mobile .btn:last-child { margin-bottom: 0 !important; }

.sidebar-actions .btn-success,
.sidebar-actions-mobile .btn-success {
    background: linear-gradient(135deg, var(--wz-pf-blue), var(--wz-pf-blue-2)) !important;
    border: 0 !important;
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(29, 78, 216, .28) !important;
}

.sidebar-actions .btn-success:hover,
.sidebar-actions-mobile .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(29, 78, 216, .36) !important;
}

.sidebar-actions .btn-outline-primary,
.sidebar-actions-mobile .btn-outline-primary {
    background: #fff !important;
    border: 1.5px solid #dbe6fb !important;
    color: var(--wz-pf-blue) !important;
}

.sidebar-actions .btn-outline-primary:hover,
.sidebar-actions-mobile .btn-outline-primary:hover {
    transform: translateY(-2px);
    background: var(--wz-pf-blue) !important;
    border-color: var(--wz-pf-blue) !important;
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(29, 78, 216, .22) !important;
}

/* ---------- Feed tabs ---------- */
.profile-tabs-row {
    display: flex !important;
    gap: 6px;
    background: #fff !important;
    border: 1px solid var(--wz-pf-line);
    border-radius: 16px;
    padding: 7px;
    margin-bottom: 18px;
    box-shadow: var(--wz-pf-card-shadow);
}

.profile-tabs-row .tab-btn {
    flex: 1;
    border: 0 !important;
    background: transparent !important;
    border-radius: 11px;
    padding: 13px 14px;
    font-weight: 700;
    font-size: .98rem;
    color: #64748b !important;
    cursor: pointer;
    transition: background-color .15s, color .15s;
}

.profile-tabs-row .tab-btn:hover { background: #f4f7fc !important; color: var(--wz-pf-ink) !important; }

.profile-tabs-row .tab-btn.active {
    background: #eaf1ff !important;
    color: var(--wz-pf-blue) !important;
}

.tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    margin-left: 7px;
    border-radius: 999px;
    background: var(--wz-pf-blue);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
}

/* No count yet (or zero) → don't render the empty coloured circle */
.tab-count:empty {
    display: none;
}

.profile-tabs-row .tab-btn.active .tab-count { background: var(--wz-pf-blue); }
.profile-tabs-row .tab-btn:not(.active) .tab-count { background: #c2cee4; }

/* ---------- Post / Link cards ---------- */
.post-block {
    background: #fff !important;
    border: 1px solid var(--wz-pf-line) !important;
    border-radius: 16px !important;
    padding: 24px !important;
    margin-bottom: 18px !important;
    box-shadow: var(--wz-pf-card-shadow) !important;
    transition: box-shadow .15s, transform .15s, border-color .15s;
}

.post-block:hover {
    box-shadow: 0 16px 38px rgba(15, 27, 52, .1) !important;
    border-color: #d7e2f6 !important;
}

.post-block .post-row { gap: 22px !important; }

.post-block .post-preview,
.post-block .post-full,
.post-block .card-description {
    color: #1f2a44 !important;
    font-size: 1rem;
    line-height: 1.7;
}

.post-block .view-details,
.post-block .show-less { color: var(--wz-pf-blue) !important; }

.post-block .post-media img,
.post-block .post-image,
.post-block .youtube-thumb-img {
    border-radius: 13px !important;
    box-shadow: 0 8px 20px rgba(15, 27, 52, .1);
}

.post-block .post-date {
    color: #8a97ad !important;
    font-weight: 600;
    background: #f4f7fc;
    padding: 4px 12px !important;
    border-radius: 999px !important;
}

/* ---------- Pagination ---------- */
#paginationContainer { display: flex; justify-content: center; gap: 6px; }

#paginationContainer .page-link,
#paginationContainer a,
#paginationContainer button {
    min-width: 40px;
    height: 40px;
    border-radius: 11px !important;
    border: 1px solid var(--wz-pf-line) !important;
    background: #fff !important;
    color: var(--wz-pf-ink) !important;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color .15s, color .15s, box-shadow .15s;
}

#paginationContainer .active,
#paginationContainer .page-item.active .page-link,
#paginationContainer .current {
    background: var(--wz-pf-blue) !important;
    border-color: var(--wz-pf-blue) !important;
    color: #fff !important;
    box-shadow: 0 8px 16px rgba(29, 78, 216, .28) !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .sidebar-x .sidebar-inner { position: static; margin-bottom: 18px; }
    .main-layout { padding: 16px 12px 6px; }
}

/* ============================================================
   Create / Edit Post modal (Facebook-style postbox)
   ============================================================ */
#editPostModal .modal-content,
.facebook-style-postbox {
    border: 0 !important;
    border-radius: 18px !important;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(15, 27, 52, .3) !important;
}

#editPostModal .modal-header,
.facebook-style-postbox .modal-header {
    background: linear-gradient(120deg, #0b2350, #1d4ed8) !important;
    border-bottom: 0 !important;
    padding: 18px 24px !important;
    align-items: center;
    justify-content: space-between;
}

#editPostModal .modal-header h3,
.facebook-style-postbox .modal-header h3 {
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin: 0 !important;
}

#editPostModal .modal-header .close,
.facebook-style-postbox .modal-header .close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18) !important;
    border: 0;
    color: #fff !important;
    font-size: 1.35rem;
    line-height: 1;
    opacity: 1;
    text-shadow: none;
    transition: background-color .15s, transform .15s;
}

#editPostModal .modal-header .close:hover,
.facebook-style-postbox .modal-header .close:hover {
    background: rgba(255, 80, 80, .92) !important;
    transform: rotate(90deg);
}

#editPostModal .user-info,
.facebook-style-postbox .user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 22px 6px !important;
}

#editPostModal .user-avatar img,
.facebook-style-postbox .user-avatar img {
    width: 46px !important;
    height: 46px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #eaf1ff;
}

#editPostModal .privacy-selector,
.facebook-style-postbox .privacy-selector {
    border: 1px solid var(--wz-pf-line) !important;
    border-radius: 10px !important;
    padding: 6px 12px !important;
    font-weight: 600;
    color: var(--wz-pf-ink);
    background: #f7f9fd !important;
}

#editPostModal .modal-body,
.facebook-style-postbox .modal-body { padding: 8px 22px 22px !important; }

#editPostModal .post-textarea,
.facebook-style-postbox .post-textarea {
    width: 100%;
    min-height: 90px;
    border: 1px solid var(--wz-pf-line) !important;
    border-radius: 12px !important;
    padding: 14px !important;
    font-size: 1.05rem;
    resize: vertical;
    background: #fff;
}

#editPostModal .post-textarea:focus {
    outline: none;
    border-color: #b9ccf3 !important;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, .12);
}

/* Constrain image / video preview so the modal never explodes in height */
#editPostModal .main-text-area img,
#editPostModal #imagePreview,
.facebook-style-postbox .main-text-area img {
    max-width: 100% !important;
    max-height: 300px !important;
    width: auto !important;
    border-radius: 12px !important;
    object-fit: contain;
    margin-top: 12px;
    border: 1px solid var(--wz-pf-line);
}

#editPostModal #youtubePreviewWrapper iframe {
    max-width: 100%;
    border-radius: 12px;
}

#editPostModal #removeImage,
#editPostModal #removeVideo {
    width: 28px !important;
    height: 28px !important;
    line-height: 26px !important;
    background: rgba(15, 27, 52, .78) !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
}

#editPostModal .post-options,
.facebook-style-postbox .post-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--wz-pf-line);
    border-radius: 12px;
    padding: 10px 14px;
    margin-top: 14px;
}

#editPostModal .add-to-post-text { font-weight: 700; color: #51607a; font-size: .92rem; }

#editPostModal .option-btn,
.facebook-style-postbox .option-btn {
    border: 0;
    background: #f3f6fc;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    font-size: 1.05rem;
    margin-left: 6px;
    cursor: pointer;
    transition: background-color .15s, transform .15s;
}

#editPostModal .option-btn:hover { background: #e3ecfb; transform: translateY(-1px); }

#editPostModal .file-upload-area,
.facebook-style-postbox .file-upload-area {
    border: 2px dashed #cdd9ef !important;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    color: #64748b;
    cursor: pointer;
    background: #f9fbff;
    transition: border-color .15s, background-color .15s;
}

#editPostModal .file-upload-area:hover { border-color: var(--wz-pf-blue) !important; background: #f1f6ff; }

#editPostModal .form-actions,
.facebook-style-postbox .form-actions { margin-top: 16px; }

#editPostModal .post-btn,
.facebook-style-postbox .post-btn {
    width: 100%;
    border: 0;
    border-radius: 12px;
    padding: 13px 18px;
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    background: linear-gradient(135deg, var(--wz-pf-blue), var(--wz-pf-blue-2));
    box-shadow: 0 10px 22px rgba(29, 78, 216, .3);
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
}

#editPostModal .post-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(29, 78, 216, .4); }

/* ============================================================
   LinkedIn-style profile card (cover banner) — overrides the
   centered card rules above (later in file = wins).
   ============================================================ */
.sidebar-x .sidebar-inner {
    padding: 0 0 22px !important;
    overflow: hidden;
    text-align: center;
}

.wz-pc-cover {
    height: 94px;
    background: linear-gradient(120deg, #0b2350 0%, #1d4ed8 55%, #3b82f6 100%);
    position: relative;
}
.wz-pc-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 82% -20%, rgba(255, 255, 255, .28), transparent 60%);
}

.sidebar-x .profile-pic-wrapper {
    position: relative;
    display: inline-block;
    margin: -56px 0 0 !important;
    z-index: 2;
}
.sidebar-x .profile-pic {
    width: 106px !important;
    height: 106px !important;
    border-radius: 50% !important;
    object-fit: cover;
    border: 4px solid #fff !important;
    box-shadow: 0 12px 26px rgba(15, 27, 52, .24) !important;
    background: #fff;
}
.sidebar-x .edit-icon {
    bottom: 6px;
    right: 6px;
}

.wz-pc-info { padding: 12px 22px 0; }

.sidebar-x .profile-name { font-size: 1.32rem; margin-top: 4px; }
.sidebar-x .profile-meta { margin-top: 8px; }
.sidebar-x .profile-bio { margin-top: 10px; }

/* stat boxes */
.wz-pc-stats { display: flex; gap: 10px; margin: 18px 0 2px; }
.wz-pc-stat {
    flex: 1;
    background: #f7f9fd;
    border: 1px solid #eef2f9;
    border-radius: 13px;
    padding: 12px 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.wz-pc-stat__num { font-size: 1.3rem; font-weight: 800; color: var(--wz-pf-ink); line-height: 1; }
.wz-pc-stat__lbl {
    font-size: .7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .04em; color: #8493ab;
}

/* contact rows */
.wz-pc-contact {
    margin-top: 16px; padding-top: 16px;
    border-top: 1px solid #eef2f9; text-align: left;
}
.wz-pc-row {
    display: flex; align-items: center; gap: 10px;
    color: var(--wz-pf-muted); font-size: .9rem; padding: 5px 0;
}
.wz-pc-row i {
    width: 30px; height: 30px; border-radius: 9px;
    background: #eef3fb; color: var(--wz-pf-blue);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .85rem; flex: 0 0 30px;
}
.wz-pc-row span { word-break: break-word; }

/* socials sit inside the card body now */
.wz-pc-info .social-icons-row {
    padding-top: 16px; margin-top: 16px !important;
    border-top: 1px solid #eef2f9;
}

/* ---------- Action buttons: add a section heading ---------- */
.wz-actions-title {
    font-size: .74rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: .06em; color: #8493ab; margin: 0 4px 12px; text-align: left;
}

/* ============================================================
   Wider layout + card sections (use the available space)
   ============================================================ */
.main-layout { max-width: 1500px !important; }
.main-layout > .row { margin-left: -10px !important; margin-right: -10px !important; }

/* left card was capped at 260px — let the grid column drive the width */
.sidebar-x {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 8px !important;
}

/* Card sections fill the card with clear, professional blocks */
.wz-pc-section {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #eef2f9;
    text-align: left;
}
.wz-pc-sec-title {
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #8493ab;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.wz-pc-sec-title i { color: var(--wz-pf-blue); font-size: .85rem; }
.wz-pc-section .profile-bio { margin: 0; }
.wz-pc-section .wz-pc-contact { margin: 0 !important; padding: 0 !important; border: 0 !important; }
.wz-pc-section .social-icons-row {
    justify-content: flex-start !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: 0 !important;
}
.wz-pc-stats { margin: 18px 0 0 !important; }

/* Composer (modal) name next to the avatar */
.composer-name { font-weight: 800; color: var(--wz-pf-ink); font-size: 1rem; margin-bottom: 4px; }

/* ============================================================
   Feed toolbar (search + filter chips) + Recent Activity
   ============================================================ */
.wz-feed-toolbar {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid var(--wz-pf-line);
    border-radius: 14px;
    padding: 10px 12px;
    margin-bottom: 16px;
    box-shadow: var(--wz-pf-card-shadow);
}
.wz-feed-search {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f4f7fc;
    border: 1px solid #eef2f9;
    border-radius: 10px;
    padding: 8px 12px;
}
.wz-feed-search i { color: #8493ab; }
.wz-feed-search input {
    flex: 1; border: 0; background: transparent; outline: none;
    font-size: .95rem; color: var(--wz-pf-ink);
}
.wz-feed-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.wz-chip {
    border: 1px solid #dbe6fb;
    background: #fff;
    color: var(--wz-pf-blue);
    border-radius: 999px;
    padding: 7px 14px;
    font-weight: 700;
    font-size: .85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background-color .15s, color .15s, border-color .15s;
}
.wz-chip i { font-size: .8rem; }
.wz-chip:hover { background: #eaf1ff; }
.wz-chip.active { background: var(--wz-pf-blue); border-color: var(--wz-pf-blue); color: #fff; }

.wz-feed-empty {
    text-align: center;
    padding: 40px 20px;
    color: #8493ab;
    background: #fff;
    border: 1px dashed #d7e2f6;
    border-radius: 16px;
    margin-bottom: 16px;
}
.wz-feed-empty i { font-size: 2rem; margin-bottom: 8px; display: block; color: #c2cee4; }
.wz-feed-empty p { margin: 0; font-weight: 600; }

.wz-recent .wz-actions-title { display: flex; align-items: center; gap: 8px; }
.wz-recent .wz-actions-title i { color: var(--wz-pf-blue); }
.wz-recent-list { list-style: none; margin: 0; padding: 0; }
.wz-recent-item { border-top: 1px solid #f1f4fa; }
.wz-recent-item:first-child { border-top: 0; }
.wz-recent-hidden { display: none; }
.wz-recent-link {
    display: flex; gap: 10px; align-items: flex-start;
    padding: 10px 6px; text-decoration: none; color: inherit;
    border-radius: 9px; transition: background-color .12s;
}
.wz-recent-link:hover { background: #f4f7fc; }
.wz-recent-link:hover .wz-recent-t { color: var(--wz-pf-blue); }
.wz-recent-more-btn {
    width: 100%; margin-top: 10px;
    border: 1px solid #dbe6fb; background: #fff; color: var(--wz-pf-blue);
    border-radius: 10px; padding: 9px; font-weight: 700; font-size: .85rem;
    cursor: pointer; transition: background-color .15s, border-color .15s;
}
.wz-recent-more-btn:hover { background: #eaf1ff; border-color: var(--wz-pf-blue); }
.wz-recent-ic {
    width: 32px; height: 32px; border-radius: 9px; flex: 0 0 32px;
    background: #eef3fb; color: var(--wz-pf-blue);
    display: inline-flex; align-items: center; justify-content: center; font-size: .8rem;
}
.wz-recent-tx { display: flex; flex-direction: column; min-width: 0; }
.wz-recent-t { font-size: .85rem; font-weight: 600; color: var(--wz-pf-ink); line-height: 1.35; }
.wz-recent-d { font-size: .72rem; color: #8493ab; margin-top: 2px; }

@media (max-width: 575px) {
    .wz-feed-toolbar { flex-direction: column; align-items: stretch; }
    .wz-feed-filters { justify-content: center; }
}

/* ============================================================
   Sticky sides + search; only the post feed scrolls
   ============================================================ */
.sidebar-x .sidebar-inner { position: sticky; top: 80px; }
.wz-right-sticky { position: sticky; top: 80px; }
.wz-feed-sticky {
    position: sticky;
    top: 80px;
    z-index: 30;
    background: var(--wz-pf-bg);
    padding-top: 6px;
}
.wz-feed-sticky .profile-tabs-row { margin-bottom: 14px; }
.wz-feed-sticky .wz-feed-toolbar { margin-bottom: 8px; }

/* ============================================================
   Smart pagination
   ============================================================ */
#paginationContainer {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 22px;
}
.pagination-btn {
    min-width: 40px !important;
    height: 40px !important;
    padding: 0 12px !important;
    border-radius: 11px !important;
    border: 1px solid var(--wz-pf-line) !important;
    background: #fff !important;
    color: var(--wz-pf-ink) !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color .15s, color .15s, box-shadow .15s, border-color .15s !important;
}
.pagination-btn:hover:not(:disabled):not(.active) { background: #eaf1ff !important; border-color: #cdddfb !important; }
.pagination-btn.active {
    background: var(--wz-pf-blue) !important;
    border-color: var(--wz-pf-blue) !important;
    color: #fff !important;
    box-shadow: 0 8px 16px rgba(29, 78, 216, .28) !important;
}
.pagination-btn:disabled, .pagination-btn[disabled] { opacity: .4 !important; cursor: not-allowed; }
.pagination-btn.pg-arrow { font-size: 1.15rem; }
.pagination-ellipsis { min-width: 26px; text-align: center; color: #8493ab; font-weight: 800; }

/* ============================================================
   Recent activity image thumbnail
   ============================================================ */
.wz-recent-ic--img { padding: 0; overflow: hidden; background: #f4f7fc; }
.wz-recent-ic--img img { width: 100%; height: 100%; object-fit: cover; border-radius: 9px; display: block; }

/* ============================================================
   Post card (feed) — cleaner, image constrained
   ============================================================ */
.post-block { position: relative; }
.post-block .post-media { max-width: 320px !important; flex: 0 0 auto !important; }
.post-block .post-media img,
.post-block img.enlarge-image,
.post-block .post-image,
.post-block .youtube-thumb-img {
    max-height: 280px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    border-radius: 13px !important;
    box-shadow: 0 8px 20px rgba(15, 27, 52, .1);
}
.post-block .post-preview, .post-block .post-full { font-size: 1.02rem; line-height: 1.7; color: #1f2a44 !important; }
/* the 3-dot menu trigger */
.post-block .menu-icon, .post-block .three-dots, .post-block [class*="dropdown-toggle"] { color: #94a3b8 !important; }

/* ============================================================
   Edit / Create Post modal — clean composer + close icon
   ============================================================ */
#editPostModal .modal-dialog { max-width: 540px; }
#editPostModal .modal-header { position: relative; }
#editPostModal .modal-header .close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #eef1f7 !important;
    border: 0 !important;
    color: #475067 !important;
    font-size: 1.35rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: background-color .15s, color .15s;
}
#editPostModal .modal-header .close:hover { background: #e0e5ee !important; color: #0f1b34 !important; }
#editPostModal .modal-header .close span { line-height: 1; }

/* ============================================================
   FIX: reliable sticky sidebars.
   Columns stay content-height (flex-start) and the COLUMN itself is
   sticky — this is the robust pattern (sticking the inner card fails
   when a sidebar is the tallest element in the row).
   ============================================================ */
@media (min-width: 992px) {
    .main-layout > .row { align-items: flex-start !important; }
    .sidebar-x,
    .main-layout .wz-right-col {
        position: sticky !important;
        top: 80px !important;
        align-self: flex-start !important;
    }
    .sidebar-x .sidebar-inner,
    .wz-right-sticky { position: static !important; }
}

/* Give the feed column a modest minimum so short content still leaves a
   little sticky room — but not a full viewport (that pushed the footer far
   below the fold). The global footer now sits right after the content. */
@media (min-width: 992px) {
    .main-layout > .row > main {
        min-height: 420px;
    }
}

/* ==========================================================================
   Profile "Manage Profile" modals — unified professional theme
   (CSS-only restyle of every Bootstrap modal on the profile page; markup,
   form fields, ids and JS are untouched). Overrides legacy inline styles.
   ========================================================================== */
.modal-content {
    border: none !important;
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 40px 90px rgba(11, 31, 68, .35) !important;
}

.modal-header {
    background: linear-gradient(120deg, #0b2350, #1d4ed8) !important;
    color: #fff !important;
    border: none !important;
    padding: 18px 26px !important;
    align-items: center;
}

.modal-header .modal-title,
.modal-header .modal-titles,
.modal-header h3,
.modal-header h5 {
    margin: 0;
    color: #fff !important;
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    font-weight: 800 !important;
    font-size: 1.2rem !important;
    letter-spacing: -.01em;
}

/* close button (Bootstrap 4 .close and Bootstrap 5 .btn-close) */
.modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: .85;
    transition: opacity .15s, transform .15s;
}

.modal-header .btn-close:hover { opacity: 1; transform: rotate(90deg); }

.modal-header .close {
    margin: 0;
    color: #fff !important;
    opacity: .9;
    text-shadow: none;
    font-size: 1.7rem;
    line-height: 1;
    transition: opacity .15s, transform .15s;
}

.modal-header .close:hover { opacity: 1; transform: rotate(90deg); }

.modal-body {
    padding: 26px !important;
    background: #fff;
}

.modal-footer {
    border: none !important;
    padding: 14px 26px 22px !important;
    background: #fff;
    gap: 10px;
}

/* form fields */
.modal .form-control,
.modal input[type="text"],
.modal input[type="url"],
.modal input[type="email"],
.modal input[type="password"],
.modal input[type="number"],
.modal input[type="file"],
.modal textarea,
.modal select {
    width: 100%;
    border: 1.5px solid #e0e8f5 !important;
    border-radius: 11px !important;
    padding: .7rem .9rem !important;
    font-size: .95rem;
    color: #0f1b34;
    background: #fff;
    box-shadow: none !important;
    transition: border-color .18s, box-shadow .18s;
}

.modal .form-control:focus,
.modal input:focus,
.modal textarea:focus,
.modal select:focus {
    border-color: #1d4ed8 !important;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, .12) !important;
    outline: none;
}

.modal textarea { min-height: 110px; resize: vertical; }

.modal label,
.modal .control-label,
.modal .form-label {
    display: inline-block;
    margin-bottom: 7px;
    font-weight: 700;
    font-size: .9rem;
    color: #41506b;
}

/* buttons */
.modal .btn {
    border-radius: 11px !important;
    font-weight: 700 !important;
    padding: .6rem 1.4rem !important;
    transition: filter .15s, transform .15s, background .15s;
}

.modal .btn-primary {
    background: linear-gradient(120deg, #1d4ed8, #3b82f6) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(29, 78, 216, .28);
}

.modal .btn-primary:hover { filter: brightness(1.07); transform: translateY(-1px); }

.modal .btn-success {
    background: linear-gradient(120deg, #0f9d63, #16b877) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(15, 157, 99, .26);
}

.modal .btn-success:hover { filter: brightness(1.06); transform: translateY(-1px); }

.modal .btn-secondary,
.modal .btn-light,
.modal .btn-outline-secondary {
    background: #eef2f8 !important;
    border: 1px solid #e0e8f5 !important;
    color: #41506b !important;
}

.modal .btn-secondary:hover,
.modal .btn-light:hover { background: #e3e9f3 !important; }

.modal .btn-danger {
    background: linear-gradient(120deg, #e2433b, #f05a52) !important;
    border: none !important;
    color: #fff !important;
}

/* entrance animation */
.modal.show .modal-dialog {
    animation: wzModalPop .28s cubic-bezier(.4, 0, .2, 1);
}

@keyframes wzModalPop {
    from { transform: translateY(22px) scale(.97); opacity: 0; }
    to { transform: none; opacity: 1; }
}

.modal-backdrop.show { opacity: .55; }

/* custom (non-bootstrap) preview modals on the page */
.modal-contents,
.website-modal > div {
    border-radius: 18px !important;
    box-shadow: 0 30px 70px rgba(11, 31, 68, .3) !important;
}

/* ==========================================================================
   Create Post modal (#websiteDetailModal) — fresh composer design
   ========================================================================== */
#websiteDetailModal .modal-content {
    border: 0 !important;
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 40px 90px rgba(11, 31, 68, .35) !important;
}

#websiteDetailModal .modal-header {
    background: linear-gradient(120deg, #0b2350, #1d4ed8) !important;
    border: 0 !important;
    padding: 18px 24px !important;
    align-items: center;
}

#websiteDetailModal .modal-titles {
    color: #fff !important;
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    font-weight: 800 !important;
    font-size: 1.25rem !important;
}

#websiteDetailModal .btn-close {
    filter: brightness(0) invert(1);
    opacity: .85;
    transition: opacity .15s, transform .15s;
}

#websiteDetailModal .btn-close:hover { opacity: 1; transform: rotate(90deg); }

/* author row */
#websiteDetailModal .website-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px 4px !important;
}

#websiteDetailModal .website-user-avatar img {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #eaf1ff;
}

#websiteDetailModal .website-user-name {
    font-weight: 800;
    color: #0f1b34;
    font-size: 1rem;
}

#websiteDetailModal .website-privacy-selector {
    margin-top: 5px;
    border: 1px solid #d8e4ff !important;
    border-radius: 999px !important;
    padding: 4px 12px !important;
    font-size: .8rem;
    font-weight: 700;
    color: #1d4ed8;
    background: #eef4ff !important;
    cursor: pointer;
}

#websiteDetailModal .modal-body { padding: 8px 24px 24px !important; }

/* big clean textarea */
#websiteDetailModal .website-detail-textarea {
    width: 100%;
    min-height: 120px;
    border: 1.5px solid #e8eef7 !important;
    border-radius: 14px !important;
    padding: 16px !important;
    font-size: 1.08rem;
    line-height: 1.55;
    background: #f7f9fd;
    resize: vertical;
    transition: border-color .18s, box-shadow .18s, background .18s;
}

#websiteDetailModal .website-detail-textarea:focus {
    outline: none;
    background: #fff;
    border-color: #1d4ed8 !important;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, .12);
}

/* NEW attach row — labeled pill buttons instead of a bare icon bar */
#websiteDetailModal .website-post-options {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    border: 0 !important;
    background: transparent !important;
    padding: 16px 0 0 !important;
    margin: 0 !important;
}

#websiteDetailModal .website-add-to-post-text {
    width: 100%;
    margin-bottom: 4px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #8392ab;
}

#websiteDetailModal .website-option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#websiteDetailModal .website-option-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    width: auto !important;
    height: auto !important;
    padding: 9px 16px !important;
    margin: 0 !important;
    font-size: .9rem;
    font-weight: 700;
    color: #41506b;
    background: #fff !important;
    border: 1.5px solid #e6ecf5 !important;
    border-radius: 12px !important;
    cursor: pointer;
    transition: border-color .15s, background .15s, transform .15s;
}

#websiteDetailModal .website-option-btn:hover {
    border-color: #cdddfb !important;
    background: #f3f7ff !important;
    transform: translateY(-1px);
}

#websiteDetailModal #websitePhotoBtn::after { content: 'Photo'; }
#websiteDetailModal #websiteYoutubeBtn::after { content: 'Video'; }
#websiteDetailModal #websiteFeelingBtn::after { content: 'Feeling'; }

/* upload + previews */
#websiteDetailModal .website-file-upload-area {
    border: 2px dashed #cdd9ef !important;
    border-radius: 12px;
    padding: 22px;
    text-align: center;
    color: #64748b;
    background: #f9fbff;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}

#websiteDetailModal .website-file-upload-area:hover { border-color: #1d4ed8 !important; background: #f1f6ff; }

#websiteDetailModal #websiteImagePreview,
#websiteDetailModal .website-main-text-area img {
    max-width: 100% !important;
    max-height: 300px !important;
    width: auto !important;
    border-radius: 12px !important;
    object-fit: contain;
    margin-top: 12px;
    border: 1px solid #e7edf6;
}

#websiteDetailModal #websiteRemoveImage,
#websiteDetailModal #websiteRemoveVideo {
    width: 28px !important;
    height: 28px !important;
    line-height: 26px !important;
    background: rgba(15, 27, 52, .78) !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
}

/* publish CTA */
#websiteDetailModal .website-form-actions { margin-top: 20px; }

#websiteDetailModal .website-post-btn {
    width: 100%;
    border: 0 !important;
    border-radius: 13px !important;
    padding: 14px !important;
    font-size: 1.02rem !important;
    font-weight: 800 !important;
    color: #fff !important;
    background: linear-gradient(120deg, #1d4ed8, #3b82f6) !important;
    box-shadow: 0 12px 26px rgba(29, 78, 216, .3);
    cursor: pointer;
    transition: transform .15s, box-shadow .15s, opacity .15s;
}

#websiteDetailModal .website-post-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(29, 78, 216, .4);
}

#websiteDetailModal .website-post-btn:disabled {
    background: #aab9e0 !important;
    box-shadow: none;
    cursor: not-allowed;
}

/* ==========================================================================
   Edit Post modal (#editPostModal) — same fresh composer as Create Post
   (labeled pill attach buttons, soft textarea). Later in file = wins.
   ========================================================================== */
#editPostModal .post-options {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    border: 0 !important;
    background: transparent !important;
    padding: 16px 0 0 !important;
    margin: 0 !important;
}

#editPostModal .add-to-post-text {
    width: 100%;
    margin-bottom: 4px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #8392ab;
}

#editPostModal .option-buttons { display: flex; flex-wrap: wrap; gap: 10px; }

#editPostModal .option-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    width: auto !important;
    height: auto !important;
    padding: 9px 16px !important;
    margin: 0 !important;
    font-size: .9rem;
    font-weight: 700;
    color: #41506b;
    background: #fff !important;
    border: 1.5px solid #e6ecf5 !important;
    border-radius: 12px !important;
    cursor: pointer;
    transition: border-color .15s, background .15s, transform .15s;
}

#editPostModal .option-btn:hover {
    border-color: #cdddfb !important;
    background: #f3f7ff !important;
    transform: translateY(-1px);
}

#editPostModal #photoBtn::after { content: 'Photo'; }
#editPostModal #youtubeBtn::after { content: 'Video'; }
#editPostModal #feelingBtn::after { content: 'Feeling'; }
#editPostModal #tagUrlBtn::after { content: 'Link'; }

#editPostModal .post-textarea {
    min-height: 120px;
    background: #f7f9fd !important;
    border: 1.5px solid #e8eef7 !important;
    border-radius: 14px !important;
    padding: 16px !important;
    font-size: 1.08rem;
}

#editPostModal .post-textarea:focus {
    background: #fff !important;
    border-color: #1d4ed8 !important;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, .12);
}

#editPostModal .composer-name,
#editPostModal .user-name {
    font-weight: 800;
    color: #0f1b34;
    font-size: 1rem;
}

#editPostModal .privacy-selector {
    margin-top: 5px;
    border: 1px solid #d8e4ff !important;
    border-radius: 999px !important;
    padding: 4px 12px !important;
    font-size: .8rem;
    font-weight: 700;
    color: #1d4ed8;
    background: #eef4ff !important;
}

/* ==========================================================================
   Change Profile modal (#change_pic_formModal) — new layout
   ========================================================================== */
#change_pic_formModal .cp-body { padding: 24px 26px 26px !important; }

.cp-section { margin-bottom: 22px; }
.cp-section:last-of-type { margin-bottom: 0; }

.cp-section__label {
    display: block;
    margin-bottom: 12px;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #8392ab;
}

/* avatar upload zone */
.cp-upload { position: relative; width: 100%; }

.cp-upload__zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 30px 18px;
    border: 2px dashed #cdd9ef;
    border-radius: 14px;
    background: #f7faff;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}

.cp-upload__zone:hover { border-color: #1d4ed8; background: #eef4ff; }

.cp-upload__ic {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    flex: 0 0 auto;
}

/* current profile photo preview inside the upload zone */
.cp-upload__avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #dbe7ff, 0 8px 20px rgba(29, 78, 216, .18);
    background: #f4f7fc;
    flex: 0 0 auto;
}

.cp-upload__btn i { font-size: .85rem; margin-right: 2px; }

.cp-upload__txt { display: flex; flex-direction: column; align-items: center; flex: 0 0 auto; max-width: 100%; }
.cp-upload__txt strong { font-weight: 800; color: #0f1b34; font-size: 1rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-upload__txt small { color: #6b7894; font-size: .82rem; }

.cp-upload__btn {
    padding: 8px 16px;
    font-weight: 700;
    font-size: .88rem;
    color: #1d4ed8;
    background: #fff;
    border: 1.5px solid #d8e4ff;
    border-radius: 10px;
    flex: 0 0 auto;
}

.cp-file { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* confirmation shown after a new photo is chosen */
.cp-selected {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 12px;
    padding: 11px 14px;
    background: #e3f7ee;
    border: 1px solid #b6e6cf;
    border-radius: 11px;
    color: #0c8553;
    font-size: .88rem;
    font-weight: 600;
}

.cp-selected i { color: #0f9d63; font-size: 1rem; flex: 0 0 auto; }
.cp-selected b { color: #0b6e44; }

/* validation error shown when the chosen photo is too big / wrong type */
.cp-error {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 12px;
    padding: 11px 14px;
    background: #fdecec;
    border: 1px solid #f3c2c8;
    border-radius: 11px;
    color: #b42318;
    font-size: .88rem;
    font-weight: 600;
}

.cp-error i { color: #e2433b; font-size: 1rem; flex: 0 0 auto; }

/* location + contact grid */
.cp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.cp-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }

.cp-field > label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    font-weight: 700;
    font-size: .85rem;
    color: #41506b;
}

.cp-field > label i { color: #9fb0cc; font-size: .85rem; }

.cp-field .form-control {
    width: 100%;
    height: 46px;
    border: 1.5px solid #e0e8f5 !important;
    border-radius: 11px !important;
    padding: .6rem .85rem !important;
    font-size: .95rem;
    color: #0f1b34;
    background: #fff;
}

.cp-field .form-control:focus {
    border-color: #1d4ed8 !important;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, .12) !important;
    outline: none;
}

/* submit */
.cp-actions { margin-top: 22px; }

.cp-submit {
    width: 100%;
    border: 0 !important;
    border-radius: 13px !important;
    padding: 14px !important;
    font-size: 1.02rem !important;
    font-weight: 800 !important;
    color: #fff !important;
    background: linear-gradient(120deg, #1d4ed8, #3b82f6) !important;
    box-shadow: 0 12px 26px rgba(29, 78, 216, .3);
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
}

.cp-submit:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(29, 78, 216, .4); }

@media (max-width: 560px) { .cp-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Profile photo cropper overlay
   ============================================================ */
.cp-crop {
    position: fixed;
    inset: 0;
    z-index: 200000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(15, 23, 42, .72);
    backdrop-filter: blur(3px);
}

.cp-crop__box {
    width: 100%;
    max-width: 460px;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(2, 6, 23, .45);
    display: flex;
    flex-direction: column;
    max-height: 92vh;
}

.cp-crop__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #fff;
}

.cp-crop__head h5 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cp-crop__x {
    background: rgba(255, 255, 255, .15);
    border: 0;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    transition: background .15s ease;
}
.cp-crop__x:hover { background: rgba(255, 255, 255, .3); }

.cp-crop__stage {
    background: #0f172a;
    padding: 12px;
    flex: 1 1 auto;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cropper needs a bounded, block-level image */
.cp-crop__stage img {
    display: block;
    max-width: 100%;
    max-height: 56vh;
}

.cp-crop__tools {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
}

.cp-crop__tool {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #1d4ed8;
    font-size: 1rem;
    cursor: pointer;
    transition: all .15s ease;
}
.cp-crop__tool:hover {
    background: #1d4ed8;
    color: #fff;
    border-color: #1d4ed8;
    transform: translateY(-1px);
}

.cp-crop__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 18px;
    border-top: 1px solid #e2e8f0;
}

.cp-crop__hint {
    font-size: .78rem;
    color: #64748b;
}

.cp-crop__actions {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.cp-crop__btn {
    border: 0;
    border-radius: 10px;
    padding: 10px 18px;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s ease;
}

.cp-crop__btn--ghost {
    background: #f1f5f9;
    color: #475569;
}
.cp-crop__btn--ghost:hover { background: #e2e8f0; }

.cp-crop__btn--primary {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #fff;
    box-shadow: 0 8px 18px rgba(29, 78, 216, .35);
}
.cp-crop__btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(29, 78, 216, .45);
}

@media (max-width: 480px) {
    .cp-crop__hint { display: none; }
    .cp-crop__actions { width: 100%; }
    .cp-crop__btn { flex: 1; }
}
