/**
 * Simuze Community Styles
 */

.simuze-profile,
.simuze-group {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-24);
}

.profile-header,
.group-header {
    display: flex;
    gap: var(--space-24);
    margin-bottom: var(--space-32);
    padding-bottom: var(--space-24);
    border-bottom: 1px solid rgba(184,186,193,0.2);
}

.profile-avatar img,
.group-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.group-header-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    margin-bottom: var(--space-24);
}

.profile-info h1,
.group-details h1 {
    margin: 0 0 var(--space-8) 0;
    font-size: 2rem;
}

.profile-tabs,
.group-tabs {
    display: flex;
    gap: var(--space-16);
    margin-bottom: var(--space-24);
    border-bottom: 1px solid rgba(184,186,193,0.2);
}

.profile-tabs a,
.group-tabs a {
    padding: var(--space-12) var(--space-16);
    text-decoration: none;
    color: var(--color-text-subtle);
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.profile-tabs a:hover,
.group-tabs a:hover,
.profile-tabs a.active,
.group-tabs a.active {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.profile-content,
.group-content {
    min-height: 400px;
}

/* -------------------------------- */
/* Profile Dashboard & Sections     */
/* -------------------------------- */

.profile-dashboard {
    padding: 20px 0;
}

.dashboard-welcome {
    margin-bottom: 30px;
}

.dashboard-welcome h2 {
    margin: 0 0 5px;
    font-size: 1.5rem;
}

.dashboard-welcome p {
    color: rgba(255,255,255,0.6);
    margin: 0;
}

.profile-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/* Dashboard Widgets Grid - Each widget separate */
.dashboard-widgets-grid {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.dashboard-widget {
    flex: 1;
    min-width: 150px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    position: relative;
    transition: all 0.2s;
}

.dashboard-widget:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.dashboard-widget.has-badge {
    border-color: #4CAF50;
}

.widget-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    flex-shrink: 0;
}

.widget-icon i {
    font-size: 24px;
    color: rgba(255,255,255,0.7);
}

.widget-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.widget-label {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 5px;
}

.widget-value {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    line-height: 1;
}

.widget-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    background: #4CAF50;
    color: #fff;
    font-size: 11px;
    border-radius: 12px;
    font-weight: 600;
}

.public-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.public-stats .stat-item {
    text-align: center;
}

.public-stats .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
}

.public-stats .stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.admin-metrics {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.metrics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.metrics-header h3 {
    margin: 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.6);
}

.metrics-header a {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
}

.metrics-header a:hover {
    color: #fff;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.metric-card {
    text-align: center;
    padding: 15px 10px;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
}

.metric-card.highlight {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.metric-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
}

.metric-label {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
}

.charts-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.chart-container {
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
    padding: 15px;
}

.chart-container h4 {
    margin: 0 0 10px;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    font-weight: normal;
}

.chart-wrapper {
    position: relative;
    height: 200px;
    width: 100%;
}

.chart-wrapper canvas {
    max-height: 200px;
}

.dashboard-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

.dashboard-section {
    margin-bottom: 25px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section-header h3 {
    margin: 0;
    font-size: 1rem;
}

.section-header a {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
}

.section-header a:hover {
    color: #fff;
}

.dashboard-sidebar .dashboard-section h3 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 15px;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.activity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
}

.activity-text {
    flex: 1;
    color: rgba(255,255,255,0.8);
}

.activity-time {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-left: 15px;
}

.groups-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.group-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    transition: background 0.2s;
}

.group-item:hover {
    background: rgba(255,255,255,0.05);
}

.group-item .group-avatar {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
}

.group-item .group-name {
    font-size: 14px;
}

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.action-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255,255,255,0.02);
    border-radius: 6px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.action-link:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}

.action-link i {
    width: 18px;
    color: rgba(255,255,255,0.5);
}

.account-info {
    margin-bottom: 15px;
}

.account-info .info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.account-info .info-row:last-child {
    border-bottom: none;
}

