.support-panel { width: 470px; }
@media (max-width: 576px) { .support-panel { width: 100%; } }

.support-ticket-item {
    display: block; padding: 12px 16px; border-bottom: 1px solid #eee;
    color: inherit; text-decoration: none; cursor: pointer;
    transition: background 0.15s;
}
.support-ticket-item:hover { background: #f8f9fa; }
.support-ticket-item.unread { font-weight: 600; }
.support-ticket-item.unread::before {
    content: ""; display: inline-block; width: 8px; height: 8px;
    background: #0d6efd; border-radius: 50%; margin-right: 6px; vertical-align: middle;
}
.support-ticket-item.closed { color: #888; background: #fafafa; }

.support-ticket-meta {
    font-size: 0.8em; color: #888; margin-top: 4px;
}

.support-msg {
    margin-bottom: 12px; padding: 8px 12px; border-radius: 8px; max-width: 85%;
    word-wrap: break-word;
}
.support-msg.user { background: #d1e7ff; margin-left: auto; }
.support-msg.support { background: #f1f3f5; }
.support-msg.system-notice { background: #fff3cd; font-size: 0.85em; font-style: italic; }
.support-msg-time { font-size: 0.75em; color: #666; margin-top: 4px; }

.support-badge {
    position: absolute; top: -6px; right: -6px; background: #dc3545; color: white;
    border-radius: 999px; font-size: 0.7em; padding: 2px 6px; min-width: 18px; text-align: center;
}

/* Portal-eigenes Bestätigungs-Modal (ersetzt Browser-confirm) */
.support-modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.5);
    display: flex; align-items: center; justify-content: center;
    z-index: 1060;
}
.support-modal {
    background: #fff;
    width: calc(100% - 32px);
    max-width: 380px;
    border-radius: 10px;
    box-shadow: 0 12px 48px rgba(0,0,0,.3);
    overflow: hidden;
}
.support-modal-header {
    padding: 14px 18px;
    font-size: 16px; font-weight: 600;
    border-bottom: 1px solid #eee;
}
.support-modal-body {
    padding: 18px;
    font-size: 14px; color: #444; line-height: 1.5;
}
.support-modal-footer {
    padding: 12px 18px;
    display: flex; justify-content: flex-end; gap: 8px;
    border-top: 1px solid #eee;
}
