/**
 * Happy6.Chat - Tinder-Style CSS mit WhatsApp-Farben
 * Modern, Dark Mode, NUR SVG Icons!
 */

:root {
    --h6c-primary: #00a884;
    --h6c-primary-hover: #008f6f;
    --h6c-danger: #dc3545;
    --h6c-danger-hover: #c82333;
    --h6c-dark: #111b21;
    --h6c-panel: #202c33;
    --h6c-panel-hover: #2a3942;
    --h6c-border: #2a3942;
    --h6c-text: #e9edef;
    --h6c-text-muted: #8696a0;
    --h6c-bg: #0b141a;
    --h6c-shadow: rgba(0, 0, 0, 0.4);
    --h6c-radius: 12px;
    --h6c-transition: all 0.3s ease;
}

/* === RESET für Links === */
a.h6c-btn,
a.h6c-btn-primary,
a.h6c-btn-secondary,
a.h6c-btn-danger {
    color: inherit !important;
    text-decoration: none !important;
}

a.h6c-btn-primary,
a.h6c-btn-primary:hover,
a.h6c-btn-primary:visited,
a.h6c-btn-primary:active {
    color: #fff !important;
}

/* === GLOBAL === */
.h6c-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.h6c-card {
    background: var(--h6c-panel);
    border: 1px solid var(--h6c-border);
    border-radius: var(--h6c-radius);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px var(--h6c-shadow);
    transition: var(--h6c-transition);
}

.h6c-card:hover {
    box-shadow: 0 4px 16px var(--h6c-shadow);
}

/* === SVG ICONS === */
.h6c-icon {
    display: inline-block;
    vertical-align: middle;
    color: currentColor;
    stroke-width: 2;
    stroke: currentColor;
    fill: none;
}

/* === BUTTONS === */
.h6c-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--h6c-transition);
    text-decoration: none;
    white-space: nowrap;
    color: #fff;
}

.h6c-btn-primary {
    background: var(--h6c-primary);
    color: #fff;
}

.h6c-btn-primary:hover {
    background: var(--h6c-primary-hover);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 168, 132, 0.3);
}

.h6c-btn-danger {
    background: var(--h6c-danger);
    color: #fff;
}

.h6c-btn-danger:hover {
    background: var(--h6c-danger-hover);
    color: #fff;
    transform: scale(1.05);
}

.h6c-btn-secondary {
    background: transparent;
    color: var(--h6c-text);
    border: 1px solid var(--h6c-border);
}

.h6c-btn-secondary:hover {
    background: var(--h6c-panel-hover);
    border-color: var(--h6c-primary);
    color: var(--h6c-text);
}

.h6c-btn-icon {
    width: 56px;
    height: 56px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--h6c-panel);
    border: 2px solid var(--h6c-border);
    color: var(--h6c-text);
    cursor: pointer;
    transition: var(--h6c-transition);
}

.h6c-btn-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px var(--h6c-shadow);
}

.h6c-btn-icon.like {
    border-color: var(--h6c-primary);
    color: var(--h6c-primary);
}

.h6c-btn-icon.like:hover {
    background: var(--h6c-primary);
    color: #fff;
}

.h6c-btn-icon.dislike {
    border-color: var(--h6c-danger);
    color: var(--h6c-danger);
}

.h6c-btn-icon.dislike:hover {
    background: var(--h6c-danger);
    color: #fff;
}

.h6c-swipe-actions.hidden {
    display: none;
}

/* === FORMS === */
.h6c-form-group {
    margin-bottom: 20px;
}

.h6c-label {
    display: block;
    margin-bottom: 8px;
    color: var(--h6c-text);
    font-weight: 500;
    font-size: 14px;
}

.h6c-input,
.h6c-select,
.h6c-textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--h6c-dark);
    border: 1px solid var(--h6c-border);
    border-radius: 8px;
    color: var(--h6c-text);
    font-size: 15px;
    transition: var(--h6c-transition);
}

.h6c-input:focus,
.h6c-select:focus,
.h6c-textarea:focus {
    outline: none;
    border-color: var(--h6c-primary);
    box-shadow: 0 0 0 3px rgba(0, 168, 132, 0.1);
}