.account-info .label {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

.account-info .value {
    font-size: 13px;
}

.btn-block {
    width: 100%;
}

.badge {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 13px;
}

.badge-success {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.empty-text {
    color: rgba(255,255,255,0.4);
    font-size: 14px;
}

/* Mentions Dropdown */
.simuze-mentions-dropdown {
    position: absolute;
    z-index: 10000;
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    max-height: 300px;
    overflow-y: auto;
}

.mentions-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.mentions-item:hover,
.mentions-item.selected {
    background: rgba(255,255,255,0.1);
}

.mentions-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.mentions-info {
    display: flex;
    flex-direction: column;
}

.mentions-name {
    font-weight: 500;
    color: #fff;
}

.mentions-username {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.mention-link {
    color: #4CAF50;
    text-decoration: none;
}

.mention-link:hover {
    text-decoration: underline;
}

/* Form styles */
.simuze-form .form-group {
    margin-bottom: 20px;
}

.simuze-form label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

.simuze-form input[type="text"],
.simuze-form input[type="email"],
.simuze-form input[type="url"],
.simuze-form input[type="password"],
.simuze-form textarea,
.simuze-form select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.simuze-form input:focus,
.simuze-form textarea:focus,
.simuze-form select:focus {
    outline: none;
    border-color: rgba(255,255,255,0.3);
}

.simuze-form .form-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.button:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
    text-decoration: none;
}

.button.button-primary {
    background: #a8d5ba;
    border-color: #a8d5ba;
    color: #1a1a1a;
}

.button.button-primary:hover {
    background: #8fc5a8;
    border-color: #8fc5a8;
    text-decoration: none;
}

.button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* =============================================
   Profile Layout - Sidebar Navigation
   ============================================= */

.simuze-profile-layout {
    display: flex;
    width: 100%;
    min-height: calc(100vh - 80px);
    gap: 0;
}

.profile-sidebar {
    width: 240px;
    min-width: 240px;
    background: rgba(0, 0, 0, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
}

.sidebar-user-card {
    text-align: center;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
}

.sidebar-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #fff;
}

.sidebar-username {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.sidebar-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.sidebar-nav-item i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
    opacity: 0.7;
}

.sidebar-nav-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.sidebar-nav-item.active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.sidebar-nav-item.active i {
    opacity: 1;
    color: var(--color-accent, #4CAF50);
}

.sidebar-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: auto;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-main {
    flex: 1;
    padding: 30px 40px;
    min-width: 0;
    background: transparent;
}

/* =============================================
   Groups Page
   ============================================= */

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.page-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

/* Profile Groups Page */
.profile-groups-page {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.profile-groups-page .page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.profile-groups-page .page-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #fff;
}

.profile-groups-page .groups-content {
    width: 100%;
    max-width: 100%;
}

.groups-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.groups-tabs a {
    padding: 12px 20px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.groups-tabs a:hover {
    color: #fff;
}

.groups-tabs a.active {
    color: #fff;
    border-bottom-color: var(--color-accent, #4CAF50);
}

/* Dashboard widget groups-grid (different from profile-groups) */
.widget-groups-list .groups-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.widget-groups-list .group-item {
    padding: 8px 12px;
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
}

.widget-groups-list .group-item.has-new {
    background: rgba(168, 213, 186, 0.1);
}

.widget-groups-list .group-badge {
    background: rgba(168, 213, 186, 0.2);
    color: #a8d5ba;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Profile groups page uses unified .group-card styles above */

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255,255,255,0.6);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.4;
}

.empty-state h3 {
    margin: 0 0 10px 0;
    color: #fff;
}

.empty-state p {
    margin-bottom: 20px;
}

/* Invitations */
.invitations-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.invitation-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s;
}

.invitation-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.1);
}

.invitation-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

.invitation-group .group-avatar {
    width: 50px;
    height: 50px;
    border-radius: 10px;
}

.invite-message {
    font-style: italic;
    color: rgba(255,255,255,0.6);
    margin: 5px 0;
    font-size: 0.9rem;
}

.invite-date {
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
}

.invitation-actions {
    display: flex;
    gap: 10px;
}

.invitation-actions .button {
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.invitation-actions .button-primary {
    background: #a8d5ba;
    color: #1a1a1a;
    text-decoration: none;
}

.invitation-actions .button-primary:hover {
    background: #8fc5a8;
    text-decoration: none;
}

.invitation-actions .button:not(.button-primary) {
    background: rgba(255,255,255,0.1);
    color: #fff;
    text-decoration: none;
}

.invitation-actions .button:not(.button-primary):hover {
    text-decoration: none;
    background: rgba(255,255,255,0.2);
}

/* =============================================
   Playful Dashboard Widgets
   ============================================= */

.playful-dashboard {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.dashboard-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dashboard-header h1 {
    margin: 0 0 10px 0;
    font-size: 2rem;
    color: #fff;
    font-weight: 600;
}

.dashboard-subtitle {
    margin: 0;
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
}

/* Platform Metrics Section (Super Admin Only - at top) */
.platform-metrics-section {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
}

.platform-metrics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(255,255,255,0.1);
}

.platform-metrics-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.platform-metrics-link {
    color: #a8d5ba;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s;
}

.platform-metrics-link:hover {
    color: #8fc5a8;
    text-decoration: none;
}

/* Platform Metrics Grid (5 columns) */
.platform-metrics-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 30px;
}

.platform-metric-card {
    flex: 0 0 calc(20% - 13px);
    max-width: calc(20% - 13px);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 24px 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.2s;
    min-height: 100px;
}

.platform-metric-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-2px);
}

.platform-metric-card.highlight {
    background: rgba(168, 213, 186, 0.1);
    border-color: rgba(168, 213, 186, 0.3);
}

.platform-metric-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: rgba(168, 213, 186, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #a8d5ba;
    flex-shrink: 0;
    padding: 0;
}

.platform-metric-card.highlight .platform-metric-icon {
    background: rgba(168, 213, 186, 0.25);
}

.platform-metric-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.platform-metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 6px;
}

.platform-metric-card.highlight .platform-metric-value {
    color: #a8d5ba;
}

.platform-metric-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

/* Platform Charts Grid (3 columns) */
.platform-charts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.platform-chart-card {
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.platform-chart-header {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.platform-chart-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.platform-chart-container {
    position: relative;
    height: 250px;
    width: 100%;
}

/* Responsive for Platform Metrics */
@media (max-width: 1200px) {
    .platform-metric-card {
        flex: 0 0 calc(33.333% - 11px);
        max-width: calc(33.333% - 11px);
    }
    
    .platform-chart-card {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .platform-metric-card {
        flex: 0 0 calc(50% - 8px);
        max-width: calc(50% - 8px);
    }
    
    .platform-chart-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Global Button Styles - No Underlines */
button,
.button,
a.button,
input[type="button"],
input[type="submit"] {
    text-decoration: none !important;
}

button:hover,
.button:hover,
a.button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
    text-decoration: none !important;
}

button:focus,
.button:focus,
a.button:focus,
input[type="button"]:focus,
input[type="submit"]:focus {
    text-decoration: none !important;
}

/* Widget Grid - Flexbox Layout (max 4 per row) */
.widget-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
}

/* Widget Base Styles */
.widget {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 120px;
}

.widget:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-1px);
}

