/* Hilfe-Button Styling - Fixed Position rechts oben */
.mv-psy-help-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: #fff !important;
    border: 2px solid #3D4E60 !important;
    color: #3D4E60 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 99999 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    line-height: 1 !important;
}

.mv-psy-help-button * {
    pointer-events: none !important;
}

.mv-psy-help-button:hover {
    background: #3D4E60 !important;
    border-color: #3D4E60 !important;
    color: #fff !important;
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(61, 78, 96, 0.2) !important;
}

.mv-psy-help-button svg {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
    stroke: #3D4E60 !important;
    fill: none !important;
    color: #3D4E60 !important;
    pointer-events: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex-shrink: 0 !important;
}

.mv-psy-help-button svg circle,
.mv-psy-help-button svg path,
.mv-psy-help-button svg line {
    stroke: #3D4E60 !important;
    fill: none !important;
    stroke-width: 2 !important;
}

.mv-psy-help-button:hover svg,
.mv-psy-help-button:hover svg circle,
.mv-psy-help-button:hover svg path,
.mv-psy-help-button:hover svg line {
    stroke: #fff !important;
    color: #fff !important;
}

.mv-psy-tab-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

/* Verstecke Help-Button aus Tab-Header */
.mv-psy-tab-header .mv-psy-help-button,
.mv-psy-tab-header-right .mv-psy-help-button {
    display: none !important;
}

/* Help-Button in der Sidebar: nicht fixed, im Menü sichtbar */
.mv-psy-sidebar .mv-psy-help-button,
.mv-psy-sidebar-footer .mv-psy-help-button {
    position: static !important;
    top: auto !important;
    right: auto !important;
}

/* Hilfe-Modal */
.mv-psy-help-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.mv-psy-help-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.mv-psy-help-modal-content {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.mv-psy-help-modal-header {
    padding: 24px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.mv-psy-help-modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #3D4E60;
}

.mv-psy-help-modal-close {
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #6c757d !important;
    transition: color 0.2s !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 4px !important;
}

.mv-psy-help-modal-close:hover {
    color: #3D4E60 !important;
    background: #f9fafb !important;
}

.mv-psy-help-modal-close svg {
    width: 20px !important;
    height: 20px !important;
    stroke: currentColor !important;
    fill: none !important;
}

.mv-psy-help-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

/* Hilfe-Suche */
.mv-psy-help-search {
    margin-bottom: 24px;
}

.mv-psy-help-search input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Roboto Slab', serif;
}

.mv-psy-help-search input:focus {
    outline: none;
    border-color: #3D4E60;
}

/* Hilfe-Kategorien */
.mv-psy-help-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.mv-psy-help-category-card {
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}

.mv-psy-help-category-card:hover {
    border-color: #3D4E60;
    box-shadow: 0 4px 12px rgba(61, 78, 96, 0.1);
    transform: translateY(-2px);
}

.mv-psy-help-category-card.active {
    border-color: #3D4E60;
    background: #f0f9ff;
}

.mv-psy-help-category-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 8px !important;
    background: #f0f9ff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 12px !important;
    color: #3D4E60 !important;
    flex-shrink: 0 !important;
}

.mv-psy-help-category-icon svg {
    width: 24px !important;
    height: 24px !important;
    stroke: currentColor !important;
    fill: none !important;
    display: block !important;
}

.mv-psy-help-category-card h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #3D4E60;
}

.mv-psy-help-category-card p {
    margin: 0;
    font-size: 13px;
    color: #6c757d;
    line-height: 1.5;
}

/* Hilfe-Content */
.mv-psy-help-content {
    display: none;
}

.mv-psy-help-content.active {
    display: block;
}

.mv-psy-help-section {
    margin-bottom: 32px;
}

.mv-psy-help-section h3 {
    margin: 0 0 16px 0;
    font-size: 20px;
    font-weight: 600;
    color: #3D4E60;
    padding-bottom: 12px;
    border-bottom: 2px solid #e0e0e0;
}

.mv-psy-help-section p {
    margin: 0 0 16px 0;
    color: #3D4E60;
    line-height: 1.7;
    font-size: 14px;
}

.mv-psy-help-section ol,
.mv-psy-help-section ul {
    margin: 0 0 16px 0;
    padding-left: 24px;
    color: #3D4E60;
    line-height: 1.7;
}

.mv-psy-help-section li {
    margin-bottom: 8px;
}

.mv-psy-help-visual {
    margin: 24px 0;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.mv-psy-help-mockup {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.mv-psy-help-annotations {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mv-psy-help-annotation {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px;
    background: #fff;
    border-radius: 4px;
}

.mv-psy-help-annotation-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #3D4E60;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.mv-psy-help-annotation-text {
    flex: 1;
    font-size: 13px;
    color: #3D4E60;
    line-height: 1.5;
}

/* FAQ */
.mv-psy-help-faq {
    margin-top: 24px;
}

.mv-psy-help-faq-item {
    margin-bottom: 16px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
    border-left: 3px solid #3D4E60;
}

.mv-psy-help-faq-question {
    font-weight: 600;
    color: #3D4E60;
    margin-bottom: 8px;
    font-size: 14px;
}

.mv-psy-help-faq-answer {
    color: #6c757d;
    font-size: 13px;
    line-height: 1.6;
}

/* Tipps */
.mv-psy-help-tips {
    margin-top: 24px;
    padding: 16px;
    background: #f0f9ff;
    border-radius: 8px;
    border-left: 3px solid #3D4E60;
}

.mv-psy-help-tips h4 {
    margin: 0 0 12px 0;
    font-size: 14px;
    font-weight: 600;
    color: #3D4E60;
}

.mv-psy-help-tips ul {
    margin: 0;
    padding-left: 20px;
}

.mv-psy-help-tips li {
    margin-bottom: 6px;
    font-size: 13px;
    color: #3D4E60;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .mv-psy-help-modal-content {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .mv-psy-help-categories {
        grid-template-columns: 1fr;
    }
}