/* === ALERTS === */
.h6c-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: var(--h6c-radius);
    margin-bottom: 20px;
}

.h6c-alert-warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #ffc107;
}

.h6c-alert-success {
    background: rgba(0, 168, 132, 0.1);
    border: 1px solid rgba(0, 168, 132, 0.3);
    color: var(--h6c-primary);
}

.h6c-alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: var(--h6c-danger);
}

/* === SWIPE CARDS (TINDER-STYLE) === */
.h6c-swipe-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 600px;
    margin: 0 auto;
    perspective: 1000px;
}

.h6c-swipe-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--h6c-panel);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--h6c-shadow);
    cursor: grab;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.h6c-swipe-card:active {
    cursor: grabbing;
}

.h6c-swipe-card.swiping-left {
    transform: translateX(-150%) rotate(-15deg);
    opacity: 0;
}

.h6c-swipe-card.swiping-right {
    transform: translateX(150%) rotate(15deg);
    opacity: 0;
}

.h6c-swipe-image {
    width: 100%;
    height: 70%;
    object-fit: cover;
    background: linear-gradient(135deg, var(--h6c-dark) 0%, var(--h6c-panel) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--h6c-text-muted);
    font-size: 48px;
}

.h6c-swipe-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.h6c-swipe-dummy {
    width: 100%;
    height: 100%;
    filter: blur(8px) brightness(0.8);
    image-rendering: pixelated;
    overflow: hidden;
}

.h6c-swipe-dummy svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.h6c-swipe-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(17, 27, 33, 0.95), transparent);
    color: #fff;
}

.h6c-swipe-name {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.h6c-swipe-details {
    display: flex;
    gap: 16px;
    margin: 8px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.h6c-swipe-detail {
    display: flex;
    align-items: center;
    gap: 4px;
}

.h6c-swipe-bio {
    margin: 12px 0 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.h6c-swipe-actions {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
}

.h6c-no-profiles {
    text-align: center;
    padding: 60px 20px;
    color: var(--h6c-text-muted);
}

.h6c-no-profiles .h6c-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
}

/* === PROFILE GRID === */
.h6c-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.h6c-profile-card {
    background: var(--h6c-panel);
    border: 1px solid var(--h6c-border);
    border-radius: var(--h6c-radius);
    overflow: hidden;
    transition: var(--h6c-transition);
    cursor: pointer;
}

.h6c-profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--h6c-shadow);
}

.h6c-profile-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--h6c-dark) 0%, var(--h6c-panel) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--h6c-text-muted);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: var(--h6c-transition);
}

.h6c-profile-image:hover {
    transform: scale(1.02);
}

.h6c-profile-image.no-image {
    font-size: 48px;
}

.h6c-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.h6c-profile-body {
    padding: 16px;
}

.h6c-profile-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--h6c-text);
    margin: 0 0 8px 0;
}

.h6c-profile-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--h6c-text-muted);
    font-size: 14px;
    margin-bottom: 12px;
}

.h6c-profile-actions {
    display: flex;
    gap: 8px;
}

/* === IMAGE UPLOAD === */
.h6c-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.h6c-image-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--h6c-border);
    transition: var(--h6c-transition);
}

.h6c-image-item:hover {
    border-color: var(--h6c-primary);
}

.h6c-image-item.primary {
    border-color: var(--h6c-primary);
    border-width: 3px;
}

.h6c-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.h6c-image-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 4px;
}

.h6c-image-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--h6c-primary);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.h6c-upload-box {
    border: 2px dashed var(--h6c-border);
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--h6c-transition);
}

.h6c-upload-box:hover {
    border-color: var(--h6c-primary);
    background: rgba(0, 168, 132, 0.05);
}

.h6c-upload-box .h6c-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    color: var(--h6c-text-muted);
}

/* Cover Image Upload */
.h6c-cover-image-wrapper {
    margin-bottom: 24px;
}

.h6c-cover-upload-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 200px;
    border: 2px dashed var(--h6c-border);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--h6c-transition);
    background: var(--h6c-dark);
}

.h6c-cover-upload-box:hover {
    border-color: var(--h6c-primary);
    background: rgba(0, 168, 132, 0.05);
}

.h6c-cover-upload-box .h6c-icon {
    width: 48px;
    height: 48px;
    color: var(--h6c-text-muted);
}