.widget[data-link],
.widget a {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.widget[data-link]:hover,
.widget a:hover {
    text-decoration: none;
}

/* Widget Column Sizes (flexbox-based) */
.widget-col-3 {
    flex: 0 0 calc(25% - 12px);
    max-width: calc(25% - 12px);
}

.widget-col-4 {
    flex: 0 0 calc(33.333% - 11px);
    max-width: calc(33.333% - 11px);
}

.widget-col-6 {
    flex: 0 0 calc(50% - 8px);
    max-width: calc(50% - 8px);
}

.widget-full {
    flex: 0 0 100%;
    max-width: 100%;
}

/* Widget Types */
.widget-stat {
    display: flex;
    flex-direction: column;
}

/* Widget Icon - Small, Top-Left, 20x20px max including padding */
.widget-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: rgba(168, 213, 186, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #a8d5ba;
    flex-shrink: 0;
    margin-bottom: 12px;
    padding: 0;
}

.widget-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.widget-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 6px;
}

.widget-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.widget-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #a8d5ba;
    color: #1a1a1a;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Groups List Widget */
.widget-groups-list .groups-list {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.group-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.group-item.has-new {
    background: rgba(168, 213, 186, 0.1);
    border: 1px solid rgba(168, 213, 186, 0.2);
}

.group-name {
    flex: 1;
}

.group-badge {
    background: #a8d5ba;
    color: #1a1a1a;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Music Groups List Widget */
.widget-music-links .music-groups-list {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.music-group-link {
    display: block;
    padding: 10px 12px;
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.music-group-link:hover {
    background: rgba(168, 213, 186, 0.1);
    border-color: rgba(168, 213, 186, 0.2);
    color: #a8d5ba;
    text-decoration: none;
    transform: translateX(4px);
}

/* Metrics Inline */
.widget-metrics .metrics-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 12px;
}

.metric-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metric-item .metric-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.metric-item .metric-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Widget Action - Same style as regular widgets */
.widget-action {
    display: flex;
    flex-direction: column;
}

.widget-action .widget-icon {
    background: rgba(168, 213, 186, 0.15);
    width: 20px;
    height: 20px;
    font-size: 12px;
    margin-bottom: 12px;
}

.widget-action .widget-content {
    flex: 1;
}

.widget-action .widget-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
}

/* Dashboard Chapters (not widgets - no borders, no hover effects on container) */
.dashboard-chapter {
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 40px;
    border: none !important;
    box-shadow: none !important;
    pointer-events: none;
    width: 100%;
    clear: both;
    display: block;
}

.dashboard-chapter:hover {
    background: transparent !important;
    border: none !important;
    transform: none !important;
    box-shadow: none !important;
}

.dashboard-chapter > * {
    pointer-events: auto;
}

.chapter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.chapter-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #fff;
}

.chapter-link {
    color: #a8d5ba;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.chapter-link:hover {
    color: #8fc5a8;
    text-decoration: none;
}

/* Widget Activity (legacy - keep for backwards compatibility) */
.widget-activity {
    background: transparent;
    padding: 0;
}

.widget-activity .widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.widget-activity .widget-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #fff;
}

.widget-link {
    color: #a8d5ba;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.widget-link:hover {
    color: #8fc5a8;
    text-decoration: none;
}

.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-content {
    flex: 1;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.activity-time {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    margin-left: 20px;
}

/* Widget Groups */
.widget-groups {
    background: transparent;
    padding: 0;
}

.widget-groups .widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.widget-groups .widget-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #fff;
}

/* Global Avatar Rules - User avatars always round, Group avatars always square with rounded corners */
.user-avatar,
.member-avatar.user-avatar,
img.user-avatar,
[class*="user-avatar"] {
    border-radius: 50% !important;
}

.group-avatar,
img.group-avatar,
[class*="group-avatar"]:not(.user-avatar) {
    border-radius: 8px !important;
}

/* Unified Group Cards - Used everywhere */
.groups-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.group-card {
    flex: 0 0 calc(33.333% - 11px);
    max-width: calc(33.333% - 11px);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    overflow: hidden;
    height: 70px;
}

.group-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-2px);
    text-decoration: none;
}

.group-card {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.group-card a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.group-card a:hover {
    text-decoration: none;
}

/* Group avatars - always square with rounded corners */
.group-card .group-avatar,
.group-avatar {
    width: 50px;
    height: 50px;
    border-radius: 8px !important;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
    background: rgba(255,255,255,0.1);
}

.group-card .group-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    text-align: right;
}

.group-card .group-info h3,
.group-card .group-info h4,
.group-card .group-info .group-name {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    max-width: 100%;
    text-align: right;
}

.group-card .group-members {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.3;
    text-align: right;
    white-space: nowrap;
}

.group-card .group-role.badge {
    display: inline-block;
    background: #5a6b6f;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
    white-space: nowrap;
    text-align: right;
}

/* Responsive for groups-grid */
@media (min-width: 1600px) {
    .groups-grid .group-card {
        flex: 0 0 calc(25% - 12px);
        max-width: calc(25% - 12px);
    }
}

@media (max-width: 1200px) {
    .groups-grid .group-card {
        flex: 0 0 calc(50% - 8px);
        max-width: calc(50% - 8px);
    }
}

