/* Active sessions — the page bar on top, then every device as a white card rounded 16
   on the surface, with a plain blue badge or a plain red action. */

.ses-root {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    flex: 1;
}

.ses-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.sessions-scroll {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.ses-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    padding: 48px 24px;
}

.ses-empty__title {
    margin: 0;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.ses-empty__sub {
    margin: 0;
    font-family: var(--font-family);
    font-size: 14px;
    color: var(--text-secondary);
}

.session-item {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    border-radius: 16px;
    background: var(--surface-raised);
    box-shadow: 0 2px 10px rgba(22, 30, 57, 0.06);
}

.session-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.session-title {
    margin: 0;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.session-platform {
    margin: 0;
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.session-date {
    margin: 0;
    font-family: var(--font-family);
    font-size: 13px;
    color: var(--text-tertiary);
}

.session-badge-current {
    flex: 0 0 auto;
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-action);
}

.session-terminate {
    flex: 0 0 auto;
    padding: 0;
    border: none;
    background: transparent;
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 600;
    color: var(--red-color);
    cursor: pointer;
}

.session-terminate:disabled {
    opacity: .5;
    cursor: default;
}

@media (min-width: 768px) {

        .sessions-scroll::-webkit-scrollbar-thumb {
            background-color: rgba(135, 148, 168, .35);
            border-radius: 6px;
        }
}