.h6c-cover-upload-box span {
    color: var(--h6c-text-muted);
    font-size: 14px;
}

.h6c-cover-image-preview {
    position: relative;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
}

.h6c-cover-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === MESSAGES === */
.h6c-messages-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
    height: 600px;
    background: var(--h6c-panel);
    border-radius: var(--h6c-radius);
    overflow: hidden;
}

.h6c-threads-list {
    border-right: 1px solid var(--h6c-border);
    overflow-y: auto;
}

.h6c-thread-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    cursor: pointer;
    transition: var(--h6c-transition);
    border-bottom: 1px solid var(--h6c-border);
}

.h6c-thread-item:hover,
.h6c-thread-item.active {
    background: var(--h6c-panel-hover);
}

.h6c-thread-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--h6c-dark);
}

.h6c-thread-info {
    flex: 1;
    min-width: 0;
}

.h6c-thread-name {
    font-weight: 600;
    color: var(--h6c-text);
    margin-bottom: 4px;
}

.h6c-thread-preview {
    font-size: 14px;
    color: var(--h6c-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.h6c-chat-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.h6c-chat-header {
    padding: 16px;
    border-bottom: 1px solid var(--h6c-border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.h6c-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.h6c-message {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: 12px;
    line-height: 1.4;
}

.h6c-message.sent {
    align-self: flex-end;
    background: var(--h6c-primary);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.h6c-message.received {
    align-self: flex-start;
    background: var(--h6c-dark);
    color: var(--h6c-text);
    border-bottom-left-radius: 4px;
}

.h6c-message-image {
    max-width: 300px;
    border-radius: 8px;
}

.h6c-chat-input {
    padding: 16px;
    border-top: 1px solid var(--h6c-border);
    display: flex;
    gap: 12px;
}

.h6c-chat-input input {
    flex: 1;
}

/* === STATS === */
.h6c-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.h6c-stat {
    flex: 1;
    background: var(--h6c-panel);
    border: 1px solid var(--h6c-border);
    border-radius: var(--h6c-radius);
    padding: 20px;
    text-align: center;
}

.h6c-stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--h6c-primary);
    margin-bottom: 8px;
}

.h6c-stat-label {
    color: var(--h6c-text-muted);
    font-size: 14px;
}

/* === BADGES === */
.h6c-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    padding: 2px 6px;
    background: var(--h6c-danger);
    color: #fff;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

/* === NOTIFICATION BUBBLE (wie bei Facebook!) === */
.h6c-notification-bubble {
    position: absolute;
    top: -8px;
    right: -8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: #dc3545;
    color: #fff;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    z-index: 9999;
    animation: h6c-bubble-pulse 2s infinite;
}

@keyframes h6c-bubble-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* === MODAL === */
.h6c-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    animation: h6c-fadeIn 0.3s ease;
}

.h6c-modal-overlay.active {
    display: flex;
}

.h6c-modal {
    background: var(--h6c-panel);
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: h6c-slideUp 0.3s ease;
}

.h6c-modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--h6c-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.h6c-modal-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--h6c-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.h6c-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--h6c-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--h6c-transition);
}

.h6c-modal-close:hover {
    background: var(--h6c-dark);
    color: var(--h6c-text);
}

.h6c-modal-body {
    padding: 24px;
}

.h6c-modal-footer {
    padding: 24px;
    border-top: 1px solid var(--h6c-border);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.h6c-match-modal-content {
    text-align: center;
    padding: 20px;
}

.h6c-match-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 16px;
    border: 4px solid var(--h6c-primary);
    object-fit: cover;
    background: var(--h6c-dark);
}

.h6c-match-emoji {
    font-size: 64px;
    margin: 20px 0;
}

.h6c-match-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--h6c-primary);
    margin-bottom: 12px;
}

.h6c-match-subtext {
    color: var(--h6c-text-muted);
    margin-bottom: 24px;
}

@keyframes h6c-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes h6c-slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .h6c-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
    
    .h6c-swipe-container {
        max-width: 100%;
        height: 500px;
    }
    
    .h6c-messages-layout {
        grid-template-columns: 1fr;
    }
    
    .h6c-threads-list {
        display: none;
    }
    
    .h6c-stats {
        flex-direction: column;
    }
}