@media (max-width: 768px) {
    .groups-grid .group-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Widget Members */
.widget-members {
    background: transparent;
    padding: 0;
}

.widget-members .widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.members-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.member-card {
    flex: 0 0 calc(25% - 12px);
    max-width: calc(25% - 12px);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    height: 70px;
}

/* Responsive for members-grid */
@media (max-width: 1200px) {
    .members-grid .member-card {
        flex: 0 0 calc(33.333% - 11px);
        max-width: calc(33.333% - 11px);
    }
}

@media (max-width: 768px) {
    .members-grid .member-card {
        flex: 0 0 calc(50% - 8px);
        max-width: calc(50% - 8px);
    }
}

.member-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-2px);
    text-decoration: none;
}

/* User avatars - always round */
.member-card .member-avatar,
.member-card .user-avatar,
.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
    background: rgba(255,255,255,0.1);
}

.member-card .member-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
}

.member-card .member-info h4,
.member-card .member-info .member-name {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    max-width: 100%;
}

.member-card .member-role.badge {
    display: inline-block;
    background: #5a6b6f;
    color: #fff;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
    white-space: nowrap;
    margin-top: 2px;
}

/* Widget Actions */
.widget-actions {
    background: transparent;
    padding: 0;
}

.widget-actions .widget-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.widget-actions .widget-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #fff;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.action-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    padding: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    text-decoration: none !important;
    color: inherit;
    transition: all 0.2s;
    min-height: 120px;
    position: relative;
}

.action-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-1px);
    text-decoration: none !important;
}

.action-card i {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    flex-shrink: 0;
    padding: 6px;
    box-sizing: border-box;
    text-decoration: none !important;
}

.action-card:hover i {
    text-decoration: none !important;
    color: rgba(255,255,255,0.8);
}

.action-card span {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    text-align: left;
    text-decoration: none !important;
}

.action-card:hover span {
    text-decoration: none !important;
}

/* Widget Platform (Admin) */
.widget-platform {
    background: transparent;
    padding: 0;
}

.widget-platform .widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.platform-stat {
    padding: 24px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    text-align: center;
    transition: all 0.2s;
}

.platform-stat:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}

