/* Workspace navigation: left menu, avatar at the bottom, Profile and Community tabs. */
.cine-ws-tools .sub-menu { padding-left: 8px; }
.cine-ws-tools .sub-menu img { width: 22px; height: 22px; }
/* One block: person → Profile, points, plan. Uses the theme's .subscription-box look. */
.cine-ws-card { margin: 14px 0 10px; }
.cine-ws-card .points-part { margin-top: 12px; }
.cine-ws-card .btn-part { margin-top: 12px; }
.cine-ws-me { display: flex; align-items: center; gap: 10px; margin: 0; padding: 6px 8px; border-radius: 10px; color: inherit; text-decoration: none; transition: background .15s; }
.cine-ws-me:hover, .cine-ws-me.is-active { background: rgba(var(--cine-accent-rgb), .16); color: inherit; }
.cine-ws-me img, .cine-ws-me__letter { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.cine-ws-me__letter { display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 15px; }
.cine-ws-me__name { display: flex; flex-direction: column; min-width: 0; font-size: 14px; font-weight: 600; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cine-ws-me__name small { font-size: 12px; font-weight: 400; opacity: .6; }
.cine-ws-badge { margin-left: auto; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #e5484d; color: #fff; font-size: 11px; line-height: 18px; text-align: center; font-weight: 600; }
.cine-ws-tabs .cine-ws-badge { margin-left: 4px; }
.cine-ws-tabs { display: flex; gap: 6px; margin: 0 0 20px; padding: 4px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); overflow-x: auto; scrollbar-width: none; }
.cine-ws-tabs::-webkit-scrollbar { display: none; }
.cine-ws-tabs a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 9px; color: rgba(255,255,255,.7); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.cine-ws-tabs a:hover { color: #fff; background: rgba(255,255,255,.06); }
.cine-ws-tabs a.is-active { color: #fff; background: var(--cine-accent); }
@media (max-width: 575px) { .cine-ws-tabs a { padding: 7px 11px; font-size: 13px; } }

/* Plugin pages (Library, Community, Marketplace, Projects...): the theme keeps the content 805px
   wide for chats; galleries and catalogs use the whole space between the side panels.
   The width is explicit: the theme's wrapper shrinks "width: auto" to the content. */
@media (min-width: 1200px) {
	body.cine-wide .rbt-main-content { --cine-l: calc(var(--sidebar-width) + 24px); --cine-r: calc(var(--sidebar-width) + 24px); width: calc(100% - var(--cine-l) - var(--cine-r)); max-width: none; margin-left: var(--cine-l); margin-right: var(--cine-r); }
	body.cine-wide .rbt-main-content.area-left-expanded { --cine-l: 24px; }
	body.cine-wide .rbt-main-content.area-right-expanded { --cine-r: 24px; }
}
@media (min-width: 768px) and (max-width: 1199px) {
	body.cine-wide .rbt-main-content { width: calc(100% - 48px); }
}
body.cine-wide .cine-com, body.cine-wide .cine-lib { padding-left: 0; padding-right: 0; padding-top: 0; max-width: none; }

/* Settings tabs and Referrals page */
.cine-set-tabs a i { margin-right: 2px; }
.cine-ref { max-width: 760px; color: #fff; }
.cine-ref h2 { margin: 0 0 6px; font-size: 24px; }
.cine-ref__lead { color: rgba(255, 244, 225, .65); margin: 0 0 18px; }
.cine-ref__link { display: flex; gap: 10px; margin-bottom: 18px; }
.cine-ref__link input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(232, 168, 76, .35); background: rgba(0, 0, 0, .3); color: #fff; }
.cine-ref__link .cine-com-btn { height: 46px; white-space: nowrap; }
.cine-ref__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 12px; margin-bottom: 18px; }
.cine-ref__stats div { padding: 14px 16px; border-radius: 14px; background: rgba(255, 244, 225, .04); border: 1px solid rgba(232, 168, 76, .16); }
.cine-ref__stats small { display: block; color: rgba(255, 244, 225, .55); font-size: 12px; }
.cine-ref__stats strong { font-size: 24px; }
.cine-ref__list { margin: 0; padding: 0; list-style: none; }
.cine-ref__list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.cine-ref__list small { color: rgba(255, 244, 225, .55); }

/* WooCommerce settings pages: same tabs and heading as Profile details / Payments */
.cine-set-tabs { margin-bottom: 18px; }
.cine-set-title { margin: 0 0 18px; font-size: 32px; font-weight: 700; color: #fff; }
.woocommerce-account .banner-area .settings-area { display: none; }
.cine-ref.cine-acc__card { max-width: none; padding: 24px; border-radius: 18px; background: rgba(255, 244, 225, .03); border: 1px solid rgba(232, 168, 76, .14); }