/* === LOADING === */
.h6c-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* === LEAFLET MAP STYLES === */
.h6c-map-profile-card {
    text-align: center;
    color: var(--h6c-text);
}

.h6c-map-profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 12px;
    border: 3px solid var(--h6c-primary);
}

.h6c-map-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.h6c-map-profile-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--h6c-text);
}

.h6c-map-profile-info {
    font-size: 14px;
    color: var(--h6c-text-muted);
    margin-bottom: 12px;
}

.h6c-map-profile-distance {
    font-size: 13px;
    color: var(--h6c-primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.leaflet-popup-content-wrapper {
    border-radius: 12px;
    padding: 0;
    background-color: var(--h6c-bg) !important;
}

.leaflet-popup-content {
    margin: 16px;
    padding: 5px;
    color: var(--h6c-text) !important;
}

.leaflet-popup-tip {
    background-color: var(--h6c-bg) !important;
}

.leaflet-div-icon {
    background: transparent !important;
    border: none !important;
}

.h6c-map-popup {
    min-width: 250px;
}

/* === PROFILE VIEW SOCIAL MEDIA STYLE === */
.h6c-profile-social {
    max-width: 1200px;
    margin: 0 auto;
}

.h6c-profile-cover {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, var(--h6c-primary) 0%, var(--h6c-primary-hover) 100%);
    background-size: cover;
    background-position: center;
    border-radius: 0 0 16px 16px;
    overflow: visible;
}

.h6c-profile-cover-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,168,132,0.9) 0%, rgba(0,143,111,0.9) 100%);
    border-radius: 0 0 16px 16px;
    overflow: hidden;
}

.h6c-profile-picture-wrapper {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.h6c-profile-picture {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 6px solid var(--h6c-dark);
    background: var(--h6c-panel);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: var(--h6c-transition);
}

.h6c-profile-picture:hover {
    transform: scale(1.05);
    border-color: var(--h6c-primary);
}

.h6c-profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.h6c-profile-picture-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: var(--h6c-text-muted);
    background: var(--h6c-dark);
}

.h6c-profile-info-section {
    padding-top: 100px;
}

.h6c-profile-header {
    text-align: center;
    margin-bottom: 32px;
}

.h6c-profile-name-section {
    margin-bottom: 24px;
}

.h6c-profile-social .h6c-profile-name {
    font-size: 32px;
    font-weight: 700;
    color: var(--h6c-text);
    margin: 0 0 16px;
}

.h6c-profile-username {
    font-size: 16px;
    color: var(--h6c-text-muted);
    margin-bottom: 8px;
}

.h6c-profile-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--h6c-text-muted);
    font-size: 14px;
}

.h6c-profile-social .h6c-profile-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.h6c-profile-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    padding: 24px;
    border-bottom: 1px solid var(--h6c-border);
}

.h6c-profile-stat {
    text-align: center;
}

.h6c-profile-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--h6c-text);
    margin-bottom: 4px;
}

.h6c-profile-stat-label {
    font-size: 14px;
    color: var(--h6c-text-muted);
}

.h6c-profile-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--h6c-border);
    margin-bottom: 32px;
}

.h6c-profile-tab {
    flex: 1;
    padding: 16px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--h6c-text-muted);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--h6c-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: -2px;
}

.h6c-profile-tab:hover {
    color: var(--h6c-text);
    background: var(--h6c-panel-hover);
}

.h6c-profile-tab.active {
    color: var(--h6c-primary);
    border-bottom-color: var(--h6c-primary);
}

.h6c-profile-content {
    padding: 0 24px 48px;
}

.h6c-profile-tab-content {
    display: none;
}

.h6c-profile-tab-content.active {
    display: block;
}

.h6c-profile-section {
    margin-bottom: 32px;
}

.h6c-profile-section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--h6c-text);
    margin-bottom: 16px;
}

.h6c-profile-bio {
    color: var(--h6c-text);
    line-height: 1.7;
    font-size: 15px;
}