.platform-stat.highlight {
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.platform-value {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.platform-stat.highlight .platform-value {
    color: #4CAF50;
}

.platform-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 1200px) {
    .widget-col-3 {
        flex: 0 0 calc(50% - 8px);
        max-width: calc(50% - 8px);
    }
    
    .widget-col-4 {
        flex: 0 0 calc(50% - 8px);
        max-width: calc(50% - 8px);
    }
    
    .widget-col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .widget-col-3,
    .widget-col-4,
    .widget-col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .groups-grid,
    .members-grid,
    .actions-grid,
    .platform-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

/* =============================================
   Modal & Wizard
   ============================================= */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-container {
    background: #1a1a1a;
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(255,255,255,0.1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.modal-header h2 {
    margin: 0;
    font-size: 1.3rem;
}

.modal-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.modal-close:hover {
    color: #fff;
}

.wizard-steps {
    display: flex;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.wizard-step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.4);
}

.wizard-step.active {
    color: #fff;
}

.wizard-step.completed {
    color: #4CAF50;
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.wizard-step.active .step-number {
    background: var(--color-accent, #4CAF50);
    color: #fff;
}

.wizard-step.completed .step-number {
    background: #4CAF50;
}

.step-label {
    font-size: 0.85rem;
}

.wizard-form {
    padding: 25px;
}

.wizard-panel {
    display: none;
}

.wizard-panel.active {
    display: block;
}

.wizard-navigation {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 25px;
}

/* Location Search */
.location-search-container,
.member-search-container {
    position: relative;
}

.location-dropdown,
.member-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #252525;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.location-dropdown.show,
.member-dropdown.show {
    display: block;
}

.location-item,
.member-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.2s;
}

.location-item:hover,
.member-item:hover {
    background: rgba(255,255,255,0.1);
}

.location-item:last-child,
.member-item:last-child {
    border-bottom: none;
}

.location-item .city-name {
    font-weight: 500;
    color: #fff;
}

.location-item .region-info {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-top: 2px;
}

.selected-location {
    margin-top: 15px;
}

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 8px;
    color: #4CAF50;
}

.clear-location {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    padding: 0;
    margin-left: 5px;
    font-size: 1.2rem;
    line-height: 1;
}

.clear-location:hover {
    color: #ff6b6b;
}

/* Image Upload */
.image-upload-area {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.upload-preview {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.05);
    border: 2px dashed rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.upload-preview i {
    font-size: 2.5rem;
    color: rgba(255,255,255,0.3);
}

.upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-preview.wide {
    width: 200px;
    height: 80px;
}

.header-upload .upload-preview.wide {
    width: 100%;
    max-width: 300px;
}

/* Member chips */
.member-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.member-item img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.member-item .member-name {
    color: #fff;
}

.member-item .member-username {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

.invited-members {
    margin-top: 25px;
}

.invited-members h4 {
    margin: 0 0 15px 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.members-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.member-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.08);
    border-radius: 20px;
}

.member-chip img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.member-chip .role-badge {
    font-size: 0.75rem;
    padding: 2px 6px;
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border-radius: 8px;
}

.member-chip .remove-member {
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    padding: 0;
    margin-left: 4px;
}

.member-chip .remove-member:hover {
    color: #ff6b6b;
}

/* Form elements */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

.form-group label .required {
    color: #ff6b6b;
}

.form-group input[type="text"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(255,255,255,0.3);
}

.form-hint {
    margin-top: 6px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* Responsive */
@media (max-width: 1024px) {
    .simuze-profile-layout {
        flex-direction: column;
    }
    
    .profile-sidebar {
        width: 100%;
        min-width: 100%;
        height: auto;
        position: relative;
        top: 0;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 20px;
        gap: 15px;
    }
    
    .sidebar-user-card {
        display: flex;
        align-items: center;
        gap: 15px;
        text-align: left;
        padding-bottom: 0;
        border-bottom: none;
        flex: 1;
    }
    
    .sidebar-avatar {
        width: 60px;
        height: 60px;
        margin-bottom: 0;
    }
    
    .sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        padding-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .sidebar-nav-item {
        padding: 10px 15px;
    }
    
    .sidebar-nav-item span {
        display: none;
    }
    
    .sidebar-stats {
        display: none;
    }
    
    .profile-main {
        padding: 20px;
    }
}

@media (max-width: 600px) {
    .step-label {
        display: none;
    }
    
    .sidebar-location {
        display: none;
    }
}

/* =============================================
   Activity / Weblog Styles
   ============================================= */

.profile-activity {
    padding: 20px 0;
    width: 100%;
}

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.activity-header h2 {
    margin: 0;
}

.activity-tabs {
    display: flex;
    gap: 5px;
}

.activity-tabs .tab {
    padding: 8px 16px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.activity-tabs .tab:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.activity-tabs .tab.active {
    background: #4CAF50;
    color: #fff;
}

/* Create Post Form - Wider */
.create-post-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    width: 100%;
}

.post-form-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.6);
}

.avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.post-editor-container {
    margin-bottom: 15px;
    width: 100%;
}

.post-content-textarea {
    width: 100%;
    min-height: 200px;
    padding: 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    line-height: 1.6;
    font-family: inherit;
    resize: vertical;
}

.post-content-textarea:focus {
    outline: none;
    border-color: #4CAF50;
}

/* TinyMCE Editor Styling */
.activity-editor {
    background: rgba(255,255,255,0.05) !important;
    color: #fff !important;
}

.activity-editor p {
    color: #fff !important;
}

/* Media Options */
.post-media-options {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.media-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.media-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: rgba(255,255,255,0.2);
}

.media-btn i {
    font-size: 16px;
}

/* Media Preview */
.media-preview {
    margin-bottom: 15px;
}

.media-item {
    position: relative;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.media-item img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    display: block;
}

.video-embed {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.remove-media {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(0,0,0,0.7);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.remove-media:hover {
    background: rgba(0,0,0,0.9);
}

.post-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-options select {
    padding: 8px 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.activity-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    overflow: hidden;
}

.activity-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 20px;
}

.author-link {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: #fff;
}

.post-context {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.post-context a {
    color: rgba(255,255,255,0.7);
}

.post-time {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-actions-menu {
    position: relative;
}

.btn-menu {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    padding: 5px 10px;
}

.btn-menu:hover {
    color: #fff;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    min-width: 150px;
    display: none;
    z-index: 100;
}

.post-actions-menu:hover .dropdown-menu,
.post-actions-menu:focus-within .dropdown-menu {
    display: block;
}

.dropdown-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 15px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    text-align: left;
}

.dropdown-menu button:hover {
    background: rgba(255,255,255,0.05);
}

.dropdown-menu .delete-post {
    color: #f44336;
}

.post-title {
    margin: 0;
    padding: 0 20px 10px;
    font-size: 1.2rem;
}

.activity-card-content {
    padding: 0 20px 15px;
}

.post-content {
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
}

.post-content p {
    margin: 0 0 10px;
}

.post-content p:last-child {
    margin-bottom: 0;
}

.post-image {
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    display: block;
}

.post-video {
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
}

.post-video iframe {
    width: 100%;
    min-height: 400px;
}

.activity-text {
    color: rgba(255,255,255,0.7);
    margin: 0;
}

.activity-card-footer {
    display: flex;
    gap: 15px;
    padding: 12px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.btn-like,
.btn-comment {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-like:hover,
.btn-comment:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}

.btn-like.liked {
    color: #f44336;
}

.btn-like.liked i {
    font-weight: 900;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255,255,255,0.5);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
}

.empty-state h3 {
    margin: 0 0 10px;
    color: rgba(255,255,255,0.7);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

/* =============================================
   Profile Create Group Styles
   ============================================= */

.profile-create-group {
    padding: 20px 0;
    width: 100%;
}

.wizard-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
    padding: 0 20px;
}

.wizard-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(255,255,255,0.1);
    z-index: 0;
}

.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: rgba(255,255,255,0.5);
    margin-bottom: 8px;
    transition: all 0.3s;
}

.wizard-step.active .step-number {
    background: #4CAF50;
    border-color: #4CAF50;
    color: #fff;
}

.wizard-step.completed .step-number {
    background: #4CAF50;
    border-color: #4CAF50;
    color: #fff;
}

.step-label {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    text-align: center;
}

.wizard-step.active .step-label,
.wizard-step.completed .step-label {
    color: #fff;
}

.wizard-panel {
    display: none;
    animation: fadeIn 0.3s;
}

.wizard-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.wizard-panel h2 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.panel-description {
    color: rgba(255,255,255,0.6);
    margin-bottom: 30px;
    font-size: 14px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
}

.form-group label .required {
    color: #f44336;
}

.form-group input[type="text"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    transition: all 0.2s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #4CAF50;
    background: rgba(255,255,255,0.08);
}

.field-hint {
    margin-top: 6px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* Location Search */
.location-search-container {
    position: relative;
}

.location-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    margin-top: 5px;
}

.location-dropdown.show {
    display: block;
}

.location-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.2s;
}

.location-item:hover {
    background: rgba(255,255,255,0.05);
}

.location-item .city-name {
    font-weight: 500;
    color: #fff;
}

.location-item .region-info {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.selected-location {
    margin-top: 15px;
}

.location-display {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 8px;
    color: #4CAF50;
}

.btn-clear {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    opacity: 0.7;
    padding: 0;
    margin-left: 10px;
}

.btn-clear:hover {
    opacity: 1;
}

/* Image Upload & Crop */
.image-upload-section {
    margin-bottom: 40px;
}

.image-upload-section h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.size-requirements {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 15px;
}

.image-upload-container {
    position: relative;
}

.upload-area {
    border: 2px dashed rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.upload-area:hover {
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.02);
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.5);
}

.upload-placeholder i {
    font-size: 48px;
}

.upload-placeholder small {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.header-upload .upload-area {
    padding: 60px 40px;
}

/* Crop Container */
.crop-container {
    background: rgba(0,0,0,0.5);
    border-radius: 12px;
    padding: 20px;
    margin-top: 15px;
    position: relative;
    display: block !important;
    visibility: visible !important;
}

.crop-preview {
    max-width: 500px;
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    min-height: 200px;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.crop-preview.header-crop {
    max-width: 100%;
    min-height: 400px;
    width: 100%;
}

.crop-preview.header-crop img {
    max-width: 100% !important;
    width: 100% !important;
    display: block !important;
    max-height: none !important;
    height: auto !important;
    object-fit: contain;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Cropper.js container styling */
.crop-preview .cropper-container {
    direction: ltr;
    font-size: 0;
    line-height: 0;
    position: relative;
    touch-action: none;
    user-select: none;
    max-width: 100%;
    width: 100%;
}

.crop-preview.header-crop .cropper-container {
    min-height: 400px;
}

.crop-preview .cropper-container img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
}

.crop-preview.header-crop .cropper-container img {
    min-height: 400px;
    object-fit: contain;
}

.crop-preview .cropper-wrap-box,
.crop-preview .cropper-canvas,
.crop-preview .cropper-drag-box {
    max-width: 100%;
    width: 100%;
}

.crop-preview.header-crop .cropper-wrap-box,
.crop-preview.header-crop .cropper-canvas,
.crop-preview.header-crop .cropper-drag-box {
    min-height: 400px;
}

.crop-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Cropped Preview */
.cropped-preview {
    position: relative;
    display: inline-block;
    margin-top: 15px;
    border-radius: 12px;
    overflow: hidden;
}

.cropped-preview img {
    border-radius: 12px;
    max-width: 200px;
    display: block;
}

.cropped-preview.header-preview {
    width: 100%;
}

.cropped-preview.header-preview img {
    max-width: 100%;
    max-height: 200px;
    object-fit: cover;
    width: 100%;
}

.btn-change {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 8px 12px;
    background: rgba(0,0,0,0.7);
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.2s;
}

.btn-change:hover {
    background: rgba(0,0,0,0.9);
}

/* Member Search */
.member-search-container {
    position: relative;
}

.member-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    margin-top: 5px;
}

.member-dropdown.show {
    display: block;
}

.member-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.2s;
}

.member-item:hover {
    background: rgba(255,255,255,0.05);
}

.member-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.member-name {
    font-weight: 500;
    color: #fff;
}

.member-username {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.invited-members {
    margin-top: 30px;
}

.invited-members h4 {
    margin-bottom: 15px;
    font-size: 1rem;
}

.members-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.member-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
}

.member-chip img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.remove-member {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0;
    margin-left: 5px;
}

.remove-member:hover {
    color: #f44336;
}

.no-members-text {
    color: rgba(255,255,255,0.5);
    font-style: italic;
    font-size: 14px;
}

/* Navigation */
.wizard-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.btn-primary,
.btn-secondary,
.btn-success {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary {
    background: #4CAF50;
    color: #fff;
    margin-left: auto;
}

.btn-primary:hover {
    background: #45a049;
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
}

.btn-success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: #fff;
    margin-left: auto;
}

.btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-success:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.creation-message {
    margin-top: 20px;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
}

.creation-message.success {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4CAF50;
}

.creation-message.error {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #f44336;
}

/* =============================================
   Friends, Messages, Activity - Full Width
   ============================================= */

/* Friends Full Width */
.friends-page-full {
    width: 100%;
}

.friends-tabs {
    display: flex;
    gap: 5px;
}

.tab-btn-full {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.tab-btn-full:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.tab-btn-full.active {
    background: #4CAF50;
    color: #fff;
}

.tab-btn-full .count {
    padding: 2px 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    font-size: 12px;
}

.tab-btn-full .count.highlight {
    background: #f44336;
    color: #fff;
}

/* Profile header follow / friend buttons */
.profile-header-actions {
    position: absolute;
    right: 40px;
    bottom: 40px;
    display: flex;
    gap: 10px;
    z-index: 3;
}

.profile-header-actions .button {
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 14px;
}

/* Public profile two-column layout */
.public-profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 40px;
}

@media (max-width: 960px) {
    .public-profile-grid {
        grid-template-columns: 1fr;
    }
}

.friends-search {
    margin-bottom: 20px;
}

.search-input-wrapper {
    position: relative;
}

.search-input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.4);
}

