/* Styling für @-Erwähnungen */
.mention {
    background-color: #e3f2fd;
    color: #1976d2;
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #bbdefb;
}

.mention:hover {
    background-color: #bbdefb;
    color: #0d47a1;
}

/* Dropdown für Benutzervorschläge */
.mention-dropdown {
    position: absolute;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    width: 200px;
}

.mention-dropdown .dropdown-item {
    padding: 0.5rem 1rem;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    color: #495057;
}

.mention-dropdown .dropdown-item:hover,
.mention-dropdown .dropdown-item.selected {
    background-color: #f8f9fa;
    color: #495057;
}

.mention-dropdown .dropdown-item:focus {
    outline: none;
    background-color: #e9ecef;
}

/* Personal Dashboard Styling */
.budget-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.budget-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.mention-item {
    transition: all 0.2s ease;
}

.mention-item:hover {
    background-color: #f8f9fa !important;
    border-color: #dee2e6 !important;
}

.comment-preview {
    border-left: 3px solid #007bff;
}

.comment-text-preview {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Tab-Styling */
.nav-tabs .nav-link {
    border: 1px solid transparent;
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
}

.nav-tabs .nav-link:hover {
    border-color: #e9ecef #e9ecef #dee2e6;
    isolation: isolate;
}

.nav-tabs .nav-link.active {
    color: #495057;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mention-dropdown {
        width: 150px;
    }
    
    .budget-card {
        margin-bottom: 1rem;
    }
    
    .comment-text-preview {
        font-size: 0.8rem;
    }
}