.h6c-profile-interests {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.h6c-interest-tag {
    padding: 8px 16px;
    background: var(--h6c-panel);
    border: 1px solid var(--h6c-border);
    border-radius: 20px;
    color: var(--h6c-text);
    font-size: 14px;
    transition: var(--h6c-transition);
}

.h6c-interest-tag:hover {
    background: var(--h6c-panel-hover);
    border-color: var(--h6c-primary);
}

.h6c-profile-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.h6c-profile-photo-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--h6c-border);
    transition: var(--h6c-transition);
    cursor: pointer;
}

.h6c-profile-photo-item:hover {
    border-color: var(--h6c-primary);
    transform: scale(1.02);
}

.h6c-profile-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.h6c-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
}

.h6c-lightbox.active {
    display: flex;
}

.h6c-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.h6c-lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.h6c-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--h6c-transition);
    z-index: 10;
}

.h6c-lightbox-close:hover {
    background: rgba(255,255,255,0.2);
}

.h6c-lightbox-prev,
.h6c-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--h6c-transition);
    z-index: 10;
}

.h6c-lightbox-prev:hover,
.h6c-lightbox-next:hover {
    background: rgba(255,255,255,0.2);
}

.h6c-lightbox-prev {
    left: 20px;
}

.h6c-lightbox-next {
    right: 20px;
}

.h6c-lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    padding: 8px 16px;
    border-radius: 20px;
    color: #fff;
    font-size: 14px;
    z-index: 10;
}

.h6c-photo-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 6px 12px;
    background: var(--h6c-primary);
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.h6c-profile-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.h6c-detail-item {
    display: flex;
    align-items: start;
    gap: 16px;
    padding: 20px;
    background: var(--h6c-panel);
    border: 1px solid var(--h6c-border);
    border-radius: 12px;
    transition: var(--h6c-transition);
}

.h6c-detail-item:hover {
    border-color: var(--h6c-primary);
    background: var(--h6c-panel-hover);
}

.h6c-detail-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--h6c-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--h6c-primary);
    flex-shrink: 0;
}

.h6c-detail-content {
    flex: 1;
}

.h6c-detail-label {
    font-size: 13px;
    color: var(--h6c-text-muted);
    margin-bottom: 4px;
}

.h6c-detail-value {
    font-size: 16px;
    color: var(--h6c-text);
    font-weight: 500;
}

.h6c-empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--h6c-text-muted);
}

.h6c-empty-state svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .h6c-profile-cover {
        height: 200px;
    }
    
    .h6c-profile-picture {
        width: 120px;
        height: 120px;
    }
    
    .h6c-profile-picture-wrapper {
        bottom: -60px;
    }
    
    .h6c-profile-info-section {
        padding-top: 80px;
    }
    
    .h6c-profile-name {
        font-size: 24px;
    }
    
    .h6c-profile-stats {
        gap: 24px;
    }
    
    .h6c-profile-tab {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .h6c-profile-details-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================
   TRIBUTE / TRINKGELD SYSTEM
   Konsistent mit Plugin Dark Theme
   ============================ */

/* Tribute Container */
.h6c-tribute-container {
    padding: 8px 0;
}

/* Balance Anzeige */
.h6c-tribute-balance {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--h6c-dark);
    padding: 16px 20px;
    border-radius: var(--h6c-radius);
    margin-bottom: 16px;
    border: 1px solid var(--h6c-border);
}

.h6c-tribute-balance-label {
    color: var(--h6c-text-muted);
    font-size: 14px;
}

.h6c-tribute-balance-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--h6c-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Total erhalten */
.h6c-tribute-total {
    text-align: center;
    color: var(--h6c-text-muted);
    font-size: 13px;
    margin-bottom: 16px;
    padding: 10px;
    background: var(--h6c-dark);
    border-radius: var(--h6c-radius);
    border: 1px solid var(--h6c-border);
}

/* Label */
.h6c-tribute-label {
    font-size: 14px;
    color: var(--h6c-text-muted);
    margin-bottom: 12px;
    text-align: center;
}

/* Betrags-Buttons Grid */
.h6c-tribute-amounts {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-bottom: 8px;
}

.h6c-tribute-amount-btn {
    background: var(--h6c-bg);
    border: 1px solid var(--h6c-border);
    color: var(--h6c-text);
    padding: 12px 6px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--h6c-transition);
    text-align: center;
    line-height: 1;
}