.search-input-wrapper input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: #4CAF50;
}

.friends-list-full {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.friend-row-full {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 0;
    transition: background 0.2s;
}

.friend-row-full:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.friend-row-full:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.friend-row-full:hover {
    background: rgba(255,255,255,0.05);
}

.friend-link-full {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    flex: 1;
    min-width: 0;
}

.friend-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.friend-info-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.friend-name {
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.friend-username {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.friend-actions-col {
    display: flex;
    gap: 5px;
}

.requests-list-full {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.request-row-full {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 0;
    gap: 15px;
}

.request-row-full:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.request-row-full:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.requester-link-full {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.requester-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.requester-info-col {
    display: flex;
    flex-direction: column;
}

.requester-name {
    font-weight: 600;
    font-size: 16px;
    color: #fff;
}

.requester-username {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.request-time {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-top: 3px;
}

.request-actions-col {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-pending {
    padding: 5px 12px;
    background: rgba(255, 193, 7, 0.2);
    color: #FFC107;
    border-radius: 15px;
    font-size: 13px;
}

.empty-state-full {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255,255,255,0.5);
}

.empty-state-full i {
    font-size: 48px;
    margin-bottom: 15px;
}

.empty-state-full h3 {
    margin: 0 0 10px;
    color: rgba(255,255,255,0.7);
}

.empty-state-full h4 {
    margin: 0 0 20px;
    color: rgba(255,255,255,0.7);
}

/* Messages Full Width */
.messages-page-full {
    width: 100%;
    height: calc(100vh - 300px);
    min-height: 500px;
}

.messages-layout-full {
    display: flex;
    height: 100%;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    overflow: hidden;
}

.threads-sidebar-full {
    width: 300px;
    border-right: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
}

.threads-header-full {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.threads-header-full h3 {
    margin: 0;
    font-size: 1rem;
}

.threads-list-full {
    flex: 1;
    overflow-y: auto;
}

.thread-item-full {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.2s;
}

.thread-item-full:hover {
    background: rgba(255,255,255,0.03);
}

.thread-item-full.active {
    background: rgba(255,255,255,0.05);
}

.thread-item-full.unread {
    background: rgba(76, 175, 80, 0.05);
}

.message-area-full {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.conversation-header-full {
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.messages-container-full {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message-composer-full {
    padding: 15px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.message-composer-full form {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.composer-input-full {
    flex: 1;
}

.message-input-full {
    min-height: 40px;
    max-height: 120px;
    padding: 10px 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    color: #fff;
    overflow-y: auto;
    outline: none;
    width: 100%;
}

.message-input-full:empty:before {
    content: attr(placeholder);
    color: rgba(255,255,255,0.4);
}

.message-input-full:focus {
    border-color: #4CAF50;
}

/* Activity Full Width */
.activity-page-full {
    width: 100%;
}

.activity-header-full {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.activity-header-full h2 {
    margin: 0;
}

.activity-tabs-full {
    display: flex;
    gap: 5px;
}

.activity-tabs-full .tab {
    padding: 8px 16px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.activity-tabs-full .tab:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.activity-tabs-full .tab.active {
    background: #4CAF50;
    color: #fff;
}

.create-post-card-full {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.post-form-header-full {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.6);
}

.post-editor-container-full {
    margin-bottom: 15px;
}

.post-content-textarea {
    width: 100%;
    min-height: 100px;
    padding: 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    line-height: 1.6;
    font-family: inherit;
    resize: vertical;
}

.post-content-textarea:focus {
    outline: none;
    border-color: #4CAF50;
}

.post-media-options-full {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.media-btn {
    padding: 8px 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.media-btn:hover {
    background: rgba(255,255,255,0.1);
}

.media-preview-full {
    margin-bottom: 15px;
}

.media-item-full {
    position: relative;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.media-item-full img {
    max-width: 100%;
    height: auto;
    display: block;
}

.post-form-footer-full {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.activity-list-full {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.activity-card-full {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    overflow: hidden;
}

.activity-card-header-full {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 20px;
}

.activity-card-content-full {
    padding: 0 20px 15px;
}

.post-content-full {
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
}

.post-image-full,
.post-video-full {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.post-image-full img {
    max-width: 100%;
    height: auto;
    display: block;
}

.activity-card-footer-full {
    display: flex;
    gap: 15px;
    padding: 12px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Messages additional styles */
.btn-compose {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    padding: 5px;
}

.btn-compose:hover {
    color: #fff;
}

.thread-info {
    flex: 1;
    min-width: 0;
}

.thread-name {
    display: block;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.thread-preview {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.thread-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.thread-time {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
}

.unread-badge {
    padding: 2px 6px;
    background: #4CAF50;
    color: #fff;
    font-size: 10px;
    border-radius: 10px;
}

.no-threads {
    padding: 30px;
    text-align: center;
    color: rgba(255,255,255,0.4);
}

.participant-info {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.participant-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.participant-name {
    display: block;
    font-weight: 500;
    color: #fff;
}

.participant-handle {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.message {
    max-width: 70%;
    display: flex;
    flex-direction: column;
}

.message.own {
    align-self: flex-end;
}

.message.other {
    align-self: flex-start;
}

.message-content {
    padding: 10px 15px;
    border-radius: 18px;
    line-height: 1.4;
}

.message.own .message-content {
    background: #4CAF50;
    color: #fff;
    border-bottom-right-radius: 4px;
}

.message.other .message-content {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-bottom-left-radius: 4px;
}

.message-time {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    margin-top: 3px;
    padding: 0 5px;
}

.message.own .message-time {
    text-align: right;
}

.btn-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #4CAF50;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.btn-send:hover {
    background: #45a049;
}

.no-conversation {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
}

.no-conversation i {
    font-size: 48px;
    margin-bottom: 15px;
}

.no-conversation h3 {
    margin: 0 0 10px;
    color: rgba(255,255,255,0.7);
}

.start-conversation {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
}

/* Activity additional styles */
.post-actions-menu {
    position: relative;
}

.btn-menu {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    padding: 5px 10px;
}

.btn-menu:hover {
    color: #fff;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    min-width: 150px;
    display: none;
    z-index: 100;
}

.post-actions-menu:hover .dropdown-menu,
.post-actions-menu:focus-within .dropdown-menu {
    display: block;
}

.dropdown-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 15px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    text-align: left;
}

.dropdown-menu button:hover {
    background: rgba(255,255,255,0.05);
}

.dropdown-menu .delete-post {
    color: #f44336;
}

.post-title {
    margin: 0;
    padding: 0 20px 10px;
    font-size: 1.2rem;
}

.activity-text {
    color: rgba(255,255,255,0.7);
    margin: 0;
}

.btn-like,
.btn-comment {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-like:hover,
.btn-comment:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}

.btn-like.liked {
    color: #f44336;
}

.btn-like.liked i {
    font-weight: 900;
}

.remove-media {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(0,0,0,0.7);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.remove-media:hover {
    background: rgba(0,0,0,0.9);
}



/* =============================================
   Public Profile Pages
   ============================================= */

.public-profile {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.profile-header-public,
.group-header-public {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.profile-avatar-large,
.group-avatar-large {
    margin-bottom: 20px;
}

.profile-avatar-large img,
.group-avatar-large img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(76, 175, 80, 0.3);
}

.group-header-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    margin-bottom: 20px;
}

.profile-info-public h1,
.group-details-public h1 {
    margin: 0 0 10px 0;
    font-size: 2rem;
    color: #fff;
    font-weight: 600;
}

.profile-bio,
.group-description {
    margin: 0 0 20px 0;
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    line-height: 1.6;
}

.public-stats {
    display: flex;
    gap: 30px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-actions,
.group-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.profile-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.profile-section:last-child {
    border-bottom: none;
}

.profile-section h2 {
    margin: 0 0 20px 0;
    font-size: 1.5rem;
    color: #fff;
}

.groups-grid-public,
.members-grid-public {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.group-card-public,
.member-card-public {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.group-card-public:hover,
.member-card-public:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}

.group-card-public .group-avatar,
.member-card-public .member-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
    background: rgba(255,255,255,0.1);
}

.member-card-public .member-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
}

.member-card-public .member-info h3,
.member-card-public .member-info .member-name {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    max-width: 100%;
}

.member-card-public .member-role.badge {
    display: inline-block;
    background: #5a6b6f;
    color: #fff;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
    white-space: nowrap;
}

.group-card-public .group-info h3,
.member-card-public .member-info h3 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    color: #fff;
}

.group-card-public .group-members,
.member-card-public .member-role {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.activity-list-public {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item-public {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
}

.activity-item-public .activity-content {
    flex: 1;
    color: rgba(255,255,255,0.8);
}

.activity-item-public .activity-time {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    margin-left: 20px;
}

.view-all-link {
    margin-top: 20px;
    text-align: center;
}

.view-all-link a {
    color: #4CAF50;
    text-decoration: none;
    font-size: 0.9rem;
}

.view-all-link a:hover {
    color: #45a049;
}

/* Avatar shape contract:
   - users: round
   - groups: square with rounded corners */
img.user-avatar,
img.member-avatar,
img.friend-avatar,
img.requester-avatar,
img.thread-avatar,
img.participant-avatar,
img.avatar-small.user-avatar,
img.avatar-large.user-avatar {
    border-radius: 50% !important;
}

img.group-avatar,
img.avatar-large.group-avatar,
.group-avatar-large img.group-avatar,
.group-card-public .group-avatar,
.network-card img.group-avatar,
img.map-group-avatar.group-avatar {
    border-radius: 8px !important;
}

/* ----------------------------------------- */
/* Group Music / Discography (original style) */
/* ----------------------------------------- */

/* Span full width of parent .row.scroll-area.full-width-content without exceeding it */
.row.scroll-area.full-width-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.row.scroll-area.full-width-content .group-discography {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.group-discography {
    padding: 20px 24px;
}

.group-discography .tabs {
    margin-bottom: 24px;
}

.group-discography .tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.group-discography .tab-item {
    padding: 10px 16px;
    cursor: pointer;
    color: rgba(255,255,255,0.8);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.2s, border-color 0.2s;
}

.group-discography .tab-item:hover {
    color: #fff;
}

.group-discography .tab-item.active {
    color: #4CAF50;
    border-bottom-color: #4CAF50;
}

.group-discography .tab-count {
    margin-left: 6px;
    font-size: 0.9em;
    opacity: 0.9;
}

/* Upload type choice: Single vs Album (must be clearly visible and clickable) */
.upload-type-choices {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.upload-type {
    flex: 1;
    min-width: 180px;
    max-width: 280px;
    padding: 24px 20px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    background: rgba(255,255,255,0.03);
}

.upload-type:hover {
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.06);
}

.upload-type.selected {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.12);
    box-shadow: 0 0 0 1px #4CAF50;
}

.upload-type i {
    display: block;
    font-size: 2rem;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.9);
}

.upload-type.selected i {
    color: #4CAF50;
}

.upload-type h5 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    color: #fff;
}

.upload-type p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.upload-step-content {
    margin-top: 20px;
}

.upload-step-content.hidden {
    display: none !important;
}

.group-discography .upload-actions {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.group-discography .upload-actions .button {
    cursor: pointer;
}

.group-discography .upload-actions .button:disabled,
.group-discography .upload-actions .button.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
