#sessionList {
    padding: 0.25rem 0.3rem;
    gap: 0;
}

#sessionList .session-list-item {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #d9dde4;
    background: #fff;
    margin: 0;
    box-shadow: none;
    transition: background-color 0.15s ease, border-color 0.15s ease;
    height: auto;
    padding: 0.45rem 0.6rem;
}

#sessionList .session-list-item:last-child {
    border-bottom: none;
}

#sessionList .session-list-item.active {
    background: #dbeafe;
    border-left: 6px solid var(--primary);
    border-bottom-color: #b9c5ff;
    padding-left: 0.25rem;
    box-shadow: inset 0 0 0 1px rgba(13, 110, 253, 0.15);
}

#sessionList .session-list-item.active .session-label {
    font-weight: 600;
    color: #0b5ed7;
}

#sessionList .session-list-item:hover {
    background: #f5f7ff;
}

#sessionList .session-label {
    font-size: 0.87rem;
    line-height: 1.35;
    white-space: normal;
    color: #111;
}

#sessionList .session-delete-btn {
    padding: 0.15rem;
}

#sessionList .session-delete-btn i {
    color: #555;
}

.brf-gpt-layout {
    height: calc(100vh - 56px);
}

.brf-gpt-panel-left {
    height: 100%;
    overflow: hidden;
}

.brf-gpt-panel-right {
    height: 100%;
    position: relative;
}

#buttonsContainer.brf-gpt-footer {
    position: sticky;
    bottom: 0;
    background: #fff;
    z-index: 10;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

#uploadSpinner,
#systemFileSpinner {
    display: none;
}

.brf-gpt-long-confirm {
    max-width: 720px;
    width: calc(100% - 2rem);
    border: none;
    padding: 0;
}

.brf-gpt-long-confirm__form {
    margin: 0;
}

.brf-gpt-long-confirm__header {
    padding: 16px 20px;
    font-weight: 600;
    font-size: 18px;
}

.brf-gpt-long-confirm__body {
    padding: 0 20px 16px;
}

.brf-gpt-long-confirm__intro {
    margin: 0 0 8px;
}

.brf-gpt-long-confirm__files {
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 40vh;
    overflow: auto;
    background: #f6f8fa;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.brf-gpt-long-confirm__footer {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    padding: 12px 20px;
    background: #fafafa;
    border-top: 1px solid #eee;
}