.h6c-tribute-amount-btn small {
    display: block;
    font-size: 9px;
    font-weight: 400;
    color: var(--h6c-text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.h6c-tribute-amount-btn:hover {
    background: var(--h6c-primary);
    border-color: var(--h6c-primary);
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(0, 168, 132, 0.4);
}

.h6c-tribute-amount-btn:hover small {
    color: rgba(255, 255, 255, 0.8);
}

.h6c-tribute-amount-btn:active {
    transform: scale(0.95);
}

.h6c-tribute-amount-disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

.h6c-tribute-amount-disabled:hover {
    background: var(--h6c-bg);
    border-color: var(--h6c-border);
    color: var(--h6c-text);
    transform: none;
    box-shadow: none;
}

.h6c-tribute-amount-disabled:hover small {
    color: var(--h6c-text-muted);
}

/* Confirm Screen */
.h6c-tribute-confirm {
    text-align: center;
    padding: 20px 0;
}

.h6c-tribute-confirm-icon {
    margin-bottom: 16px;
    color: var(--h6c-primary);
    animation: h6c-tribute-pulse 1.5s ease-in-out infinite;
}

.h6c-tribute-confirm-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--h6c-text);
    margin-bottom: 12px;
}

.h6c-tribute-confirm-balance {
    font-size: 13px;
    color: var(--h6c-text-muted);
}

/* Success Screen */
.h6c-tribute-success {
    text-align: center;
    padding: 20px 0;
}

.h6c-tribute-success-icon {
    margin-bottom: 16px;
    color: var(--h6c-primary);
    animation: h6c-tribute-bounce 0.6s ease;
}

.h6c-tribute-success-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--h6c-text);
    margin-bottom: 12px;
}

.h6c-tribute-success-balance {
    font-size: 14px;
    color: var(--h6c-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Error Screen */
.h6c-tribute-error {
    text-align: center;
    padding: 20px 0;
    color: var(--h6c-danger);
}

.h6c-tribute-error-icon {
    margin-bottom: 12px;
    color: var(--h6c-danger);
}

.h6c-tribute-error-text {
    font-size: 15px;
    color: var(--h6c-text);
    margin-top: 8px;
}

/* Loading */
.h6c-tribute-loading {
    text-align: center;
    padding: 40px 0;
    color: var(--h6c-text-muted);
}

/* Animations */
@keyframes h6c-tribute-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes h6c-tribute-bounce {
    0% { transform: scale(0.5); opacity: 0; }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

/* Responsive */
@media (max-width: 600px) {
    .h6c-tribute-amounts {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .h6c-tribute-amount-btn {
        padding: 12px 6px;
        font-size: 14px;
    }
}

/* =============================================
   ACTIVITY STREAM / TIMELINE
   ============================================= */

.h6c-activity-page {
    max-width: 600px;
    margin: 0 auto;
    padding: 16px;
}

/* --- Create Post Form --- */
.h6c-activity-create {
    background: var(--h6c-panel);
    border-radius: var(--h6c-radius);
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid var(--h6c-border);
}

.h6c-activity-create-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.h6c-activity-create-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--h6c-border);
}

.h6c-activity-create-avatar-placeholder {
    background: var(--h6c-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--h6c-text-muted);
}

.h6c-activity-create-name {
    color: var(--h6c-text);
    font-weight: 600;
    font-size: 14px;
}

.h6c-activity-textarea {
    width: 100%;
    min-height: 80px;
    background: var(--h6c-bg);
    border: 1px solid var(--h6c-border);
    border-radius: 8px;
    padding: 12px;
    color: var(--h6c-text);
    font-size: 14px;
    resize: vertical;
    font-family: inherit;
    box-sizing: border-box;
}

.h6c-activity-textarea::placeholder {
    color: var(--h6c-text-muted);
}

.h6c-activity-textarea:focus {
    outline: none;
    border-color: var(--h6c-primary);
}

.h6c-activity-create-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}

.h6c-activity-upload-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid var(--h6c-border);
    border-radius: 50px;
    padding: 8px 16px;
    color: var(--h6c-text-muted);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.h6c-activity-upload-label:hover {
    border-color: var(--h6c-primary);
    color: var(--h6c-primary);
}

.h6c-activity-upload-label .h6c-icon {
    width: 18px;
    height: 18px;
}

.h6c-activity-image-preview {
    margin-top: 12px;
    position: relative;
    display: inline-block;
}

.h6c-activity-image-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    object-fit: cover;
}

