@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.olwso25aue.bundle.scp.css';

/* /Components/Pages/Home.razor.rz.scp.css */
.sticky-toolbar[b-htrmc04rsh] {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--mud-palette-surface, #fff);
    padding-top: 4px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
/* /Components/Shared/MentionInput.razor.rz.scp.css */
.mention-input-container[b-a99n7r280q] {
    position: relative;
    width: 100%;
}

.input-wrapper[b-a99n7r280q] {
    position: relative;
}

.mention-textarea[b-a99n7r280q] {
    width: 100%;
    min-height: 60px;
    padding: 6px 12px;
    border: 1px solid rgba(0, 0, 0, 0.23);
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.04);
    font-size: 0.875rem;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.2s, background-color 0.2s;
    box-sizing: border-box;
}

.mention-textarea:focus[b-a99n7r280q] {
    outline: none;
    border-color: var(--mud-palette-primary, #1976d2);
    background-color: rgba(0, 0, 0, 0.06);
    box-shadow: none;
}

.mention-textarea[b-a99n7r280q]::placeholder {
    color: #9e9e9e;
}

.contenteditable-textarea[b-a99n7r280q] {
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-height: 100px;
    max-height: 500px;
    overflow-y: auto;
}

.contenteditable-textarea:empty[b-a99n7r280q]:before {
    content: attr(data-placeholder);
    color: #9e9e9e;
    pointer-events: none;
}

.contenteditable-textarea:focus:empty[b-a99n7r280q]:before {
    color: #9e9e9e;
}

.suggestions-dropdown[b-a99n7r280q] {
    position: absolute;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    min-width: 250px;
}

.suggestion-item[b-a99n7r280q] {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    gap: 10px;
}

.suggestion-item:hover[b-a99n7r280q] {
    background-color: var(--mud-palette-primary-lighten, #f0f7ff);
}

.suggestion-item.selected[b-a99n7r280q] {
    background-color: var(--mud-palette-primary, #1976d2);
}

.suggestion-item:first-child[b-a99n7r280q] {
    border-radius: 8px 8px 0 0;
}

.suggestion-item:last-child[b-a99n7r280q] {
    border-radius: 0 0 8px 8px;
}

.suggestion-item:only-child[b-a99n7r280q] {
    border-radius: 8px;
}

.user-avatar[b-a99n7r280q] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-contrast, white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.user-info[b-a99n7r280q] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.display-name[b-a99n7r280q] {
    font-weight: 500;
    color: #212529;
}

.username[b-a99n7r280q] {
    font-size: 12px;
    color: #6c757d;
}

.suggestion-item.selected .display-name[b-a99n7r280q],
.suggestion-item.selected .username[b-a99n7r280q] {
    color: var(--mud-palette-primary-contrast, #ffffff);
}

.suggestion-item.selected .user-avatar[b-a99n7r280q] {
    background: var(--mud-palette-primary-contrast, #ffffff);
    color: var(--mud-palette-primary, #1976d2);
}

.mentioned-users[b-a99n7r280q] {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.mentioned-users small[b-a99n7r280q] {
    color: #6c757d;
    font-size: 12px;
}

.mention-tag[b-a99n7r280q] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--mud-palette-primary-lighten, #e7f1ff);
    color: var(--mud-palette-primary);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.mention-highlight[b-a99n7r280q] {
    background: var(--mud-palette-primary-lighten, #e7f1ff);
    color: var(--mud-palette-primary);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

/* Task-Card-Styles für dynamisch eingefügtes HTML siehe wwwroot/app.css */

.plaintext-display[b-a99n7r280q] {
    margin-top: 12px;
    padding: 10px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 12px;
}

.plaintext-label[b-a99n7r280q] {
    display: block;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plaintext-content[b-a99n7r280q] {
    color: #495057;
    font-family: 'Courier New', monospace;
    white-space: pre-wrap;
    word-wrap: break-word;
    background: white;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #dee2e6;
    font-size: 11px;
    line-height: 1.5;
    max-height: 200px;
    overflow-y: auto;
}

.remove-mention[b-a99n7r280q] {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    margin-left: 2px;
    font-size: 16px;
    line-height: 1;
    transition: color 0.15s ease;
}

.remove-mention:hover[b-a99n7r280q] {
    color: #dc3545;
}

.action-menu-dropdown[b-a99n7r280q] {
    position: absolute;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    min-width: 220px;
    overflow: hidden;
}

.action-menu-header[b-a99n7r280q] {
    padding: 10px 12px;
    background: linear-gradient(135deg, #f0f7ff, #f8f9fa);
    border-bottom: 1px solid #e0e0e0;
    font-weight: 600;
    font-size: 13px;
    color: #495057;
}

.action-menu-user[b-a99n7r280q] {
    display: flex;
    align-items: center;
}

.action-item[b-a99n7r280q] {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    gap: 10px;
}

.action-item:hover[b-a99n7r280q],
.action-item.selected[b-a99n7r280q] {
    background-color: var(--mud-palette-primary, #1976d2);
}

.action-item:last-child[b-a99n7r280q] {
    border-radius: 0 0 8px 8px;
}

.action-icon[b-a99n7r280q] {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--mud-palette-primary);
    flex-shrink: 0;
}

.action-label[b-a99n7r280q] {
    font-weight: 500;
    color: #212529;
    font-size: 14px;
}

.action-item.selected .action-label[b-a99n7r280q],
.action-item.selected .action-icon[b-a99n7r280q] {
    color: var(--mud-palette-primary-contrast, #ffffff);
}

.task-dialog-overlay[b-a99n7r280q] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: auto;
}

.task-dialog[b-a99n7r280q] {
    position: relative;
    background: var(--mud-palette-surface, white);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    border-top: 3px solid var(--mud-palette-primary);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    z-index: 2001;
    min-width: 400px;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    margin: auto;
}

.task-dialog-header[b-a99n7r280q] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--mud-palette-surface);
    border-bottom: 2px solid var(--mud-palette-primary);
    border-radius: 8px 8px 0 0;
}

.task-dialog-title[b-a99n7r280q] {
    font-weight: 600;
    font-size: 14px;
    color: #495057;
}

.task-dialog-close[b-a99n7r280q] {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    font-size: 24px;
    line-height: 1;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease;
    border-radius: 4px;
}

.task-dialog-close:hover[b-a99n7r280q] {
    color: #dc3545;
    background-color: rgba(220, 53, 69, 0.1);
}

.task-dialog-body[b-a99n7r280q] {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.task-dialog-field[b-a99n7r280q] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.task-dialog-label[b-a99n7r280q] {
    font-weight: 500;
    font-size: 13px;
    color: #495057;
}

.task-dialog-input[b-a99n7r280q] {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.task-dialog-input:focus[b-a99n7r280q] {
    outline: none;
    border-color: var(--mud-palette-primary);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.task-dialog-textarea[b-a99n7r280q] {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.task-dialog-textarea:focus[b-a99n7r280q] {
    outline: none;
    border-color: var(--mud-palette-primary);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.task-dialog-footer[b-a99n7r280q] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid #e0e0e0;
    border-radius: 0 0 8px 8px;
}

.task-dialog-button[b-a99n7r280q] {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    border: 2px solid transparent;
}

.task-dialog-button-cancel[b-a99n7r280q] {
    background: #f8f9fa;
    color: #6c757d;
    border-color: #e0e0e0;
}

.task-dialog-button-cancel:hover[b-a99n7r280q] {
    background: #e9ecef;
    color: #495057;
}

.task-dialog-button-submit[b-a99n7r280q] {
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-contrast, white);
    border-color: var(--mud-palette-primary);
}

.task-dialog-button-submit:hover[b-a99n7r280q] {
    filter: brightness(0.95);
}

.task-dialog-button-submit:disabled[b-a99n7r280q] {
    background: #6c757d;
    border-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}
