body {
    background-color: #f0f2f5;
}

.navbar-brand {
    font-weight: bold;
}

.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.list-group-item {
    transition: background-color 0.2s;
}

.list-group-item:hover {
    background-color: #f8f9fa;
}

/* Layout helpers */
.text-truncate-container {
    min-width: 0;
}

.filename-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Global Fixes */
pre, code, textarea {
    max-width: 100%;
}

.breadcrumb {
    flex-wrap: wrap;
}

.breadcrumb-item {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.breadcrumb-item.active {
    max-width: none;
    white-space: normal;
    word-break: break-all;
}

/* Notepad++ Edit Style */
.notepad-editor {
    font-family: 'Consolas', 'Monaco', 'Lucida Console', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.5;
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #ced4da;
    padding: 10px;
    tab-size: 4;
    white-space: pre;
    overflow-wrap: normal;
    overflow-x: auto;
}

.notepad-editor:focus {
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