.h6c-activity-remove-image {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.h6c-activity-remove-image:hover {
    background: var(--h6c-danger);
}

/* --- Activity Post Card --- */
.h6c-activity-post {
    background: var(--h6c-panel);
    border-radius: var(--h6c-radius);
    margin-bottom: 12px;
    border: 1px solid var(--h6c-border);
    overflow: hidden;
    transition: border-color 0.2s;
}

.h6c-activity-post:hover {
    border-color: var(--h6c-panel-hover);
}

.h6c-activity-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    gap: 10px;
}

.h6c-activity-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--h6c-border);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--h6c-text-muted);
    background: var(--h6c-dark);
}

.h6c-activity-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.h6c-activity-meta {
    flex: 1;
    min-width: 0;
}

.h6c-activity-author {
    color: var(--h6c-text);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.h6c-activity-author:hover {
    color: var(--h6c-primary);
}

.h6c-activity-time {
    color: var(--h6c-text-muted);
    font-size: 12px;
    margin-top: 2px;
    display: block;
}

.h6c-activity-delete {
    background: transparent;
    border: none;
    color: var(--h6c-text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.h6c-activity-delete:hover {
    color: var(--h6c-danger);
    background: rgba(220, 53, 69, 0.1);
}

.h6c-activity-content {
    padding: 0 16px 12px;
    color: var(--h6c-text);
    font-size: 14px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.h6c-activity-image {
    width: 100%;
    overflow: hidden;
}

.h6c-activity-image img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.h6c-activity-image-link {
    display: block;
    line-height: 0;
}

.h6c-activity-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border-top: 1px solid var(--h6c-border);
}

.h6c-activity-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    color: var(--h6c-text-muted);
    font-size: 13px;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: 50px;
    transition: all 0.2s ease;
    min-width: 70px;
}

.h6c-activity-likes-count {
    min-width: 20px;
    text-align: left;
    display: inline-block;
}

.h6c-activity-action-btn.h6c-activity-like-btn:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.h6c-activity-action-btn.h6c-activity-liked {
    color: var(--h6c-primary);
}

.h6c-activity-action-btn.h6c-activity-liked .h6c-icon {
    fill: var(--h6c-primary);
    stroke: var(--h6c-primary);
}

.h6c-activity-action-btn.h6c-activity-liked:hover {
    background: rgba(0, 168, 132, 0.15);
}

.h6c-activity-action-btn.h6c-tribute-btn:hover {
    background: rgba(0, 168, 132, 0.1);
    color: var(--h6c-primary);
}

.h6c-activity-thumb-icon {
    display: inline-flex;
    align-items: center;
}

/* --- Load More / Empty --- */
.h6c-activity-load-more {
    text-align: center;
    padding: 16px 0;
}

.h6c-activity-load-more .h6c-btn {
    border-radius: 50px;
    padding: 10px 32px;
}

.h6c-activity-empty {
    text-align: center;
    padding: 48px 16px;
    color: var(--h6c-text-muted);
}

.h6c-activity-empty .h6c-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    opacity: 0.4;
}

.h6c-activity-empty p {
    font-size: 15px;
    margin: 0;
}

.h6c-activity-error {
    text-align: center;
    padding: 32px;
    color: var(--h6c-danger);
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .h6c-activity-page {
        padding: 8px;
    }
    
    .h6c-activity-header {
        padding: 10px 12px;
    }
    
    .h6c-activity-content {
        padding: 0 12px 10px;
    }
    
    .h6c-activity-actions {
        padding: 6px 8px;
    }
    
    .h6c-activity-action-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* === NOTIFICATION BELL (fixed) === */
#h6c-notification-bell {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: var(--h6c-primary, #00a884);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

#h6c-notification-bell:hover {
    transform: scale(1.1);
    background: var(--h6c-primary-hover, #008f6f);
}

#h6c-notification-bell .h6c-notification-bubble {
    position: absolute;
    top: -4px;
    right: -4px;
}
